Home
last modified time | relevance | path

Searched refs:isColdBlockNthPercentile (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp219 EXPECT_FALSE(PSI.isColdBlockNthPercentile(990000, BB1, &BFI)); in TEST_F()
220 EXPECT_TRUE(PSI.isColdBlockNthPercentile(990000, BB2, &BFI)); in TEST_F()
238 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, &BB0, &BFI)); in TEST_F()
239 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, BB1, &BFI)); in TEST_F()
240 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, BB2, &BFI)); in TEST_F()
241 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, BB3, &BFI)); in TEST_F()
316 EXPECT_TRUE(PSI.isColdBlockNthPercentile(990000, BB2, &BFI)); in TEST_F()
334 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, &BB0, &BFI)); in TEST_F()
335 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, BB1, &BFI)); in TEST_F()
336 EXPECT_TRUE(PSI.isColdBlockNthPercentile(10000, BB2, &BFI)); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp62 static bool isColdBlockNthPercentile(int PercentileCutoff, in isColdBlockNthPercentile() function
70 static bool isColdBlockNthPercentile(int PercentileCutoff, in isColdBlockNthPercentile() function
118 if (!isColdBlockNthPercentile(PercentileCutoff, &MBB, PSI, &MBFI)) in isFunctionColdInCallGraphNthPercentile()
168 static bool isColdBlockNthPercentile(int CutOff, const MachineBasicBlock *MBB, in isColdBlockNthPercentile() function
171 return machine_size_opts_detail::isColdBlockNthPercentile(CutOff, MBB, PSI, in isColdBlockNthPercentile()
174 static bool isColdBlockNthPercentile(int CutOff, BlockFrequency BlockFreq, in isColdBlockNthPercentile() function
177 return machine_size_opts_detail::isColdBlockNthPercentile(CutOff, BlockFreq, in isColdBlockNthPercentile()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSizeOpts.cpp90 static bool isColdBlockNthPercentile(int CutOff, const BasicBlock *BB, in isColdBlockNthPercentile() function
93 return PSI->isColdBlockNthPercentile(CutOff, BB, BFI); in isColdBlockNthPercentile()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSizeOpts.h85 return AdapterT::isColdBlockNthPercentile(PgsoCutoffSampleProf, in shouldOptimizeForSizeImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp199 if (!isHot && !isColdBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
352 bool ProfileSummaryInfo::isColdBlockNthPercentile( in isColdBlockNthPercentile() function in ProfileSummaryInfo
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h159 bool isColdBlockNthPercentile(int PercentileCutoff, const BasicBlock *BB,