| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | BlockFrequencyInfoTest.cpp | 78 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 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 | MachineSizeOpts.cpp | 34 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 D | MachineBlockFrequencyInfo.cpp | 234 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount() function in MachineBlockFrequencyInfo 240 return MBFI->getBlockProfileCount(F, MBB); in getBlockProfileCount()
|
| H A D | MachineOptimizationRemarkEmitter.cpp | 38 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
|
| H A D | MachineFunctionSplitter.cpp | 82 Optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB); in isColdBlock()
|
| H A D | MachineBlockPlacement.cpp | 434 auto Count = MBFI->getBlockProfileCount(BB); in getBlockCountOrFrequency()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 91 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 D | BlockFrequencyInfo.cpp | 208 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB, in getBlockProfileCount() function in BlockFrequencyInfo 213 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount()
|
| H A D | OptimizationRemarkEmitter.cpp | 67 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
|
| H A D | InlineCost.cpp | 709 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() 834 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() 851 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
|
| H A D | BlockFrequencyInfoImpl.cpp | 589 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MBFIWrapper.h | 32 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
|
| H A D | MachineBlockFrequencyInfo.h | 72 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfo.h | 70 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB,
|
| H A D | BlockFrequencyInfoImpl.h | 525 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 D | CGProfile.cpp | 76 Optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB); in runCGProfilePass()
|
| H A D | PGOMemOPSizeOpt.cpp | 264 auto BBEdgeCount = BFI.getBlockProfileCount(MO.I->getParent()); in perform()
|
| H A D | InstrProfiling.cpp | 281 auto InstrCount = BFI->getBlockProfileCount(BB); in run() 284 auto PreheaderCount = BFI->getBlockProfileCount(L.getLoopPreheader()); in run()
|
| H A D | PGOInstrumentation.cpp | 1630 auto BFICount = NBFI.getBlockProfileCount(&BBI); in fixFuncEntryCount() 1683 auto BFICount = NBFI.getBlockProfileCount(&BBI); in verifyFuncBFI()
|
| H A D | ControlHeightReduction.cpp | 1674 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 417 return BFI.getBlockProfileCount(BB).value_or(0); in runOnFunction()
|
| H A D | PartialInlining.cpp | 441 return BFI->getBlockProfileCount(BB).value_or(0); in computeOutliningColdRegionsInfo() 983 auto Count = CurrentCallerBFI->getBlockProfileCount(CallBB); in computeCallsiteToProfCountMap()
|