diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-29 08:40:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-29 08:40:01 +0000 |
commit | 1add270f257ff60ccd170441dc267fbdd2f3ba73 (patch) | |
tree | 42efa153d20247d1235c077d9e83fe93cb6e2be6 /gcc/tree-pass.h | |
parent | eb8b313af81929e569d7729872ebb95db543c480 (diff) | |
download | gcc-1add270f257ff60ccd170441dc267fbdd2f3ba73.tar.gz |
* cp-gimplify.c (cp_gimplify_expr): Add PRED_CONTINUE heuristic.
* tree-pass.h (pass_strip_predict_hints): Declare.
* predict.c (strip_builtin_expect): Rename to ...
(strip_predict_hints): ... this one; strip also GIMPLE_PREDICT.
(tree_bb_level_predictions): Do not remove GIMPLE_PREDICT.
(tree_estimate_probability): Do not strip builtin_expect.
(pass_strip_predict_hints): New pass.
* tree-inline.c (expand_call_inline): When inlining cold function, predict
it as unlikely.
* passes.c (init_optimization_passes): Add pass_strip_predict_hints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139755 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index f4e02e86a5e..c6a97cba730 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -346,6 +346,7 @@ extern struct gimple_opt_pass pass_merge_phi; extern struct gimple_opt_pass pass_split_crit_edges; extern struct gimple_opt_pass pass_pre; extern struct gimple_opt_pass pass_profile; +extern struct gimple_opt_pass pass_strip_predict_hints; extern struct gimple_opt_pass pass_lower_complex_O0; extern struct gimple_opt_pass pass_lower_complex; extern struct gimple_opt_pass pass_lower_vector; |