Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp13150 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands() local
13152 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixElementwiseOperands()
13161 if (LHSMatType && !RHSMatType) { in CheckMatrixElementwiseOperands()
13162 RHS = tryConvertExprToType(RHS.get(), LHSMatType->getElementType()); in CheckMatrixElementwiseOperands()
13169 if (!LHSMatType && RHSMatType) { in CheckMatrixElementwiseOperands()
13191 auto *LHSMatType = LHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands() local
13195 if (LHSMatType && RHSMatType) { in CheckMatrixMultiplyOperands()
13196 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()
13199 if (!Context.hasSameType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands()
13203 return Context.getConstantMatrixType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands()
[all …]