aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorDmitry Makogon <d.makogon@g.nsu.ru>2023-03-03 18:02:46 +0700
committerDmitry Makogon <d.makogon@g.nsu.ru>2023-03-03 19:22:28 +0700
commit94b35eef4e1837a40643ca64ff8bfd319d166e67 (patch)
treee9a5962a84f3e98e9424b1fe08ea9a904757801f /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentf5097ed8469416b30d2e9e449a26079f85ccb2f1 (diff)
downloadllvm-94b35eef4e1837a40643ca64ff8bfd319d166e67.zip
llvm-94b35eef4e1837a40643ca64ff8bfd319d166e67.tar.gz
llvm-94b35eef4e1837a40643ca64ff8bfd319d166e67.tar.bz2
[ScalarEvolution] Factor out RewriteMap utilities in applyLoopGuards (NFC)
This factors out two utilities used with RewriteMap in applyLoopGuards: - AddRewrite, which puts a rewrite rule in the map and if needed registers the rewrite in the list of rewritten expressions, - GetMaybeRewritten, which checks whether an expression has already been rewritten, and if so, returns the rewrite. Otherwise, returns the given expression. This may be needed when adding new rewrite rules as not to copy-paste this code.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions