Home
last modified time | relevance | path

Searched refs:getBlockProfileCount (Results 1 – 24 of 24) sorted by relevance

/llvm-project/llvm/unittests/Analysis/
H A DBlockFrequencyInfoTest.cpp78 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 DMBFIWrapper.cpp35 MBFIWrapper::getBlockProfileCount(const MachineBasicBlock *MBB) const { in getBlockProfileCount() function in MBFIWrapper
43 return MBFI.getBlockProfileCount(MBB); in getBlockProfileCount()
H A DMachineBlockFrequencyInfo.cpp272 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 DMachineOptimizationRemarkEmitter.cpp47 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
H A DMachineFunctionSplitter.cpp111 std::optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB); in isColdBlock()
H A DMachineBlockPlacement.cpp459 auto Count = MBFI->getBlockProfileCount(BB);
/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h198 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 DBlockFrequencyInfo.h71 getBlockProfileCount(const BasicBlock *BB, bool AllowSynthetic = false) const;
H A DBlockFrequencyInfoImpl.h527 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 DMBFIWrapper.h33 getBlockProfileCount(const MachineBasicBlock *MBB) const;
H A DMachineBlockFrequencyInfo.h78 getBlockProfileCount(const MachineBasicBlock *MBB) const;
/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp205 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB, in getBlockProfileCount() function in BlockFrequencyInfo
210 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount()
H A DOptimizationRemarkEmitter.cpp69 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
H A DProfileSummaryInfo.cpp84 return BFI->getBlockProfileCount(Call.getParent(), AllowSynthetic); in getProfileCount()
H A DInlineCost.cpp776 auto ProfileCount = BFI->getBlockProfileCount(BB);
929 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis()
945 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
H A DBlockFrequencyInfoImpl.cpp584 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp74 std::optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB); in runCGProfilePass()
H A DLowerAllowCheckPass.cpp101 cutoff, BFI.getBlockProfileCount(&BB).value_or(0))); in removeUbsanTraps()
H A DPGOMemOPSizeOpt.cpp260 auto BBEdgeCount = BFI.getBlockProfileCount(MO.I->getParent()); in perform()
H A DPGOInstrumentation.cpp1553 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 DInstrProfiling.cpp554 auto InstrCount = BFI->getBlockProfileCount(BB); in isPromotionPossible()
557 auto PreheaderCount = BFI->getBlockProfileCount(L.getLoopPreheader()); in isPromotionPossible()
H A DControlHeightReduction.cpp1702 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp475 return BFI.getBlockProfileCount(BB).value_or(0); in runOnFunction()
H A DPartialInlining.cpp393 return BFI->getBlockProfileCount(BB).value_or(0); in computeOutliningColdRegionsInfo()
935 auto Count = CurrentCallerBFI->getBlockProfileCount(CallBB); in computeCallsiteToProfCountMap()