LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 List of target independent CodeGen pass IDs.
 
 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