Home
last modified time | relevance | path

Searched refs:isColdCountNthPercentile (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp170 EXPECT_FALSE(PSI.isColdCountNthPercentile(990000, 400)); in TEST_F()
171 EXPECT_TRUE(PSI.isColdCountNthPercentile(990000, 100)); in TEST_F()
172 EXPECT_TRUE(PSI.isColdCountNthPercentile(990000, 2)); in TEST_F()
178 EXPECT_FALSE(PSI.isColdCountNthPercentile(999999, 400)); in TEST_F()
179 EXPECT_FALSE(PSI.isColdCountNthPercentile(999999, 100)); in TEST_F()
180 EXPECT_TRUE(PSI.isColdCountNthPercentile(999999, 2)); in TEST_F()
186 EXPECT_TRUE(PSI.isColdCountNthPercentile(10000, 400)); in TEST_F()
187 EXPECT_TRUE(PSI.isColdCountNthPercentile(10000, 100)); in TEST_F()
188 EXPECT_TRUE(PSI.isColdCountNthPercentile(10000, 2)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp67 return Count && PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlockNthPercentile()
75 return Count && PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlockNthPercentile()
114 if (!PSI->isColdCountNthPercentile(PercentileCutoff, in isFunctionColdInCallGraphNthPercentile()
H A DMachineFunctionSplitter.cpp87 return PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlock()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp181 !isColdCountNthPercentile(PercentileCutoff, FunctionCount->getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
193 if (!isHot && !isColdCountNthPercentile(PercentileCutoff, TotalCallCount)) in isFunctionHotOrColdInCallGraphNthPercentile()
312 bool ProfileSummaryInfo::isColdCountNthPercentile(int PercentileCutoff, in isColdCountNthPercentile() function in ProfileSummaryInfo
344 return Count && isColdCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h144 bool isColdCountNthPercentile(int PercentileCutoff, uint64_t C) const;