Go to the source code of this file.
|
| static cl::opt< int > | DefaultThreshold ("inlinedefault-threshold", cl::Hidden, cl::init(225), cl::desc("Default amount of inlining to perform")) |
| static cl::opt< int > | InlineThreshold ("inline-threshold", cl::Hidden, cl::init(225), 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::desc("Threshold for hot callsites ")) |
| static cl::opt< int > | LocallyHotCallSiteThreshold ("locally-hot-callsite-threshold", cl::Hidden, cl::init(525), cl::desc("Threshold for locally hot callsites ")) |
| static cl::opt< int > | InstrCost ("inline-instr-cost", cl::Hidden, cl::init(5), cl::desc("Cost of a single instruction when inlining")) |
◆ DEBUG_PRINT_STAT
| #define DEBUG_PRINT_STAT |
( |
| x | ) |
|
Value:OS << " " #x ": " << x << "\n"
◆ DEBUG_TYPE
| #define DEBUG_TYPE "inline-cost" |
◆ functionsHaveCompatibleAttributes()
◆ STATISTIC()
| STATISTIC |
( |
NumCallsAnalyzed | , |
|
|
"Number of call sites analyzed" | ) |
◆ ColdCallSiteThreshold
| cl::opt< int > ColdCallSiteThreshold("inline-cold-callsite-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining cold callsites")) |
( |
"inline-cold-callsite-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(45) | , |
|
|
cl::desc("Threshold for inlining cold callsites") | ) |
|
static |
◆ ColdThreshold
| cl::opt< int > ColdThreshold("inlinecold-threshold", cl::Hidden, cl::init(45), cl::desc("Threshold for inlining functions with cold attribute")) |
( |
"inlinecold-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(45) | , |
|
|
cl::desc("Threshold for inlining functions with cold attribute") | ) |
|
static |
◆ DefaultThreshold
| cl::opt< int > DefaultThreshold("inlinedefault-threshold", cl::Hidden, cl::init(225), cl::desc("Default amount of inlining to perform")) |
( |
"inlinedefault-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(225) | , |
|
|
cl::desc("Default amount of inlining to perform") | ) |
|
static |
◆ HintThreshold
◆ HotCallSiteThreshold
| cl::opt< int > HotCallSiteThreshold("hot-callsite-threshold", cl::Hidden, cl::init(3000), cl::desc("Threshold for hot callsites ")) |
( |
"hot-callsite-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(3000) | , |
|
|
cl::desc("Threshold for hot callsites ") | ) |
|
static |
◆ InlineThreshold
| cl::opt< int > InlineThreshold("inline-threshold", cl::Hidden, cl::init(225), cl::desc("Control the amount of inlining to perform (default = 225)")) |
( |
"inline-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(225) | , |
|
|
cl::desc("Control the amount of inlining to perform (default = 225)") | ) |
|
static |
◆ InstrCost
| cl::opt< int > InstrCost("inline-instr-cost", cl::Hidden, cl::init(5), cl::desc("Cost of a single instruction when inlining")) |
( |
"inline-instr-cost" | , |
|
|
cl::Hidden | , |
|
|
cl::init(5) | , |
|
|
cl::desc("Cost of a single instruction when inlining") | ) |
|
static |
◆ LocallyHotCallSiteThreshold
| cl::opt< int > LocallyHotCallSiteThreshold("locally-hot-callsite-threshold", cl::Hidden, cl::init(525), cl::desc("Threshold for locally hot callsites ")) |
( |
"locally-hot-callsite-threshold" | , |
|
|
cl::Hidden | , |
|
|
cl::init(525) | , |
|
|
cl::desc("Threshold for locally hot callsites ") | ) |
|
static |