reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/BlockFrequency.h
   40   BlockFrequency operator*(BranchProbability Prob) const;

References

include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1400         (BlockFrequency(MaxFrequency) *
 1459       BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
 1460       BlockFrequency HotFreq = BlockFrequency(MaxFrequency) *
lib/Analysis/InlineCost.cpp
  828   return CallSiteFreq < CallerEntryFreq * ColdProb;
lib/CodeGen/BranchFolding.cpp
 1244       *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI);
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  924   return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit))
lib/CodeGen/InlineSpiller.cpp
 1403     if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) {
lib/CodeGen/MachineBlockPlacement.cpp
  771   BlockFrequency P = BBFreq * PProb;
  772   BlockFrequency Qout = BBFreq * QProb;
  800         * MBPI->getEdgeProbability(SuccPred, Succ);
  829     BlockFrequency V = SuccFreq * VProb;
  830     BlockFrequency QinU = std::min(Qin, F) * UProb;
  832     BlockFrequency DupCost = Qout + QinU + std::max(Qin, F) * VProb;
  837   BlockFrequency U = SuccFreq * UProb;
  838   BlockFrequency V = SuccFreq * VProb;
  874         (P + V), (Qout + std::max(Qin, F) * VProb + std::min(Qin, F) * UProb),
  874         (P + V), (Qout + std::max(Qin, F) * VProb + std::min(Qin, F) * UProb),
  878                          (Qout + std::min(Qin, F) * AdjustedSuccSumProb +
  879                           std::max(Qin, F) * UProb),
 1012       BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) *
 1416   BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb;
 1442         MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ);
 1443     if (PredEdgeFreq * HotProb >= CandidateEdgeFreq * HotProb.getCompl()) {
 1443     if (PredEdgeFreq * HotProb >= CandidateEdgeFreq * HotProb.getCompl()) {
 1829         BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) *
 1869     FallThrough2Exit = MBFI->getBlockFreq(NewTop) *
 1871   BlockFrequency BackEdgeFreq = MBFI->getBlockFreq(NewTop) *
 1882        BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) *
 1904        BlockFrequency EdgeFreq = MBFI->getBlockFreq(BestPred) *
 1909      BlockFrequency OrigEdgeFreq = MBFI->getBlockFreq(BestPred) *
 2115       BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb;
 2128            !(ExitEdgeFreq < BestExitEdgeFreq * Bias))) {
 2315       auto EdgeFreq = MBFI->getBlockFreq(Pred) *
 2342       auto ExitFreq = MBFI->getBlockFreq(BB) * LargestExitEdgeProb;
 2396         auto TailToHeadFreq = TailBBFreq * TailToHeadProb;
 2398                                   ? TailBBFreq * TailToHeadProb.getCompl()
 2443         LoopFreq += MBFI->getBlockFreq(LoopPred) *
 2754   BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb;
 2781     if (Freq < (LoopHeaderFreq * ColdProb))
 2802     BlockFrequency LayoutEdgeFreq = MBFI->getBlockFreq(LayoutPred) * LayoutProb;
 2803     if (LayoutEdgeFreq <= (Freq * ColdProb))
 3154           BlockFreq * MBPI->getEdgeProbability(&MBB, Succ);
lib/Transforms/IPO/GlobalOpt.cpp
 2171   return CallSiteFreq < CallerEntryFreq * ColdProb;
lib/Transforms/IPO/PartialInlining.cpp
 1354   WeightedRcost = BlockFrequency(NonWeightedRcost) * RelativeToEntryFreq;
lib/Transforms/Scalar/JumpThreading.cpp
 1993         BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB);
 2114           Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB)));
 2177   auto BB2SuccBBFreq = BBOrigFreq * BPI->getEdgeProbability(BB, SuccBB);
 2187                         : BBOrigFreq * BPI->getEdgeProbability(BB, Succ);
lib/Transforms/Utils/BreakCriticalEdges.cpp
  417         BlockFreqForDirectSucc += BFI->getBlockFreq(Src) *
lib/Transforms/Utils/CodeExtractor.cpp
 1404           BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, header);
 1432           BF += BFI->getBlockFreq(Block) * BPI->getEdgeProbability(Block, *SI);