Home
last modified time | relevance | path

Searched refs:isColdCount (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp147 if (!isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
157 if (!isColdCount(TotalCallCount)) in isFunctionColdInCallGraph()
232 return FunctionCount && isColdCount(FunctionCount->getCount()); in isFunctionEntryCold()
293 bool ProfileSummaryInfo::isColdCount(uint64_t C) const { in isColdCount() function in ProfileSummaryInfo
334 return Count && isColdCount(*Count); in isColdBlock()
367 return isColdCount(*C); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp130 if (PSI->isColdCount(ProfileCount)) in getHotness()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp35 return Count && PSI->isColdCount(*Count); in isColdBlock()
42 return Count && PSI->isColdCount(*Count); in isColdBlock()
85 if (!PSI->isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp136 EXPECT_FALSE(PSI.isColdCount(1000)); in TEST_F()
137 EXPECT_FALSE(PSI.isColdCount(0)); in TEST_F()
162 EXPECT_TRUE(PSI.isColdCount(2)); in TEST_F()
163 EXPECT_FALSE(PSI.isColdCount(100)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp76 return !PSI->isColdCount(CallsiteTotalSamples); in callsiteIsHot()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h134 bool isColdCount(uint64_t C) const;
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1107 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes()