Go to the source code of this file.
|
| static cl::opt< int > | InlineThreshold ("inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore, cl::desc("Control the amount of inlining to perform (default = 225)")) |
| |
| static cl::opt< int > | HintThreshold ("inlinehint-threshold", cl::Hidden, cl::init(325), cl::desc("Threshold for inlining functions with inline hint")) |
| |
| static cl::opt< int > | ColdCallSiteThreshold ("inline-cold-callsite-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining cold callsites")) |
| |
| static cl::opt< int > | ColdThreshold ("inlinecold-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining functions with cold attribute")) |
| |
| static cl::opt< int > | HotCallSiteThreshold ("hot-callsite-threshold", cl::Hidden, cl::init(3000), cl::ZeroOrMore, cl::desc("Threshold for hot callsites ")) |
| |
| static cl::opt< int > | ColdCallSiteRelFreq ("cold-callsite-rel-freq", cl::Hidden, cl::init(2), cl::ZeroOrMore, cl::desc("Maxmimum block frequency, expressed as a percentage of caller's ""entry frequency, for a callsite to be cold in the absence of ""profile information.")) |
| |
| #define DEBUG_PRINT_STAT |
( |
|
x | ) |
dbgs() << " " #x ": " << x << "\n" |
| #define DEBUG_TYPE "inline-cost" |
| static int computeThresholdFromOptLevels |
( |
unsigned |
OptLevel, |
|
|
unsigned |
SizeOptLevel |
|
) |
| |
|
static |
| STATISTIC |
( |
NumCallsAnalyzed |
, |
|
|
"Number of call sites analyzed" |
|
|
) |
| |
| cl::opt<int> ColdCallSiteRelFreq("cold-callsite-rel-freq", cl::Hidden, cl::init(2), cl::ZeroOrMore, cl::desc("Maxmimum block frequency, expressed as a percentage of caller's ""entry frequency, for a callsite to be cold in the absence of ""profile information.")) |
|
static |
| cl::opt<int> ColdCallSiteThreshold("inline-cold-callsite-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining cold callsites")) |
|
static |
| cl::opt<int> ColdThreshold("inlinecold-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining functions with cold attribute")) |
|
static |
| cl::opt<int> HotCallSiteThreshold("hot-callsite-threshold", cl::Hidden, cl::init(3000), cl::ZeroOrMore, cl::desc("Threshold for hot callsites ")) |
|
static |
| cl::opt<int> InlineThreshold("inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore, cl::desc("Control the amount of inlining to perform (default = 225)")) |
|
static |