| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 58 if (hasProfileSummary()) in refresh() 65 if (!hasProfileSummary()) { in refresh() 71 if (!hasProfileSummary()) in refresh() 99 if (!F || !hasProfileSummary()) in isFunctionEntryHot() 115 if (!F || !hasProfileSummary()) in isFunctionHotInCallGraph() 144 if (!F || !hasProfileSummary()) in isFunctionColdInCallGraph() 174 if (!F || !hasProfileSummary()) in isFunctionHotOrColdInCallGraphNthPercentile() 226 if (!hasProfileSummary()) in isFunctionEntryCold() 267 if (!hasProfileSummary()) in computeThreshold() 375 return hasProfileSummary() && in hasPartialSampleProfile()
|
| H A D | InlineCost.cpp | 746 if (!PSI || !PSI->hasProfileSummary()) in isCostBenefitAnalysisEnabled() 1732 if (PSI && PSI->hasProfileSummary()) in isColdCallSite() 1757 if (PSI && PSI->hasProfileSummary() && PSI->isHotCallSite(Call, CallerBFI)) in getHotCallSiteThreshold()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 68 bool hasProfileSummary() const { return Summary != nullptr; } in hasProfileSummary() function 72 return hasProfileSummary() && in hasSampleProfile() 78 return hasProfileSummary() && in hasInstrumentationProfile() 84 return hasProfileSummary() && in hasCSInstrumentationProfile()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ProfileSummaryInfoTest.cpp | 129 EXPECT_FALSE(PSI.hasProfileSummary()); in TEST_F() 160 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F() 199 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F() 266 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F() 294 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F() 366 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F() 399 EXPECT_TRUE(PSI1.hasProfileSummary()); in TEST_F() 412 EXPECT_TRUE(PSI2.hasProfileSummary()); in TEST_F() 425 EXPECT_TRUE(PSI3.hasProfileSummary()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SizeOpts.h | 54 if (!PSI || !BFI || !PSI->hasProfileSummary()) in shouldFuncOptimizeForSizeImpl() 74 if (!PSI || !BFI || !PSI->hasProfileSummary()) in shouldOptimizeForSizeImpl()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TailDuplication.cpp | 89 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
|
| H A D | MachineCombiner.cpp | 757 MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
|
| H A D | SelectOptimize.cpp | 663 } else if (PSI->hasProfileSummary()) { in hasExpensiveColdOperand()
|
| H A D | ExpandMemCmp.cpp | 823 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in runOnFunction()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | SizeOptsTest.cpp | 70 EXPECT_TRUE(PSI.hasProfileSummary()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 119 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
|
| H A D | X86FixupBWInsts.cpp | 170 MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
|
| H A D | X86OptimizeLEAs.cpp | 721 auto *MBFI = (PSI && PSI->hasProfileSummary()) ? in runOnMachineFunction()
|
| H A D | X86FixupLEAs.cpp | 241 auto *MBFI = (PSI && PSI->hasProfileSummary()) in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/unittests/Target/X86/ |
| H A D | MachineSizeOptsTest.cpp | 101 ASSERT_TRUE(PSI.hasProfileSummary()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 662 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in runOnFunction() 722 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run()
|
| H A D | LoopUnrollPass.cpp | 1576 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 101 if (PSI && PSI->hasProfileSummary()) in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 307 (PSI && PSI->hasProfileSummary() && !PSI->isHotCount(TotalCount))) in processFunction()
|
| H A D | ControlHeightReduction.cpp | 409 assert(PSI.hasProfileSummary() && "Empty PSI?"); in shouldApply()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 1301 if (PSI.hasProfileSummary() && F.hasProfileData() && in unswitchFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4603 auto *BFI = (PSI && PSI->hasProfileSummary()) ? in run() 4651 (PSI && PSI->hasProfileSummary()) ? in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGISel.cpp | 408 if (PSI && PSI->hasProfileSummary() && OptLevel != CodeGenOpt::None) in runOnMachineFunction()
|