aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorJakub Kuderski <jakub@nod-labs.com>2024-10-31 11:10:09 -0400
committerGitHub <noreply@github.com>2024-10-31 11:10:09 -0400
commit0f8a6b7d03550cb58cf49535af2de2230abfe997 (patch)
tree5bfb250b3fd0bff0fa41657d70c85658be6b51f9 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent1d0370872f28ec9965448f33db1b105addaf64ae (diff)
downloadllvm-0f8a6b7d03550cb58cf49535af2de2230abfe997.zip
llvm-0f8a6b7d03550cb58cf49535af2de2230abfe997.tar.gz
llvm-0f8a6b7d03550cb58cf49535af2de2230abfe997.tar.bz2
[mlir] Add fast walk-based pattern rewrite driver (#113825)
This is intended as a fast pattern rewrite driver for the cases when a simple walk gets the job done but we would still want to implement it in terms of rewrite patterns (that can be used with the greedy pattern rewrite driver downstream). The new driver is inspired by the discussion in https://github.com/llvm/llvm-project/pull/112454 and the LLVM Dev presentation from @matthias-springer earlier this week. This limitation comes with some limitations: * It does not repeat until a fixpoint or revisit ops modified in place or newly created ops. In general, it only walks forward (in the post-order). * `matchAndRewrite` can only erase the matched op or its descendants. This is verified under expensive checks. * It does not perform folding / DCE. We could probably relax some of these in the future without sacrificing too much performance.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions