Deleted Added
full compact
bitmap.h (50397) bitmap.h (52284)
1/* Functions to support general ended bitmaps.
1/* Functions to support general ended bitmaps.
2 Copyright (C) 1997 Free Software Foundation, Inc.
2 Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10

--- 32 unchanged lines hidden (view full) ---

43 unsigned int indx; /* regno/BITMAP_ELEMENT_ALL_BITS. */
44 unsigned HOST_WIDE_INT bits[BITMAP_ELEMENT_WORDS]; /* Bits that are set. */
45} bitmap_element;
46
47/* Head of bitmap linked list. */
48typedef struct bitmap_head_def {
49 bitmap_element *first; /* First element in linked list. */
50 bitmap_element *current; /* Last element looked at. */
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10

--- 32 unchanged lines hidden (view full) ---

43 unsigned int indx; /* regno/BITMAP_ELEMENT_ALL_BITS. */
44 unsigned HOST_WIDE_INT bits[BITMAP_ELEMENT_WORDS]; /* Bits that are set. */
45} bitmap_element;
46
47/* Head of bitmap linked list. */
48typedef struct bitmap_head_def {
49 bitmap_element *first; /* First element in linked list. */
50 bitmap_element *current; /* Last element looked at. */
51 int indx; /* Index of last element looked at. */
51 unsigned int indx; /* Index of last element looked at. */
52} bitmap_head, *bitmap;
53
54/* Enumeration giving the various operations we support. */
55enum bitmap_bits {
56 BITMAP_AND, /* TO = FROM1 & FROM2 */
57 BITMAP_AND_COMPL, /* TO = FROM1 & ~ FROM2 */
58 BITMAP_IOR /* TO = FROM1 | FROM2 */
59};

--- 24 unchanged lines hidden (view full) ---

84/* Return true if a register is set in a register set. */
85extern int bitmap_bit_p PROTO((bitmap, int));
86
87/* Debug functions to print a bitmap linked list. */
88extern void bitmap_debug PROTO((bitmap));
89extern void bitmap_debug_file PROTO((FILE *, bitmap));
90
91/* Print a bitmap */
52} bitmap_head, *bitmap;
53
54/* Enumeration giving the various operations we support. */
55enum bitmap_bits {
56 BITMAP_AND, /* TO = FROM1 & FROM2 */
57 BITMAP_AND_COMPL, /* TO = FROM1 & ~ FROM2 */
58 BITMAP_IOR /* TO = FROM1 | FROM2 */
59};

--- 24 unchanged lines hidden (view full) ---

84/* Return true if a register is set in a register set. */
85extern int bitmap_bit_p PROTO((bitmap, int));
86
87/* Debug functions to print a bitmap linked list. */
88extern void bitmap_debug PROTO((bitmap));
89extern void bitmap_debug_file PROTO((FILE *, bitmap));
90
91/* Print a bitmap */
92extern void bitmap_print PROTO((FILE *, bitmap, char *, char *));
92extern void bitmap_print PROTO((FILE *, bitmap, const char *, const char *));
93
94/* Initialize a bitmap header. */
95extern bitmap bitmap_initialize PROTO((bitmap));
96
97/* Release all memory held by bitmaps. */
98extern void bitmap_release_memory PROTO((void));
99
100extern void debug_bitmap PROTO((bitmap));

--- 217 unchanged lines hidden ---
93
94/* Initialize a bitmap header. */
95extern bitmap bitmap_initialize PROTO((bitmap));
96
97/* Release all memory held by bitmaps. */
98extern void bitmap_release_memory PROTO((void));
99
100extern void debug_bitmap PROTO((bitmap));

--- 217 unchanged lines hidden ---