Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp117 ColdCountThreshold = in isFunctionEntryCold()
119 assert(ColdCountThreshold <= HotCountThreshold &&
169 return ColdCountThreshold && C <= *ColdCountThreshold;
197 return ColdCountThreshold.value_or(0); in isColdCountNthPercentile()
/freebsd/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.cpp348 uint64_t ColdCountThreshold, bool TrimColdContext, bool MergeColdContext, in trimAndMergeColdContextProfiles() argument
354 if (ColdCountThreshold == 0) in trimAndMergeColdContextProfiles()
369 if (FunctionProfile.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
392 if (TrimColdContext && I.second.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp59 static cl::opt<unsigned> ColdCountThreshold( variable
128 return (*Count < ColdCountThreshold); in isColdBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h48 std::optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
253 /// Returns ColdCountThreshold if set. Recompute HotCountThreshold
260 /// Returns ColdCountThreshold if set.
262 return ColdCountThreshold.value_or(0); in getColdCountThreshold()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1980 uint64_t ColdCountThreshold) { in verifyFuncBFI() argument
2005 bool rawIsCold = CountValue <= ColdCountThreshold; in verifyFuncBFI()
2212 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
2215 ColdCountThreshold = PSI->getOrCompColdCountThreshold(); in annotateAllFunctions()
2217 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1385 void trimAndMergeColdContextProfiles(uint64_t ColdCountThreshold,