diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2021-11-28 20:30:18 -0800 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2021-11-29 20:31:13 -0800 |
commit | bdc3183742f1e996d58bdf23b91966e64ad5e9a3 (patch) | |
tree | 7da67e6d06496be7c35965b451c2b618909c530d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
parent | a6e7d024a9ebda1564fd78b829c45169add80864 (diff) | |
download | llvm-bdc3183742f1e996d58bdf23b91966e64ad5e9a3.zip llvm-bdc3183742f1e996d58bdf23b91966e64ad5e9a3.tar.gz llvm-bdc3183742f1e996d58bdf23b91966e64ad5e9a3.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions