summaryrefslogtreecommitdiff
path: root/gcc/sbitmap.h
diff options
context:
space:
mode:
authorJason Eckhardt <jle@gcc.gnu.org>2000-01-29 01:41:22 +0000
committerJason Eckhardt <jle@gcc.gnu.org>2000-01-29 01:41:22 +0000
commit65169dcfc24eafed52ff13e27421848aa8a6e44a (patch)
treeb7e53416e72be71ecc8ff02e5544a3d4f9199174 /gcc/sbitmap.h
parent72af8e4e63da81d09ed612c5024c3aadfe1cd077 (diff)
downloadgcc-65169dcfc24eafed52ff13e27421848aa8a6e44a.tar.gz
[multiple changes]
Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz> * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New function. * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare. * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro. (FLOW_LOOP_LAST_BLOCK): Likewise. 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * basic-block.h (struct loop): New fields 'first' and 'last'. * flow.c (flow_loops_find): Compute loop->first and loop->last. (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG and loop->last to check for NOTE_INSN_LOOP_END. Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com> * predict.c (estimate_probability): Use the new FIRST and LAST fields of the loop descriptor rather than HEADER and LATCH. Also added missing break statements as well making some coding style modifications as suggested by Michael Hayes. From-SVN: r31679
Diffstat (limited to 'gcc/sbitmap.h')
-rw-r--r--gcc/sbitmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h
index f459ed0957b..d5065461bcb 100644
--- a/gcc/sbitmap.h
+++ b/gcc/sbitmap.h
@@ -114,6 +114,9 @@ extern int sbitmap_a_and_b PARAMS ((sbitmap, sbitmap, sbitmap));
extern int sbitmap_a_or_b PARAMS ((sbitmap, sbitmap, sbitmap));
extern int sbitmap_a_subset_b_p PARAMS ((sbitmap, sbitmap));
+extern int sbitmap_first_set_bit PROTO ((sbitmap));
+extern int sbitmap_last_set_bit PROTO ((sbitmap));
+
struct int_list;
extern void sbitmap_intersect_of_predsucc PARAMS ((sbitmap, sbitmap *,
int, struct int_list **));