diff options
author | Jan Hubicka <jh@suse.cz> | 2006-08-21 03:53:11 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-08-21 01:53:11 +0000 |
commit | 1af4bba82ed51ba8108d40badd3d39204f810838 (patch) | |
tree | a77296eaee0dcde8be19fcb23b3aaf14b92825ff /gcc/bitmap.h | |
parent | 70d539ce3a777b83d929c6de70b14a6eb7f3a100 (diff) | |
download | gcc-1af4bba82ed51ba8108d40badd3d39204f810838.zip gcc-1af4bba82ed51ba8108d40badd3d39204f810838.tar.gz gcc-1af4bba82ed51ba8108d40badd3d39204f810838.tar.bz2 |
tree-ssa-alias.c (eq_ptr_info, [...]): New function.
* tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
(create_name_tags): Instead of quadratic checking use hashtable.
* bitmap.h: Include hashtab.h.
(bitmap_hash): Declare.
* bitmap.c (bitmap_hash): New function.
From-SVN: r116285
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r-- | gcc/bitmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h index d11fa46..3da58c5 100644 --- a/gcc/bitmap.h +++ b/gcc/bitmap.h @@ -21,6 +21,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #ifndef GCC_BITMAP_H #define GCC_BITMAP_H +#include "hashtab.h" /* Fundamental storage type for bitmap. */ @@ -164,6 +165,9 @@ extern void bitmap_obstack_free (bitmap); #define bitmap_zero(a) bitmap_clear (a) extern unsigned bitmap_first_set_bit (bitmap); +/* Compute bitmap hash (for purposes of hashing etc.) */ +extern hashval_t bitmap_hash(bitmap); + /* Allocate a bitmap from a bit obstack. */ #define BITMAP_ALLOC(OBSTACK) bitmap_obstack_alloc (OBSTACK) |