Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp13215 const MatrixType *RHSMatType = RHSType->getAs<MatrixType>(); in CheckMatrixElementwiseOperands() local
13216 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixElementwiseOperands()
13225 if (LHSMatType && !RHSMatType) { in CheckMatrixElementwiseOperands()
13233 if (!LHSMatType && RHSMatType) { in CheckMatrixElementwiseOperands()
13234 LHS = tryConvertExprToType(LHS.get(), RHSMatType->getElementType()); in CheckMatrixElementwiseOperands()
13256 auto *RHSMatType = RHS.get()->getType()->getAs<ConstantMatrixType>(); in CheckMatrixMultiplyOperands() local
13257 assert((LHSMatType || RHSMatType) && "At least one operand must be a matrix"); in CheckMatrixMultiplyOperands()
13259 if (LHSMatType && RHSMatType) { in CheckMatrixMultiplyOperands()
13260 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()
13263 if (Context.hasSameType(LHSMatType, RHSMatType)) in CheckMatrixMultiplyOperands()
[all …]