Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDLoopPassManager.cpp224 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run()
228 UseBranchProbabilityInfo && F.hasProfileData() in run()
357 if (UseBlockFrequencyInfo && F.hasProfileData()) in run()
359 if (UseBranchProbabilityInfo && F.hasProfileData()) in run()
HDLoopSink.cpp289 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
344 if (!F.hasProfileData()) in run()
HDLoopUnrollPass.cpp1084 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDMachineFunctionSplitter.cpp135 bool UseProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
HDMachineBlockPlacement.cpp1217 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds()
1385 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold()
2610 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet()
2656 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains()
3193 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock()
3394 if (!F->getFunction().hasProfileData()) in initDupThreshold()
3514 (ApplyExtTspWithoutProfile || MF.getFunction().hasProfileData())) { in runOnMachineFunction()
3607 << " with profile = " << F->getFunction().hasProfileData() in applyExtTsp()
HDTailDuplicator.cpp881 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
HDMachineLICM.cpp356 HasProfileData = MF.getFunction().hasProfileData(); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
HDProfileSummaryInfo.cpp214 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
HDModuleSummaryAnalysis.cpp1003 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDPartialInlining.cpp664 static bool hasProfileData(const Function &F, const FunctionOutliningInfo &OI) { in hasProfileData() function
665 if (F.hasProfileData()) in hasProfileData()
694 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq()
1253 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDFunction.h326 bool hasProfileData(bool IncludeSynthetic = false) const {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDLoopPeel.cpp635 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDBlockFrequencyInfoImpl.h1356 if (!F->getFunction().hasProfileData())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
HDCodeViewDebug.cpp1552 if (GV.hasProfileData()) { in beginFunctionImpl()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp4251 WriteRelBFToSummary && !F.hasProfileData() && in writePerModuleFunctionSummaryRecord()