diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2024-06-21 18:59:25 +0100 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2024-07-24 16:54:52 +0100 |
commit | 181fdad106c353529850b3af7687a1b9b7509b0b (patch) | |
tree | c2ccfa050d7a9371578879ce726df47f63ac4320 /gcc/analyzer/program-state.cc | |
parent | 8977a1270b9c17e6682d25eb4b4030d7f2204df9 (diff) | |
download | gcc-181fdad106c353529850b3af7687a1b9b7509b0b.zip gcc-181fdad106c353529850b3af7687a1b9b7509b0b.tar.gz gcc-181fdad106c353529850b3af7687a1b9b7509b0b.tar.bz2 |
Add new bbitmap<N> class
This class provides a constant-size bitmap that can be used as almost a
drop-in replacement for bitmaps stored in integer types. The
implementation is entirely within the header file and uses recursive
templated operations to support effective optimisation and usage in
constexpr expressions.
This initial implementation hardcodes the choice of uint64_t elements
for storage and initialisation, but this could instead be specified via
a second template parameter.
gcc/ChangeLog:
* bbitmap.h: New file.
Diffstat (limited to 'gcc/analyzer/program-state.cc')
0 files changed, 0 insertions, 0 deletions