Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp218 EXPECT_FALSE(PSI.isColdBlockNthPercentile(990000, &BB0, &BFI)); in TEST_F()
219 EXPECT_FALSE(PSI.isColdBlockNthPercentile(990000, BB1, &BFI)); in TEST_F()
220 EXPECT_TRUE(PSI.isColdBlockNthPercentile(990000, BB2, &BFI)); in TEST_F()
221 EXPECT_FALSE(PSI.isColdBlockNthPercentile(990000, BB3, &BFI)); in TEST_F()
228 EXPECT_FALSE(PSI.isColdBlockNthPercentile(999900, &BB0, &BFI)); in TEST_F()
229 EXPECT_FALSE(PSI.isColdBlockNthPercentile(999900, BB1, &BFI)); in TEST_F()
230 EXPECT_FALSE(PSI.isColdBlockNthPercentile(999900, BB2, &BFI)); in TEST_F()
231 EXPECT_FALSE(PSI.isColdBlockNthPercentile(999900, BB3, &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()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSizeOpts.cpp90 static bool isColdBlockNthPercentile(int CutOff, const BasicBlock *BB, in isColdBlockNthPercentile() function
93 return PSI->isColdBlockNthPercentile(CutOff, BB, BFI); in isColdBlockNthPercentile()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h87 return AdapterT::isColdBlockNthPercentile(PgsoCutoffSampleProf, in shouldOptimizeForSizeImpl()
/external/llvm-project/llvm/lib/Analysis/
DProfileSummaryInfo.cpp236 if (!isHot && !isColdBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
393 bool ProfileSummaryInfo::isColdBlockNthPercentile( in isColdBlockNthPercentile() function in ProfileSummaryInfo
/external/llvm-project/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h152 bool isColdBlockNthPercentile(int PercentileCutoff, const BasicBlock *BB,