summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorChristian Ulmann <christianulmann@gmail.com>2024-05-22 08:48:10 +0200
committerGitHub <noreply@github.com>2024-05-22 08:48:10 +0200
commitb00e0c167186d69e1e6bceda57c09b272bd6acfc (patch)
treed131159cfb3cd4e8ab5fe2fd7bc44a7734daebab /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent874a5dab419240af0a02a3fc70accd926105aa31 (diff)
[MLIR][Analysis] Consolidate topological sort utilities (#92563)
This PR attempts to consolidate the different topological sort utilities into one place. It adds them to the analysis folder because the `SliceAnalysis` uses some of these. There are now two different sorting strategies: 1. Sort only according to SSA use-def chains 2. Sort while taking regions into account. This requires a much more elaborate traversal and cannot be applied on graph regions that easily. This additionally reimplements the region aware topological sorting because the previous implementation had an exponential space complexity. I'm open to suggestions on how to combine this further or how to fuse the test passes.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions