diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-26 18:03:09 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-26 18:03:09 +0000 |
commit | dd60a84ce04bbd5f33d500135fc9911a26ada6e2 (patch) | |
tree | b8e9f8327c5f67d16c33beca6fd6035b1738de3e /gcc/dse.c | |
parent | 0e0ce50de6b5ca00490a675800c866c24c44e4bb (diff) | |
download | gcc-dd60a84ce04bbd5f33d500135fc9911a26ada6e2.zip gcc-dd60a84ce04bbd5f33d500135fc9911a26ada6e2.tar.gz gcc-dd60a84ce04bbd5f33d500135fc9911a26ada6e2.tar.bz2 |
cselib and incdec
gcc/
* rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
rtx_insn **.
(check_for_inc_dec): Strengthen param "insn" from rtx to
rtx_insn *.
* cselib.h (cselib_process_insn): Likewise.
* cselib.c (cselib_record_sets): Likewise.
(cselib_process_insn): Likewise.
* dse.c (struct insn_info): Likewise for field "insn".
(check_for_inc_dec_1): Likewise for local "insn".
(check_for_inc_dec): Likewise for param "insn".
(scan_insn): Likewise.
(dse_step1): Likewise for local "insn".
* rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
rtx_insn **. Use for_each_rtx_in_insn rather than for_each_rtx.
From-SVN: r214531
Diffstat (limited to 'gcc/dse.c')
-rw-r--r-- | gcc/dse.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -379,7 +379,7 @@ struct insn_info bool contains_cselib_groups; /* The insn. */ - rtx insn; + rtx_insn *insn; /* The list of mem sets or mem clobbers that are contained in this insn. If the insn is deletable, it contains only one mem set. @@ -903,7 +903,7 @@ emit_inc_dec_insn_before (rtx mem ATTRIBUTE_UNUSED, static bool check_for_inc_dec_1 (insn_info_t insn_info) { - rtx insn = insn_info->insn; + rtx_insn *insn = insn_info->insn; rtx note = find_reg_note (insn, REG_INC, NULL_RTX); if (note) return for_each_inc_dec (&insn, emit_inc_dec_insn_before, insn_info) == 0; @@ -916,7 +916,7 @@ check_for_inc_dec_1 (insn_info_t insn_info) and add a parameter to this function so that it can be passed down in insn_info.fixed_regs_live. */ bool -check_for_inc_dec (rtx insn) +check_for_inc_dec (rtx_insn *insn) { struct insn_info insn_info; rtx note; @@ -2442,7 +2442,7 @@ copy_fixed_regs (const_bitmap in) non-register target. */ static void -scan_insn (bb_info_t bb_info, rtx insn) +scan_insn (bb_info_t bb_info, rtx_insn *insn) { rtx body; insn_info_t insn_info = (insn_info_t) pool_alloc (insn_info_pool); @@ -2708,7 +2708,7 @@ dse_step1 (void) if (bb->index >= NUM_FIXED_BLOCKS) { - rtx insn; + rtx_insn *insn; cse_store_info_pool = create_alloc_pool ("cse_store_info_pool", |