llvm-project/mlir/lib/CAPI/IR
Stella Laurenzo bdc3183742 [mlir][python] Implement more SymbolTable methods.
* set_symbol_name, get_symbol_name, set_visibility, get_visibility, replace_all_symbol_uses, walk_symbol_tables
* In integrations I've been doing, I've been reaching for all of these to do both general IR manipulation and module merging.
* I don't love the replace_all_symbol_uses underlying APIs since they necessitate SYMBOL_COUNT walks and have various sharp edges. I'm hoping that whatever emerges eventually for this can still retain this simple API as a one-shot.

Differential Revision: https://reviews.llvm.org/D114687
2021-11-29 20:31:13 -08:00
..
AffineExpr.cpp [mlir][python] improve usability of Python affine construct bindings 2021-11-03 10:48:01 +01:00
AffineMap.cpp [mlir][linalg][python] Add attribute support to the OpDSL. 2021-06-24 09:40:32 +00:00
BuiltinAttributes.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
BuiltinTypes.cpp [mlir][RFC] Refactor layout representation in MemRefType 2021-10-19 12:31:15 +03:00
CMakeLists.txt [mlir] Add MLIR-C dylib. 2021-11-11 22:58:13 -08:00
Diagnostics.cpp Add userData to the diagnostic handler C API 2020-11-23 09:52:45 -08:00
DialectHandle.cpp [MLIR] Replace dialect registration hooks with dialect handle 2021-02-09 09:02:16 -08:00
IR.cpp [mlir][python] Implement more SymbolTable methods. 2021-11-29 20:31:13 -08:00
IntegerSet.cpp [mlir] Add C API for IntegerSet 2021-01-25 20:16:22 +01:00
Pass.cpp [mlir][python] Add simple debugging and printing helpers 2021-04-16 13:47:46 +00:00
Support.cpp [mlir] provide C API and Python bindings for symbol tables 2021-11-02 14:22:58 +01:00