LLVM API Documentation

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

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  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