LLVM  4.0.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::PointerAlignElem Struct Reference

Layout pointer alignment element. More...

#include <DataLayout.h>

Collaboration diagram for llvm::PointerAlignElem:
[legend]

Public Member Functions

bool operator== (const PointerAlignElem &rhs) const
 

Static Public Member Functions

static PointerAlignElem get (uint32_t AddressSpace, unsigned ABIAlign, unsigned PrefAlign, uint32_t TypeByteWidth)
 Initializer. More...
 

Public Attributes

unsigned ABIAlign
 
unsigned PrefAlign
 
uint32_t TypeByteWidth
 
uint32_t AddressSpace
 

Detailed Description

Layout pointer alignment element.

Stores the alignment data associated with a given pointer and address space.

Note
The unusual order of elements in the structure attempts to reduce padding and make the structure slightly more cache friendly.

Definition at line 84 of file DataLayout.h.

Member Function Documentation

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, assert(), PrefAlign, and TypeByteWidth.

bool PointerAlignElem::operator== ( const PointerAlignElem rhs) const

Definition at line 141 of file DataLayout.cpp.

References ABIAlign, AddressSpace, PrefAlign, and TypeByteWidth.

Member Data Documentation

unsigned llvm::PointerAlignElem::ABIAlign

Definition at line 85 of file DataLayout.h.

Referenced by get(), and operator==().

uint32_t llvm::PointerAlignElem::AddressSpace

Definition at line 88 of file DataLayout.h.

Referenced by get(), and operator==().

unsigned llvm::PointerAlignElem::PrefAlign

Definition at line 86 of file DataLayout.h.

Referenced by get(), and operator==().

uint32_t llvm::PointerAlignElem::TypeByteWidth

Definition at line 87 of file DataLayout.h.

Referenced by get(), and operator==().


The documentation for this struct was generated from the following files: