LLVM 20.0.0git
|
Functions | |
int | getInstrCost () |
Variables | |
const int | OptSizeThreshold = 50 |
Use when optsize (-Os) is specified. | |
const int | OptMinSizeThreshold = 5 |
Use when minsize (-Oz) is specified. | |
const int | OptAggressiveThreshold = 250 |
Use when -O3 is specified. | |
const int | IndirectCallThreshold = 100 |
const int | LoopPenalty = 25 |
const int | LastCallToStaticBonus = 15000 |
const int | ColdccPenalty = 2000 |
const unsigned | TotalAllocaSizeRecursiveCaller = 1024 |
Do not inline functions which allocate this many bytes on the stack when the caller is recursive. | |
const uint64_t | MaxSimplifiedDynamicAllocaToInline = 65536 |
Do not inline dynamic allocas that have been constant propagated to be static allocas above this amount in bytes. | |
const char | FunctionInlineCostMultiplierAttributeName [] |
const char | MaxInlineStackSizeAttributeName [] = "inline-max-stacksize" |
int llvm::InlineConstants::getInstrCost | ( | ) |
Definition at line 195 of file InlineCost.cpp.
References InstrCost.
Referenced by adjustInliningThresholdUsingCallee().
const int llvm::InlineConstants::ColdccPenalty = 2000 |
Definition at line 51 of file InlineCost.h.
Definition at line 59 of file InlineCost.h.
const int llvm::InlineConstants::IndirectCallThreshold = 100 |
Definition at line 48 of file InlineCost.h.
const int llvm::InlineConstants::LastCallToStaticBonus = 15000 |
Definition at line 50 of file InlineCost.h.
Referenced by shouldBeDeferred().
const int llvm::InlineConstants::LoopPenalty = 25 |
Definition at line 49 of file InlineCost.h.
Definition at line 62 of file InlineCost.h.
Do not inline dynamic allocas that have been constant propagated to be static allocas above this amount in bytes.
Definition at line 57 of file InlineCost.h.
const int llvm::InlineConstants::OptAggressiveThreshold = 250 |
Use when -O3 is specified.
Definition at line 44 of file InlineCost.h.
Referenced by computeThresholdFromOptLevels().
const int llvm::InlineConstants::OptMinSizeThreshold = 5 |
Use when minsize (-Oz) is specified.
Definition at line 41 of file InlineCost.h.
Referenced by computeThresholdFromOptLevels(), and llvm::getInlineParams().
const int llvm::InlineConstants::OptSizeThreshold = 50 |
Use when optsize (-Os) is specified.
Definition at line 38 of file InlineCost.h.
Referenced by computeThresholdFromOptLevels(), and llvm::getInlineParams().
Do not inline functions which allocate this many bytes on the stack when the caller is recursive.
Definition at line 54 of file InlineCost.h.