Lines Matching defs:reshape
29 // Infer the type to which the input of a 'tosa.reshape' op must be cast when
47 // pair emitted for a 'tosa.reshape' op.
102 // pair emitted for a 'tosa.reshape' op.
224 matchAndRewrite(tosa::ReshapeOp reshape, OpAdaptor adaptor,
226 auto loc = reshape.getLoc();
228 getTypeConverter()->convertType(reshape.getType()));
230 return rewriter.notifyMatchFailure(reshape.getLoc(),
235 return rewriter.notifyMatchFailure(reshape.getLoc(),
238 auto newShape = reshape.getNewShape();
254 rewriter.replaceOp(reshape, result);