Searched refs:lhs_is_scalar (Results 1 – 1 of 1) sorted by relevance
161 bool lhs_is_scalar = lhs_ranked_type && in matchAndRewrite() local172 if (!(lhs_is_scalar ^ rhs_is_scalar)) return failure(); in matchAndRewrite()174 auto scalar_element_type = lhs_is_scalar ? lhs_ranked_type.getElementType() in matchAndRewrite()181 rewriter.create<shape::ShapeOfOp>(loc, lhs_is_scalar ? rhs : lhs); in matchAndRewrite()187 lhs_is_scalar ? rhs : lhs, size_tensor); in matchAndRewrite()191 SmallVector<Value, 2> new_operands{lhs_is_scalar ? lhs : reshaped, in matchAndRewrite()