#include "config.h"#include "system.h"#include "rtl.h"#include "flags.h"#include "obstack.h"#include "ggc.h"#include "bitmap.h"#include "gt-bitmap.h"

Go to the source code of this file.
| #define __alignof__ | ( | type | ) | 0 |
| #define DOIT | ( | OP | ) |
Value:
do { \ BITMAP_WORD t, f1, f2; \ int i; \ for (i = 0; i < BITMAP_ELEMENT_WORDS; ++i) \ { \ f1 = from1_tmp->bits[i]; \ f2 = from2_tmp->bits[i]; \ t = f1 OP f2; \ changed |= (t != to_tmp->bits[i]); \ to_tmp->bits[i] = t; \ } \ } while (0)
| #define HIGHEST_INDEX (unsigned int) ~0 |
| #define OBSTACK_CHUNK_ALLOC xmalloc |
| #define OBSTACK_CHUNK_FREE free |
| #define OBSTACK_CHUNK_SIZE 0 |
| int bitmap_bit_p | ( | bitmap | head, | |
| int | bit | |||
| ) |
Definition at line 412 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_WORDS, bitmap_find_bit(), BITMAP_WORD_BITS, and ptr.
Definition at line 368 of file bitmap.c.
References bitmap_element, bitmap_element_free(), BITMAP_ELEMENT_WORDS, bitmap_element_zerop(), bitmap_find_bit(), BITMAP_WORD_BITS, and ptr.
Definition at line 281 of file bitmap.c.
References bitmap_clear(), bitmap_element, bitmap_element_allocate(), BITMAP_ELEMENT_WORDS, i, and if().
| static INLINE bitmap_element* bitmap_element_allocate | ( | bitmap | head | ) | [static] |
Definition at line 106 of file bitmap.c.
References __alignof__, bitmap_element, bitmap_free, bitmap_obstack, bitmap_obstack_init, element, ggc_alloc, memset, NULL, obstack_alloc, OBSTACK_CHUNK_ALLOC, OBSTACK_CHUNK_FREE, OBSTACK_CHUNK_SIZE, obstack_specify_allocation, PARAMS, and TRUE.
| static INLINE void bitmap_element_free | ( | bitmap | head, | |
| bitmap_element * | elt | |||
| ) | [static] |
| static INLINE void bitmap_element_link | ( | bitmap | head, | |
| bitmap_element * | element | |||
| ) | [static] |
| static INLINE int bitmap_element_zerop | ( | bitmap_element * | element | ) | [static] |
Definition at line 703 of file bitmap.c.
References bitmap_clear(), bitmap_head, bitmap_operation(), BITMAP_XOR, c, memset, and ret.
| static INLINE bitmap_element* bitmap_find_bit | ( | bitmap | head, | |
| unsigned int | bit | |||
| ) | [static] |
Definition at line 332 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_ALL_BITS, element, and indx.
| int bitmap_first_set_bit | ( | bitmap | a | ) |
Definition at line 434 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_ALL_BITS, BITMAP_ELEMENT_WORDS, BITMAP_WORD_BITS, NULL, and ptr.
Definition at line 721 of file bitmap.c.
References BITMAP_AND_COMPL, bitmap_clear(), bitmap_head, BITMAP_IOR, bitmap_operation(), and tmp.
| int bitmap_last_set_bit | ( | bitmap | a | ) |
Definition at line 487 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_ALL_BITS, BITMAP_ELEMENT_WORDS, BITMAP_WORD_BITS, NULL, ptr, and x2.
| int bitmap_operation | ( | bitmap | to, | |
| bitmap | from1, | |||
| bitmap | from2, | |||
| enum bitmap_bits | operation | |||
| ) |
Definition at line 540 of file bitmap.c.
References abort, BITMAP_AND, BITMAP_AND_COMPL, bitmap_element, bitmap_element_allocate(), bitmap_element_link(), bitmap_element_zerop(), bitmap_free, BITMAP_IOR, BITMAP_IOR_COMPL, BITMAP_XOR, bitmap_zero_bits, changed, DOIT, HIGHEST_INDEX, and indx.
| void bitmap_release_memory | ( | ) |
Definition at line 172 of file bitmap.c.
References bitmap_free, bitmap_obstack, bitmap_obstack_init, FALSE, NULL, and obstack_free.
Definition at line 389 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_ALL_BITS, bitmap_element_allocate(), bitmap_element_link(), BITMAP_ELEMENT_WORDS, bitmap_find_bit(), BITMAP_WORD_BITS, and ptr.
Definition at line 737 of file bitmap.c.
References BITMAP_AND_COMPL, bitmap_clear(), bitmap_head, BITMAP_IOR, bitmap_operation(), changed, and tmp.
Definition at line 775 of file bitmap.c.
References bitmap_element, BITMAP_ELEMENT_ALL_BITS, BITMAP_ELEMENT_WORDS, BITMAP_WORD_BITS, col, fprintf(), HOST_PTR_PRINTF, i, PTR, and ptr.
| static GTY | ( | (deletable("")) | ) | [static] |
bitmap_element* bitmap_free [static] |
struct obstack bitmap_obstack [static] |
int bitmap_obstack_init = FALSE [static] |
1.5.6