clang 22.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::CIRGen::LValue Class Reference

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

Public Member Functions

bool isSimple () const
 
bool isVectorElt () const
 
bool isBitField () const
 
bool isGlobalReg () const
 
bool isVolatile () const
 
bool isVolatileQualified () const
 
unsigned getVRQualifiers () const
 
clang::QualType getType () const
 
mlir::Value getPointer () const
 
clang::CharUnits getAlignment () const
 
void setAlignment (clang::CharUnits a)
 
Address getAddress () const
 
void setAddress (Address address)
 
const clang::QualifiersgetQuals () const
 
clang::QualifiersgetQuals ()
 
LValueBaseInfo getBaseInfo () const
 
void setBaseInfo (LValueBaseInfo info)
 
Address getVectorAddress () const
 
mlir::Value getVectorPointer () const
 
mlir::Value getVectorIdx () const
 
Address getBitFieldAddress () const
 
mlir::Value getBitFieldPointer () const
 
const CIRGenBitFieldInfogetBitFieldInfo () const
 

Static Public Member Functions

static LValue makeAddr (Address address, clang::QualType t, LValueBaseInfo baseInfo)
 
static LValue makeVectorElt (Address vecAddress, mlir::Value index, clang::QualType t, LValueBaseInfo baseInfo)
 
static LValue makeBitfield (Address addr, const CIRGenBitFieldInfo &info, clang::QualType type, LValueBaseInfo baseInfo)
 Create a new object to represent a bit-field access.
 

Detailed Description

Definition at line 153 of file CIRGenValue.h.

Member Function Documentation

◆ getAddress()

Address clang::CIRGen::LValue::getAddress ( ) const
inline

◆ getAlignment()

clang::CharUnits clang::CIRGen::LValue::getAlignment ( ) const
inline

◆ getBaseInfo()

LValueBaseInfo clang::CIRGen::LValue::getBaseInfo ( ) const
inline

◆ getBitFieldAddress()

Address clang::CIRGen::LValue::getBitFieldAddress ( ) const
inline

◆ getBitFieldInfo()

const CIRGenBitFieldInfo & clang::CIRGen::LValue::getBitFieldInfo ( ) const
inline

Definition at line 278 of file CIRGenValue.h.

References isBitField().

Referenced by clang::CIRGen::CIRGenFunction::emitLoadOfBitfieldLValue().

◆ getBitFieldPointer()

mlir::Value clang::CIRGen::LValue::getBitFieldPointer ( ) const
inline

Definition at line 273 of file CIRGenValue.h.

References isBitField().

Referenced by getBitFieldAddress().

◆ getPointer()

mlir::Value clang::CIRGen::LValue::getPointer ( ) const
inline

◆ getQuals() [1/2]

clang::Qualifiers & clang::CIRGen::LValue::getQuals ( )
inline

Definition at line 224 of file CIRGenValue.h.

◆ getQuals() [2/2]

const clang::Qualifiers & clang::CIRGen::LValue::getQuals ( ) const
inline

◆ getType()

clang::QualType clang::CIRGen::LValue::getType ( ) const
inline

◆ getVectorAddress()

Address clang::CIRGen::LValue::getVectorAddress ( ) const
inline

Definition at line 243 of file CIRGenValue.h.

References getAlignment(), and getVectorPointer().

Referenced by clang::CIRGen::CIRGenFunction::emitLoadOfLValue().

◆ getVectorIdx()

mlir::Value clang::CIRGen::LValue::getVectorIdx ( ) const
inline

Definition at line 252 of file CIRGenValue.h.

References isVectorElt().

Referenced by clang::CIRGen::CIRGenFunction::emitLoadOfLValue().

◆ getVectorPointer()

mlir::Value clang::CIRGen::LValue::getVectorPointer ( ) const
inline

Definition at line 247 of file CIRGenValue.h.

References isVectorElt().

Referenced by getVectorAddress().

◆ getVRQualifiers()

unsigned clang::CIRGen::LValue::getVRQualifiers ( ) const
inline

◆ isBitField()

bool clang::CIRGen::LValue::isBitField ( ) const
inline

◆ isGlobalReg()

bool clang::CIRGen::LValue::isGlobalReg ( ) const
inline

Definition at line 193 of file CIRGenValue.h.

◆ isSimple()

bool clang::CIRGen::LValue::isSimple ( ) const
inline

◆ isVectorElt()

bool clang::CIRGen::LValue::isVectorElt ( ) const
inline

◆ isVolatile()

bool clang::CIRGen::LValue::isVolatile ( ) const
inline

◆ isVolatileQualified()

bool clang::CIRGen::LValue::isVolatileQualified ( ) const
inline

◆ makeAddr()

static LValue clang::CIRGen::LValue::makeAddr ( Address  address,
clang::QualType  t,
LValueBaseInfo  baseInfo 
)
inlinestatic

◆ makeBitfield()

static LValue clang::CIRGen::LValue::makeBitfield ( Address  addr,
const CIRGenBitFieldInfo info,
clang::QualType  type,
LValueBaseInfo  baseInfo 
)
inlinestatic

Create a new object to represent a bit-field access.

Parameters
Addr- The base address of the bit-field sequence this bit-field refers to.
Info- The information describing how to perform the bit-field access.

Definition at line 289 of file CIRGenValue.h.

References clang::CIRGen::Address::getAlignment(), clang::CIRGen::Address::getElementType(), clang::CIRGen::Address::getPointer(), and clang::ast_matchers::type.

Referenced by clang::CIRGen::CIRGenFunction::emitLValueForBitField().

◆ makeVectorElt()

static LValue clang::CIRGen::LValue::makeVectorElt ( Address  vecAddress,
mlir::Value  index,
clang::QualType  t,
LValueBaseInfo  baseInfo 
)
inlinestatic

◆ setAddress()

void clang::CIRGen::LValue::setAddress ( Address  address)
inline

◆ setAlignment()

void clang::CIRGen::LValue::setAlignment ( clang::CharUnits  a)
inline

Definition at line 209 of file CIRGenValue.h.

References clang::CharUnits::getQuantity().

◆ setBaseInfo()

void clang::CIRGen::LValue::setBaseInfo ( LValueBaseInfo  info)
inline

Definition at line 227 of file CIRGenValue.h.


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