LLVM  4.0.0
Variables
llvm::InlineConstants Namespace Reference

Variables

const int OptSizeThreshold = 50
 Use when optsize (-Os) is specified. More...
 
const int OptMinSizeThreshold = 5
 Use when minsize (-Oz) is specified. More...
 
const int OptAggressiveThreshold = 250
 Use when -O3 is specified. More...
 
const int InstrCost = 5
 
const int IndirectCallThreshold = 100
 
const int CallPenalty = 25
 
const int LastCallToStaticBonus = 15000
 
const int ColdccPenalty = 2000
 
const int NoreturnPenalty = 10000
 
const unsigned TotalAllocaSizeRecursiveCaller = 1024
 Do not inline functions which allocate this many bytes on the stack when the caller is recursive. More...
 

Variable Documentation

const int llvm::InlineConstants::CallPenalty = 25

Definition at line 44 of file InlineCost.h.

Referenced by shouldBeDeferred().

const int llvm::InlineConstants::ColdccPenalty = 2000

Definition at line 46 of file InlineCost.h.

const int llvm::InlineConstants::IndirectCallThreshold = 100

Definition at line 43 of file InlineCost.h.

const int llvm::InlineConstants::InstrCost = 5

Definition at line 42 of file InlineCost.h.

const int llvm::InlineConstants::LastCallToStaticBonus = 15000

Definition at line 45 of file InlineCost.h.

Referenced by shouldBeDeferred().

const int llvm::InlineConstants::NoreturnPenalty = 10000

Definition at line 47 of file InlineCost.h.

const int llvm::InlineConstants::OptAggressiveThreshold = 250

Use when -O3 is specified.

Definition at line 39 of file InlineCost.h.

Referenced by computeThresholdFromOptLevels().

const int llvm::InlineConstants::OptMinSizeThreshold = 5

Use when minsize (-Oz) is specified.

Definition at line 36 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 33 of file InlineCost.h.

Referenced by computeThresholdFromOptLevels(), and llvm::getInlineParams().

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 50 of file InlineCost.h.