Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp224 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run()
228 UseBranchProbabilityInfo && F.hasProfileData() in run()
355 if (UseBlockFrequencyInfo && F.hasProfileData()) in run()
357 if (UseBranchProbabilityInfo && F.hasProfileData()) in run()
H A DLoopSink.cpp273 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
353 if (!Preheader->getParent()->hasProfileData()) in run()
393 if (!Preheader->getParent()->hasProfileData()) in runOnLoop()
H A DJumpThreading.cpp324 if (F.hasProfileData()) { in runOnFunction()
330 bool Changed = Impl.runImpl(F, TLI, TTI, LVI, AA, &DTU, F.hasProfileData(), in runOnFunction()
353 if (F.hasProfileData()) { in run()
359 bool Changed = runImpl(F, &TLI, &TTI, &LVI, &AA, &DTU, F.hasProfileData(), in run()
H A DLoopUnrollPass.cpp1051 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp175 bool UseProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
H A DMachineBlockPlacement.cpp1213 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds()
1381 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold()
2574 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet()
2620 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains()
3117 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock()
3318 if (!F->getFunction().hasProfileData()) in initDupThreshold()
3437 (ApplyExtTspWithoutProfile || MF.getFunction().hasProfileData())) { in runOnMachineFunction()
3530 << " with profile = " << F->getFunction().hasProfileData() in applyExtTsp()
H A DTailDuplicator.cpp861 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
H A DMachineLICM.cpp344 HasProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
/openbsd-src/gnu/llvm/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()
741 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq()
1299 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp374 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp851 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DFunction.h289 bool hasProfileData(bool IncludeSynthetic = false) const {
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp569 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1363 if (!F->getFunction().hasProfileData())
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1527 if (GV.hasProfileData()) { in beginFunctionImpl()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4015 F.hasProfileData() || ForceSummaryEdgesCold != FunctionSummary::FSHT_None; in writePerModuleFunctionSummaryRecord()