aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJosef Zlomek <zlomekj@suse.cz>2003-03-15 23:51:37 +0100
committerJosef Zlomek <zlomek@gcc.gnu.org>2003-03-15 22:51:37 +0000
commit4af16369d54a5a75f9ffd7b32a835f896995fe4d (patch)
tree2b611926dbc72532503869b1479e8eecd0fc8e96 /gcc/rtl.h
parentd2184e79be1ae8498309d3dc99334e4c39099769 (diff)
downloadgcc-4af16369d54a5a75f9ffd7b32a835f896995fe4d.zip
gcc-4af16369d54a5a75f9ffd7b32a835f896995fe4d.tar.gz
gcc-4af16369d54a5a75f9ffd7b32a835f896995fe4d.tar.bz2
rtl.h (subrtx_p): Renamed to rtx_referenced_p.
* rtl.h (subrtx_p): Renamed to rtx_referenced_p. (rtx_pair): Added new element update_label_nuses, renamed to replace_label_data. * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use replace_label_data instead of rtx_pair. * loop.c (load_mems): Likewise. * rtlanal.c (replace_label): Replace label in pool constants and in INSN_LIST (in REG_LABEL note). (subrtx_p): Renamed to rtx_referenced_p. (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of LABEL_REF with CODE_LABEL, traverse constants from pool. From-SVN: r64419
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 1076cf5..4bb760b 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1596,11 +1596,12 @@ extern rtx set_unique_reg_note PARAMS ((rtx, enum reg_note, rtx));
#define single_set_1(I) single_set_2 (I, PATTERN (I))
/* Structure used for passing data to REPLACE_LABEL. */
-typedef struct rtx_pair
+typedef struct replace_label_data
{
rtx r1;
rtx r2;
-} rtx_pair;
+ bool update_label_nuses;
+} replace_label_data;
extern int rtx_addr_can_trap_p PARAMS ((rtx));
extern bool nonzero_address_p PARAMS ((rtx));
@@ -1662,7 +1663,7 @@ extern rtx replace_rtx PARAMS ((rtx, rtx, rtx));
extern rtx replace_regs PARAMS ((rtx, rtx *, unsigned int,
int));
extern int replace_label PARAMS ((rtx *, void *));
-extern int subrtx_p PARAMS ((rtx, rtx));
+extern int rtx_referenced_p PARAMS ((rtx, rtx));
extern bool tablejump_p PARAMS ((rtx, rtx *, rtx *));
extern int computed_jump_p PARAMS ((rtx));
typedef int (*rtx_function) PARAMS ((rtx *, void *));