aboutsummaryrefslogtreecommitdiff
path: root/gcc/ira.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-12-21 07:01:23 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-12-21 07:01:23 +0000
commit80ce7eb44961b50d92b5481b26ce20a50567baae (patch)
treefcde5a366d334d375f7bb38f79072d075184ebfb /gcc/ira.h
parent31ae0e43aac40d1c45d00be9cda260c30d87d154 (diff)
downloadgcc-80ce7eb44961b50d92b5481b26ce20a50567baae.zip
gcc-80ce7eb44961b50d92b5481b26ce20a50567baae.tar.gz
gcc-80ce7eb44961b50d92b5481b26ce20a50567baae.tar.bz2
poly_int: reload<->ira interface
This patch uses poly_int64 for: - ira_reuse_stack_slot - ira_mark_new_stack_slot - ira_spilled_reg_stack_slot::width all of which are part of the IRA/reload interface. 2017-12-21 Richard Sandiford <richard.sandiford@linaro.org> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> gcc/ * ira-int.h (ira_spilled_reg_stack_slot::width): Change from an unsigned int to a poly_uint64. * ira.h (ira_reuse_stack_slot, ira_mark_new_stack_slot): Take the sizes as poly_uint64s rather than unsigned ints. * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Likewise. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r255924
Diffstat (limited to 'gcc/ira.h')
-rw-r--r--gcc/ira.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ira.h b/gcc/ira.h
index fba2ca5..d0c8c6e 100644
--- a/gcc/ira.h
+++ b/gcc/ira.h
@@ -200,8 +200,8 @@ extern void ira_mark_allocation_change (int);
extern void ira_mark_memory_move_deletion (int, int);
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 rtx ira_reuse_stack_slot (int, poly_uint64, poly_uint64);
+extern void ira_mark_new_stack_slot (rtx, int, poly_uint64);
extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx_insn *);
extern bool ira_bad_reload_regno (int, rtx, rtx);