clang  6.0.0svn
Classes | Public Types | Public Member Functions | List of all members
clang::CodeGen::CallArgList Class Reference

CallArgList - Type for representing both the value and type of arguments in a call. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGCall.h"

Inheritance diagram for clang::CodeGen::CallArgList:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::CallArgList:
Collaboration graph
[legend]

Classes

struct  CallArgCleanup
 
struct  Writeback
 

Public Types

typedef llvm::iterator_range< SmallVectorImpl< Writeback >::const_iterator > writeback_const_range
 

Public Member Functions

 CallArgList ()
 
void add (RValue rvalue, QualType type, bool needscopy=false)
 
void addFrom (const CallArgList &other)
 Add all the arguments from another CallArgList to this one. More...
 
void addWriteback (LValue srcLV, Address temporary, llvm::Value *toUse)
 
bool hasWritebacks () const
 
writeback_const_range writebacks () const
 
void addArgCleanupDeactivation (EHScopeStack::stable_iterator Cleanup, llvm::Instruction *IsActiveIP)
 
ArrayRef< CallArgCleanupgetCleanupsToDeactivate () const
 
void allocateArgumentMemory (CodeGenFunction &CGF)
 
llvm::Instruction * getStackBase () const
 
void freeArgumentMemory (CodeGenFunction &CGF) const
 
bool isUsingInAlloca () const
 Returns if we're using an inalloca struct to pass arguments in memory. More...
 

Detailed Description

CallArgList - Type for representing both the value and type of arguments in a call.

Definition at line 182 of file CGCall.h.

Member Typedef Documentation

◆ writeback_const_range

typedef llvm::iterator_range<SmallVectorImpl<Writeback>::const_iterator> clang::CodeGen::CallArgList::writeback_const_range

Definition at line 235 of file CGCall.h.

Constructor & Destructor Documentation

◆ CallArgList()

clang::CodeGen::CallArgList::CallArgList ( )
inline

Definition at line 185 of file CGCall.h.

Member Function Documentation

◆ add()

void clang::CodeGen::CallArgList::add ( RValue  rvalue,
QualType  type,
bool  needscopy = false 
)
inline

◆ addArgCleanupDeactivation()

void clang::CodeGen::CallArgList::addArgCleanupDeactivation ( EHScopeStack::stable_iterator  Cleanup,
llvm::Instruction *  IsActiveIP 
)
inline

◆ addFrom()

void clang::CodeGen::CallArgList::addFrom ( const CallArgList other)
inline

Add all the arguments from another CallArgList to this one.

After doing this, the old CallArgList retains its list of arguments, but must not be used to emit a call.

Definition at line 214 of file CGCall.h.

Referenced by commonEmitCXXMemberOrOperatorCall(), and isWeakLinkedClass().

◆ addWriteback()

void clang::CodeGen::CallArgList::addWriteback ( LValue  srcLV,
Address  temporary,
llvm::Value toUse 
)
inline

Definition at line 226 of file CGCall.h.

Referenced by emitWritebackArg().

◆ allocateArgumentMemory()

void CallArgList::allocateArgumentMemory ( CodeGenFunction CGF)

◆ freeArgumentMemory()

void CallArgList::freeArgumentMemory ( CodeGenFunction CGF) const

◆ getCleanupsToDeactivate()

ArrayRef<CallArgCleanup> clang::CodeGen::CallArgList::getCleanupsToDeactivate ( ) const
inline

Definition at line 249 of file CGCall.h.

Referenced by deactivateArgCleanupsBeforeCall().

◆ getStackBase()

llvm::Instruction* clang::CodeGen::CallArgList::getStackBase ( ) const
inline

Definition at line 254 of file CGCall.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitCall().

◆ hasWritebacks()

bool clang::CodeGen::CallArgList::hasWritebacks ( ) const
inline

Definition at line 232 of file CGCall.h.

◆ isUsingInAlloca()

bool clang::CodeGen::CallArgList::isUsingInAlloca ( ) const
inline

Returns if we're using an inalloca struct to pass arguments in memory.

Definition at line 259 of file CGCall.h.

◆ writebacks()

writeback_const_range clang::CodeGen::CallArgList::writebacks ( ) const
inline

Definition at line 237 of file CGCall.h.


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