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.

From-SVN: r222950
This commit is contained in:
Trevor Saunders 2015-05-09 04:17:00 +00:00 committed by Trevor Saunders
parent 170065c992
commit 8c797f816b
4 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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 *.

View File

@ -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;

View File

@ -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);

View File

@ -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;