LLVM 17.0.0git
|
Layout alignment element. More...
#include "llvm/IR/DataLayout.h"
Public Member Functions | |
bool | operator== (const LayoutAlignElem &rhs) const |
Static Public Member Functions | |
static LayoutAlignElem | get (AlignTypeEnum align_type, Align abi_align, Align pref_align, uint32_t bit_width) |
Public Attributes | |
unsigned | AlignType: 8 |
Alignment type from AlignTypeEnum . | |
unsigned | TypeBitWidth: 24 |
Align | ABIAlign |
Align | PrefAlign |
Layout alignment element.
Stores the alignment data associated with a given alignment type (integer, vector, float) and type bit width.
Definition at line 74 of file DataLayout.h.
|
static |
Definition at line 105 of file DataLayout.cpp.
References ABIAlign, AlignType, assert(), llvm::bit_width(), PrefAlign, and TypeBitWidth.
bool LayoutAlignElem::operator== | ( | const LayoutAlignElem & | rhs | ) | const |
Definition at line 117 of file DataLayout.cpp.
References ABIAlign, AlignType, PrefAlign, and TypeBitWidth.
Align llvm::LayoutAlignElem::ABIAlign |
Definition at line 78 of file DataLayout.h.
Referenced by get(), and operator==().
unsigned llvm::LayoutAlignElem::AlignType |
Alignment type from AlignTypeEnum
.
Definition at line 76 of file DataLayout.h.
Referenced by get(), and operator==().
Align llvm::LayoutAlignElem::PrefAlign |
Definition at line 79 of file DataLayout.h.
Referenced by get(), and operator==().
unsigned llvm::LayoutAlignElem::TypeBitWidth |
Definition at line 77 of file DataLayout.h.
Referenced by get(), and operator==().