diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-26 20:45:09 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-26 20:45:09 +0000 |
commit | 12ea1b952d7f98224446c2ae2d9f6648126a2959 (patch) | |
tree | 154dbee33a6cd44634a89f47d194bea012ce3e02 /gcc/cselib.h | |
parent | eb92d49a916d4484bb8eb0fd6be6e36328e29896 (diff) | |
download | gcc-12ea1b952d7f98224446c2ae2d9f6648126a2959.tar.gz |
cselib (also touches sched-deps.c)
gcc/
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
from rtx to rtx_insn *.
(cselib_lookup_from_insn): Likewise for final param.
(cselib_subst_to_values_from_insn): Likewise.
(cselib_add_permanent_equiv): Likewise.
* cselib.c (cselib_current_insn): Likewise for this variable.
(cselib_subst_to_values_from_insn): Likewise for param "insn".
(cselib_lookup_from_insn): Likewise.
(cselib_add_permanent_equiv): Likewise for param "insn" and local
"save_cselib_current_insn".
(cselib_process_insn): Replace use of NULL_RTX with NULL.
* sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
from rtx to rtx_insn *.
From-SVN: r214550
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index 67ce6dac7c3..ecf53e1ad1b 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -46,7 +46,7 @@ struct elt_loc_list { /* An rtl expression that holds the value. */ rtx loc; /* The insn that made the equivalence. */ - rtx setting_insn; + rtx_insn *setting_insn; }; /* Describe a single set that is part of an insn. */ @@ -71,7 +71,7 @@ extern void (*cselib_record_sets_hook) (rtx_insn *insn, struct cselib_set *sets, extern cselib_val *cselib_lookup (rtx, enum machine_mode, int, enum machine_mode); extern cselib_val *cselib_lookup_from_insn (rtx, enum machine_mode, - int, enum machine_mode, rtx); + int, enum machine_mode, rtx_insn *); extern void cselib_init (int); extern void cselib_clear_table (void); extern void cselib_finish (void); @@ -87,7 +87,7 @@ extern rtx cselib_expand_value_rtx_cb (rtx, bitmap, int, extern bool cselib_dummy_expand_value_rtx_cb (rtx, bitmap, int, cselib_expand_callback, void *); extern rtx cselib_subst_to_values (rtx, enum machine_mode); -extern rtx cselib_subst_to_values_from_insn (rtx, enum machine_mode, rtx); +extern rtx cselib_subst_to_values_from_insn (rtx, enum machine_mode, rtx_insn *); extern void cselib_invalidate_rtx (rtx); extern void cselib_reset_table (unsigned int); @@ -96,7 +96,7 @@ extern void cselib_preserve_value (cselib_val *); extern bool cselib_preserved_value_p (cselib_val *); extern void cselib_preserve_only_values (void); extern void cselib_preserve_cfa_base_value (cselib_val *, unsigned int); -extern void cselib_add_permanent_equiv (cselib_val *, rtx, rtx); +extern void cselib_add_permanent_equiv (cselib_val *, rtx, rtx_insn *); extern bool cselib_have_permanent_equivalences (void); extern void cselib_set_value_sp_based (cselib_val *); extern bool cselib_sp_based_value_p (cselib_val *); |