diff options
author | Richard Sandiford <r.sandiford@uk.ibm.com> | 2012-06-06 09:12:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-06-06 09:12:58 +0000 |
commit | c881de027cad019b0c8e556613bec7ac8d492fe0 (patch) | |
tree | ea916a73f9fec97c16c5cf2ff5b2caffd34df151 /gcc/sched-int.h | |
parent | 14ae3cbc62bc39d5a3ff9b3067977d4f99739ed6 (diff) | |
download | gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.zip gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.tar.gz gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.tar.bz2 |
invoke.texi (sched-pressure-algorithm): Document new --param.
gcc/
* doc/invoke.texi (sched-pressure-algorithm): Document new --param.
* common.opt (fsched-pressure-algorithm=): Remove.
* flag-types.h (sched_pressure_algorithm): Move to...
* sched-int.h (sched_pressure_algorithm): ...here.
* params.def (sched-pressure-algorithm): New param.
* haifa-sched.c (sched_init): Use it to initialize sched_pressure.
* common/config/s390/s390-common.c (s390_option_optimization_table):
Remove OPT_fsched_pressure_algorithm_ entry.
* config/s390/s390.c (s390_option_override): Set a default value for
PARAM_SCHED_PRESSURE_ALGORITHM.
From-SVN: r188258
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 06e21ac..fa5fc66 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -37,6 +37,14 @@ along with GCC; see the file COPYING3. If not see enum sched_pass_id_t { SCHED_PASS_UNKNOWN, SCHED_RGN_PASS, SCHED_EBB_PASS, SCHED_SMS_PASS, SCHED_SEL_PASS }; +/* The algorithm used to implement -fsched-pressure. */ +enum sched_pressure_algorithm +{ + SCHED_PRESSURE_NONE, + SCHED_PRESSURE_WEIGHTED, + SCHED_PRESSURE_MODEL +}; + typedef VEC (basic_block, heap) *bb_vec_t; typedef VEC (rtx, heap) *insn_vec_t; typedef VEC (rtx, heap) *rtx_vec_t; |