]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ira.c
dbgcnt.def (ira_move): New counter.
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 12 Apr 2012 12:53:17 +0000 (12:53 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 12 Apr 2012 12:53:17 +0000 (12:53 +0000)
commitacf41a74a832b7225d9e2b60e7294a7c750e9b97
tree0875d59a520e21ddc21464bbfcc6747bc4161359
parentb9b09214978dd0f5000225f722ca18559c2564c7
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/ChangeLog
gcc/Makefile.in
gcc/dbgcnt.def
gcc/ira-costs.c
gcc/ira-emit.c
gcc/ira-int.h
gcc/ira.c