LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Variables
llvm::InlineConstants Namespace Reference

Variables

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
 

Variable Documentation

const int llvm::InlineConstants::CallPenalty = 25

Definition at line 31 of file InlineCost.h.

const int llvm::InlineConstants::ColdccPenalty = 2000

Definition at line 33 of file InlineCost.h.

const int llvm::InlineConstants::IndirectCallThreshold = 100

Definition at line 30 of file InlineCost.h.

const int llvm::InlineConstants::InstrCost = 5

Definition at line 29 of file InlineCost.h.

const int llvm::InlineConstants::LastCallToStaticBonus = -15000

Definition at line 32 of file InlineCost.h.

const int llvm::InlineConstants::NoreturnPenalty = 10000

Definition at line 34 of file InlineCost.h.

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