Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.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()
H A DLoopSink.cpp289 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
344 if (!F.hasProfileData()) in run()
H A DLoopUnrollPass.cpp1084 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp135 bool UseProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
H A DMachineBlockPlacement.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()
H A DTailDuplicator.cpp881 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
H A DMachineLICM.cpp356 HasProfileData = MF.getFunction().hasProfileData(); in INITIALIZE_PASS_DEPENDENCY()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp214 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp1003 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.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()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h326 bool hasProfileData(bool IncludeSynthetic = false) const {
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp635 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1356 if (!F->getFunction().hasProfileData())
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1552 if (GV.hasProfileData()) { in beginFunctionImpl()
/src/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4251 WriteRelBFToSummary && !F.hasProfileData() && in writePerModuleFunctionSummaryRecord()