LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::InlineFunctionInfo Class Reference

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

#include <Cloning.h>

Collaboration diagram for llvm::InlineFunctionInfo:
[legend]

Public Member Functions

 InlineFunctionInfo (CallGraph *cg=nullptr, AliasAnalysis *AA=nullptr, AssumptionCacheTracker *ACT=nullptr)
 
void reset ()
 

Public Attributes

CallGraphCG
 CG - If non-null, InlineFunction will update the callgraph to reflect the changes it makes. More...
 
AliasAnalysisAA
 
AssumptionCacheTrackerACT
 
SmallVector< AllocaInst *, 4 > StaticAllocas
 StaticAllocas - InlineFunction fills this in with all static allocas that get copied into the caller. More...
 
SmallVector< WeakVH, 8 > InlinedCalls
 InlinedCalls - InlineFunction fills this in with callsites that were inlined from the callee. More...
 

Detailed Description

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

Definition at line 193 of file Cloning.h.

Constructor & Destructor Documentation

llvm::InlineFunctionInfo::InlineFunctionInfo ( CallGraph cg = nullptr,
AliasAnalysis AA = nullptr,
AssumptionCacheTracker ACT = nullptr 
)
inlineexplicit

Definition at line 195 of file Cloning.h.

Member Function Documentation

void llvm::InlineFunctionInfo::reset ( )
inline

Definition at line 214 of file Cloning.h.

References InlinedCalls, and StaticAllocas.

Referenced by llvm::InlineFunction().

Member Data Documentation

AliasAnalysis* llvm::InlineFunctionInfo::AA

Definition at line 203 of file Cloning.h.

Referenced by llvm::InlineFunction().

AssumptionCacheTracker* llvm::InlineFunctionInfo::ACT

Definition at line 204 of file Cloning.h.

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

CallGraph* llvm::InlineFunctionInfo::CG

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

Definition at line 202 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 212 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 208 of file Cloning.h.

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


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