/llvm-project/llvm/unittests/Analysis/ |
H A D | BlockFrequencyInfoTest.cpp | 78 EXPECT_EQ(*BFI.getBlockProfileCount(&BB0), UINT64_C(100)); in TEST_F() 79 EXPECT_EQ(*BFI.getBlockProfileCount(BB3), UINT64_C(100)); in TEST_F() 80 EXPECT_EQ(*BFI.getBlockProfileCount(BB1), in TEST_F() 82 EXPECT_EQ(*BFI.getBlockProfileCount(BB2), in TEST_F()
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | MBFIWrapper.cpp | 35 MBFIWrapper::getBlockProfileCount(const MachineBasicBlock *MBB) const { in getBlockProfileCount() function in MBFIWrapper 43 return MBFI.getBlockProfileCount(MBB); in getBlockProfileCount()
|
H A D | MachineBlockFrequencyInfo.cpp | 272 std::optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getMBPI() 278 return MBFI->getBlockProfileCount(F, MBB); 232 std::optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( getBlockProfileCount() function in MachineBlockFrequencyInfo
|
H A D | MachineOptimizationRemarkEmitter.cpp | 47 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
|
H A D | MachineFunctionSplitter.cpp | 111 std::optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB); in isColdBlock()
|
H A D | MachineBlockPlacement.cpp | 459 auto Count = MBFI->getBlockProfileCount(BB);
|
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ProfileSummaryInfo.h | 198 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock() 205 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock() 306 auto Count = BFI->getBlockProfileCount(BB); in isHotOrColdBlockNthPercentile()
|
H A D | BlockFrequencyInfo.h | 71 getBlockProfileCount(const BasicBlock *BB, bool AllowSynthetic = false) const;
|
H A D | BlockFrequencyInfoImpl.h | 527 getBlockProfileCount(const Function &F, const BlockNode &Node, 1021 getBlockProfileCount(const Function &F, const BlockT *BB, 1023 return BlockFrequencyInfoImplBase::getBlockProfileCount(F, getNode(BB), 1724 BlockFrequencyInfoImplBase::getBlockProfileCount( 1861 auto Count = Graph->getBlockProfileCount(Node);
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MBFIWrapper.h | 33 getBlockProfileCount(const MachineBasicBlock *MBB) const;
|
H A D | MachineBlockFrequencyInfo.h | 78 getBlockProfileCount(const MachineBasicBlock *MBB) const;
|
/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfo.cpp | 205 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB, in getBlockProfileCount() function in BlockFrequencyInfo 210 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount()
|
H A D | OptimizationRemarkEmitter.cpp | 69 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
|
H A D | ProfileSummaryInfo.cpp | 84 return BFI->getBlockProfileCount(Call.getParent(), AllowSynthetic); in getProfileCount()
|
H A D | InlineCost.cpp | 776 auto ProfileCount = BFI->getBlockProfileCount(BB); 929 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() 945 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
|
H A D | BlockFrequencyInfoImpl.cpp | 584 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
|
/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | CGProfile.cpp | 74 std::optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB); in runCGProfilePass()
|
H A D | LowerAllowCheckPass.cpp | 101 cutoff, BFI.getBlockProfileCount(&BB).value_or(0))); in removeUbsanTraps()
|
H A D | PGOMemOPSizeOpt.cpp | 260 auto BBEdgeCount = BFI.getBlockProfileCount(MO.I->getParent()); in perform()
|
H A D | PGOInstrumentation.cpp | 1553 if (auto C = BFI.getBlockProfileCount(&BB)) in populateCounters() 2029 auto BFICount = NBFI.getBlockProfileCount(&BBI); in annotateAllFunctions() 2081 auto BFICount = NBFI.getBlockProfileCount(&BBI); in annotateAllFunctions()
|
H A D | InstrProfiling.cpp | 554 auto InstrCount = BFI->getBlockProfileCount(BB); in isPromotionPossible() 557 auto PreheaderCount = BFI->getBlockProfileCount(L.getLoopPreheader()); in isPromotionPossible()
|
H A D | ControlHeightReduction.cpp | 1702 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 475 return BFI.getBlockProfileCount(BB).value_or(0); in runOnFunction()
|
H A D | PartialInlining.cpp | 393 return BFI->getBlockProfileCount(BB).value_or(0); in computeOutliningColdRegionsInfo() 935 auto Count = CurrentCallerBFI->getBlockProfileCount(CallBB); in computeCallsiteToProfCountMap()
|