Lines Matching defs:reshapeOp
1101 matchAndRewrite(memref::ReshapeOp reshapeOp, OpAdaptor adaptor,
1103 Type srcType = reshapeOp.getSource().getType();
1106 if (failed(convertSourceMemRefToDescriptor(rewriter, srcType, reshapeOp,
1109 rewriter.replaceOp(reshapeOp, {descriptor});
1116 Type srcType, memref::ReshapeOp reshapeOp,
1119 auto shapeMemRefType = cast<MemRefType>(reshapeOp.getShape().getType());
1122 cast<MemRefType>(reshapeOp.getResult().getType());
1129 Location loc = reshapeOp.getLoc();
1136 reshapeOp.getSource(), adaptor.getSource(),
1146 reshapeOp, "failed to get stride and offset exprs");
1149 return rewriter.notifyMatchFailure(reshapeOp,
1180 Value shapeOp = reshapeOp.getShape();
1202 Location loc = reshapeOp.getLoc();
1207 auto targetType = cast<UnrankedMemRefType>(reshapeOp.getResult().getType());
1227 reshapeOp.getSource(), adaptor.getSource(),
1327 matchAndRewrite(ReshapeOp reshapeOp, typename ReshapeOp::Adaptor adaptor,
1330 reshapeOp,