clang 22.0.0git
|
A specialization of Address that requires the address to be an LLVM Constant. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/Address.h"
Public Member Functions | |
ConstantAddress (llvm::Constant *pointer, llvm::Type *elementType, CharUnits alignment) | |
llvm::Constant * | getPointer () const |
ConstantAddress | withElementType (llvm::Type *ElemTy) const |
Public Member Functions inherited from clang::CodeGen::RawAddress | |
RawAddress (llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment, KnownNonNull_t IsKnownNonNull=NotKnownNonNull) | |
RawAddress (Address Addr) | |
bool | isValid () const |
llvm::Value * | getPointer () const |
llvm::PointerType * | getType () const |
Return the type of the pointer value. | |
llvm::Type * | getElementType () const |
Return the type of the values stored in this address. | |
unsigned | getAddressSpace () const |
Return the address space that this address resides in. | |
llvm::StringRef | getName () const |
Return the IR name of the pointer value. | |
CharUnits | getAlignment () const |
Return the alignment of this pointer. | |
RawAddress | withElementType (llvm::Type *ElemTy) const |
Return address with different element type, but same pointer and alignment. | |
KnownNonNull_t | isKnownNonNull () const |
Static Public Member Functions | |
static ConstantAddress | invalid () |
static bool | isaImpl (RawAddress addr) |
static ConstantAddress | castImpl (RawAddress addr) |
Static Public Member Functions inherited from clang::CodeGen::RawAddress | |
static RawAddress | invalid () |
Additional Inherited Members | |
Protected Member Functions inherited from clang::CodeGen::RawAddress | |
RawAddress (std::nullptr_t) |
A specialization of Address that requires the address to be an LLVM Constant.
|
inline |
Definition at line 300 of file Address.h.
References clang::CodeGen::RawAddress::RawAddress().
|
inlinestatic |
Definition at line 319 of file Address.h.
References clang::CodeGen::RawAddress::getAlignment(), clang::CodeGen::RawAddress::getElementType(), clang::CodeGen::RawAddress::getPointer(), and clang::CodeGen::RawAddress::RawAddress().
|
inline |
Definition at line 308 of file Address.h.
References clang::CodeGen::RawAddress::getPointer().
Referenced by buildBlockDescriptor(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenModule::getRawFunctionPointer(), and withElementType().
|
inlinestatic |
Definition at line 304 of file Address.h.
Referenced by clang::CodeGen::CGOpenMPRuntime::getAddrOfDeclareTargetVar(), and clang::CodeGen::CodeGenModule::GetAddrOfTemplateParamObject().
|
inlinestatic |
Definition at line 316 of file Address.h.
References clang::CodeGen::RawAddress::getPointer(), and clang::CodeGen::RawAddress::RawAddress().
|
inline |
Definition at line 312 of file Address.h.
References clang::CodeGen::RawAddress::getAlignment(), and getPointer().