Home
last modified time | relevance | path

Searched refs:ColdCountThreshold (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp117 ColdCountThreshold = in computeThresholds()
119 assert(ColdCountThreshold <= HotCountThreshold && in computeThresholds()
169 return ColdCountThreshold && C <= *ColdCountThreshold; in isColdCount()
197 return ColdCountThreshold.value_or(0); in getOrCompColdCountThreshold()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp179 uint64_t ColdCountThreshold = ColdEntry.MinCount; in getColdCountThreshold() local
181 ColdCountThreshold = ProfileSummaryColdCount; in getColdCountThreshold()
182 return ColdCountThreshold; in getColdCountThreshold()
H A DSampleProf.cpp332 uint64_t ColdCountThreshold, bool TrimColdContext, bool MergeColdContext, in trimAndMergeColdContextProfiles() argument
338 if (ColdCountThreshold == 0) in trimAndMergeColdContextProfiles()
353 if (FunctionProfile.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
376 if (TrimColdContext && I.second.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp59 static cl::opt<unsigned> ColdCountThreshold( variable
134 return (*Count < ColdCountThreshold); in isColdBlock()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h48 std::optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
262 return ColdCountThreshold.value_or(0); in getColdCountThreshold()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1886 uint64_t ColdCountThreshold) { in verifyFuncBFI() argument
1912 bool rawIsCold = CountValue <= ColdCountThreshold; in verifyFuncBFI()
2107 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
2110 ColdCountThreshold = PSI->getOrCompColdCountThreshold(); in annotateAllFunctions()
2112 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1378 void trimAndMergeColdContextProfiles(uint64_t ColdCountThreshold,