Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h58 std::optional<uint64_t> computeThreshold(int PercentileCutoff) const;
169 bool isFunctionHotInCallGraphNthPercentile(int PercentileCutoff, in isFunctionHotInCallGraphNthPercentile() argument
172 PercentileCutoff, F, BFI); in isFunctionHotInCallGraphNthPercentile()
177 bool isFunctionColdInCallGraphNthPercentile(int PercentileCutoff, in isFunctionColdInCallGraphNthPercentile() argument
180 PercentileCutoff, F, BFI); in isFunctionColdInCallGraphNthPercentile()
190 LLVM_ABI bool isHotCountNthPercentile(int PercentileCutoff, uint64_t C) const;
195 LLVM_ABI bool isColdCountNthPercentile(int PercentileCutoff,
219 bool isHotBlockNthPercentile(int PercentileCutoff, const BBType *BB, in isHotBlockNthPercentile() argument
221 return isHotOrColdBlockNthPercentile<true, BBType, BFIT>(PercentileCutoff, in isHotBlockNthPercentile()
226 bool isHotBlockNthPercentile(int PercentileCutoff, BlockFrequency BlockFreq, in isHotBlockNthPercentile() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp146 ProfileSummaryInfo::computeThreshold(int PercentileCutoff) const { in computeThreshold()
149 auto [Iter, Inserted] = ThresholdCache.try_emplace(PercentileCutoff); in computeThreshold()
154 PercentileCutoff); in computeThreshold()
177 bool ProfileSummaryInfo::isHotOrColdCountNthPercentile(int PercentileCutoff, in isHotOrColdCountNthPercentile() argument
179 auto CountThreshold = computeThreshold(PercentileCutoff); in isHotOrColdCountNthPercentile()
186 bool ProfileSummaryInfo::isHotCountNthPercentile(int PercentileCutoff, in isHotCountNthPercentile() argument
188 return isHotOrColdCountNthPercentile<true>(PercentileCutoff, C); in isHotCountNthPercentile()
191 bool ProfileSummaryInfo::isColdCountNthPercentile(int PercentileCutoff, in isColdCountNthPercentile() argument
193 return isHotOrColdCountNthPercentile<false>(PercentileCutoff, C); in isColdCountNthPercentile()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp54 PercentileCutoff("mfs-psi-cutoff", variable
119 if (PercentileCutoff > 0) in isColdBlock()
120 return PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlock()