summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-09 04:17:00 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-09 04:17:00 +0000
commit50b1b17855871b00b82635eae1752fb0af89e0fc (patch)
treec8563f2b5ba1bcf2bafcdf3c70936c691962080f
parent84b4ae1388225ab7923979b8802441e281f0c2ad (diff)
downloadgcc-50b1b17855871b00b82635eae1752fb0af89e0fc.tar.gz
change more argument types to rtx_insn *
gcc/ChangeLog: 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * ira-color.c: Change argument types to rtx_insn *. * lra-eliminations.c: Likewise. * ira.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222950 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ira-color.c4
-rw-r--r--gcc/ira.h2
-rw-r--r--gcc/lra-eliminations.c2
4 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 598510c7d30..efe4ca051f4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * ira-color.c: Change argument types to rtx_insn *.
+ * lra-eliminations.c: Likewise.
+ * ira.h: Adjust.
+
+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>
diff --git a/gcc/ira-color.c b/gcc/ira-color.c
index 0ed9eddfd90..3faa7242372 100644
--- a/gcc/ira-color.c
+++ b/gcc/ira-color.c
@@ -4600,7 +4600,7 @@ ira_mark_new_stack_slot (rtx x, int regno, unsigned int total_size)
CALL_USED_COUNT), and the first hard regno occupied by the
pseudo-registers (through FIRST_HARD_REGNO). */
static int
-calculate_spill_cost (int *regnos, rtx in, rtx out, rtx insn,
+calculate_spill_cost (int *regnos, rtx in, rtx out, rtx_insn *insn,
int *excess_pressure_live_length,
int *nrefs, int *call_used_count, int *first_hard_regno)
{
@@ -4661,7 +4661,7 @@ calculate_spill_cost (int *regnos, rtx in, rtx out, rtx insn,
decisions. */
bool
ira_better_spill_reload_regno_p (int *regnos, int *other_regnos,
- rtx in, rtx out, rtx insn)
+ rtx in, rtx out, rtx_insn *insn)
{
int cost, other_cost;
int length, other_length;
diff --git a/gcc/ira.h b/gcc/ira.h
index 19797809292..5b52cb1980c 100644
--- a/gcc/ira.h
+++ b/gcc/ira.h
@@ -201,7 +201,7 @@ extern bool ira_reassign_pseudos (int *, int, HARD_REG_SET, HARD_REG_SET *,
HARD_REG_SET *, bitmap);
extern rtx ira_reuse_stack_slot (int, unsigned int, unsigned int);
extern void ira_mark_new_stack_slot (rtx, int, unsigned int);
-extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx);
+extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx_insn *);
extern bool ira_bad_reload_regno (int, rtx, rtx);
extern void ira_adjust_equiv_reg_cost (unsigned, int);
diff --git a/gcc/lra-eliminations.c b/gcc/lra-eliminations.c
index acf8c8adc11..4e5ba22e49f 100644
--- a/gcc/lra-eliminations.c
+++ b/gcc/lra-eliminations.c
@@ -873,7 +873,7 @@ mark_not_eliminable (rtx x, machine_mode mem_mode)
found elmination offset. If the note is not found, return NULL.
Remove the found note. */
static rtx
-remove_reg_equal_offset_note (rtx insn, rtx what)
+remove_reg_equal_offset_note (rtx_insn *insn, rtx what)
{
rtx link, *link_loc;