Home
last modified time | relevance | path

Searched refs:hasProfileData (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp214 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run()
218 UseBranchProbabilityInfo && F.hasProfileData() in run()
348 if (UseBlockFrequencyInfo && F.hasProfileData()) in run()
350 if (UseBranchProbabilityInfo && F.hasProfileData()) in run()
H A DLoopSink.cpp273 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
352 if (!Preheader->getParent()->hasProfileData()) in run()
392 if (!Preheader->getParent()->hasProfileData()) in runOnLoop()
H A DJumpThreading.cpp319 if (F.hasProfileData()) { in runOnFunction()
325 bool Changed = Impl.runImpl(F, TLI, TTI, LVI, AA, &DTU, F.hasProfileData(), in runOnFunction()
348 if (F.hasProfileData()) { in run()
354 bool Changed = runImpl(F, &TLI, &TTI, &LVI, &AA, &DTU, F.hasProfileData(), in run()
H A DLICM.cpp219 bool hasProfileData = L->getHeader()->getParent()->hasProfileData(); in runOnLoop() local
221 hasProfileData ? &getAnalysis<LazyBlockFrequencyInfoPass>().getBFI() in runOnLoop()
H A DLoopUnrollPass.cpp1050 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp95 if (!MF.getFunction().hasProfileData()) in runOnMachineFunction()
H A DMachineBlockPlacement.cpp1201 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds()
1369 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold()
2562 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet()
2608 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains()
3105 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock()
3306 if (!F->getFunction().hasProfileData()) in initDupThreshold()
3425 (ApplyExtTspWithoutProfile || MF.getFunction().hasProfileData())) { in runOnMachineFunction()
3516 << " with profile = " << F->getFunction().hasProfileData() in applyExtTsp()
H A DTailDuplicator.cpp851 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
H A DMachineLICM.cpp344 HasProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp711 static bool hasProfileData(const Function &F, const FunctionOutliningInfo &OI) { in hasProfileData() function
712 if (F.hasProfileData()) in hasProfileData()
742 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq()
1301 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp371 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp792 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFunction.h290 bool hasProfileData(bool IncludeSynthetic = false) const {
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp460 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1363 if (!F->getFunction().hasProfileData())
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1508 if (GV.hasProfileData()) { in beginFunctionImpl()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3908 F.hasProfileData() || ForceSummaryEdgesCold != FunctionSummary::FSHT_None; in writePerModuleFunctionSummaryRecord()