aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2022-02-02 12:12:32 +0000
committerJeremy Morse <jeremy.morse@sony.com>2022-02-02 12:21:28 +0000
commitd556eb7e27c25ae20befb0811bc8a3423241431d (patch)
treeccbf0007a500a872a008c03b8742e73a5db1daf6 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent81d3144ebf856c835cd6b1443ed76be423184995 (diff)
downloadllvm-d556eb7e27c25ae20befb0811bc8a3423241431d.zip
llvm-d556eb7e27c25ae20befb0811bc8a3423241431d.tar.gz
llvm-d556eb7e27c25ae20befb0811bc8a3423241431d.tar.bz2
[DebugInfo][InstrRef][NFC] Cache some PHI resolutions
Install a cache of DBG_INSTR_REF -> ValueIDNum resolutions, for scenarios where the value has to be reconstructed from several DBG_PHIs. Whenever this happens, it's because branch folding + tail duplication has messed with the SSA form of the program, and we have to solve a mini SSA problem to find the variable value. This is always called twice, so it makes sense to cache the value. This gives a ~0.5% geomean compile-time-performance improvement on CTMark. Differential Revision: https://reviews.llvm.org/D118455
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions