class SequentialType
Declaration
class SequentialType : public CompositeType { /* full declaration omitted */ };
Description
This is the superclass of the array and vector type classes. Both of these represent "arrays" in memory. The array type represents a specifically sized array, and the vector type represents a specifically sized array that allows for use of SIMD instructions. SequentialType holds the common features of both, which stem from the fact that both lay their components out in memory identically.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:380
Inherits from: CompositeType
Member Variables
Inherited from Type:
- protected NumContainedTys = 0
- protected ContainedTys = nullptr
Method Overview
- protected SequentialType(llvm::Type::TypeID TID, llvm::Type * ElType, uint64_t NumElements)
- public SequentialType(const llvm::SequentialType &)
- public static bool classof(const llvm::Type * T)
- public llvm::Type * getElementType() const
- public uint64_t getNumElements() const
Inherited from CompositeType:
Inherited from Type:
- public canLosslesslyBitCastTo
- public dump
- public getArrayElementType
- public getArrayNumElements
- public getContainedType
- public getContext
- public getDoublePtrTy
- public getDoubleTy
- public getExtendedType
- public getFP128PtrTy
- public getFP128Ty
- public getFPMantissaWidth
- public getFloatPtrTy
- public getFloatTy
- public getFltSemantics
- public getFunctionNumParams
- public getFunctionParamType
- public getHalfPtrTy
- public getHalfTy
- public getInt128Ty
- public getInt16PtrTy
- public getInt16Ty
- public getInt1PtrTy
- public getInt1Ty
- public getInt32PtrTy
- public getInt32Ty
- public getInt64PtrTy
- public getInt64Ty
- public getInt8PtrTy
- public getInt8Ty
- public getIntNPtrTy
- public getIntNTy
- public getIntegerBitWidth
- public getLabelTy
- public getMetadataTy
- public getNumContainedTypes
- public getPPC_FP128PtrTy
- public getPPC_FP128Ty
- public getPointerAddressSpace
- public getPointerElementType
- public getPointerTo
- public getPrimitiveSizeInBits
- public getPrimitiveType
- public getScalarSizeInBits
- public getScalarTy
- public getScalarType
- public getSequentialElementType
- public getStructElementType
- public getStructName
- public getStructNumElements
- protected getSubclassData
- public getTokenTy
- public getTypeID
- public getVectorElementCount
- public getVectorElementType
- public getVectorIsScalable
- public getVectorNumElements
- public getVoidTy
- public getWithNewBitWidth
- public getX86_FP80PtrTy
- public getX86_FP80Ty
- public getX86_MMXPtrTy
- public getX86_MMXTy
- public isAggregateType
- public isArrayTy
- public isDoubleTy
- public isEmptyTy
- public isFP128Ty
- public isFPOrFPVectorTy
- public isFirstClassType
- public isFloatTy
- public isFloatingPointTy
- public isFunctionTy
- public isFunctionVarArg
- public isHalfTy
- public isIntOrIntVectorTy
- public isIntOrIntVectorTy
- public isIntOrPtrTy
- public isIntegerTy
- public isIntegerTy
- public isLabelTy
- public isMetadataTy
- public isPPC_FP128Ty
- public isPointerTy
- public isPtrOrPtrVectorTy
- protected isSequentialType
- public isSingleValueType
- public isSized
- public isStructTy
- public isTokenTy
- public isVectorTy
- public isVoidTy
- public isX86_FP80Ty
- public isX86_MMXTy
- public print
- protected setSubclassData
- public subtype_begin
- public subtype_end
- public subtype_rbegin
- public subtype_rend
- public subtypes
Methods
¶SequentialType(llvm::Type::TypeID TID,
llvm::Type* ElType,
uint64_t NumElements)
SequentialType(llvm::Type::TypeID TID,
llvm::Type* ElType,
uint64_t NumElements)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:385
Parameters
- llvm::Type::TypeID TID
- llvm::Type* ElType
- uint64_t NumElements
¶SequentialType(const llvm::SequentialType&)
SequentialType(const llvm::SequentialType&)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:393
Parameters
- const llvm::SequentialType&
¶static bool classof(const llvm::Type* T)
static bool classof(const llvm::Type* T)
Description
Methods for support type inquiry through isa, cast, and dyn_cast.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:402
Parameters
- const llvm::Type* T
¶llvm::Type* getElementType() const
llvm::Type* getElementType() const
Declared at: llvm/include/llvm/IR/DerivedTypes.h:399
¶uint64_t getNumElements() const
uint64_t getNumElements() const
Description
For scalable vectors, this will return the minimum number of elements in the vector.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:398