summaryrefslogtreecommitdiff
path: root/gcc/ira-int.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2012-04-12 12:53:17 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2012-04-12 12:53:17 +0000
commitacf41a74a832b7225d9e2b60e7294a7c750e9b97 (patch)
tree0875d59a520e21ddc21464bbfcc6747bc4161359 /gcc/ira-int.h
parentb9b09214978dd0f5000225f722ca18559c2564c7 (diff)
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
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r--gcc/ira-int.h3
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;