LLVM 24.0.0git
llvm::abi::PointerLikeType Class Reference

#include "llvm/ABI/Types.h"

Inheritance diagram for llvm::abi::PointerLikeType:
[legend]

Public Member Functions

unsigned getAddrSpace () const
bool isMemberPointer () const
Public Member Functions inherited from llvm::abi::Type
TypeKind getKind () const
TypeSize getSizeInBits () const
Align getAlignment () const
Align getUnadjustedAlignment () const
 Alignment before record-level adjustments such as aligned attributes.
TypeSize getTypeAllocSize () const
bool isVoid () const
bool isAtomic () const
bool isInteger () const
bool isFloat () const
bool isPointer () const
bool isArray () const
bool isVector () const
bool isTuple () const
bool isRecord () const
bool isMemberPointer () const
bool isComplex () const
bool isZeroSize () const
LLVM_ABI bool isSVESizelessType () const

Static Public Member Functions

static bool classof (const Type *T)

Protected Member Functions

 PointerLikeType (TypeKind K, TypeSize SizeInBits, Align ABIAlign, unsigned AS)
Protected Member Functions inherited from llvm::abi::Type
 Type (TypeKind K, TypeSize SizeInBits, Align ABIAlign)
 Type (TypeKind K, TypeSize SizeInBits, Align ABIAlign, Align UnadjustedAlign)

Protected Attributes

unsigned AddrSpace
Protected Attributes inherited from llvm::abi::Type
TypeKind Kind
TypeSize SizeInBits
Align ABIAlignment
Align UnadjustedAlignment

Detailed Description

Definition at line 178 of file Types.h.

Constructor & Destructor Documentation

◆ PointerLikeType()

llvm::abi::PointerLikeType::PointerLikeType ( TypeKind K,
TypeSize SizeInBits,
Align ABIAlign,
unsigned AS )
inlineprotected

Member Function Documentation

◆ classof()

bool llvm::abi::PointerLikeType::classof ( const Type * T)
inlinestatic

Definition at line 188 of file Types.h.

References llvm::abi::MemberPointer, llvm::abi::Pointer, T, and llvm::abi::Type::Type().

◆ getAddrSpace()

unsigned llvm::abi::PointerLikeType::getAddrSpace ( ) const
inline

Definition at line 185 of file Types.h.

References AddrSpace.

◆ isMemberPointer()

bool llvm::abi::PointerLikeType::isMemberPointer ( ) const
inline

Definition at line 186 of file Types.h.

References llvm::abi::Type::getKind(), and llvm::abi::MemberPointer.

Member Data Documentation

◆ AddrSpace

unsigned llvm::abi::PointerLikeType::AddrSpace
protected

Definition at line 180 of file Types.h.

Referenced by getAddrSpace(), and PointerLikeType().


The documentation for this class was generated from the following file: