LLVM API Documentation
#include <InlineCost.h>
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 () |
Definition at line 33 of file InlineCost.h.
| static InlineCost llvm::InlineCost::get | ( | int | Cost | ) | [inline, static] |
Definition at line 47 of file InlineCost.h.
Referenced by llvm::InlineCostAnalyzer::getInlineCost().
| static InlineCost llvm::InlineCost::getAlways | ( | ) | [inline, static] |
Definition at line 48 of file InlineCost.h.
Referenced by llvm::InlineCostAnalyzer::getInlineCost().
| static InlineCost llvm::InlineCost::getNever | ( | ) | [inline, static] |
Definition at line 49 of file InlineCost.h.
Referenced by llvm::InlineCostAnalyzer::getInlineCost().
| bool llvm::InlineCost::isVariable | ( | ) | const [inline] |
Definition at line 51 of file InlineCost.h.
| bool llvm::InlineCost::isAlways | ( | ) | const [inline] |
Definition at line 52 of file InlineCost.h.
Referenced by llvm::BasicInlinerImpl::inlineFunctions().
| bool llvm::InlineCost::isNever | ( | ) | const [inline] |
Definition at line 53 of file InlineCost.h.
Referenced by llvm::BasicInlinerImpl::inlineFunctions().
| 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.
Definition at line 57 of file InlineCost.h.
Referenced by llvm::BasicInlinerImpl::inlineFunctions().