Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 std::optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount() function in MachineBlockFrequencyInfo
240 return MBFI->getBlockProfileCount(F, MBB); in getBlockProfileCount()
H A DMachineOptimizationRemarkEmitter.cpp39 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
H A DMachineFunctionSplitter.cpp161 std::optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB); in isColdBlock()
H A DMachineBlockPlacement.cpp446 auto Count = MBFI->getBlockProfileCount(BB); in getBlockCountOrFrequency()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp94 return BFI->getBlockProfileCount(Call.getParent(), AllowSynthetic); in getProfileCount()
330 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock()
336 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock()
343 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.cpp69 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
H A DInlineCost.cpp740 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed()
864 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis()
880 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
H A DBlockFrequencyInfoImpl.cpp589 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMBFIWrapper.h34 getBlockProfileCount(const MachineBasicBlock *MBB) const;
H A DMachineBlockFrequencyInfo.h73 getBlockProfileCount(const MachineBasicBlock *MBB) const;
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfo.h71 getBlockProfileCount(const BasicBlock *BB, bool AllowSynthetic = false) const;
H A DBlockFrequencyInfoImpl.h526 getBlockProfileCount(const Function &F, const BlockNode &Node,
1024 getBlockProfileCount(const Function &F, const BlockT *BB,
1026 return BlockFrequencyInfoImplBase::getBlockProfileCount(F, getNode(BB),
1733 BlockFrequencyInfoImplBase::getBlockProfileCount(
1870 auto Count = Graph->getBlockProfileCount(Node);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp77 std::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.cpp1955 auto BFICount = NBFI.getBlockProfileCount(&BBI); in fixFuncEntryCount()
2008 auto BFICount = NBFI.getBlockProfileCount(&BBI); in verifyFuncBFI()
H A DControlHeightReduction.cpp1704 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes()
/openbsd-src/gnu/llvm/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()