clang 20.0.0git
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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCall.h"

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

Classes

struct  CallArgCleanup
 
struct  Writeback
 

Public Types

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

Public Member Functions

 CallArgList ()=default
 
void add (RValue rvalue, QualType type)
 
void addUncopiedAggregate (LValue LV, QualType type)
 
void addFrom (const CallArgList &other)
 Add all the arguments from another CallArgList to this one.
 
void addWriteback (LValue srcLV, Address temporary, llvm::Value *toUse, const Expr *writebackExpr=nullptr, llvm::Value *lifetimeSz=nullptr)
 
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.
 
void reverseWritebacks ()
 

Detailed Description

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

Definition at line 274 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 336 of file CGCall.h.

Constructor & Destructor Documentation

◆ CallArgList()

clang::CodeGen::CallArgList::CallArgList ( )
default

Member Function Documentation

◆ add()

void clang::CodeGen::CallArgList::add ( RValue  rvalue,
QualType  type 
)
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