Home
last modified time | relevance | path

Searched refs:isHotCount (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp105 return FunctionCount && isHotCount(FunctionCount->getCount()); in isFunctionEntryHot()
118 if (isHotCount(FunctionCount->getCount())) in isFunctionHotInCallGraph()
128 if (isHotCount(TotalCallCount)) in isFunctionHotInCallGraph()
289 bool ProfileSummaryInfo::isHotCount(uint64_t C) const { in isHotCount() function in ProfileSummaryInfo
328 return Count && isHotCount(*Count); in isHotBlock()
360 return C && isHotCount(*C); in isHotCallSite()
H A DModuleSummaryAnalysis.cpp128 if (PSI->isHotCount(ProfileCount)) in getHotness()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp134 EXPECT_FALSE(PSI.isHotCount(1000)); in TEST_F()
135 EXPECT_FALSE(PSI.isHotCount(0)); in TEST_F()
161 EXPECT_TRUE(PSI.isHotCount(400)); in TEST_F()
164 EXPECT_FALSE(PSI.isHotCount(100)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp78 return PSI->isHotCount(CallsiteTotalSamples); in callsiteIsHot()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h132 bool isHotCount(uint64_t C) const;
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp307 (PSI && PSI->hasProfileSummary() && !PSI->isHotCount(TotalCount))) in processFunction()
H A DPGOInstrumentation.cpp1105 if (PSI->isHotCount(EntryCount)) in markFunctionAttributes()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1453 if (!PSI->isHotCount(EntryCountDistributed)) in inlineHotFunctionsWithPriority()