Lines Matching refs:getSource
517 MemRefType sourceType = castOp.getSource().getType().dyn_cast<MemRefType>(); in canFoldIntoConsumerOp()
655 if (auto castOp = copyOp.getSource().getDefiningOp<CastOp>()) { in matchAndRewrite()
656 auto fromType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite()
657 auto toType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite()
663 copyOp.getSourceMutable().assign(castOp.getSource()); in matchAndRewrite()
672 auto fromType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite()
673 auto toType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite()
679 copyOp.getTargetMutable().assign(castOp.getSource()); in matchAndRewrite()
696 if (copyOp.getSource() != copyOp.getTarget()) in matchAndRewrite()
765 auto type = getSource().getType(); in verify()
880 auto memrefType = getSource().getType().dyn_cast<MemRefType>(); in fold()
894 Operation *definingOp = getSource().getDefiningOp(); in fold()
949 auto reshape = dim.getSource().getDefiningOp<ReshapeOp>(); in matchAndRewrite()
1519 auto srcType = getSource().getType().cast<BaseMemRefType>(); in verify()
1574 Value src = getSource(); in fold()
1578 return prev.getSource(); in fold()
1582 return prev.getSource(); in fold()
1590 return prev.getSource(); in fold()
2004 op, [&]() { op.getSrcMutable().assign(cast.getSource()); }); in matchAndRewrite()
2007 op->getLoc(), cast.getSource(), op.getReassociationIndices()); in matchAndRewrite()
2034 Type operandType = getSource().getType(); in verify()
2302 Value SubViewOp::getViewSource() { return getSource(); } in getViewSource()
2542 auto castOp = subViewOp.getSource().getDefiningOp<CastOp>(); in matchAndRewrite()
2555 castOp.getSource().getType().cast<MemRefType>(), in matchAndRewrite()
2562 subViewOp.getLoc(), resultType, castOp.getSource(), in matchAndRewrite()
2583 rewriter.replaceOp(subViewOp, subViewOp.getSource()); in matchAndRewrite()
2587 subViewOp.getSource()); in matchAndRewrite()
2621 auto sourceShapedType = getSource().getType().cast<ShapedType>(); in fold()
2750 Value ViewOp::getViewSource() { return getSource(); } in getViewSource()