summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorTa-Wei Tu <tu.da.wei@gmail.com>2020-12-22 08:42:52 +0800
committerTa-Wei Tu <tu.da.wei@gmail.com>2020-12-22 08:47:38 +0800
commitd7a6f3a1056a5f5212fa561a909fcfa502126074 (patch)
tree041760e1ddd6c363db35afd7de3bea443569f87d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente18734f87a6eb8d2fbd2d9c6690b99b057953935 (diff)
[LoopNest] Extend `LPMUpdater` and adaptor to handle loop-nest passes
This is a follow-up patch of D87045. The patch implements "loop-nest mode" for `LPMUpdater` and `FunctionToLoopPassAdaptor` in which only top-level loops are operated. `createFunctionToLoopPassAdaptor` decides whether the returned adaptor is in loop-nest mode or not based on the given pass. If the pass is a loop-nest pass or the pass is a `LoopPassManager` which contains only loop-nest passes, the loop-nest version of adaptor is returned; otherwise, the normal (loop) version of adaptor is returned. Reviewed By: Whitney Differential Revision: https://reviews.llvm.org/D87531
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions