| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 115 .Case<MatrixType>([](MatrixType type) { return type.getColumnType(); }) in getElementType() 125 if (auto matrixType = dyn_cast<MatrixType>()) in getNumElements() 676 } else if (auto matrixType = dyn_cast<MatrixType>()) { in getExtensions() 696 } else if (auto matrixType = dyn_cast<MatrixType>()) { in getCapabilities() 1099 MatrixType MatrixType::get(Type columnType, uint32_t columnCount) { in get() 1103 MatrixType MatrixType::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked() 1129 bool MatrixType::isValidColumnType(Type columnType) { in isValidColumnType() 1139 Type MatrixType::getElementType() const { in getElementType() 1145 unsigned MatrixType::getNumRows() const { in getNumRows() 1149 unsigned MatrixType::getNumElements() const { in getNumElements() [all …]
|
| H A D | SPIRVDialect.cpp | 436 return MatrixType::get(columnType, columnCount); in parseMatrixType() 862 static void print(MatrixType type, DialectAsmPrinter &os) { in print() 870 ImageType, SampledImageType, StructType, MatrixType>( in printType()
|
| H A D | SPIRVOps.cpp | 3850 auto inputMatrix = matrix().getType().cast<spirv::MatrixType>(); in verify() 3851 auto resultMatrix = result().getType().cast<spirv::MatrixType>(); in verify() 3977 auto inputMatrix = matrix().getType().cast<spirv::MatrixType>(); in verify() 3978 auto resultMatrix = result().getType().cast<spirv::MatrixType>(); in verify() 4002 auto leftMatrix = leftmatrix().getType().cast<spirv::MatrixType>(); in verify() 4003 auto rightMatrix = rightmatrix().getType().cast<spirv::MatrixType>(); in verify() 4004 auto resultMatrix = result().getType().cast<spirv::MatrixType>(); in verify()
|
| /llvm-project-15.0.7/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-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.h | 424 class MatrixType : public Type::TypeBase<MatrixType, CompositeType, 429 static MatrixType get(Type columnType, uint32_t columnCount); 431 static MatrixType getChecked(function_ref<InFlightDiagnostic()> emitError,
|
| H A D | SPIRVBase.td | 3896 def SPV_IsMatrixType : CPred<"$_self.isa<::mlir::spirv::MatrixType>()">;
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 72 def MatrixType : TypeNode<Type, 1>; 73 def ConstantMatrixType : TypeNode<MatrixType>; 74 def DependentSizedMatrixType : TypeNode<MatrixType>, AlwaysDependent;
|
| H A D | Attr.td | 2922 def MatrixType : TypeAttr {
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBTypes.h | 279 MatrixType, enumerator
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBExtras.cpp | 275 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, MatrixType, OS) in operator <<()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 3491 class MatrixType : public Type, public llvm::FoldingSetNode { 3498 MatrixType(QualType ElementTy, QualType CanonElementTy); 3500 MatrixType(TypeClass TypeClass, QualType ElementTy, QualType CanonElementTy, 3527 class ConstantMatrixType final : public MatrixType { 3540 ConstantMatrixType(TypeClass typeClass, QualType MatrixType, unsigned NRows, 3586 class DependentSizedMatrixType final : public MatrixType { 6924 return isa<MatrixType>(CanonicalType);
|
| H A D | TypeProperties.td | 227 let Class = MatrixType in {
|
| H A D | TypeLoc.h | 1867 MatrixType, MatrixTypeLocInfo> {
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 285 MatrixType::MatrixType(TypeClass tc, QualType matrixType, QualType canonType, in MatrixType() function in MatrixType 311 : MatrixType(tc, matrixType, canonType), NumRows(nRows), in ConstantMatrixType() 317 : MatrixType(DependentSizedMatrix, ElementType, CanonicalType, RowExpr, in DependentSizedMatrixType() 2111 if (const auto *VT = dyn_cast<MatrixType>(CanonicalType)) in hasUnsignedIntegerRepresentation()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | Serializer.cpp | 596 if (auto matrixType = type.dyn_cast<spirv::MatrixType>()) { in prepareBasicType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 2993 if (DestType->getAs<MatrixType>() || SrcType->getAs<MatrixType>()) { in CheckCStyleCast()
|
| H A D | SemaTemplateDeduction.cpp | 2033 const auto *MA = A->getAs<MatrixType>(); in DeduceTemplateArgumentsByTypeMatch() 2046 Expr *ParamExpr, const MatrixType *A, in DeduceTemplateArgumentsByTypeMatch()
|
| H A D | SemaExpr.cpp | 13150 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands() 13151 const MatrixType *RHSMatType = RHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands()
|
| H A D | SemaOverload.cpp | 8786 AddCandidate(M1, cast<MatrixType>(M1)->getElementType()); in addMatrixBinaryArithmeticOverloads() 8791 AddCandidate(cast<MatrixType>(M2)->getElementType(), M2); in addMatrixBinaryArithmeticOverloads()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | Deserializer.cpp | 1010 typeMap[operands[0]] = spirv::MatrixType::get(elementTy, colsCount); in processMatrixType()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | SPIRVToLLVMDialectConversion.md | 98 conversion. This includes `ImageType` and `MatrixType`.
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 2478 if (isa<MatrixType>(OutExpr->getType().getCanonicalType())) in EmitAsmStmt()
|
| H A D | CGExprScalar.cpp | 1214 SrcElementType = SrcType->castAs<MatrixType>()->getElementType(); in EmitScalarCast() 1215 DstElementType = DstType->castAs<MatrixType>()->getElementType(); in EmitScalarCast()
|
| H A D | CGCall.cpp | 2040 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 1896 DEFAULT_TYPELOC_IMPL(ConstantMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL() 1897 DEFAULT_TYPELOC_IMPL(DependentSizedMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()
|