Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp223 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run()
227 UseBranchProbabilityInfo && F.hasProfileData() in run()
352 if (UseBlockFrequencyInfo && F.hasProfileData()) in run()
354 if (UseBranchProbabilityInfo && F.hasProfileData()) in run()
H A DLoopSink.cpp305 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
360 if (!F.hasProfileData()) in run()
H A DLoopUnrollPass.cpp1085 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp138 bool UseProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
H A DStaticDataSplitter.cpp109 MF.getFunction().hasProfileData(); in runOnMachineFunction()
H A DMachineBlockPlacement.cpp1280 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds()
1446 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold()
2669 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet()
2719 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains()
3287 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock()
3487 if (F->getFunction().hasProfileData()) { in initTailDupThreshold()
3602 (ApplyExtTspWithoutProfile || MF.getFunction().hasProfileData()); in run()
3747 << " with profile = " << F->getFunction().hasProfileData() in applyExtTsp()
H A DTailDuplicator.cpp902 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
H A DMachineLICM.cpp391 HasProfileData = MF.getFunction().hasProfileData(); in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp218 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp1053 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp659 static bool hasProfileData(const Function &F, const FunctionOutliningInfo &OI) { in hasProfileData() function
660 if (F.hasProfileData()) in hasProfileData()
689 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq()
1245 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h334 bool hasProfileData(bool IncludeSynthetic = false) const {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp720 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1351 if (!F->getFunction().hasProfileData())
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1566 if (GV.hasProfileData()) { in beginFunctionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4562 WriteRelBFToSummary && !F.hasProfileData() && in writePerModuleFunctionSummaryRecord()