Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DBlockFrequencyInfoTest.cpp78 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).value(), UINT64_C(100)); in TEST_F()
79 EXPECT_EQ(BFI.getBlockProfileCount(BB3).value(), UINT64_C(100)); in TEST_F()
80 EXPECT_EQ(BFI.getBlockProfileCount(BB1).value(), in TEST_F()
82 EXPECT_EQ(BFI.getBlockProfileCount(BB2).value(), in TEST_F()
/llvm-project-15.0.7/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 DMachineSizeOpts.cpp34 auto Count = MBFI->getBlockProfileCount(MBB); in isColdBlock()
50 auto Count = MBFI->getBlockProfileCount(MBB); in isHotBlockNthPercentile()
66 auto Count = MBFI->getBlockProfileCount(MBB); in isColdBlockNthPercentile()
H A DMachineBlockFrequencyInfo.cpp234 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount() function in MachineBlockFrequencyInfo
240 return MBFI->getBlockProfileCount(F, MBB); in getBlockProfileCount()
H A DMachineOptimizationRemarkEmitter.cpp38 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
H A DMachineFunctionSplitter.cpp82 Optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB); in isColdBlock()
H A DMachineBlockPlacement.cpp434 auto Count = MBFI->getBlockProfileCount(BB); in getBlockCountOrFrequency()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp91 return BFI->getBlockProfileCount(Call.getParent(), AllowSynthetic); in getProfileCount()
327 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock()
333 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock()
340 auto Count = BFI->getBlockProfileCount(BB); in isHotOrColdBlockNthPercentile()
H A DBlockFrequencyInfo.cpp208 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB, in getBlockProfileCount() function in BlockFrequencyInfo
213 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount()
H A DOptimizationRemarkEmitter.cpp67 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
H A DInlineCost.cpp709 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed()
834 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis()
851 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
H A DBlockFrequencyInfoImpl.cpp589 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMBFIWrapper.h32 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
H A DMachineBlockFrequencyInfo.h72 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfo.h70 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB,
H A DBlockFrequencyInfoImpl.h525 Optional<uint64_t> getBlockProfileCount(const Function &F,
1023 Optional<uint64_t> getBlockProfileCount(const Function &F,
1026 return BlockFrequencyInfoImplBase::getBlockProfileCount(F, getNode(BB),
1733 BlockFrequencyInfoImplBase::getBlockProfileCount(
1870 auto Count = Graph->getBlockProfileCount(Node);
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp76 Optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB); in runCGProfilePass()
H A DPGOMemOPSizeOpt.cpp264 auto BBEdgeCount = BFI.getBlockProfileCount(MO.I->getParent()); in perform()
H A DInstrProfiling.cpp281 auto InstrCount = BFI->getBlockProfileCount(BB); in run()
284 auto PreheaderCount = BFI->getBlockProfileCount(L.getLoopPreheader()); in run()
H A DPGOInstrumentation.cpp1630 auto BFICount = NBFI.getBlockProfileCount(&BBI); in fixFuncEntryCount()
1683 auto BFICount = NBFI.getBlockProfileCount(&BBI); in verifyFuncBFI()
H A DControlHeightReduction.cpp1674 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp417 return BFI.getBlockProfileCount(BB).value_or(0); in runOnFunction()
H A DPartialInlining.cpp441 return BFI->getBlockProfileCount(BB).value_or(0); in computeOutliningColdRegionsInfo()
983 auto Count = CurrentCallerBFI->getBlockProfileCount(CallBB); in computeCallsiteToProfCountMap()