Import gcc-4.4.1
[dragonfly.git] / contrib / gcc-4.4 / gcc / ira.h
blob0d7bcb87bea7d515c6b86573805e2d717ee8d326
1 /* Communication between the Integrated Register Allocator (IRA) and
2 the rest of the compiler.
3 Copyright (C) 2006, 2007, 2008, 2009
4 Free Software Foundation, Inc.
5 Contributed by Vladimir Makarov <vmakarov@redhat.com>.
7 This file is part of GCC.
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 3, or (at your option) any later
12 version.
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 for more details.
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING3. If not see
21 <http://www.gnu.org/licenses/>. */
23 /* True if we have allocno conflicts. It is false for non-optimized
24 mode or when the conflict table is too big. */
25 extern bool ira_conflicts_p;
27 extern void ira_init_once (void);
28 extern void ira_init (void);
29 extern void ira_finish_once (void);
30 extern rtx ira_eliminate_regs (rtx, enum machine_mode);
32 extern void ira_sort_regnos_for_alter_reg (int *, int, unsigned int *);
33 extern void ira_mark_allocation_change (int);
34 extern void ira_mark_memory_move_deletion (int, int);
35 extern bool ira_reassign_pseudos (int *, int, HARD_REG_SET, HARD_REG_SET *,
36 HARD_REG_SET *, bitmap);
37 extern rtx ira_reuse_stack_slot (int, unsigned int, unsigned int);
38 extern void ira_mark_new_stack_slot (rtx, int, unsigned int);
39 extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx);