LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

InlineSimple.cpp File Reference

#include "Inliner.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Function.h"
#include "llvm/Type.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Transforms/IPO.h"

Include dependency graph for InlineSimple.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createFunctionInliningPass ()
static unsigned CountCodeReductionForConstant (Value *V)
static unsigned CountCodeReductionForAlloca (Value *V)


Function Documentation

static unsigned CountCodeReductionForAlloca Value V  )  [static]
 

Definition at line 118 of file InlineSimple.cpp.

References E, llvm::Value::getType(), I, llvm::Value::use_begin(), and llvm::Value::use_end().

static unsigned CountCodeReductionForConstant Value V  )  [static]
 

Definition at line 75 of file InlineSimple.cpp.

References E, llvm::User::getNumOperands(), llvm::User::getOperand(), llvm::Value::use_begin(), and llvm::Value::use_end().


Variable Documentation

RegisterOpt<SimpleInliner> X("inline","Function Integration/Inlining") [static]