Home
last modified time | relevance | path

Searched refs:PercentileCutoff (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp200 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraphNthPercentile() argument
204 if (isHotCountNthPercentile(PercentileCutoff, FunctionCount.getCount())) in isFunctionHotInCallGraphNthPercentile()
214 if (isHotCountNthPercentile(PercentileCutoff, TotalCallCount)) in isFunctionHotInCallGraphNthPercentile()
218 if (isHotBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotInCallGraphNthPercentile()
263 Optional<uint64_t> ProfileSummaryInfo::computeThreshold(int PercentileCutoff) { in computeThreshold() argument
266 auto iter = ThresholdCache.find(PercentileCutoff); in computeThreshold()
272 getEntryForPercentile(DetailedSummary, PercentileCutoff); in computeThreshold()
274 ThresholdCache[PercentileCutoff] = CountThreshold; in computeThreshold()
302 bool ProfileSummaryInfo::isHotCountNthPercentile(int PercentileCutoff, uint64_t C) { in isHotCountNthPercentile() argument
303 auto CountThreshold = computeThreshold(PercentileCutoff); in isHotCountNthPercentile()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSizeOpts.cpp37 static bool isHotBlockNthPercentile(int PercentileCutoff, in isHotBlockNthPercentile() argument
42 return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count); in isHotBlockNthPercentile()
63 int PercentileCutoff, in isFunctionHotInCallGraphNthPercentile() argument
68 if (PSI->isHotCountNthPercentile(PercentileCutoff, in isFunctionHotInCallGraphNthPercentile()
72 if (isHotBlockNthPercentile(PercentileCutoff, &MBB, PSI, &MBFI)) in isFunctionHotInCallGraphNthPercentile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h60 Optional<uint64_t> computeThreshold(int PercentileCutoff);
120 bool isFunctionHotInCallGraphNthPercentile(int PercentileCutoff,
129 bool isHotCountNthPercentile(int PercentileCutoff, uint64_t C);
136 bool isHotBlockNthPercentile(int PercentileCutoff,