LLVM API Documentation
#include <Cloning.h>
Public Member Functions | |
InlineFunctionInfo (CallGraph *cg=0, const DataLayout *td=0) | |
void | reset () |
Public Attributes | |
CallGraph * | CG |
const DataLayout * | TD |
SmallVector< AllocaInst *, 4 > | StaticAllocas |
SmallVector< WeakVH, 8 > | InlinedCalls |
InlineFunctionInfo - This class captures the data input to the InlineFunction call, and records the auxiliary results produced by it.
|
inlineexplicit |
|
inline |
Definition at line 178 of file Cloning.h.
References InlinedCalls, and StaticAllocas.
Referenced by llvm::InlineFunction().
CallGraph* llvm::InlineFunctionInfo::CG |
CG - If non-null, InlineFunction will update the callgraph to reflect the changes it makes.
Definition at line 167 of file Cloning.h.
Referenced by llvm::InlineFunction(), and UpdateCallGraphAfterInlining().
SmallVector<WeakVH, 8> llvm::InlineFunctionInfo::InlinedCalls |
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 176 of file Cloning.h.
Referenced by reset(), llvm::Inliner::runOnSCC(), and UpdateCallGraphAfterInlining().
SmallVector<AllocaInst*, 4> llvm::InlineFunctionInfo::StaticAllocas |
StaticAllocas - InlineFunction fills this in with all static allocas that get copied into the caller.
Definition at line 172 of file Cloning.h.
Referenced by InlineCallIfPossible(), llvm::InlineFunction(), and reset().
const DataLayout* llvm::InlineFunctionInfo::TD |
Definition at line 168 of file Cloning.h.
Referenced by HandleByValArgument(), and llvm::InlineFunction().