LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::LayoutAlignElem Struct Reference

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 (Align ABIAlign, Align PrefAlign, uint32_t BitWidth)
 

Public Attributes

uint32_t TypeBitWidth
 
Align ABIAlign
 
Align PrefAlign
 

Detailed Description

Layout alignment element.

Stores the alignment data associated with a given type bit width.

Definition at line 68 of file DataLayout.h.

Member Function Documentation

◆ get()

LayoutAlignElem LayoutAlignElem::get ( Align  ABIAlign,
Align  PrefAlign,
uint32_t  BitWidth 
)
static

Definition at line 145 of file DataLayout.cpp.

References ABIAlign, assert(), llvm::BitWidth, PrefAlign, and TypeBitWidth.

◆ operator==()

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

Definition at line 155 of file DataLayout.cpp.

References ABIAlign, PrefAlign, and TypeBitWidth.

Member Data Documentation

◆ ABIAlign

Align llvm::LayoutAlignElem::ABIAlign

Definition at line 70 of file DataLayout.h.

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

◆ PrefAlign

Align llvm::LayoutAlignElem::PrefAlign

Definition at line 71 of file DataLayout.h.

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

◆ TypeBitWidth

uint32_t llvm::LayoutAlignElem::TypeBitWidth

Definition at line 69 of file DataLayout.h.

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


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