From 8e88f9fddff4bbcbae3b70fa49d05386a56fdbd1 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Wed, 12 Aug 2009 14:19:33 +0000 Subject: Recompute profile after Graphite. 2009-08-05 Sebastian Pop * Makefile.in (graphite.o): Depends on PREDICT_H. * graphite.c: Include predict.h. (graphite_finalize): Call tree_estimate_probability. * predict.c (predict_loops): Do not call scev_initialize and scev_finalize. (tree_estimate_probability_bb): New. (tree_estimate_probability): Do not initialize loops: move that code to the driver. Call tree_estimate_probability_bb. (tree_estimate_probability_driver): New. (pass_profile): Use tree_estimate_probability_driver. * predict.h (tree_estimate_probability): Declared. From-SVN: r150684 --- gcc/predict.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/predict.h') diff --git a/gcc/predict.h b/gcc/predict.h index e115bb511f8..0e040410768 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -40,5 +40,6 @@ extern int counts_to_freqs (void); extern void estimate_bb_frequencies (void); extern const char *predictor_name (enum br_predictor); extern tree build_predict_expr (enum br_predictor, enum prediction); +extern void tree_estimate_probability (void); #endif /* GCC_PREDICT_H */ -- cgit v1.2.1