[MLIR][python bindings] Reimplement `replace_all_uses_with` on `PyValue`
authormax <maksim.levental@gmail.com>
Wed, 26 Apr 2023 14:55:27 +0000 (09:55 -0500)
committermax <maksim.levental@gmail.com>
Wed, 26 Apr 2023 19:04:33 +0000 (14:04 -0500)
commit5b303f21d38b211341537b94a4783ed9975d6bb1
tree0834f6ef9ac43325a2875c88e1431f5f01ad93bb
parent951919e5112cabbd63c7a3bf424736efca81d964
[MLIR][python bindings] Reimplement `replace_all_uses_with` on `PyValue`

Differential Revision: https://reviews.llvm.org/D149261
mlir/include/mlir-c/IR.h
mlir/lib/Bindings/Python/IRCore.cpp
mlir/lib/CAPI/IR/IR.cpp
mlir/test/CAPI/ir.c
mlir/test/python/ir/value.py