Mercurial > hg > CbC > CbC_gcc
diff gcc/predict.h @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/predict.h Thu Oct 25 08:08:40 2018 +0900 +++ b/gcc/predict.h Thu Oct 25 10:21:07 2018 +0900 @@ -1,5 +1,5 @@ /* Definitions for branch prediction routines in the GNU compiler. - Copyright (C) 2001-2017 Free Software Foundation, Inc. + Copyright (C) 2001-2018 Free Software Foundation, Inc. This file is part of GCC. @@ -31,6 +31,7 @@ #define PROB_ALWAYS (REG_BR_PROB_BASE) #define PROB_UNLIKELY (REG_BR_PROB_BASE / 5 - 1) #define PROB_LIKELY (REG_BR_PROB_BASE - PROB_UNLIKELY) +#define PROB_UNINITIALIZED (-1) #define DEF_PREDICTOR(ENUM, NAME, HITRATE, FLAGS) ENUM, enum br_predictor @@ -89,7 +90,7 @@ extern void tree_guess_outgoing_edge_probabilities (basic_block); extern void tree_estimate_probability (bool); extern void handle_missing_profiles (void); -extern bool counts_to_freqs (void); +extern bool update_max_bb_count (void); extern bool expensive_function_p (int); extern void estimate_bb_frequencies (bool); extern void compute_function_frequency (void);