Home
last modified time | relevance | path

Searched refs:hasProfileSummary (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp56 if (hasProfileSummary()) in refresh()
63 if (!hasProfileSummary()) { in refresh()
69 if (!hasProfileSummary()) in refresh()
106 if (!hasProfileSummary()) in isFunctionEntryCold()
147 if (!hasProfileSummary()) in computeThreshold()
222 return hasProfileSummary() && in hasPartialSampleProfile()
H A DInlineCost.cpp896 if (!PSI || !PSI->hasProfileSummary()) in isCostBenefitAnalysisEnabled()
2025 if (PSI && PSI->hasProfileSummary()) in isColdCallSite()
2050 if (PSI && PSI->hasProfileSummary() && PSI->isHotCallSite(Call, CallerBFI)) in getHotCallSiteThreshold()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h72 bool hasProfileSummary() const { return Summary != nullptr; } in hasProfileSummary() function
76 return hasProfileSummary() && in hasSampleProfile()
82 return hasProfileSummary() && in hasInstrumentationProfile()
88 return hasProfileSummary() && in hasCSInstrumentationProfile()
117 if (!F || !hasProfileSummary()) in isFunctionEntryHot()
129 if (!F || !hasProfileSummary()) in isFunctionHotInCallGraph()
149 if (!F || !hasProfileSummary()) in isFunctionColdInCallGraph()
279 if (!F || !hasProfileSummary()) in isFunctionHotOrColdInCallGraphNthPercentile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSizeOpts.h55 if (!PSI || !BFI || !PSI->hasProfileSummary()) in shouldFuncOptimizeForSizeImpl()
76 if (!PSI || !BFI || !PSI->hasProfileSummary()) in shouldOptimizeForSizeImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTailDuplication.cpp92 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
116 auto *MBFI = (PSI && PSI->hasProfileSummary() in run()
H A DStaticDataAnnotator.cpp73 if (!PSI->hasProfileSummary()) in runOnModule()
H A DStaticDataSplitter.cpp108 const bool ProfileAvailable = PSI && PSI->hasProfileSummary() && MBFI && in runOnMachineFunction()
H A DExpandMemCmp.cpp924 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in runOnFunction()
1003 BlockFrequencyInfo *BFI = (PSI && PSI->hasProfileSummary()) in run()
H A DMachineCombiner.cpp729 MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
H A DSelectOptimize.cpp1083 } else if (PSI->hasProfileSummary()) { in hasExpensiveColdOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOForceFunctionAttrs.cpp27 if (!PSI.hasProfileSummary()) in shouldRunOnFunction()
H A DIndirectCallPromotion.cpp826 (PSI && PSI->hasProfileSummary() && !PSI->isHotCount(TotalCount))) in processFunction()
H A DHWAddressSanitizer.cpp1556 if (!PSI || !PSI->hasProfileSummary()) { in selectiveInstrumentationShouldSkip()
H A DControlHeightReduction.cpp2078 if (!PPSI || !PPSI->hasProfileSummary()) in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp117 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
H A DX86FixupBWInsts.cpp161 MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
H A DX86OptimizeLEAs.cpp723 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
H A DX86FixupLEAs.cpp236 auto *MBFI = (PSI && PSI->hasProfileSummary()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp151 if (PSI && PSI->hasProfileSummary()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp692 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run()
H A DLoopUnrollPass.cpp1614 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run()
H A DSimpleLoopUnswitch.cpp3662 if (PSI && PSI->hasProfileSummary() && BFI && IsLoopNestCold(&L)) { in unswitchLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1245 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp472 if (PSI && PSI->hasProfileSummary() && OptLevel != CodeGenOptLevel::None) in initializeAnalysisResults()
525 if (PSI && PSI->hasProfileSummary() && OptLevel != CodeGenOptLevel::None) in initializeAnalysisResults()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp5956 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run()
6007 (PSI && PSI->hasProfileSummary()) ? in runOnFunction()

12