Home
last modified time | relevance | path

Searched refs:HotCountThreshold (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp240 HotCountThreshold = in computeThresholds()
244 assert(ColdCountThreshold <= HotCountThreshold && in computeThresholds()
290 return HotCountThreshold && C >= HotCountThreshold.value(); in isHotCount()
318 return HotCountThreshold.value_or(UINT64_MAX); in getOrCompHotCountThreshold()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp163 uint64_t HotCountThreshold = HotEntry.MinCount; in getHotCountThreshold() local
165 HotCountThreshold = ProfileSummaryHotCount; in getHotCountThreshold()
166 return HotCountThreshold; in getHotCountThreshold()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h45 Optional<uint64_t> HotCountThreshold, ColdCountThreshold; variable
173 return HotCountThreshold.value_or(0); in getHotCountThreshold()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1663 uint64_t HotCountThreshold, in verifyFuncBFI() argument
1688 bool rawIsHot = CountValue >= HotCountThreshold; in verifyFuncBFI()
1689 bool BFIIsHot = BFICountValue >= HotCountThreshold; in verifyFuncBFI()
1882 uint64_t HotCountThreshold = 0, ColdCountThreshold = 0; in annotateAllFunctions() local
1884 HotCountThreshold = PSI->getOrCompHotCountThreshold(); in annotateAllFunctions()
1887 verifyFuncBFI(Func, LI, NBPI, HotCountThreshold, ColdCountThreshold); in annotateAllFunctions()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.h132 uint64_t HotCountThreshold; variable
H A DProfileGenerator.cpp731 double Density = calculateDensity(Profiles, HotCountThreshold); in calculateAndShowDensity()
1001 HotCountThreshold, TrimColdProfile, CSProfMergeColdContext, in postProcessProfiles()
1023 HotCountThreshold = ProfileSummaryBuilder::getHotCountThreshold( in computeSummaryAndThreshold()