LLVM 22.0.0git
ProfileSummaryBuilder.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

cl::opt< boolllvm::UseContextLessSummary ("profile-summary-contextless", cl::Hidden, cl::desc("Merge context profiles before calculating thresholds."))
cl::opt< int > llvm::ProfileSummaryCutoffHot ("profile-summary-cutoff-hot", cl::Hidden, cl::init(990000), cl::desc("A count is hot if it exceeds the minimum count to" " reach this percentile of total counts."))
cl::opt< int > llvm::ProfileSummaryCutoffCold ("profile-summary-cutoff-cold", cl::Hidden, cl::init(999999), cl::desc("A count is cold if it is below the minimum count" " to reach this percentile of total counts."))
cl::opt< unsignedllvm::ProfileSummaryHugeWorkingSetSizeThreshold ("profile-summary-huge-working-set-size-threshold", cl::Hidden, cl::init(15000), cl::desc("The code working set size is considered huge if the number of" " blocks required to reach the -profile-summary-cutoff-hot" " percentile exceeds this count."))
cl::opt< unsignedllvm::ProfileSummaryLargeWorkingSetSizeThreshold ("profile-summary-large-working-set-size-threshold", cl::Hidden, cl::init(12500), cl::desc("The code working set size is considered large if the number of" " blocks required to reach the -profile-summary-cutoff-hot" " percentile exceeds this count."))
cl::opt< uint64_tllvm::ProfileSummaryHotCount ("profile-summary-hot-count", cl::ReallyHidden, cl::desc("A fixed hot count that overrides the count derived from" " profile-summary-cutoff-hot"))
cl::opt< uint64_tllvm::ProfileSummaryColdCount ("profile-summary-cold-count", cl::ReallyHidden, cl::desc("A fixed cold count that overrides the count derived from" " profile-summary-cutoff-cold"))

Variables

static const uint32_t DefaultCutoffsData []
static const ProfileSummaryEntry ZeroCutoffEntry = {0, UINT64_MAX, 0}

Variable Documentation

◆ DefaultCutoffsData

const uint32_t DefaultCutoffsData[]
static
Initial value:
= {
10000,
100000,
200000, 300000, 400000, 500000, 600000, 700000, 800000,
900000, 950000, 990000, 999000, 999900, 999990, 999999}

Definition at line 72 of file ProfileSummaryBuilder.cpp.

◆ ZeroCutoffEntry

const ProfileSummaryEntry ZeroCutoffEntry = {0, UINT64_MAX, 0}
static