Home
last modified time | relevance | path

Searched refs:hasSampleProfile (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSizeOpts.h43 (PSI->hasSampleProfile() && in isPGSOColdCodeOnly()
62 if (PSI->hasSampleProfile()) in shouldFuncOptimizeForSizeImpl()
82 if (PSI->hasSampleProfile()) in shouldOptimizeForSizeImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp80 if (hasSampleProfile()) { in getProfileCount()
121 if (hasSampleProfile()) { in isFunctionHotInCallGraph()
150 if (hasSampleProfile()) { in isFunctionColdInCallGraph()
184 if (hasSampleProfile()) { in isFunctionHotOrColdInCallGraphNthPercentile()
371 return hasSampleProfile() && CB.getCaller()->hasProfileData(); in isColdCallSite()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp130 EXPECT_FALSE(PSI.hasSampleProfile()); in TEST_F()
295 EXPECT_TRUE(PSI.hasSampleProfile()); in TEST_F()
367 EXPECT_TRUE(PSI.hasSampleProfile()); in TEST_F()
400 EXPECT_TRUE(PSI1.hasSampleProfile()); in TEST_F()
413 EXPECT_TRUE(PSI2.hasSampleProfile()); in TEST_F()
426 EXPECT_TRUE(PSI3.hasSampleProfile()); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h71 bool hasSampleProfile() const { in hasSampleProfile() function