diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-26 12:02:54 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-26 12:02:54 +0000 |
commit | c162150dd25715503c7a200cbaa20e725f457e7a (patch) | |
tree | b377f47b8511c1d1b93b64e5b37aef519af1940b /gcc/bitmap.c | |
parent | e6d28b476d58cce737222a3f6d46184c54e7572e (diff) |
* bitmap.h: Add explanation of sparse set as linked-list bitmap.
* sbitmap.h: Add explanation about non-sparse sets as simple bitmap.
(TEST_BIT): Make a static inline function for stronger type checking.
(SET_BIT): Don't handle sbitmaps with popcount.
(RESET_BIT): Likewise.
(SET_BIT_WITH_POPCOUNT): New, like SET_BIT but with popcount.
(RESET_BIT_WITH_POPCOUNT): New, like RESET_BIT but with popcount.
* ebitmap.c (ebitmap_clear_bit): Use SET_BIT_WITH_POPCOUNT and
RESET_BIT_WITH_POPCOUNT on wordmask bitmaps.
(ebitmap_set_bit, ebitmap_and_into, ebitmap_and, ebitmap_ior_into,
ebitmap_and_compl_into, ebitmap_and_compl): Likewise.
* sparseset.h: Add explanation of sparse set representation.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c index 4ac129fb275..1a28788bc3e 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -1,6 +1,5 @@ /* Functions to support general ended bitmaps. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of GCC. |