llvm::InlineCost Class Reference

#include <InlineCost.h>

List of all members.

Public Member Functions

bool isVariable () const
bool isAlways () const
bool isNever () const
int getValue () const

Static Public Member Functions

static InlineCost get (int Cost)
static InlineCost getAlways ()
static InlineCost getNever ()


Detailed Description

InlineCost - Represent the cost of inlining a function. This supports special values for functions which should "always" or "never" be inlined. Otherwise, the cost represents a unitless amount; smaller values increase the likelyhood of the function being inlined.

Member Function Documentation

int llvm::InlineCost::getValue (  )  const [inline]

getValue() - Return a "variable" inline cost's amount. It is an error to call this on an "always" or "never" InlineCost.


The documentation for this class was generated from the following file:

Generated on Fri Mar 19 01:41:24 2010 by  doxygen 1.5.8