LLVM 22.0.0git
|
Functions | |
LLVM_ABI 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 | 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 206 of file InlineCost.cpp.
References InstrCost.
Referenced by adjustInliningThresholdUsingCallee().
const int llvm::InlineConstants::ColdccPenalty = 2000 |
Definition at line 52 of file InlineCost.h.
Definition at line 60 of file InlineCost.h.
const int llvm::InlineConstants::IndirectCallThreshold = 100 |
Definition at line 50 of file InlineCost.h.
const int llvm::InlineConstants::LoopPenalty = 25 |
Definition at line 51 of file InlineCost.h.
Definition at line 63 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 58 of file InlineCost.h.
const int llvm::InlineConstants::OptAggressiveThreshold = 250 |
Use when -O3 is specified.
Definition at line 46 of file InlineCost.h.
Referenced by computeThresholdFromOptLevels().
const int llvm::InlineConstants::OptMinSizeThreshold = 5 |
Use when minsize (-Oz) is specified.
Definition at line 43 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 40 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 55 of file InlineCost.h.