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

Pointer type specification. More...

#include "llvm/IR/DataLayout.h"

Public Member Functions

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 151 of file DataLayout.cpp.

References llvm::BitWidth, and llvm::Other.

Member Data Documentation

◆ ABIAlign

Align llvm::DataLayout::PointerSpec::ABIAlign

Definition at line 78 of file DataLayout.h.

Referenced by llvm::DataLayout::getPointerABIAlignment().

◆ AddrSpace

uint32_t llvm::DataLayout::PointerSpec::AddrSpace

Definition at line 76 of file DataLayout.h.

◆ BitWidth

uint32_t llvm::DataLayout::PointerSpec::BitWidth

Definition at line 77 of file DataLayout.h.

Referenced by llvm::DataLayout::getPointerSizeInBits().

◆ IndexBitWidth

uint32_t llvm::DataLayout::PointerSpec::IndexBitWidth

Definition at line 80 of file DataLayout.h.

Referenced by llvm::DataLayout::getIndexSizeInBits().

◆ 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 llvm::DataLayout::isNonIntegralAddressSpace().

◆ PrefAlign

Align llvm::DataLayout::PointerSpec::PrefAlign

Definition at line 79 of file DataLayout.h.

Referenced by llvm::DataLayout::getPointerPrefAlignment().


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