LLVM API Documentation
#include <Cloning.h>
Public Member Functions | |
InlineFunctionInfo (CallGraph *cg=nullptr, const DataLayout *DL=nullptr, AliasAnalysis *AA=nullptr, AssumptionTracker *AT=nullptr) | |
void | reset () |
Public Attributes | |
CallGraph * | CG |
const DataLayout * | DL |
AliasAnalysis * | AA |
AssumptionTracker * | AT |
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.
llvm::InlineFunctionInfo::InlineFunctionInfo | ( | CallGraph * | cg = nullptr , |
const DataLayout * | DL = nullptr , |
||
AliasAnalysis * | AA = nullptr , |
||
AssumptionTracker * | AT = nullptr |
||
) | [inline, explicit] |
void llvm::InlineFunctionInfo::reset | ( | ) | [inline] |
Definition at line 183 of file Cloning.h.
References llvm::SmallVectorImpl< T >::clear(), InlinedCalls, and StaticAllocas.
Referenced by llvm::InlineFunction().
Definition at line 172 of file Cloning.h.
Referenced by llvm::InlineFunction().
Definition at line 173 of file Cloning.h.
Referenced by HandleByValArgument(), and llvm::InlineFunction().
CG - If non-null, InlineFunction will update the callgraph to reflect the changes it makes.
Definition at line 170 of file Cloning.h.
Referenced by llvm::InlineFunction(), and UpdateCallGraphAfterInlining().
Definition at line 171 of file Cloning.h.
Referenced by HandleByValArgument(), HandleByValArgumentInit(), and llvm::InlineFunction().
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 181 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 177 of file Cloning.h.
Referenced by HandleByValArgument(), InlineCallIfPossible(), llvm::InlineFunction(), and reset().