Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp245 ColdCountThreshold = in computeThresholds()
247 assert(ColdCountThreshold <= HotCountThreshold && in computeThresholds()
297 return ColdCountThreshold && C <= *ColdCountThreshold; in isColdCount()
325 return ColdCountThreshold.value_or(0); in getOrCompColdCountThreshold()
/openbsd-src/gnu/llvm/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.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()
/openbsd-src/gnu/llvm/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.cpp503 trimColdProfiles(ProfileMap, ColdCountThreshold); in postProcessProfiles()
1041 ColdCountThreshold = ProfileSummaryBuilder::getColdCountThreshold( in computeSummaryAndThreshold()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h46 std::optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
178 return ColdCountThreshold.value_or(0); in getColdCountThreshold()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp55 static cl::opt<unsigned> ColdCountThreshold( variable
168 return (*Count < ColdCountThreshold); in isColdBlock()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1989 uint64_t ColdCountThreshold) { in verifyFuncBFI() argument
2015 bool rawIsCold = CountValue <= ColdCountThreshold; in verifyFuncBFI()
2215 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
2218 ColdCountThreshold = PSI->getOrCompColdCountThreshold(); in annotateAllFunctions()
2220 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProf.h1242 void trimAndMergeColdContextProfiles(uint64_t ColdCountThreshold,