Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp242 ColdCountThreshold = in computeThresholds()
244 assert(ColdCountThreshold <= HotCountThreshold && in computeThresholds()
294 return ColdCountThreshold && C <= ColdCountThreshold.value(); in isColdCount()
322 return ColdCountThreshold.value_or(0); in getOrCompColdCountThreshold()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp173 uint64_t ColdCountThreshold = ColdEntry.MinCount; in getColdCountThreshold() local
175 ColdCountThreshold = ProfileSummaryColdCount; in getColdCountThreshold()
176 return ColdCountThreshold; in getColdCountThreshold()
H A DSampleProf.cpp343 uint64_t ColdCountThreshold, bool TrimColdContext, bool MergeColdContext, in trimAndMergeColdContextProfiles() argument
349 if (ColdCountThreshold == 0) in trimAndMergeColdContextProfiles()
364 if (FunctionProfile.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
387 if (TrimColdContext && I.second.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp54 static cl::opt<unsigned> ColdCountThreshold( variable
89 return (*Count < ColdCountThreshold); in isColdBlock()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp156 uint64_t ColdCountThreshold = ProfileSummaryBuilder::getColdCountThreshold( in shouldInline() local
159 if (Candidate.CallsiteCount <= ColdCountThreshold) in shouldInline()
169 double NormalizationLowerBound = ColdCountThreshold; in shouldInline()
H A DProfileGenerator.h134 uint64_t ColdCountThreshold; variable
H A DProfileGenerator.cpp497 trimColdProfiles(ProfileMap, ColdCountThreshold); in postProcessProfiles()
1025 ColdCountThreshold = ProfileSummaryBuilder::getColdCountThreshold( in computeSummaryAndThreshold()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h45 Optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
177 return ColdCountThreshold.value_or(0); in getColdCountThreshold()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1664 uint64_t ColdCountThreshold) { in verifyFuncBFI() argument
1690 bool rawIsCold = CountValue <= ColdCountThreshold; in verifyFuncBFI()
1882 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
1885 ColdCountThreshold = PSI->getOrCompColdCountThreshold(); in annotateAllFunctions()
1887 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProf.h1230 void trimAndMergeColdContextProfiles(uint64_t ColdCountThreshold,