clang 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::CodeGen::CallArg Struct Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCall.h"

Public Member Functions

 CallArg (RValue rv, QualType ty)
 
 CallArg (LValue lv, QualType ty)
 
bool hasLValue () const
 
QualType getType () const
 
RValue getRValue (CodeGenFunction &CGF) const
 
LValue getKnownLValue () const
 
RValue getKnownRValue () const
 
void setRValue (RValue _RV)
 
bool isAggregate () const
 
void copyInto (CodeGenFunction &CGF, Address A) const
 

Public Attributes

QualType Ty
 
RValue RV
 
LValue LV
 

Detailed Description

Definition at line 213 of file CGCall.h.

Constructor & Destructor Documentation

◆ CallArg() [1/2]

clang::CodeGen::CallArg::CallArg ( RValue  rv,
QualType  ty 
)
inline

Definition at line 227 of file CGCall.h.

◆ CallArg() [2/2]

clang::CodeGen::CallArg::CallArg ( LValue  lv,
QualType  ty 
)
inline

Definition at line 229 of file CGCall.h.

Member Function Documentation

◆ copyInto()

void CallArg::copyInto ( CodeGenFunction CGF,
Address  A 
) const

◆ getKnownLValue()

LValue clang::CodeGen::CallArg::getKnownLValue ( ) const
inline

Definition at line 238 of file CGCall.h.

References LV.

◆ getKnownRValue()

RValue clang::CodeGen::CallArg::getKnownRValue ( ) const
inline

Definition at line 242 of file CGCall.h.

References RV.

◆ getRValue()

RValue CallArg::getRValue ( CodeGenFunction CGF) const

◆ getType()

QualType clang::CodeGen::CallArg::getType ( ) const
inline

Definition at line 232 of file CGCall.h.

References Ty.

◆ hasLValue()

bool clang::CodeGen::CallArg::hasLValue ( ) const
inline

Definition at line 231 of file CGCall.h.

◆ isAggregate()

bool clang::CodeGen::CallArg::isAggregate ( ) const
inline

Definition at line 251 of file CGCall.h.

References clang::CodeGen::RValue::isAggregate(), and RV.

◆ setRValue()

void clang::CodeGen::CallArg::setRValue ( RValue  _RV)
inline

Definition at line 246 of file CGCall.h.

References RV.

Member Data Documentation

◆ LV

LValue clang::CodeGen::CallArg::LV

Definition at line 217 of file CGCall.h.

Referenced by copyInto(), getKnownLValue(), and getRValue().

◆ RV

RValue clang::CodeGen::CallArg::RV

Definition at line 216 of file CGCall.h.

Referenced by copyInto(), getKnownRValue(), getRValue(), isAggregate(), and setRValue().

◆ Ty

QualType clang::CodeGen::CallArg::Ty

Definition at line 226 of file CGCall.h.

Referenced by copyInto(), getRValue(), and getType().


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