Lines Matching refs:copyOp
29 getOperation()->walk([&](CopyOpInterface copyOp) { in runOnOperation() argument
30 reuseCopySourceAsTarget(copyOp); in runOnOperation()
31 reuseCopyTargetAsSource(copyOp); in runOnOperation()
133 void reuseCopySourceAsTarget(CopyOpInterface copyOp) { in reuseCopySourceAsTarget() argument
134 if (eraseList.count(copyOp)) in reuseCopySourceAsTarget()
137 Value from = copyOp.getSource(); in reuseCopySourceAsTarget()
138 Value to = copyOp.getTarget(); in reuseCopySourceAsTarget()
140 Operation *copy = copyOp.getOperation(); in reuseCopySourceAsTarget()
184 void reuseCopyTargetAsSource(CopyOpInterface copyOp) { in reuseCopyTargetAsSource() argument
185 if (eraseList.count(copyOp)) in reuseCopyTargetAsSource()
188 Value from = copyOp.getSource(); in reuseCopyTargetAsSource()
189 Value to = copyOp.getTarget(); in reuseCopyTargetAsSource()
191 Operation *copy = copyOp.getOperation(); in reuseCopyTargetAsSource()