#include <InlineCost.h>
Classes | |
| struct | ArgInfo |
| struct | FunctionInfo |
Public Member Functions | |
| InlineCost | getInlineCost (CallSite CS, SmallPtrSet< const Function *, 16 > &NeverInline) |
| float | getInlineFudgeFactor (CallSite CS) |
| void | resetCachedCostInfo (Function *Caller) |
| resetCachedFunctionInfo - erase any cached cost info for this function. | |
| void | growCachedCostInfo (Function *Caller, Function *Callee) |
| InlineCost llvm::InlineCostAnalyzer::getInlineCost | ( | CallSite | CS, | |
| SmallPtrSet< const Function *, 16 > & | NeverInline | |||
| ) |
getInlineCost - The heuristic used to determine if we should inline the function call or not.
| float llvm::InlineCostAnalyzer::getInlineFudgeFactor | ( | CallSite | CS | ) |
getInlineFudgeFactor - Return a > 1.0 factor if the inliner should use a higher threshold to determine if the function call should be inlined.
| void llvm::InlineCostAnalyzer::growCachedCostInfo | ( | Function * | Caller, | |
| Function * | Callee | |||
| ) |
growCachedCostInfo - update the cached cost info for Caller after Callee has been inlined. If Callee is NULL it means a dead call has been eliminated.
1.5.8