class CompositeType
Declaration
class CompositeType : public Type { /* full declaration omitted */ };
Description
Common super class of ArrayType, StructType and VectorType.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:199
Inherits from: Type
Member Variables
Inherited from Type:
- protected NumContainedTys = 0
- protected ContainedTys = nullptr
Method Overview
- protected CompositeType(llvm::LLVMContext & C, llvm::Type::TypeID tid)
- public static bool classof(const llvm::Type * T)
- public llvm::Type * getTypeAtIndex(const llvm::Value * V) const
- public llvm::Type * getTypeAtIndex(unsigned int Idx) const
- public bool indexValid(const llvm::Value * V) const
- public bool indexValid(unsigned int Idx) const
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
¶CompositeType(llvm::LLVMContext& C,
llvm::Type::TypeID tid)
CompositeType(llvm::LLVMContext& C,
llvm::Type::TypeID tid)
Declared at: llvm/include/llvm/IR/DerivedTypes.h:201
Parameters
- llvm::LLVMContext& C
- llvm::Type::TypeID tid
¶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:211
Parameters
- const llvm::Type* T
¶llvm::Type* getTypeAtIndex(
const llvm::Value* V) const
llvm::Type* getTypeAtIndex(
const llvm::Value* V) const
Description
Given an index value into the type, return the type of the element.
Declared at: llvm/include/llvm/IR/DerivedTypes.h:205
Parameters
- const llvm::Value* V
¶llvm::Type* getTypeAtIndex(unsigned int Idx) const
llvm::Type* getTypeAtIndex(unsigned int Idx) const
Declared at: llvm/include/llvm/IR/DerivedTypes.h:206
Parameters
- unsigned int Idx
¶bool indexValid(const llvm::Value* V) const
bool indexValid(const llvm::Value* V) const
Declared at: llvm/include/llvm/IR/DerivedTypes.h:207
Parameters
- const llvm::Value* V
¶bool indexValid(unsigned int Idx) const
bool indexValid(unsigned int Idx) const
Declared at: llvm/include/llvm/IR/DerivedTypes.h:208
Parameters
- unsigned int Idx