summaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-06 09:12:58 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-06 09:12:58 +0000
commitd86dbf92c0593eccf3212b635c940a401d11d73e (patch)
treeea916a73f9fec97c16c5cf2ff5b2caffd34df151 /gcc/sched-int.h
parent9690a00dd215dcbb827fd02dd824daefafb51b8f (diff)
downloadgcc-d86dbf92c0593eccf3212b635c940a401d11d73e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188258 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 06e21ace698..fa5fc664311 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;