]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pass rtx_insn * more in gcse.c
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Sat, 9 May 2015 04:16:54 +0000 (04:16 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Sat, 9 May 2015 04:16:54 +0000 (04:16 +0000)
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* gcse.c: Change argument types to rtx_insn *.

From-SVN: r222949

gcc/ChangeLog
gcc/gcse.c

index a595d23798d0df28ebc072d8ae69913b7100d93f..598510c7d30c872616825381be6b85173dca9282 100644 (file)
@@ -1,3 +1,7 @@
+2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * gcse.c: Change argument types to rtx_insn *.
+
 2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *.
index d9c5106fb606dff9afcf042843b5f1de89c66bb9..92c60140607971d1083a78f2e71b5f87ec65bc59 100644 (file)
@@ -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 = &reg_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;