clang 22.0.0git
clang::CIRGen::LValue Class Reference

#include "/work/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 isExtVectorElt () 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 getExtVectorAddress () const
mlir::Value getExtVectorPointer () const
mlir::ArrayAttr getExtVectorElts () 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 makeExtVectorElt (Address vecAddress, mlir::ArrayAttr elts, clang::QualType type, 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 154 of file CIRGenValue.h.

Member Function Documentation

◆ getAddress()

◆ getAlignment()

◆ getBaseInfo()

◆ getBitFieldAddress()

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

◆ getBitFieldInfo()

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

Definition at line 310 of file CIRGenValue.h.

References isBitField().

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

◆ getBitFieldPointer()

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

Definition at line 305 of file CIRGenValue.h.

References isBitField().

Referenced by getBitFieldAddress().

◆ getExtVectorAddress()

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

◆ getExtVectorElts()

mlir::ArrayAttr clang::CIRGen::LValue::getExtVectorElts ( ) const
inline

◆ getExtVectorPointer()

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

◆ getPointer()

◆ getQuals() [1/2]

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

Definition at line 227 of file CIRGenValue.h.

◆ getQuals() [2/2]

◆ getType()

◆ getVectorAddress()

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

Definition at line 246 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 255 of file CIRGenValue.h.

References isVectorElt().

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

◆ getVectorPointer()

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

Definition at line 250 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

◆ isExtVectorElt()

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

◆ isGlobalReg()

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

Definition at line 196 of file CIRGenValue.h.

◆ isSimple()

◆ isVectorElt()

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

◆ isVolatile()

◆ isVolatileQualified()

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

◆ makeAddr()

◆ makeBitfield()

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 321 of file CIRGenValue.h.

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

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

◆ makeExtVectorElt()

LValue clang::CIRGen::LValue::makeExtVectorElt ( Address vecAddress,
mlir::ArrayAttr elts,
clang::QualType type,
LValueBaseInfo baseInfo )
inlinestatic

◆ makeVectorElt()

◆ setAddress()

◆ setAlignment()

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

Definition at line 212 of file CIRGenValue.h.

References clang::CharUnits::getQuantity().

◆ setBaseInfo()

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

Definition at line 230 of file CIRGenValue.h.


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