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

#include "llvm/ABI/Types.h"

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

Public Member Functions

 IntegerType (uint64_t BitWidth, Align ABIAlign, bool IsSigned, bool IsBitInt=false)
bool isSigned () const
bool isBitInt () const
bool isBool () const
Public Member Functions inherited from llvm::abi::Type
TypeKind getKind () const
TypeSize getSizeInBits () const
uint64_t getFixedSizeInBitsOrZero () const
 Returns the size in bits if it is fixed, otherwise 0.
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
LLVM_ABI bool isEmptyRecord () const
 True if this type is a record that is empty for ABI purposes.

Static Public Member Functions

static bool classof (const Type *T)

Additional Inherited Members

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 inherited from llvm::abi::Type
TypeKind Kind
TypeSize SizeInBits
Align ABIAlignment
Align UnadjustedAlignment

Detailed Description

Definition at line 150 of file Types.h.

Constructor & Destructor Documentation

◆ IntegerType()

llvm::abi::IntegerType::IntegerType ( uint64_t BitWidth,
Align ABIAlign,
bool IsSigned,
bool IsBitInt = false )
inline

Definition at line 156 of file Types.h.

References llvm::BitWidth, llvm::abi::Integer, llvm::abi::Type::Type(), and uint64_t.

Member Function Documentation

◆ classof()

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

Definition at line 167 of file Types.h.

References llvm::abi::Integer, T, and llvm::abi::Type::Type().

◆ isBitInt()

bool llvm::abi::IntegerType::isBitInt ( ) const
inline

Definition at line 162 of file Types.h.

◆ isBool()

bool llvm::abi::IntegerType::isBool ( ) const
inline

◆ isSigned()

bool llvm::abi::IntegerType::isSigned ( ) const
inline

Definition at line 161 of file Types.h.


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