LLVM 22.0.0git
llvm::DataLayout::PointerSpec Struct Reference

Pointer type specification. More...

#include "llvm/IR/DataLayout.h"

Public Member Functions

LLVM_ABI bool operator== (const PointerSpec &Other) const

Public Attributes

uint32_t AddrSpace
uint32_t BitWidth
Align ABIAlign
Align PrefAlign
uint32_t IndexBitWidth
bool IsNonIntegral
 Pointers in this address space don't have a well-defined bitwise representation (e.g.

Detailed Description

Pointer type specification.

Definition at line 75 of file DataLayout.h.

Member Function Documentation

◆ operator==()

bool DataLayout::PointerSpec::operator== ( const PointerSpec & Other) const

Definition at line 150 of file DataLayout.cpp.

References ABIAlign, AddrSpace, BitWidth, IndexBitWidth, IsNonIntegral, llvm::Other, and PrefAlign.

Member Data Documentation

◆ ABIAlign

Align llvm::DataLayout::PointerSpec::ABIAlign

Definition at line 78 of file DataLayout.h.

Referenced by operator==().

◆ AddrSpace

uint32_t llvm::DataLayout::PointerSpec::AddrSpace

Definition at line 76 of file DataLayout.h.

Referenced by operator==().

◆ BitWidth

uint32_t llvm::DataLayout::PointerSpec::BitWidth

Definition at line 77 of file DataLayout.h.

Referenced by operator==().

◆ IndexBitWidth

uint32_t llvm::DataLayout::PointerSpec::IndexBitWidth

Definition at line 80 of file DataLayout.h.

Referenced by operator==().

◆ IsNonIntegral

bool llvm::DataLayout::PointerSpec::IsNonIntegral

Pointers in this address space don't have a well-defined bitwise representation (e.g.

may be relocated by a copying garbage collector). Additionally, they may also be non-integral (i.e. containing additional metadata such as bounds information/permissions).

Definition at line 85 of file DataLayout.h.

Referenced by operator==().

◆ PrefAlign

Align llvm::DataLayout::PointerSpec::PrefAlign

Definition at line 79 of file DataLayout.h.

Referenced by operator==().


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