Lines Matching refs:PercentileCutoff
210 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotOrColdInCallGraphNthPercentile() argument
215 isHotCountNthPercentile(PercentileCutoff, FunctionCount.getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
218 !isColdCountNthPercentile(PercentileCutoff, FunctionCount.getCount())) in isFunctionHotOrColdInCallGraphNthPercentile()
228 if (isHot && isHotCountNthPercentile(PercentileCutoff, TotalCallCount)) in isFunctionHotOrColdInCallGraphNthPercentile()
230 if (!isHot && !isColdCountNthPercentile(PercentileCutoff, TotalCallCount)) in isFunctionHotOrColdInCallGraphNthPercentile()
234 if (isHot && isHotBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
236 if (!isHot && !isColdBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
244 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotInCallGraphNthPercentile() argument
246 PercentileCutoff, F, BFI); in isFunctionHotInCallGraphNthPercentile()
250 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionColdInCallGraphNthPercentile() argument
252 PercentileCutoff, F, BFI); in isFunctionColdInCallGraphNthPercentile()
307 ProfileSummaryInfo::computeThreshold(int PercentileCutoff) const { in computeThreshold()
310 auto iter = ThresholdCache.find(PercentileCutoff); in computeThreshold()
316 PercentileCutoff); in computeThreshold()
318 ThresholdCache[PercentileCutoff] = CountThreshold; in computeThreshold()
339 bool ProfileSummaryInfo::isHotOrColdCountNthPercentile(int PercentileCutoff, in isHotOrColdCountNthPercentile() argument
341 auto CountThreshold = computeThreshold(PercentileCutoff); in isHotOrColdCountNthPercentile()
348 bool ProfileSummaryInfo::isHotCountNthPercentile(int PercentileCutoff, in isHotCountNthPercentile() argument
350 return isHotOrColdCountNthPercentile<true>(PercentileCutoff, C); in isHotCountNthPercentile()
353 bool ProfileSummaryInfo::isColdCountNthPercentile(int PercentileCutoff, in isColdCountNthPercentile() argument
355 return isHotOrColdCountNthPercentile<false>(PercentileCutoff, C); in isColdCountNthPercentile()
380 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotOrColdBlockNthPercentile() argument
383 return Count && isHotCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
385 return Count && isColdCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
389 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotBlockNthPercentile() argument
390 return isHotOrColdBlockNthPercentile<true>(PercentileCutoff, BB, BFI); in isHotBlockNthPercentile()
394 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isColdBlockNthPercentile() argument
395 return isHotOrColdBlockNthPercentile<false>(PercentileCutoff, BB, BFI); in isColdBlockNthPercentile()