Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp106 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertTypeForMem()
672 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertType()
H A DCGDebugInfo.h238 llvm::DIType *CreateType(const ConstantMatrixType *Ty, llvm::DIFile *F);
H A DCGExprScalar.cpp799 auto *LHSMatTy = dyn_cast<ConstantMatrixType>( in EmitMul()
801 auto *RHSMatTy = dyn_cast<ConstantMatrixType>( in EmitMul()
2087 const auto *MatrixTy = E->getBase()->getType()->castAs<ConstantMatrixType>(); in VisitMatrixSubscriptExpr()
4027 isa<ConstantMatrixType>(BO->getLHS()->getType().getCanonicalType()) && in EmitDiv()
H A DCGExpr.cpp2321 const auto *const MatTy = LV.getType()->castAs<ConstantMatrixType>(); in EmitLoadOfLValue()
2513 const auto *const MatTy = Dst.getType()->castAs<ConstantMatrixType>(); in EmitStoreThroughLValue()
4677 E->getBase()->getType()->castAs<ConstantMatrixType>()->getNumRows()); in EmitMatrixSubscriptExpr()
H A DCGBuiltin.cpp4171 auto *MatrixTy = E->getArg(0)->getType()->castAs<ConstantMatrixType>(); in EmitBuiltinExpr()
4183 const auto *ResultTy = E->getType()->getAs<ConstantMatrixType>(); in EmitBuiltinExpr()
4205 const auto *MatrixTy = E->getArg(0)->getType()->getAs<ConstantMatrixType>(); in EmitBuiltinExpr()
H A DCGDebugInfo.cpp3524 llvm::DIType *CGDebugInfo::CreateType(const ConstantMatrixType *Ty, in CreateType()
4001 return CreateType(cast<ConstantMatrixType>(Ty), Unit); in CreateTypeNode()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td74 def ConstantMatrixType : TypeNode<MatrixType>;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp378 ConstantMatrixType::ConstantMatrixType(QualType matrixType, unsigned nRows, in ConstantMatrixType() function in ConstantMatrixType
380 : ConstantMatrixType(ConstantMatrix, matrixType, nRows, nColumns, in ConstantMatrixType()
383 ConstantMatrixType::ConstantMatrixType(TypeClass tc, QualType matrixType, in ConstantMatrixType() function in ConstantMatrixType
1147 QualType VisitConstantMatrixType(const ConstantMatrixType *T) { in VisitConstantMatrixType()
2028 Type *VisitConstantMatrixType(const ConstantMatrixType *T) { in VisitConstantMatrixType()
4767 return Cache::get(cast<ConstantMatrixType>(T)->getElementType()); in computeCachedProperties()
4866 cast<ConstantMatrixType>(T)->getElementType()); in computeTypeLinkageInfo()
H A DASTStructuralEquivalence.cpp1085 const ConstantMatrixType *Mat1 = cast<ConstantMatrixType>(T1); in IsStructurallyEquivalent()
1086 const ConstantMatrixType *Mat2 = cast<ConstantMatrixType>(T2); in IsStructurallyEquivalent()
H A DASTContext.cpp2151 const auto *MT = cast<ConstantMatrixType>(T); in getTypeInfoImpl()
4806 ConstantMatrixType::Profile(ID, ElementTy, NumRows, NumColumns, in getConstantMatrixType()
4811 assert(ConstantMatrixType::isDimensionValid(NumRows) && in getConstantMatrixType()
4812 ConstantMatrixType::isDimensionValid(NumColumns) && in getConstantMatrixType()
4815 if (ConstantMatrixType *MTP = MatrixTypes.FindNodeOrInsertPos(ID, InsertPos)) in getConstantMatrixType()
4823 ConstantMatrixType *NewIP = MatrixTypes.FindNodeOrInsertPos(ID, InsertPos); in getConstantMatrixType()
4828 auto *New = new (*this, alignof(ConstantMatrixType)) in getConstantMatrixType()
4829 ConstantMatrixType(ElementTy, NumRows, NumColumns, Canonical); in getConstantMatrixType()
10482 static bool areCompatMatrixTypes(const ConstantMatrixType *LHS, in areCompatMatrixTypes()
10483 const ConstantMatrixType *RHS) { in areCompatMatrixTypes()
[all …]
H A DTypePrinter.cpp853 void TypePrinter::printConstantMatrixBefore(const ConstantMatrixType *T, in printConstantMatrixBefore()
861 void TypePrinter::printConstantMatrixAfter(const ConstantMatrixType *T, in printConstantMatrixAfter()
H A DMicrosoftMangle.cpp3545 void MicrosoftCXXNameMangler::mangleType(const ConstantMatrixType *T, in mangleType()
H A DItaniumMangle.cpp4391 void CXXNameMangler::mangleType(const ConstantMatrixType *T) { in mangleType()
H A DASTImporter.cpp2052 const clang::ConstantMatrixType *T) { in VisitConstantMatrixType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2292 const auto *MP = P->castAs<ConstantMatrixType>(), in DeduceTemplateArgumentsByTypeMatch()
2293 *MA = A->getAs<ConstantMatrixType>(); in DeduceTemplateArgumentsByTypeMatch()
2327 unsigned (ConstantMatrixType::*GetArgDimension)() const, in DeduceTemplateArgumentsByTypeMatch()
2329 const auto *ACM = dyn_cast<ConstantMatrixType>(A); in DeduceTemplateArgumentsByTypeMatch()
2372 &ConstantMatrixType::getNumRows, in DeduceTemplateArgumentsByTypeMatch()
2378 &ConstantMatrixType::getNumColumns, in DeduceTemplateArgumentsByTypeMatch()
6839 const ConstantMatrixType *MatType = cast<ConstantMatrixType>(T); in MarkUsedTemplateParameters()
H A DSemaChecking.cpp2123 !ConstantMatrixType::isValidElementType(ArgTy)) { in checkMathBuiltinElementType()
15875 auto *MType = Matrix->getType()->getAs<ConstantMatrixType>(); in BuiltinMatrixTranspose()
15908 if (!ConstantMatrixType::isDimensionValid(Dim)) { in getAndVerifyMatrixDimension()
15910 << Name << ConstantMatrixType::getMaxElementsPerDimension(); in getAndVerifyMatrixDimension()
15957 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in BuiltinMatrixColumnMajorLoad()
16057 auto *MatrixTy = MatrixExpr->getType()->getAs<ConstantMatrixType>(); in BuiltinMatrixColumnMajorStore()
H A DSemaExpr.cpp5129 auto *MTy = Base->getType()->getAs<ConstantMatrixType>(); in CreateBuiltinMatrixSubscriptExpr()
7619 const ConstantMatrixType *matSrcType = srcTy->getAs<ConstantMatrixType>(); in areMatrixTypesOfTheSameDimension()
7620 const ConstantMatrixType *matDestType = destTy->getAs<ConstantMatrixType>(); in areMatrixTypesOfTheSameDimension()
13255 auto *LHSMatType = LHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands()
13256 auto *RHSMatType = RHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands()
H A DSemaType.cpp2519 if (!ConstantMatrixType::isDimensionValid(MatrixRows)) { in BuildMatrixType()
2524 if (!ConstantMatrixType::isDimensionValid(MatrixColumns)) { in BuildMatrixType()
H A DSemaTemplate.cpp6132 const ConstantMatrixType *T) { in VisitConstantMatrixType()
H A DTreeTransform.h5953 const ConstantMatrixType *T = TL.getTypePtr(); in TransformConstantMatrixType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td244 let Class = ConstantMatrixType in {
H A DType.h4299 class ConstantMatrixType final : public MatrixType {
4309 ConstantMatrixType(QualType MatrixElementType, unsigned NRows,
4312 ConstantMatrixType(TypeClass typeClass, QualType MatrixType, unsigned NRows,
8519 return isa<ConstantMatrixType>(CanonicalType);
H A DRecursiveASTVisitor.h1063 DEF_TRAVERSE_TYPE(ConstantMatrixType,
1357 DEF_TRAVERSE_TYPELOC(ConstantMatrixType, {
H A DTypeLoc.h2018 ConstantMatrixType> {};
H A DASTContext.h213 mutable llvm::FoldingSet<ConstantMatrixType> MatrixTypes;