Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp94 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertTypeForMem()
721 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertType()
H A DCGDebugInfo.h207 llvm::DIType *CreateType(const ConstantMatrixType *Ty, llvm::DIFile *F);
H A DCGExprScalar.cpp735 auto *LHSMatTy = dyn_cast<ConstantMatrixType>( in EmitMul()
737 auto *RHSMatTy = dyn_cast<ConstantMatrixType>( in EmitMul()
1794 const auto *MatrixTy = E->getBase()->getType()->castAs<ConstantMatrixType>(); in VisitMatrixSubscriptExpr()
3275 isa<ConstantMatrixType>(BO->getLHS()->getType().getCanonicalType()) && in EmitDiv()
H A DCGExpr.cpp2007 const auto *const MatTy = LV.getType()->castAs<ConstantMatrixType>(); in EmitLoadOfLValue()
2164 const auto *const MatTy = Dst.getType()->castAs<ConstantMatrixType>(); in EmitStoreThroughLValue()
3965 E->getBase()->getType()->castAs<ConstantMatrixType>()->getNumRows()); in EmitMatrixSubscriptExpr()
H A DCGDebugInfo.cpp3012 llvm::DIType *CGDebugInfo::CreateType(const ConstantMatrixType *Ty, in CreateType()
3442 return CreateType(cast<ConstantMatrixType>(Ty), Unit); in CreateTypeNode()
H A DCGBuiltin.cpp3164 auto *MatrixTy = E->getArg(0)->getType()->castAs<ConstantMatrixType>(); in EmitBuiltinExpr()
3176 const auto *ResultTy = E->getType()->getAs<ConstantMatrixType>(); in EmitBuiltinExpr()
3198 const auto *MatrixTy = E->getArg(0)->getType()->getAs<ConstantMatrixType>(); in EmitBuiltinExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp303 ConstantMatrixType::ConstantMatrixType(QualType matrixType, unsigned nRows, in ConstantMatrixType() function in ConstantMatrixType
305 : ConstantMatrixType(ConstantMatrix, matrixType, nRows, nColumns, in ConstantMatrixType()
308 ConstantMatrixType::ConstantMatrixType(TypeClass tc, QualType matrixType, in ConstantMatrixType() function in ConstantMatrixType
1017 QualType VisitConstantMatrixType(const ConstantMatrixType *T) { in VisitConstantMatrixType()
1851 Type *VisitConstantMatrixType(const ConstantMatrixType *T) { in VisitConstantMatrixType()
3956 return Cache::get(cast<ConstantMatrixType>(T)->getElementType()); in computeCachedProperties()
4045 cast<ConstantMatrixType>(T)->getElementType()); in computeTypeLinkageInfo()
H A DASTStructuralEquivalence.cpp865 const ConstantMatrixType *Mat1 = cast<ConstantMatrixType>(T1); in IsStructurallyEquivalent()
866 const ConstantMatrixType *Mat2 = cast<ConstantMatrixType>(T2); in IsStructurallyEquivalent()
H A DASTContext.cpp2019 const auto *MT = cast<ConstantMatrixType>(T); in getTypeInfoImpl()
4154 ConstantMatrixType::Profile(ID, ElementTy, NumRows, NumColumns, in getConstantMatrixType()
4159 assert(ConstantMatrixType::isDimensionValid(NumRows) && in getConstantMatrixType()
4160 ConstantMatrixType::isDimensionValid(NumColumns) && in getConstantMatrixType()
4163 if (ConstantMatrixType *MTP = MatrixTypes.FindNodeOrInsertPos(ID, InsertPos)) in getConstantMatrixType()
4171 ConstantMatrixType *NewIP = MatrixTypes.FindNodeOrInsertPos(ID, InsertPos); in getConstantMatrixType()
4177 ConstantMatrixType(ElementTy, NumRows, NumColumns, Canonical); in getConstantMatrixType()
9271 static bool areCompatMatrixTypes(const ConstantMatrixType *LHS, in areCompatMatrixTypes()
9272 const ConstantMatrixType *RHS) { in areCompatMatrixTypes()
10590 if (areCompatMatrixTypes(LHSCan->castAs<ConstantMatrixType>(), in mergeTypes()
[all …]
H A DTypePrinter.cpp784 void TypePrinter::printConstantMatrixBefore(const ConstantMatrixType *T, in printConstantMatrixBefore()
792 void TypePrinter::printConstantMatrixAfter(const ConstantMatrixType *T, in printConstantMatrixAfter()
H A DMicrosoftMangle.cpp3135 void MicrosoftCXXNameMangler::mangleType(const ConstantMatrixType *T, in mangleType()
H A DItaniumMangle.cpp3786 void CXXNameMangler::mangleType(const ConstantMatrixType *T) { in mangleType()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td73 def ConstantMatrixType : TypeNode<MatrixType>;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2015 const auto *MP = P->castAs<ConstantMatrixType>(), in DeduceTemplateArgumentsByTypeMatch()
2016 *MA = A->getAs<ConstantMatrixType>(); in DeduceTemplateArgumentsByTypeMatch()
2047 unsigned (ConstantMatrixType::*GetArgDimension)() const, in DeduceTemplateArgumentsByTypeMatch()
2049 const auto *ACM = dyn_cast<ConstantMatrixType>(A); in DeduceTemplateArgumentsByTypeMatch()
2091 &ConstantMatrixType::getNumRows, in DeduceTemplateArgumentsByTypeMatch()
2096 &ConstantMatrixType::getNumColumns, in DeduceTemplateArgumentsByTypeMatch()
5783 const ConstantMatrixType *MatType = cast<ConstantMatrixType>(T); in MarkUsedTemplateParameters()
H A DSemaChecking.cpp17528 if (!Ty->getAs<VectorType>() && !ConstantMatrixType::isValidElementType(Ty)) { in checkMathBuiltinElementType()
17606 auto *MType = Matrix->getType()->getAs<ConstantMatrixType>(); in SemaBuiltinMatrixTranspose()
17638 if (!ConstantMatrixType::isDimensionValid(Dim)) { in getAndVerifyMatrixDimension()
17640 << Name << ConstantMatrixType::getMaxElementsPerDimension(); in getAndVerifyMatrixDimension()
17686 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in SemaBuiltinMatrixColumnMajorLoad()
17786 auto *MatrixTy = MatrixExpr->getType()->getAs<ConstantMatrixType>(); in SemaBuiltinMatrixColumnMajorStore()
H A DSemaExpr.cpp5030 auto *MTy = Base->getType()->getAs<ConstantMatrixType>(); in CreateBuiltinMatrixSubscriptExpr()
7711 const ConstantMatrixType *matSrcType = srcTy->getAs<ConstantMatrixType>(); in areMatrixTypesOfTheSameDimension()
7712 const ConstantMatrixType *matDestType = destTy->getAs<ConstantMatrixType>(); in areMatrixTypesOfTheSameDimension()
13191 auto *LHSMatType = LHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands()
13192 auto *RHSMatType = RHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands()
H A DSemaType.cpp2792 if (!ConstantMatrixType::isDimensionValid(MatrixRows)) { in BuildMatrixType()
2797 if (!ConstantMatrixType::isDimensionValid(MatrixColumns)) { in BuildMatrixType()
H A DSemaTemplate.cpp6099 const ConstantMatrixType *T) { in VisitConstantMatrixType()
H A DTreeTransform.h5436 const ConstantMatrixType *T = TL.getTypePtr(); in TransformConstantMatrixType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td233 let Class = ConstantMatrixType in {
H A DType.h3527 class ConstantMatrixType final : public MatrixType {
3537 ConstantMatrixType(QualType MatrixElementType, unsigned NRows,
3540 ConstantMatrixType(TypeClass typeClass, QualType MatrixType, unsigned NRows,
6928 return isa<ConstantMatrixType>(CanonicalType);
H A DRecursiveASTVisitor.h1050 DEF_TRAVERSE_TYPE(ConstantMatrixType,
1316 DEF_TRAVERSE_TYPELOC(ConstantMatrixType, {
H A DTypeLoc.h1914 ConstantMatrixType> {};
H A DASTContext.h232 mutable llvm::FoldingSet<ConstantMatrixType> MatrixTypes;