From 975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 8 Oct 2012 11:26:16 +0000 Subject: sched-int.h (schedule_block): Adjust declaration. * sched-int.h (schedule_block): Adjust declaration. * sched-rgn.c (bb_state_array, bb_state): New static variables. (sched_rgn_init): Initialize them. (sched_rgn_free): Free them. (schedule_region): Save scheduling state for future blocks, and pass such state to schedule_block. * params.def (PARAM_SCHED_STATE_EDGE_PROB_CUTOFF): New. * doc/invoke.texi (--param): Document it. * haifa-sched.c (schedule_block): New arg init_state. Use it to initialize state if nonnull. All callers changed. Call advance_one_cycle after scheduling. From-SVN: r192203 --- gcc/sched-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/sched-int.h') diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 32bdeb4..d3a15aa 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1321,7 +1321,7 @@ extern int dep_cost (dep_t); extern int set_priorities (rtx, rtx); extern void sched_setup_bb_reg_pressure_info (basic_block, rtx); -extern bool schedule_block (basic_block *); +extern bool schedule_block (basic_block *, state_t); extern int cycle_issued_insns; extern int issue_rate; -- cgit v1.1