|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Analysis/BlockFrequencyInfo.h 65 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
References
include/llvm/Analysis/BlockFrequencyInfoImpl.h 1395 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency());
1398 BlockFrequency Freq = Graph->getBlockFreq(Node);
1426 OS << Graph->getBlockFreq(Node).getFrequency();
1459 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
lib/Analysis/InlineCost.cpp 825 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB);
827 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock()));
851 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB).getFrequency();
lib/Analysis/ModuleSummaryAnalysis.cpp 359 uint64_t BBFreq = BFI->getBlockFreq(&BB).getFrequency();
lib/CodeGen/CodeGenPrepare.cpp 739 BlockFrequency PredFreq = BFI->getBlockFreq(Pred);
740 BlockFrequency BBFreq = BFI->getBlockFreq(BB);
745 BBFreq += BFI->getBlockFreq(SameValueBB);
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp 105 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()});
250 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()});
lib/Transforms/IPO/GlobalOpt.cpp 2168 auto CallSiteFreq = CallerBFI.getBlockFreq(CallSiteBB);
2170 CallerBFI.getBlockFreq(&(CS.getCaller()->getEntryBlock()));
lib/Transforms/IPO/PartialInlining.cpp 724 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock());
726 Cloner.ClonedFuncBFI->getBlockFreq(OutliningCallBB);
lib/Transforms/IPO/SyntheticCountsPropagation.cpp 122 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0);
lib/Transforms/Instrumentation/CFGMST.h 123 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2);
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 340 auto OrigBBFreq = BFI.getBlockFreq(BB);
lib/Transforms/Scalar/ConstantHoisting.cpp 275 if (InsertPtsFreq > BFI.getBlockFreq(Node) ||
276 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1))
296 (InsertPtsFreq > BFI.getBlockFreq(Node) ||
297 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) {
299 ParentPtsFreq += BFI.getBlockFreq(Node);
lib/Transforms/Scalar/JumpThreading.cpp 1993 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB);
2114 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB)));
2175 auto BBOrigFreq = BFI->getBlockFreq(BB);
2176 auto NewBBFreq = BFI->getBlockFreq(NewBB);
lib/Transforms/Scalar/LoopSink.cpp 86 T += BFI.getBlockFreq(B);
146 BFI.getBlockFreq(ColdestBB)) {
165 BFI.getBlockFreq(L.getLoopPreheader()))
264 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader);
269 return BFI.getBlockFreq(BB) > PreheaderFreq;
286 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) {
286 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) {
291 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B);
291 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B);
lib/Transforms/Utils/BreakCriticalEdges.cpp 397 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency());
417 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) *
423 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc;
lib/Transforms/Utils/CodeExtractor.cpp 1404 BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, header);
1432 BF += BFI->getBlockFreq(Block) * BPI->getEdgeProbability(Block, *SI);
lib/Transforms/Utils/InlineFunction.cpp 1461 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency();
1466 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency();
1474 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(),
2289 AfterCallBB, IFI.CallerBFI->getBlockFreq(OrigBB).getFrequency());
unittests/Analysis/BlockFrequencyInfoTest.cpp 69 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency();
70 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency();
71 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency();
72 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency();
88 EXPECT_EQ(BFI.getBlockFreq(&BB0).getFrequency(), 2 * BB0Freq);
89 EXPECT_EQ(BFI.getBlockFreq(BB1).getFrequency(), 2 * BB1Freq);
90 EXPECT_EQ(BFI.getBlockFreq(BB2).getFrequency(), 2 * BB2Freq);
91 EXPECT_EQ(BFI.getBlockFreq(BB3).getFrequency(), BB3Freq);