2006-10-10 Andrew MacLeod <amacleod@redhat.com>heads/out-of-ssa-the-sequel
commit5a46873905646eb4c2a7c60be8c2efd51b5367c8
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Oct 2006 14:57:08 +0000 (10 14:57 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Oct 2006 14:57:08 +0000 (10 14:57 +0000)
treeb25c2162bf68f9ec193d976a039a95a611311039
parent945c5a6573aef12d8e5b307f9f4289b91e098c5e
2006-10-10  Andrew MacLeod  <amacleod@redhat.com>

* tree-flow-inline.h (single_imm_use_p): New.  Check for single use.
* tree-ssa-coalesce.c (struct cost_one_pair_d): New.  Linked list pair.
(struct coalesce_list_d): Add list of "cost one" coalesces.
(pop_cost_one_pair): New.  Get a pair from the cost_one list.
(pop_best_coalesce): Get cost_one pair when coalesce table is empty.
(create_coalesce_list, delete_coalesce_list): Handle cost_one list.
(add_cost_one_coalesce): New.  Add a pair to the cost_one list.
(create_outofssa_var_map): Call add_cost_one_coalesce.
(coalesce_partitions): Initialize variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/out-of-ssa-the-sequel@117603 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-flow-inline.h
gcc/tree-ssa-coalesce.c