comparison gcc/ira.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Communication between the Integrated Register Allocator (IRA) and 1 /* Communication between the Integrated Register Allocator (IRA) and
2 the rest of the compiler. 2 the rest of the compiler.
3 Copyright (C) 2006-2017 Free Software Foundation, Inc. 3 Copyright (C) 2006-2018 Free Software Foundation, Inc.
4 Contributed by Vladimir Makarov <vmakarov@redhat.com>. 4 Contributed by Vladimir Makarov <vmakarov@redhat.com>.
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
198 extern void ira_sort_regnos_for_alter_reg (int *, int, machine_mode *); 198 extern void ira_sort_regnos_for_alter_reg (int *, int, machine_mode *);
199 extern void ira_mark_allocation_change (int); 199 extern void ira_mark_allocation_change (int);
200 extern void ira_mark_memory_move_deletion (int, int); 200 extern void ira_mark_memory_move_deletion (int, int);
201 extern bool ira_reassign_pseudos (int *, int, HARD_REG_SET, HARD_REG_SET *, 201 extern bool ira_reassign_pseudos (int *, int, HARD_REG_SET, HARD_REG_SET *,
202 HARD_REG_SET *, bitmap); 202 HARD_REG_SET *, bitmap);
203 extern rtx ira_reuse_stack_slot (int, unsigned int, unsigned int); 203 extern rtx ira_reuse_stack_slot (int, poly_uint64, poly_uint64);
204 extern void ira_mark_new_stack_slot (rtx, int, unsigned int); 204 extern void ira_mark_new_stack_slot (rtx, int, poly_uint64);
205 extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx_insn *); 205 extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx_insn *);
206 extern bool ira_bad_reload_regno (int, rtx, rtx); 206 extern bool ira_bad_reload_regno (int, rtx, rtx);
207 207
208 extern void ira_adjust_equiv_reg_cost (unsigned, int); 208 extern void ira_adjust_equiv_reg_cost (unsigned, int);
209 209
210 /* ira-costs.c */ 210 /* ira-costs.c */
211 extern void ira_costs_c_finalize (void); 211 extern void ira_costs_c_finalize (void);
212
213 /* ira-lives.c */
214 extern rtx non_conflicting_reg_copy_p (rtx_insn *);
212 215
213 /* Spilling static chain pseudo may result in generation of wrong 216 /* Spilling static chain pseudo may result in generation of wrong
214 non-local goto code using frame-pointer to address saved stack 217 non-local goto code using frame-pointer to address saved stack
215 pointer value after restoring old frame pointer value. The 218 pointer value after restoring old frame pointer value. The
216 function returns TRUE if REGNO is such a static chain pseudo. */ 219 function returns TRUE if REGNO is such a static chain pseudo. */