From acf41a74a832b7225d9e2b60e7294a7c750e9b97 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 12 Apr 2012 12:53:17 +0000 Subject: dbgcnt.def (ira_move): New counter. * 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). From-SVN: r186378 --- gcc/ira-int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/ira-int.h') diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 9faabb5..24976d0 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; -- cgit v1.1