clang API Documentation

Classes | Public Types | Public Member Functions
clang::CodeGen::CallArgList Class Reference

#include <CGCall.h>

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

List of all members.

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)
void addWriteback (LValue srcLV, llvm::Value *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.

Detailed Description

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

Definition at line 56 of file CGCall.h.


Member Typedef Documentation

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

Definition at line 103 of file CGCall.h.


Constructor & Destructor Documentation

Definition at line 59 of file CGCall.h.


Member Function Documentation

void clang::CodeGen::CallArgList::add ( RValue  rvalue,
QualType  type,
bool  needscopy = false 
) [inline]
void clang::CodeGen::CallArgList::addArgCleanupDeactivation ( EHScopeStack::stable_iterator  Cleanup,
llvm::Instruction *  IsActiveIP 
) [inline]
void clang::CodeGen::CallArgList::addFrom ( const CallArgList other) [inline]

Definition at line 85 of file CGCall.h.

void clang::CodeGen::CallArgList::addWriteback ( LValue  srcLV,
llvm::Value temporary,
llvm::Value toUse 
) [inline]
llvm::Instruction* clang::CodeGen::CallArgList::getStackBase ( ) const [inline]

Definition at line 122 of file CGCall.h.

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

Definition at line 100 of file CGCall.h.

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

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

Definition at line 127 of file CGCall.h.

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

Definition at line 105 of file CGCall.h.

Referenced by emitWritebacks().


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