LLVM  3.7.0
Classes | Namespaces | Variables
InlineCost.h File Reference
#include "llvm/Analysis/CallGraphSCCPass.h"
#include <cassert>
#include <climits>
Include dependency graph for InlineCost.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::InlineCost
 Represents the cost of inlining a function. More...
 
class  llvm::InlineCostAnalysis
 Cost analyzer used by inliner. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::InlineConstants
 

Variables

const int llvm::InlineConstants::InstrCost = 5
 
const int llvm::InlineConstants::IndirectCallThreshold = 100
 
const int llvm::InlineConstants::CallPenalty = 25
 
const int llvm::InlineConstants::LastCallToStaticBonus = -15000
 
const int llvm::InlineConstants::ColdccPenalty = 2000
 
const int llvm::InlineConstants::NoreturnPenalty = 10000
 
const unsigned llvm::InlineConstants::TotalAllocaSizeRecursiveCaller = 1024
 Do not inline functions which allocate this many bytes on the stack when the caller is recursive. More...