aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorMike Urbach <mikeurbach@gmail.com>2022-12-06 19:30:56 -0700
committerMike Urbach <mikeurbach@gmail.com>2022-12-13 19:20:29 -0700
commitafb2ed80cb1639236a3aa15f2c9ff96dbb45c3d0 (patch)
treed8ffbf227bd2d6b7ccffcba61ef839b7f7745f28 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentb49d3e50e353e7ab58c2e6622f8cf78e8db7f51e (diff)
downloadllvm-afb2ed80cb1639236a3aa15f2c9ff96dbb45c3d0.zip
llvm-afb2ed80cb1639236a3aa15f2c9ff96dbb45c3d0.tar.gz
llvm-afb2ed80cb1639236a3aa15f2c9ff96dbb45c3d0.tar.bz2
[mlir][Python] Add a simple PyOpOperand iterator for PyValue uses.
This adds a simple PyOpOperand based on MlirOpOperand, which can has properties for the owner op and operation number. This also adds a PyOpOperandIterator that defines methods for __iter__ and __next__ so PyOpOperands can be iterated over using the the MlirOpOperand C API. Finally, a uses psuedo-container is added to PyValue so the uses can generically be iterated. Depends on D139596 Reviewed By: stellaraccident, jdd Differential Revision: https://reviews.llvm.org/D139597
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions