clang 20.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 229 of file CGCall.h.

Constructor & Destructor Documentation

◆ CallArg() [1/2]

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

Definition at line 243 of file CGCall.h.

◆ CallArg() [2/2]

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

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

References LV.

◆ getKnownRValue()

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

Definition at line 258 of file CGCall.h.

References RV.

◆ getRValue()

RValue CallArg::getRValue ( CodeGenFunction CGF) const

◆ getType()

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

Definition at line 248 of file CGCall.h.

References Ty.

◆ hasLValue()

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

Definition at line 247 of file CGCall.h.

◆ isAggregate()

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

Definition at line 267 of file CGCall.h.

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

◆ setRValue()

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

Definition at line 262 of file CGCall.h.

References RV.

Member Data Documentation

◆ LV

LValue clang::CodeGen::CallArg::LV

Definition at line 233 of file CGCall.h.

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

◆ RV

RValue clang::CodeGen::CallArg::RV

Definition at line 232 of file CGCall.h.

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

◆ Ty

QualType clang::CodeGen::CallArg::Ty

Definition at line 242 of file CGCall.h.

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


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