Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp243 ColdCountThreshold = in computeThresholds()
245 assert(ColdCountThreshold <= HotCountThreshold && in computeThresholds()
295 return ColdCountThreshold && C <= ColdCountThreshold.getValue(); in isColdCount()
323 return ColdCountThreshold ? ColdCountThreshold.getValue() : 0; in getOrCompColdCountThreshold()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h45 Optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
169 return ColdCountThreshold ? ColdCountThreshold.getValue() : 0; in getColdCountThreshold()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp171 uint64_t ColdCountThreshold = ColdEntry.MinCount; in getColdCountThreshold() local
173 ColdCountThreshold = ProfileSummaryColdCount; in getColdCountThreshold()
174 return ColdCountThreshold; in getColdCountThreshold()
H A DSampleProf.cpp320 uint64_t ColdCountThreshold, bool TrimColdContext, bool MergeColdContext) { in trimAndMergeColdContextProfiles() argument
325 if (ColdCountThreshold == 0) in trimAndMergeColdContextProfiles()
333 if (FunctionProfile.getTotalSamples() >= ColdCountThreshold) in trimAndMergeColdContextProfiles()
353 if (TrimColdContext && I.second.getTotalSamples() < ColdCountThreshold && in trimAndMergeColdContextProfiles()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp56 static cl::opt<unsigned> ColdCountThreshold( variable
91 return (*Count < ColdCountThreshold); in isColdBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp41 HotCountThreshold(HotThreshold), ColdCountThreshold(ColdThreshold) {} in CSPreInliner()
116 if (Candidate.CallsiteCount < ColdCountThreshold) in shouldInline()
H A DProfileGenerator.cpp404 CSPreInliner(ProfileMap, HotCountThreshold, ColdCountThreshold).run(); in postProcessProfiles()
409 ColdCountThreshold, CSProfTrimColdContext, CSProfMergeColdContext); in postProcessProfiles()
417 ColdCountThreshold = ProfileSummaryBuilder::getColdCountThreshold( in computeSummaryAndThreshold()
422 ColdCountThreshold = CSProfColdThreshold; in computeSummaryAndThreshold()
H A DCSPreInliner.h86 uint64_t ColdCountThreshold; variable
H A DProfileGenerator.h191 uint64_t ColdCountThreshold; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1724 uint64_t ColdCountThreshold) { in verifyFuncBFI() argument
1750 bool rawIsCold = CountValue <= ColdCountThreshold; in verifyFuncBFI()
1930 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
1933 ColdCountThreshold = PSI->getOrCompColdCountThreshold(); in annotateAllFunctions()
1935 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DSampleProf.h989 void trimAndMergeColdContextProfiles(uint64_t ColdCountThreshold,