diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-12 12:53:17 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-12 12:53:17 +0000 |
commit | fe9cf48d65501198b2656d4501945448536781fc (patch) | |
tree | 0875d59a520e21ddc21464bbfcc6747bc4161359 /gcc/ira-int.h | |
parent | 1bbff52e3f2ab27df2701942b7c88e635d91840b (diff) | |
download | gcc-fe9cf48d65501198b2656d4501945448536781fc.tar.gz |
* dbgcnt.def (ira_move): New counter.
* ira-int.h (ira_create_new_reg): Declare function.
(first_moveable_pseudo, last_moveable_pseudo): Declare variables.
* ira-emit.c (ira_create_new_reg): Renamed from craete_new_reg and
no longer static. All callers changed.
* ira.c: Include "dbgcnt.h".
(rtx_moveable_p, insn_dominated_by_p, find_moveable_pseudos,
move_unallocated_pseudos): New static functions.
(first_moveable_pseudo, last_moveable_pseudo): New global variables.
(pseudo_replaced_reg, pseudo_move_insn): New static variables.
(ira): Call find_moveable_pseudos and move_unallocated_pseudos.
* ira-costs.c (find_costs_and_classes): Assign a memory cost of zero
to the pseudos generated in find_moveable_pseudos.
* Makefile.in (ira.o): Add $(DBGCNT_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186378 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r-- | gcc/ira-int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 9faabb5d703..24976d0418c 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -1416,3 +1416,6 @@ ira_allocate_and_set_or_copy_costs (int **vec, enum reg_class aclass, reg_costs[i] = val; } } + +extern rtx ira_create_new_reg (rtx); +extern int first_moveable_pseudo, last_moveable_pseudo; |