class ConstantMatrixType
Declaration
class ConstantMatrixType : public MatrixType { /* full declaration omitted */ };
Description
Represents a concrete matrix type with constant number of rows and columns
Declared at: clang/include/clang/AST/Type.h:3527
Inherits from: MatrixType
Member Variables
- protected unsigned int NumRows
- Number of rows and columns.
- protected unsigned int NumColumns
- protected static const unsigned int MaxElementsPerDimension = (1 << 20) - 1
Inherited from MatrixType:
Inherited from Type:
Method Overview
- protected ConstantMatrixType(clang::QualType MatrixElementType, unsigned int NRows, unsigned int NColumns, clang::QualType CanonElementType)
- protected ConstantMatrixType(clang::Type::TypeClass typeClass, clang::QualType MatrixType, unsigned int NRows, unsigned int NColumns, clang::QualType CanonElementType)
- public void Profile(llvm::FoldingSetNodeID & ID)
- public static void Profile(llvm::FoldingSetNodeID & ID, clang::QualType ElementType, unsigned int NumRows, unsigned int NumColumns, clang::Type::TypeClass TypeClass)
- public static bool classof(const clang::Type * T)
- public static constexpr unsigned int getMaxElementsPerDimension()
- public unsigned int getNumColumns() const
- public unsigned int getNumElementsFlattened() const
- public unsigned int getNumRows() const
- public static constexpr bool isDimensionValid(size_t NumElements)
Inherited from MatrixType:
Inherited from FoldingSetBase::Node:
Inherited from Type:
- public acceptsObjCTypeParams
- protected addDependence
- public canDecayToPointerType
- public canHaveNullability
- public castAs
- public castAsArrayTypeUnsafe
- public containsErrors
- public containsUnexpandedParameterPack
- public dump
- public dump
- public getArrayElementTypeNoTypeQual
- public getAs
- public getAsAdjusted
- public getAsArrayTypeUnsafe
- public getAsCXXRecordDecl
- public getAsComplexIntegerType
- public getAsObjCInterfacePointerType
- public getAsObjCInterfaceType
- public getAsObjCQualifiedClassType
- public getAsObjCQualifiedIdType
- public getAsObjCQualifiedInterfaceType
- public getAsPlaceholderType
- public getAsRecordDecl
- public getAsStructureType
- public getAsTagDecl
- public getAsUnionType
- public getBaseElementTypeUnsafe
- public getCanonicalTypeInternal
- public getCanonicalTypeUnqualified
- public getContainedAutoType
- public getContainedDeducedType
- public getDependence
- public getLinkage
- public getLinkageAndVisibility
- public getLocallyUnqualifiedSingleStepDesugaredType
- public getNullability
- public getObjCARCImplicitLifetime
- public getObjCSubstitutions
- public getPointeeCXXRecordDecl
- public getPointeeOrArrayElementType
- public getPointeeType
- public getScalarTypeKind
- public getSveEltType
- public getTypeClass
- public getTypeClassName
- public getUnqualifiedDesugaredType
- public getVisibility
- public hasAttr
- public hasAutoForTrailingReturnType
- public hasFloatingRepresentation
- public hasIntegerRepresentation
- public hasObjCPointerRepresentation
- public hasPointerRepresentation
- public hasSignedIntegerRepresentation
- public hasSizedVLAType
- public hasUnnamedOrLocalType
- public hasUnsignedIntegerRepresentation
- public isAggregateType
- public isAlignValT
- public isAnyCharacterType
- public isAnyComplexType
- public isAnyPointerType
- public isArithmeticType
- public isArrayType
- public isAtomicType
- public isBFloat16Type
- public isBitIntType
- public isBlockCompatibleObjCPointerType
- public isBlockPointerType
- public isBooleanType
- public isBuiltinType
- public isCARCBridgableType
- public isCUDADeviceBuiltinSurfaceType
- public isCUDADeviceBuiltinTextureType
- public isCanonicalUnqualified
- public isChar16Type
- public isChar32Type
- public isChar8Type
- public isCharType
- public isClassType
- public isClkEventT
- public isComplexIntegerType
- public isComplexType
- public isCompoundType
- public isConstantArrayType
- public isConstantMatrixType
- public isConstantSizeType
- public isDecltypeType
- public isDependentAddressSpaceType
- public isDependentSizedArrayType
- public isDependentType
- public isElaboratedTypeSpecifier
- public isEnumeralType
- public isEventT
- public isExtVectorBoolType
- public isExtVectorType
- public isFixedPointOrIntegerType
- public isFixedPointType
- public isFloat128Type
- public isFloat16Type
- public isFloatingType
- public isFromAST
- public isFunctionNoProtoType
- public isFunctionPointerType
- public isFunctionProtoType
- public isFunctionReferenceType
- public isFunctionType
- public isFundamentalType
- public isHalfType
- public isIbm128Type
- public isImageType
- public isIncompleteArrayType
- public isIncompleteOrObjectType
- public isIncompleteType
- public isInstantiationDependentType
- public isIntegerType
- public isIntegralOrEnumerationType
- public isIntegralOrUnscopedEnumerationType
- public isIntegralType
- public isInterfaceType
- public isLValueReferenceType
- public isLinkageValid
- public isLiteralType
- public isMatrixType
- public isMemberDataPointerType
- public isMemberFunctionPointerType
- public isMemberPointerType
- public isNonOverloadPlaceholderType
- public isNothrowT
- public isNullPtrType
- public isOCLExtOpaqueType
- public isOCLIntelSubgroupAVCType
- public isObjCARCBridgableType
- public isObjCARCImplicitlyUnretainedType
- public isObjCBoxableRecordType
- public isObjCBuiltinType
- public isObjCClassOrClassKindOfType
- public isObjCClassType
- public isObjCIdOrObjectKindOfType
- public isObjCIdType
- public isObjCIndependentClassType
- public isObjCIndirectLifetimeType
- public isObjCInertUnsafeUnretainedType
- public isObjCLifetimeType
- public isObjCNSObjectType
- public isObjCObjectOrInterfaceType
- public isObjCObjectPointerType
- public isObjCObjectType
- public isObjCQualifiedClassType
- public isObjCQualifiedIdType
- public isObjCQualifiedInterfaceType
- public isObjCRetainableType
- public isObjCSelType
- public isObjectPointerType
- public isObjectType
- public isOpenCLSpecificType
- public isOverloadableType
- public isPipeType
- public isPlaceholderType
- public isPointerType
- public isPromotableIntegerType
- public isQueueT
- public isRValueReferenceType
- public isRealFloatingType
- public isRealType
- public isRecordType
- public isReferenceType
- public isReserveIDT
- public isSamplerT
- public isSaturatedFixedPointType
- public isScalarType
- public isScopedEnumeralType
- public isSignedFixedPointType
- public isSignedIntegerOrEnumerationType
- public isSignedIntegerType
- public isSizelessBuiltinType
- public isSizelessType
- public isSpecificBuiltinType
- public isSpecificPlaceholderType
- public isSpecifierType
- public isStandardLayoutType
- public isStdByteType
- public isStructuralType
- public isStructureOrClassType
- public isStructureType
- public isTemplateTypeParmType
- public isTypedefNameType
- public isUndeducedAutoType
- public isUndeducedType
- public isUnionType
- public isUnsaturatedFixedPointType
- public isUnscopedEnumerationType
- public isUnsignedFixedPointType
- public isUnsignedIntegerOrEnumerationType
- public isUnsignedIntegerType
- public isVLSTBuiltinType
- public isVariableArrayType
- public isVariablyModifiedType
- public isVectorType
- public isVisibilityExplicit
- public isVoidPointerType
- public isVoidType
- public isWideCharType
- protected setDependence
- protected this_
Inherited from ExtQualsTypeCommonBase:
Methods
¶ConstantMatrixType(
clang::QualType MatrixElementType,
unsigned int NRows,
unsigned int NColumns,
clang::QualType CanonElementType)
ConstantMatrixType(
clang::QualType MatrixElementType,
unsigned int NRows,
unsigned int NColumns,
clang::QualType CanonElementType)
Declared at: clang/include/clang/AST/Type.h:3537
Parameters
- clang::QualType MatrixElementType
- unsigned int NRows
- unsigned int NColumns
- clang::QualType CanonElementType
¶ConstantMatrixType(
clang::Type::TypeClass typeClass,
clang::QualType MatrixType,
unsigned int NRows,
unsigned int NColumns,
clang::QualType CanonElementType)
ConstantMatrixType(
clang::Type::TypeClass typeClass,
clang::QualType MatrixType,
unsigned int NRows,
unsigned int NColumns,
clang::QualType CanonElementType)
Declared at: clang/include/clang/AST/Type.h:3540
Parameters
- clang::Type::TypeClass typeClass
- clang::QualType MatrixType
- unsigned int NRows
- unsigned int NColumns
- clang::QualType CanonElementType
¶void Profile(llvm::FoldingSetNodeID& ID)
void Profile(llvm::FoldingSetNodeID& ID)
Declared at: clang/include/clang/AST/Type.h:3565
Parameters
¶static void Profile(
llvm::FoldingSetNodeID& ID,
clang::QualType ElementType,
unsigned int NumRows,
unsigned int NumColumns,
clang::Type::TypeClass TypeClass)
static void Profile(
llvm::FoldingSetNodeID& ID,
clang::QualType ElementType,
unsigned int NumRows,
unsigned int NumColumns,
clang::Type::TypeClass TypeClass)
Declared at: clang/include/clang/AST/Type.h:3570
Parameters
- llvm::FoldingSetNodeID& ID
- clang::QualType ElementType
- unsigned int NumRows
- unsigned int NumColumns
- clang::Type::TypeClass TypeClass
¶static bool classof(const clang::Type* T)
static bool classof(const clang::Type* T)
Declared at: clang/include/clang/AST/Type.h:3579
Parameters
- const clang::Type* T
¶static constexpr unsigned int
getMaxElementsPerDimension()
static constexpr unsigned int
getMaxElementsPerDimension()
Description
Returns the maximum number of elements per dimension.
Declared at: clang/include/clang/AST/Type.h:3561
¶unsigned int getNumColumns() const
unsigned int getNumColumns() const
Description
Returns the number of columns in the matrix.
Declared at: clang/include/clang/AST/Type.h:3548
¶unsigned int getNumElementsFlattened() const
unsigned int getNumElementsFlattened() const
Description
Returns the number of elements required to embed the matrix into a vector.
Declared at: clang/include/clang/AST/Type.h:3551
¶unsigned int getNumRows() const
unsigned int getNumRows() const
Description
Returns the number of rows in the matrix.
Declared at: clang/include/clang/AST/Type.h:3545
¶static constexpr bool isDimensionValid(
size_t NumElements)
static constexpr bool isDimensionValid(
size_t NumElements)
Description
Returns true if \p NumElements is a valid matrix dimension.
Declared at: clang/include/clang/AST/Type.h:3556
Parameters
- size_t NumElements