clang
15.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 | getElementBitCast (llvm::Type *ElemTy) const |
![]() | |
Address (llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment) | |
bool | isValid () const |
llvm::Value * | getPointer () const |
llvm::PointerType * | getType () const |
Return the type of the pointer value. More... | |
llvm::Type * | getElementType () const |
Return the type of the values stored in this address. More... | |
unsigned | getAddressSpace () const |
Return the address space that this address resides in. More... | |
llvm::StringRef | getName () const |
Return the IR name of the pointer value. More... | |
CharUnits | getAlignment () const |
Return the alignment of this pointer. More... | |
Address | withPointer (llvm::Value *NewPointer) const |
Return address with different pointer, but same element type and alignment. More... | |
Address | withAlignment (CharUnits NewAlignment) const |
Return address with different alignment, but same pointer and element type. More... | |
Static Public Member Functions | |
static ConstantAddress | invalid () |
static bool | isaImpl (Address addr) |
static ConstantAddress | castImpl (Address addr) |
![]() | |
static Address | invalid () |
Additional Inherited Members | |
![]() | |
Address (std::nullptr_t) | |
A specialization of Address that requires the address to be an LLVM Constant.
|
inline |
|
inlinestatic |
Definition at line 165 of file Address.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), and clang::CodeGen::Address::getPointer().
|
inline |
Definition at line 156 of file Address.h.
References clang::CodeGen::Address::getAddressSpace(), clang::CodeGen::Address::getAlignment(), and getPointer().
Referenced by EmitDeclDestroy().
|
inline |
Definition at line 152 of file Address.h.
References clang::CodeGen::Address::getPointer().
Referenced by buildBlockDescriptor(), EmitDeclDestroy(), EmitFunctionDeclPointer(), clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr(), clang::CodeGen::CodeGenFunction::EmitObjCStringLiteral(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), and getElementBitCast().
|
inlinestatic |
Definition at line 162 of file Address.h.
References clang::CodeGen::Address::getPointer().