summaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-09 18:15:22 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-09 18:15:22 +0000
commit4db82bc99870e5503860c49ac55ffbd8a3fdcf52 (patch)
tree3cb914bdfcf5212d19e7a8855b5c111e763388ba /gcc/sched-int.h
parent30b38676a534b789072b190f016b941cb2d95be4 (diff)
downloadgcc-4db82bc99870e5503860c49ac55ffbd8a3fdcf52.tar.gz
* haifa-sched.c (insn_finishes_cycle_p): New static function.
(max_issue): Use it. * sched-int.h (struct sched_info: insn_finishes_block_p): New scheduler hook. * sched-rgn.c (rgn_insn_finishes_block_p): Implement it. (region_sched_info): Update. * sched-ebb.c (ebb_sched_info): Update. * modulo-sched.c (sms_sched_info): Update. * sel-sched-ir.c (sched_sel_haifa_sched_info): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149427 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 1b6a0345a01..aa5007ba863 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -570,6 +570,10 @@ struct haifa_sched_info
calculations. */
int (*contributes_to_priority) (rtx, rtx);
+ /* Return true if scheduling insn (passed as the parameter) will trigger
+ finish of scheduling current block. */
+ bool (*insn_finishes_block_p) (rtx);
+
/* The boundaries of the set of insns to be scheduled. */
rtx prev_head, next_tail;