LLVM API Documentation
#include <DataLayout.h>
Public Member Functions | |
bool | operator== (const PointerAlignElem &rhs) const |
Equality predicate. | |
Static Public Member Functions | |
static PointerAlignElem | get (uint32_t AddressSpace, unsigned ABIAlign, unsigned PrefAlign, uint32_t TypeByteWidth) |
Initializer. | |
Public Attributes | |
unsigned | ABIAlign |
ABI alignment for this type/bitw. | |
unsigned | PrefAlign |
Pref. alignment for this type/bitw. | |
uint32_t | TypeByteWidth |
Type byte width. | |
uint32_t | AddressSpace |
Address space for the pointer type. |
Layout pointer alignment element.
Stores the alignment data associated with a given pointer and address space.
Definition at line 81 of file DataLayout.h.
PointerAlignElem PointerAlignElem::get | ( | uint32_t | AddressSpace, |
unsigned | ABIAlign, | ||
unsigned | PrefAlign, | ||
uint32_t | TypeByteWidth | ||
) | [static] |
Initializer.
Definition at line 129 of file DataLayout.cpp.
References ABIAlign, AddressSpace, PrefAlign, and TypeByteWidth.
bool PointerAlignElem::operator== | ( | const PointerAlignElem & | rhs | ) | const |
Equality predicate.
Definition at line 141 of file DataLayout.cpp.
References ABIAlign, AddressSpace, PrefAlign, and TypeByteWidth.
ABI alignment for this type/bitw.
Definition at line 82 of file DataLayout.h.
Referenced by get(), llvm::DataLayout::getPointerABIAlignment(), and operator==().
uint32_t llvm::PointerAlignElem::AddressSpace |
Address space for the pointer type.
Definition at line 85 of file DataLayout.h.
Referenced by get(), llvm::DataLayout::getPointerABIAlignment(), llvm::DataLayout::getPointerPrefAlignment(), llvm::DataLayout::getPointerSize(), and operator==().
Pref. alignment for this type/bitw.
Definition at line 83 of file DataLayout.h.
Referenced by get(), llvm::DataLayout::getPointerPrefAlignment(), and operator==().
Type byte width.
Definition at line 84 of file DataLayout.h.
Referenced by get(), llvm::DataLayout::getPointerSize(), and operator==().