LLVM: llvm::InlineConstants Namespace Reference (original) (raw)
| 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" |
◆ getInstrCost()
| int llvm::InlineConstants::getInstrCost | ( | ) |
|---|
◆ ColdccPenalty
const int llvm::InlineConstants::ColdccPenalty = 2000
◆ FunctionInlineCostMultiplierAttributeName
const char llvm::InlineConstants::FunctionInlineCostMultiplierAttributeName[]
◆ IndirectCallThreshold
const int llvm::InlineConstants::IndirectCallThreshold = 100
◆ LoopPenalty
const int llvm::InlineConstants::LoopPenalty = 25
◆ MaxInlineStackSizeAttributeName
const char llvm::InlineConstants::MaxInlineStackSizeAttributeName[] = "inline-max-stacksize"
◆ MaxSimplifiedDynamicAllocaToInline
const uint64_t llvm::InlineConstants::MaxSimplifiedDynamicAllocaToInline = 65536
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.
◆ OptAggressiveThreshold
const int llvm::InlineConstants::OptAggressiveThreshold = 250
◆ OptMinSizeThreshold
const int llvm::InlineConstants::OptMinSizeThreshold = 5
◆ OptSizeThreshold
const int llvm::InlineConstants::OptSizeThreshold = 50
◆ TotalAllocaSizeRecursiveCaller
const unsigned llvm::InlineConstants::TotalAllocaSizeRecursiveCaller = 1024
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.