Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12483 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands() local
12485 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixElementwiseOperands()
12494 if (LHSMatType && !RHSMatType) { in CheckMatrixElementwiseOperands()
12495 RHS = tryConvertExprToType(RHS.get(), LHSMatType->getElementType()); in CheckMatrixElementwiseOperands()
12502 if (!LHSMatType && RHSMatType) { in CheckMatrixElementwiseOperands()
12524 auto *LHSMatType = LHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands() local
12528 if (LHSMatType && RHSMatType) { in CheckMatrixMultiplyOperands()
12529 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()
12532 if (!Context.hasSameType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands()
12536 return Context.getConstantMatrixType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands()
[all …]