Searched refs:LHSMatType (Results 1 – 1 of 1) sorted by relevance
12362 const MatrixType *LHSMatType = LHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands() local12364 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixElementwiseOperands()12373 if (LHSMatType && !RHSMatType) { in CheckMatrixElementwiseOperands()12374 RHS = tryConvertExprToType(RHS.get(), LHSMatType->getElementType()); in CheckMatrixElementwiseOperands()12381 if (!LHSMatType && RHSMatType) { in CheckMatrixElementwiseOperands()12403 auto *LHSMatType = LHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands() local12405 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixMultiplyOperands()12407 if (LHSMatType && RHSMatType) { in CheckMatrixMultiplyOperands()12408 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()12411 if (!Context.hasSameType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands()[all …]