Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp13151 const MatrixType *RHSMatType = RHSType->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()
13169 if (!LHSMatType && RHSMatType) { in CheckMatrixElementwiseOperands()
13170 LHS = tryConvertExprToType(LHS.get(), RHSMatType->getElementType()); in CheckMatrixElementwiseOperands()
13192 auto *RHSMatType = RHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands() local
13193 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixMultiplyOperands()
13195 if (LHSMatType && RHSMatType) { in CheckMatrixMultiplyOperands()
13196 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()
13200 RHSMatType->getElementType())) in CheckMatrixMultiplyOperands()
[all …]