aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2023-03-29 14:27:16 +0100
committerOCHyams <orlando.hyams@sony.com>2023-03-29 15:59:46 +0100
commit8e56a196fb5c26e556ac267986868a3f63b7c486 (patch)
tree12e2bd2bfb9822c639761b0d0741c1e7d9051c86 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent28858d5902f84ab760c8531061d43539e2135ae1 (diff)
downloadllvm-8e56a196fb5c26e556ac267986868a3f63b7c486.zip
llvm-8e56a196fb5c26e556ac267986868a3f63b7c486.tar.gz
llvm-8e56a196fb5c26e556ac267986868a3f63b7c486.tar.bz2
[Assignment Tracking] Improve removeRedundantDbgLocsUsingBackwardScan
`removeRedundantDbgLocsUsingBackwardScan` removes redundant dbg loc definitions by scanning backwards through contiguous sets of them (a "wedge"), removing earlier (in IR order terms) defs for fragments of variables that are defined later in the wedge. In this patch we use a `Bitvector` for each variable to track which bits have definitions to more accurately determine whether a loc def is redundant. This patch increases compile time by itself, but reduces it when combined with the follow-up patch. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D146978
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions