LLVM API Documentation

Public Member Functions | Public Attributes
llvm::InlineFunctionInfo Class Reference

#include <Cloning.h>

Collaboration diagram for llvm::InlineFunctionInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InlineFunctionInfo (CallGraph *cg=0, const DataLayout *td=0)
void reset ()

Public Attributes

CallGraphCG
const DataLayoutTD
SmallVector< AllocaInst *, 4 > StaticAllocas
SmallVector< WeakVH, 8 > InlinedCalls

Detailed Description

InlineFunctionInfo - This class captures the data input to the InlineFunction call, and records the auxiliary results produced by it.

Definition at line 159 of file Cloning.h.


Constructor & Destructor Documentation

llvm::InlineFunctionInfo::InlineFunctionInfo ( CallGraph cg = 0,
const DataLayout td = 0 
) [inline, explicit]

Definition at line 161 of file Cloning.h.


Member Function Documentation

void llvm::InlineFunctionInfo::reset ( ) [inline]

Definition at line 177 of file Cloning.h.

References llvm::SmallVectorImpl< T >::clear(), InlinedCalls, and StaticAllocas.

Referenced by llvm::InlineFunction().


Member Data Documentation

CG - If non-null, InlineFunction will update the callgraph to reflect the changes it makes.

Definition at line 166 of file Cloning.h.

Referenced by llvm::InlineFunction(), and UpdateCallGraphAfterInlining().

InlinedCalls - InlineFunction fills this in with callsites that were inlined from the callee. This is only filled in if CG is non-null.

Definition at line 175 of file Cloning.h.

Referenced by reset(), llvm::Inliner::runOnSCC(), and UpdateCallGraphAfterInlining().

StaticAllocas - InlineFunction fills this in with all static allocas that get copied into the caller.

Definition at line 171 of file Cloning.h.

Referenced by InlineCallIfPossible(), llvm::InlineFunction(), and reset().

Definition at line 167 of file Cloning.h.

Referenced by HandleByValArgument(), and llvm::InlineFunction().


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