Searched refs:hasProfileData (Results 1 – 17 of 17) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 214 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() in run() 218 UseBranchProbabilityInfo && F.hasProfileData() in run() 348 if (UseBlockFrequencyInfo && F.hasProfileData()) in run() 350 if (UseBranchProbabilityInfo && F.hasProfileData()) in run()
|
| H A D | LoopSink.cpp | 273 assert(Preheader->getParent()->hasProfileData() && in sinkLoopInvariantInstructions() 352 if (!Preheader->getParent()->hasProfileData()) in run() 392 if (!Preheader->getParent()->hasProfileData()) in runOnLoop()
|
| H A D | JumpThreading.cpp | 319 if (F.hasProfileData()) { in runOnFunction() 325 bool Changed = Impl.runImpl(F, TLI, TTI, LVI, AA, &DTU, F.hasProfileData(), in runOnFunction() 348 if (F.hasProfileData()) { in run() 354 bool Changed = runImpl(F, &TLI, &TTI, &LVI, &AA, &DTU, F.hasProfileData(), in run()
|
| H A D | LICM.cpp | 219 bool hasProfileData = L->getHeader()->getParent()->hasProfileData(); in runOnLoop() local 221 hasProfileData ? &getAnalysis<LazyBlockFrequencyInfoPass>().getBFI() in runOnLoop()
|
| H A D | LoopUnrollPass.cpp | 1050 if (L->getHeader()->getParent()->hasProfileData()) { in computeUnrollCount()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineFunctionSplitter.cpp | 95 if (!MF.getFunction().hasProfileData()) in runOnMachineFunction()
|
| H A D | MachineBlockPlacement.cpp | 1201 if (F->getFunction().hasProfileData()) in canTailDuplicateUnplacedPreds() 1369 if (!BB->getParent()->getFunction().hasProfileData()) in getLayoutSuccessorProbThreshold() 2562 if (F->getFunction().hasProfileData() || ForceLoopColdBlock) { in collectLoopBlockSet() 2608 (PreciseRotationCost && F->getFunction().hasProfileData()); in buildLoopChains() 3105 if (F->getFunction().hasProfileData()) { in maybeTailDuplicateBlock() 3306 if (!F->getFunction().hasProfileData()) in initDupThreshold() 3425 (ApplyExtTspWithoutProfile || MF.getFunction().hasProfileData())) { in runOnMachineFunction() 3516 << " with profile = " << F->getFunction().hasProfileData() in applyExtTsp()
|
| H A D | TailDuplicator.cpp | 851 if (!(MF->getFunction().hasProfileData() && LayoutMode)) { in tailDuplicate()
|
| H A D | MachineLICM.cpp | 344 HasProfileData = MF.getFunction().hasProfileData(); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 711 static bool hasProfileData(const Function &F, const FunctionOutliningInfo &OI) { in hasProfileData() function 712 if (F.hasProfileData()) in hasProfileData() 742 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq() 1301 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 371 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
|
| H A D | ModuleSummaryAnalysis.cpp | 792 else if (F.hasProfileData()) { in buildModuleSummaryIndex()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Function.h | 290 bool hasProfileData(bool IncludeSynthetic = false) const {
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 460 if (L->getHeader()->getParent()->hasProfileData()) { in computePeelCount()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 1363 if (!F->getFunction().hasProfileData())
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1508 if (GV.hasProfileData()) { in beginFunctionImpl()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3908 F.hasProfileData() || ForceSummaryEdgesCold != FunctionSummary::FSHT_None; in writePerModuleFunctionSummaryRecord()
|