LLVM API Documentation

llvm::InlineCostAnalyzer Class Reference

InlineCostAnalyzer - Cost analyzer used by inliner. More...

#include <InlineCost.h>

Collaboration diagram for llvm::InlineCostAnalyzer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

InlineCost getInlineCost (CallSite CS, SmallPtrSet< const Function *, 16 > &NeverInline)
float getInlineFudgeFactor (CallSite CS)

Classes

struct  ArgInfo
struct  FunctionInfo


Detailed Description

InlineCostAnalyzer - Cost analyzer used by inliner.

Definition at line 64 of file InlineCost.h.


Member Function Documentation

InlineCost InlineCostAnalyzer::getInlineCost ( CallSite  CS,
SmallPtrSet< const Function *, 16 > &  NeverInline 
)

float 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.

Definition at line 284 of file InlineCost.cpp.

References FunctionInfo, and llvm::CallSite::getCalledFunction().


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.