Lines Matching refs:reshapeOp

1107   matchAndRewrite(memref::ReshapeOp reshapeOp, OpAdaptor adaptor,  in matchAndRewrite()
1109 Type srcType = reshapeOp.getSource().getType(); in matchAndRewrite()
1112 if (failed(convertSourceMemRefToDescriptor(rewriter, srcType, reshapeOp, in matchAndRewrite()
1115 rewriter.replaceOp(reshapeOp, {descriptor}); in matchAndRewrite()
1122 Type srcType, memref::ReshapeOp reshapeOp, in convertSourceMemRefToDescriptor()
1125 auto shapeMemRefType = reshapeOp.getShape().getType().cast<MemRefType>(); in convertSourceMemRefToDescriptor()
1128 reshapeOp.getResult().getType().cast<MemRefType>(); in convertSourceMemRefToDescriptor()
1136 Location loc = reshapeOp.getLoc(); in convertSourceMemRefToDescriptor()
1143 reshapeOp.getSource(), adaptor.getSource(), in convertSourceMemRefToDescriptor()
1153 reshapeOp, "failed to get stride and offset exprs"); in convertSourceMemRefToDescriptor()
1156 return rewriter.notifyMatchFailure(reshapeOp, in convertSourceMemRefToDescriptor()
1185 Value shapeOp = reshapeOp.getShape(); in convertSourceMemRefToDescriptor()
1207 Location loc = reshapeOp.getLoc(); in convertSourceMemRefToDescriptor()
1213 reshapeOp.getResult().getType().cast<UnrankedMemRefType>(); in convertSourceMemRefToDescriptor()
1232 reshapeOp.getSource(), adaptor.getSource(), in convertSourceMemRefToDescriptor()
1578 matchAndRewrite(ReshapeOp reshapeOp, typename ReshapeOp::Adaptor adaptor, in matchAndRewrite() argument
1580 MemRefType dstType = reshapeOp.getResultType(); in matchAndRewrite()
1581 MemRefType srcType = reshapeOp.getSrcType(); in matchAndRewrite()
1587 reshapeOp, "failed to get stride and offset exprs"); in matchAndRewrite()
1591 Location loc = reshapeOp->getLoc(); in matchAndRewrite()
1603 rewriter, loc, llvmIndexType, reshapeOp.getReassociationIndices(), in matchAndRewrite()
1625 rewriter, loc, reshapeOp, this->typeConverter, srcType, dstType, in matchAndRewrite()
1626 srcDesc, dstDesc, reshapeOp.getReassociationIndices()); in matchAndRewrite()
1628 rewriter.replaceOp(reshapeOp, {dstDesc}); in matchAndRewrite()