summaryrefslogtreecommitdiff
path: root/gcc/predict.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/predict.def')
-rw-r--r--gcc/predict.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/predict.def b/gcc/predict.def
index ac6777cc16b..cf31442c175 100644
--- a/gcc/predict.def
+++ b/gcc/predict.def
@@ -73,6 +73,10 @@ DEF_PREDICTOR (PRED_CONTINUE, "continue", HITRATE (56), 0)
DEF_PREDICTOR (PRED_NORETURN, "noreturn call", HITRATE (99),
PRED_FLAG_FIRST_MATCH)
+/* Branch to basic block containing call marked by cold function attribute. */
+DEF_PREDICTOR (PRED_COLD_FUNCTION, "cold function call", HITRATE (99),
+ PRED_FLAG_FIRST_MATCH)
+
/* Loopback edge is taken. */
DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop branch", HITRATE (86),
PRED_FLAG_FIRST_MATCH)