aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorChris Jackson <chrisj@graphcore.ai>2022-04-27 11:27:10 +0100
committerChris Jackson <chrisj@graphcore.ai>2022-04-27 11:43:05 +0100
commitc45e4c140f98159246a021f2e74892e54eb3df33 (patch)
treee3c9e969c9c4d8c71f2b195cef08c8dd43eda014 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parentc10bbc20bc4df4fcf2c8da9f312facce7abbccae (diff)
downloadllvm-c45e4c140f98159246a021f2e74892e54eb3df33.zip
llvm-c45e4c140f98159246a021f2e74892e54eb3df33.tar.gz
llvm-c45e4c140f98159246a021f2e74892e54eb3df33.tar.bz2
[Debuginfo][LSR] Add salvaging variadic dbg.value intrinsics [1/2] [NFC]
First of two patches that extends SCEV-based salvaging to enable salvaging of dbg.value instrinsics that have multiple locations ops before the Loop Strength Reduction pass. The existing single-op SCEV-based salvaging can generate variadic dbg.value intrinsics in order to salvage a dbg.value that has a single location op. If a dbg.value has multiple location ops before LSR, and LSR optimises away one or more of the location operands, then currently no salvaging will be attempted. Salvaging can now be added, but first this patch cleans up consistency in both the code and comments, and applies some refactoring to make application of the new salvaging implementation more straightforward. - Use SCEVDbgValueBuilder for both types of recovery expressions: IV-offset based and iteration count based. - Combine the functions that write the final DIExpression. - Move some static functions into member functions. Reviewers: @Orlando Differential Revision: https://reviews.llvm.org/D120168
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions