Home
last modified time | relevance | path

Searched refs:MatrixType (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp115 .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 DSPIRVDialect.cpp436 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 DSPIRVOps.cpp3850 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 Ddefault-expr-arguments.cpp308 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 DSPIRVTypes.h424 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 DSPIRVBase.td3896 def SPV_IsMatrixType : CPred<"$_self.isa<::mlir::spirv::MatrixType>()">;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td72 def MatrixType : TypeNode<Type, 1>;
73 def ConstantMatrixType : TypeNode<MatrixType>;
74 def DependentSizedMatrixType : TypeNode<MatrixType>, AlwaysDependent;
H A DAttr.td2922 def MatrixType : TypeAttr {
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h279 MatrixType, enumerator
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp275 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, MatrixType, OS) in operator <<()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h3491 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 DTypeProperties.td227 let Class = MatrixType in {
H A DTypeLoc.h1867 MatrixType, MatrixTypeLocInfo> {
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp285 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 DSerializer.cpp596 if (auto matrixType = type.dyn_cast<spirv::MatrixType>()) { in prepareBasicType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp2993 if (DestType->getAs<MatrixType>() || SrcType->getAs<MatrixType>()) { in CheckCStyleCast()
H A DSemaTemplateDeduction.cpp2033 const auto *MA = A->getAs<MatrixType>(); in DeduceTemplateArgumentsByTypeMatch()
2046 Expr *ParamExpr, const MatrixType *A, in DeduceTemplateArgumentsByTypeMatch()
H A DSemaExpr.cpp13150 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands()
13151 const MatrixType *RHSMatType = RHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands()
H A DSemaOverload.cpp8786 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 DDeserializer.cpp1010 typeMap[operands[0]] = spirv::MatrixType::get(elementTy, colsCount); in processMatrixType()
/llvm-project-15.0.7/mlir/docs/
H A DSPIRVToLLVMDialectConversion.md98 conversion. This includes `ImageType` and `MatrixType`.
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp2478 if (isa<MatrixType>(OutExpr->getType().getCanonicalType())) in EmitAsmStmt()
H A DCGExprScalar.cpp1214 SrcElementType = SrcType->castAs<MatrixType>()->getElementType(); in EmitScalarCast()
1215 DstElementType = DstType->castAs<MatrixType>()->getElementType(); in EmitScalarCast()
H A DCGCall.cpp2040 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp1896 DEFAULT_TYPELOC_IMPL(ConstantMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()
1897 DEFAULT_TYPELOC_IMPL(DependentSizedMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()

12