diff options
author | J"orn Rennecke <joern.rennecke@st.com> | 2005-12-07 13:31:41 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-12-07 13:31:41 +0000 |
commit | 7f416ffb2875d45370783e94ccab44403d44a1c4 (patch) | |
tree | 80bd82f1f8f7ac2b40e3ef750c31f109ba0b3cc0 /gcc/basic-block.h | |
parent | 0e230dfa1d6ff966fcaa34648d00e2274de480ee (diff) | |
download | gcc-7f416ffb2875d45370783e94ccab44403d44a1c4.zip gcc-7f416ffb2875d45370783e94ccab44403d44a1c4.tar.gz gcc-7f416ffb2875d45370783e94ccab44403d44a1c4.tar.bz2 |
Preparation for PR rtl-optimization/20070 / part1
2005-12-07 J"orn Rennecke <joern.rennecke@st.com>
Preparation for PR rtl-optimization/20070 / part1
* basic-block.h (insns_match_p, flow_find_cross_jump): Declare.
* cfgcleanup.c (condjump_equiv_p): New function, broken out of
outgoing_edges_match.
(outgoing_edges_match): Use condjump_equiv_p.
(merge_memattrs, insns_match_p, flow_find_cross_jump): Move from here
into..
* struct-equiv.c: New file.
(death_notes_match_p) New function, broken out of insns_match_p.
* Makefile.in (OBJS-common): Add struct-equiv.o.
(struct-equiv.o): New target.
From-SVN: r108164
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 790b27b..9a88e8d 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -991,4 +991,8 @@ extern basic_block get_bb_copy (basic_block); #include "cfghooks.h" +/* In struct-equiv.c */ +extern bool insns_match_p (int, rtx, rtx); +extern int flow_find_cross_jump (int, basic_block, basic_block, rtx *, rtx *); + #endif /* GCC_BASIC_BLOCK_H */ |