diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2012-10-08 11:26:16 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2012-10-08 11:26:16 +0000 |
commit | 975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc (patch) | |
tree | 189eaf3a2d0889ab0f7111d7f11b37bda6412bc9 /gcc/tree-ssa-loop-unswitch.c | |
parent | 1e422ffff35dd27469eec04f5feb2041d95e2f4b (diff) | |
download | gcc-975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc.zip gcc-975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc.tar.gz gcc-975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions