[mlir] Move the Operation use iteration utilities to ResultRange
authorRiver Riddle <riddleriver@gmail.com>
Wed, 25 Aug 2021 09:26:23 +0000 (09:26 +0000)
committerRiver Riddle <riddleriver@gmail.com>
Wed, 25 Aug 2021 09:27:35 +0000 (09:27 +0000)
commitaea3026ea7ffbdacf45e068e139ebf78deeade9d
tree7cd45a63029f1127005d3d2da7b46dded732003f
parentb3e392c081ea8d04798d58631b6f61e2901c204f
[mlir] Move the Operation use iteration utilities to ResultRange

This allows for iterating and interacting with the uses of a specific subset of
results as opposed to just the full range.

Differential Revision: https://reviews.llvm.org/D108586
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/OperationSupport.h
mlir/lib/IR/Operation.cpp
mlir/lib/IR/OperationSupport.cpp