Home
last modified time | relevance | path

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

12

/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp98 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 DSPIRVDialect.cpp450 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 DSPIRVOps.cpp1662 .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 Ddefault-expr-arguments.cpp308 template < typename MatrixType, int =
309 A < MatrixType >::Flags ? : A < MatrixType >::Flags & a > class B;
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h424 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 DSPIRVBase.td4175 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 DTypeNodes.td73 def MatrixType : TypeNode<Type, 1>;
74 def ConstantMatrixType : TypeNode<MatrixType>;
75 def DependentSizedMatrixType : TypeNode<MatrixType>, AlwaysDependent;
H A DAttr.td3559 def MatrixType : TypeAttr {
/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h279 MatrixType, enumerator
/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp281 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, MatrixType, OS) in operator <<()
/llvm-project/clang/lib/AST/
H A DType.cpp355 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 DType.h4197 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 DTypeProperties.td253 let Class = MatrixType in {
H A DTypeLoc.h1947 MatrixType, MatrixTypeLocInfo> { in getLocalSourceRange()
/llvm-project/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp718 if (auto matrixType = dyn_cast<spirv::MatrixType>(type)) { in prepareConstant()
/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp3123 if (DestType->getAs<MatrixType>() || SrcType->getAs<MatrixType>()) { in CheckCStyleCast()
H A DSemaTemplateDeduction.cpp2309 const auto *MA = A->getAs<MatrixType>(); in DeduceTemplateArgumentsByTypeMatch()
2324 Expr *ParamExpr, const MatrixType *A, in DeduceTemplateArgumentsByTypeMatch()
H A DSemaExpr.cpp13038 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckLogicalOperands()
13039 const MatrixType *RHSMatType = RHSType->getAs<MatrixType>(); in CheckLogicalOperands()
H A DSemaOverload.cpp9493 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 DDeserializer.cpp1187 typeMap[operands[0]] = spirv::MatrixType::get(elementTy, colsCount); in processTypeForwardPointer()
/llvm-project/mlir/docs/
H A DSPIRVToLLVMDialectConversion.md98 conversion. This includes `ImageType` and `MatrixType`.
/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2245 if (const MatrixType *Matrix = dyn_cast<MatrixType>(QTy)) in DetermineNoUndef()
H A DCGStmt.cpp2871 if (isa<MatrixType>(OutExpr->getType().getCanonicalType())) in EmitAsmStmt()
H A DCGExprScalar.cpp1450 SrcElementType = SrcType->castAs<MatrixType>()->getElementType();
1451 DstElementType = DstType->castAs<MatrixType>()->getElementType(); in EmitScalarConversion()
/llvm-project/clang/tools/libclang/
H A DCIndex.cpp1942 DEFAULT_TYPELOC_IMPL(ConstantMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()
1943 DEFAULT_TYPELOC_IMPL(DependentSizedMatrix, MatrixType) in DEFAULT_TYPELOC_IMPL()

12