diff options
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r-- | gcc/bitmap.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h index 84632af..0846f79 100644 --- a/gcc/bitmap.h +++ b/gcc/bitmap.h @@ -438,6 +438,13 @@ extern bool bitmap_set_bit (bitmap, int); /* Return true if a bit is set in a bitmap. */ extern int bitmap_bit_p (const_bitmap, int); +/* Set and get multiple bit values in a sparse bitmap. This allows a bitmap to + function as a sparse array of bit patterns where the patterns are + multiples of power of 2. This is more efficient than performing this as + multiple individual operations. */ +void bitmap_set_aligned_chunk (bitmap, unsigned int, unsigned int, BITMAP_WORD); +BITMAP_WORD bitmap_get_aligned_chunk (const_bitmap, unsigned int, unsigned int); + /* Debug functions to print a bitmap. */ extern void debug_bitmap (const_bitmap); extern void debug_bitmap_file (FILE *, const_bitmap); @@ -951,10 +958,8 @@ class auto_bitmap // Prevent making a copy that references our bitmap. auto_bitmap (const auto_bitmap &); auto_bitmap &operator = (const auto_bitmap &); -#if __cplusplus >= 201103L auto_bitmap (auto_bitmap &&); auto_bitmap &operator = (auto_bitmap &&); -#endif bitmap_head m_bits; }; |