From 170065c992d05cab49895c50b90ceacba2f78fdd Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:16:54 +0000 Subject: pass rtx_insn * more in gcse.c gcc/ChangeLog: 2015-05-08 Trevor Saunders * gcse.c: Change argument types to rtx_insn *. From-SVN: r222949 --- gcc/ChangeLog | 4 ++++ gcc/gcse.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a595d23..598510c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-05-08 Trevor Saunders + * gcse.c: Change argument types to rtx_insn *. + +2015-05-08 Trevor Saunders + * cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *. 2015-05-08 Trevor Saunders diff --git a/gcc/gcse.c b/gcc/gcse.c index d9c5106..92c6014 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -493,7 +493,7 @@ static int oprs_available_p (const_rtx, const rtx_insn *); static void insert_expr_in_table (rtx, machine_mode, rtx_insn *, int, int, int, struct gcse_hash_table_d *); static unsigned int hash_expr (const_rtx, machine_mode, int *, int); -static void record_last_reg_set_info (rtx, int); +static void record_last_reg_set_info (rtx_insn *, int); static void record_last_mem_set_info (rtx_insn *); static void record_last_set_info (rtx, const_rtx, void *); static void compute_hash_table (struct gcse_hash_table_d *); @@ -516,7 +516,7 @@ static void pre_insert_copies (void); static int pre_delete (void); static int pre_gcse (struct edge_list *); static int one_pre_gcse_pass (void); -static void add_label_notes (rtx, rtx); +static void add_label_notes (rtx, rtx_insn *); static void alloc_code_hoist_mem (int, int); static void free_code_hoist_mem (void); static void compute_code_hoist_vbeinout (void); @@ -1471,7 +1471,7 @@ dump_hash_table (FILE *file, const char *name, struct gcse_hash_table_d *table) valid, as a quick test to invalidate them. */ static void -record_last_reg_set_info (rtx insn, int regno) +record_last_reg_set_info (rtx_insn *insn, int regno) { struct reg_avail_info *info = ®_avail_info[regno]; int luid = DF_INSN_LUID (insn); @@ -2665,7 +2665,7 @@ one_pre_gcse_pass (void) necessary REG_LABEL_OPERAND and REG_LABEL_TARGET notes. */ static void -add_label_notes (rtx x, rtx insn) +add_label_notes (rtx x, rtx_insn *insn) { enum rtx_code code = GET_CODE (x); int i, j; -- cgit v1.1