/llvm-project/mlir/lib/Dialect/SPIRV/IR/ |
H A D | SPIRVTypes.cpp | 98 spirv::MatrixType, spirv::RuntimeArrayType, in classof() 112 .Case<MatrixType>([](MatrixType type) { return type.getColumnType(); }) in getElementType() 122 if (auto matrixType = llvm::dyn_cast<MatrixType>(*this)) in getNumElements() 147 .Case<ArrayType, CooperativeMatrixType, MatrixType, RuntimeArrayType, in hasCompileTimeKnownNumElements() 161 .Case<ArrayType, CooperativeMatrixType, MatrixType, RuntimeArrayType, in getExtensions() 676 } else if (auto matrixType = llvm::dyn_cast<MatrixType>(*this)) { in getCapabilities() 696 } else if (auto matrixType = llvm::dyn_cast<MatrixType>(*this)) { in getCapabilities() 1074 // MatrixType 1099 MatrixType MatrixTyp in getMemberDecorations() [all...] |
H A D | SPIRVDialect.cpp | 450 return MatrixType::get(columnType, columnCount); in parseRuntimeArrayType() 852 static void print(MatrixType type, DialectAsmPrinter &os) { in print() 860 ImageType, SampledImageType, StructType, MatrixType>( in print()
|
H A D | SPIRVOps.cpp | 1662 .Case<spirv::CooperativeMatrixType, spirv::MatrixType>( in verify() 1681 auto inputMatrix = llvm::cast<spirv::MatrixType>(getMatrix().getType()); in verify() 1682 auto resultMatrix = llvm::cast<spirv::MatrixType>(getResult().getType()); in verify() 1706 auto matrixType = llvm::cast<spirv::MatrixType>(getMatrix().getType()); 1732 auto matrixType = llvm::cast<spirv::MatrixType>(getMatrix().getType()); 1755 auto leftMatrix = llvm::cast<spirv::MatrixType>(getLeftmatrix().getType()); in verify() 1756 auto rightMatrix = llvm::cast<spirv::MatrixType>(getRightmatrix().getType()); in verify() 1757 auto resultMatrix = llvm::cast<spirv::MatrixType>(getResult().getType()); in verify()
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | default-expr-arguments.cpp | 308 template < typename MatrixType, int = 309 A < MatrixType >::Flags ? : A < MatrixType >::Flags & a > class B;
|
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/ |
H A D | SPIRVTypes.h | 424 class MatrixType : public Type::TypeBase<MatrixType, CompositeType, 431 static MatrixType get(Type columnType, uint32_t columnCount); 433 static MatrixType getChecked(function_ref<InFlightDiagnostic()> emitError,
|
H A D | SPIRVBase.td | 4175 def SPIRV_IsMatrixType : CPred<"::llvm::isa<::mlir::spirv::MatrixType>($_self)">; 4239 "::llvm::cast<::mlir::spirv::MatrixType>($_self).getElementType()",
|
/llvm-project/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 73 def MatrixType : TypeNode<Type, 1>; 74 def ConstantMatrixType : TypeNode<MatrixType>; 75 def DependentSizedMatrixType : TypeNode<MatrixType>, AlwaysDependent;
|
H A D | Attr.td | 3559 def MatrixType : TypeAttr {
|
/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDBTypes.h | 279 MatrixType, enumerator
|
/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBExtras.cpp | 281 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, MatrixType, OS) in operator <<()
|
/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 355 MatrixType::MatrixType(TypeClass tc, QualType matrixType, QualType canonType, in DependentSizedMatrixType() 381 : MatrixType(tc, matrixType, canonType), NumRows(nRows), in BitIntType() 389 : MatrixType(DependentSizedMatrix, ElementType, CanonicalType, RowExpr, in isUnsigned() 2273 if (const auto *VT = dyn_cast<MatrixType>(CanonicalType)) in isRealType() 2295 if (const auto *MT = dyn_cast<MatrixType>(CanonicalType)) in getScalarTypeKind() 322 MatrixType::MatrixType(TypeClass tc, QualType matrixType, QualType canonType, MatrixType() function in MatrixType
|
/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 4197 class MatrixType : public Type, public llvm::FoldingSetNode { 4204 MatrixType(QualType ElementTy, QualType CanonElementTy); 4206 MatrixType(TypeClass TypeClass, QualType ElementTy, QualType CanonElementTy, 4233 class ConstantMatrixType final : public MatrixType { 4246 ConstantMatrixType(TypeClass typeClass, QualType MatrixType, unsigned NRows, 4292 class DependentSizedMatrixType final : public MatrixType { 8323 return isa<MatrixType>(CanonicalType);
|
H A D | TypeProperties.td | 253 let Class = MatrixType in {
|
H A D | TypeLoc.h | 1947 MatrixType, MatrixTypeLocInfo> { in getLocalSourceRange()
|
/llvm-project/mlir/lib/Target/SPIRV/Serialization/ |
H A D | Serializer.cpp | 718 if (auto matrixType = dyn_cast<spirv::MatrixType>(type)) { in prepareConstant()
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaCast.cpp | 3123 if (DestType->getAs<MatrixType>() || SrcType->getAs<MatrixType>()) { in CheckCStyleCast()
|
H A D | SemaTemplateDeduction.cpp | 2309 const auto *MA = A->getAs<MatrixType>(); in DeduceTemplateArgumentsByTypeMatch() 2324 Expr *ParamExpr, const MatrixType *A, in DeduceTemplateArgumentsByTypeMatch()
|
H A D | SemaExpr.cpp | 13038 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckLogicalOperands() 13039 const MatrixType *RHSMatType = RHSType->getAs<MatrixType>(); in CheckLogicalOperands()
|
H A D | SemaOverload.cpp | 9493 AddCandidate(M1, cast<MatrixType>(M1)->getElementType()); in addAssignmentPointerOverloads() 9498 AddCandidate(cast<MatrixType>(M2)->getElementType(), M2); in addAssignmentPointerOverloads()
|
/llvm-project/mlir/lib/Target/SPIRV/Deserialization/ |
H A D | Deserializer.cpp | 1187 typeMap[operands[0]] = spirv::MatrixType::get(elementTy, colsCount); in processTypeForwardPointer()
|
/llvm-project/mlir/docs/ |
H A D | SPIRVToLLVMDialectConversion.md | 98 conversion. This includes `ImageType` and `MatrixType`.
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 2245 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef()
|
H A D | CGStmt.cpp | 2871 if (isa<MatrixType>(OutExpr->getType().getCanonicalType())) in EmitAsmStmt()
|
H A D | CGExprScalar.cpp | 1450 SrcElementType = SrcType->castAs<MatrixType>()->getElementType(); 1451 DstElementType = DstType->castAs<MatrixType>()->getElementType(); in EmitScalarConversion()
|
/llvm-project/clang/tools/libclang/ |
H A D | CIndex.cpp | 1942 DEFAULT_TYPELOC_IMPL(ConstantMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL() 1943 DEFAULT_TYPELOC_IMPL(DependentSizedMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()
|