Lines Matching +full:cold +full:- +full:temp

1 //=-- ProfilesummaryBuilder.cpp - Profile summary computation ---------------=//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
23 "profile-summary-contextless", cl::Hidden,
27 // considered hot/cold. These two parameters are percentile values (multiplied
31 // threshold for determining cold count (everything <= this threshold is
32 // considered cold).
34 "profile-summary-cutoff-hot", cl::Hidden, cl::init(990000),
39 "profile-summary-cutoff-cold", cl::Hidden, cl::init(999999),
40 cl::desc("A count is cold if it is below the minimum count"
44 "profile-summary-huge-working-set-size-threshold", cl::Hidden,
47 " blocks required to reach the -profile-summary-cutoff-hot"
51 "profile-summary-large-working-set-size-threshold", cl::Hidden,
54 " blocks required to reach the -profile-summary-cutoff-hot"
60 "profile-summary-hot-count", cl::ReallyHidden,
62 " profile-summary-cutoff-hot"));
65 "profile-summary-cold-count", cl::ReallyHidden,
66 cl::desc("A fixed cold count that overrides the count derived from"
67 " profile-summary-cutoff-cold"));
145 APInt Temp(128, TotalCount); in computeDetailedSummary() local
148 Temp *= N; in computeDetailedSummary()
149 Temp = Temp.sdiv(D); in computeDetailedSummary()
150 uint64_t DesiredCount = Temp.getZExtValue(); in computeDetailedSummary()
153 Count = Iter->first; in computeDetailedSummary()
154 uint32_t Freq = Iter->second; in computeDetailedSummary()
199 // For CSSPGO, context-sensitive profile effectively split a function profile in computeSummaryForProfiles()