Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopSink.cpp288 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions()
382 if (!Preheader->getParent()->hasProfileData()) in run()
432 if (!Preheader->getParent()->hasProfileData()) in runOnLoop()
H A DLoopPassManager.cpp201 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run()
326 if (UseBlockFrequencyInfo && F.hasProfileData()) in run()
H A DLICM.cpp234 bool hasProfileData = L->getHeader()->getParent()->hasProfileData(); in runOnLoop() local
236 hasProfileData ? &getAnalysis<LazyBlockFrequencyInfoPass>().getBFI() in runOnLoop()
831 if (!DstBlock->getParent()->hasProfileData()) in worthSinkOrHoistInst()
H A DJumpThreading.cpp328 if (F.hasProfileData()) { in runOnFunction()
334 bool Changed = Impl.runImpl(F, TLI, LVI, AA, &DTU, F.hasProfileData(), in runOnFunction()
357 if (F.hasProfileData()) { in run()
363 bool Changed = runImpl(F, &TLI, &LVI, &AA, &DTU, F.hasProfileData(), in run()
H A DLoopUnrollPass.cpp968 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp97 if (!MF.getFunction().hasProfileData()) in runOnMachineFunction()
H A DMachineBlockPlacement.cpp1181 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds()
1349 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold()
2540 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet()
2586 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains()
3070 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock()
3271 if (!F->getFunction().hasProfileData()) in initDupThreshold()
H A DTailDuplicator.cpp857 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
H A DMachineLICM.cpp342 HasProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp717 static bool hasProfileData(const Function &F, const FunctionOutliningInfo &OI) { in hasProfileData() function
718 if (F.hasProfileData()) in hasProfileData()
748 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI.get())) in getOutliningCallBBRelativeFreq()
1304 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp372 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp753 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFunction.h340 bool hasProfileData(bool IncludeSynthetic = false) const {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp391 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1434 if (GV.hasProfileData()) { in beginFunctionImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3829 F.hasProfileData() || ForceSummaryEdgesCold != FunctionSummary::FSHT_None; in writePerModuleFunctionSummaryRecord()