aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2010-11-17 15:18:08 +0000
committerMichael Matz <matz@gcc.gnu.org>2010-11-17 15:18:08 +0000
commita222c01a3c1303a06effdaae303394edcebf6c7b (patch)
tree49837c266bb5a0b2d50b1b7cd8b7dc8ad0f0fb92 /gcc/predict.c
parentb37421c62a163edcc389bb32df13b7589cfe5715 (diff)
downloadgcc-a222c01a3c1303a06effdaae303394edcebf6c7b.zip
gcc-a222c01a3c1303a06effdaae303394edcebf6c7b.tar.gz
gcc-a222c01a3c1303a06effdaae303394edcebf6c7b.tar.bz2
timevar.def (TV_IPA_OPT, [...]): New.
* timevar.def (TV_IPA_OPT, TV_EARLY_LOCAL, TV_OPTIMIZE, TV_POSTRELOAD, TV_REMOVE_UNUSED, TV_ADDRESS_TAKEN, TV_TODO, TV_VERIFY_LOOP_CLOSED, TV_VERIFY_RTL_SHARING, TV_REBUILD_FREQUENCIES, TV_REPAIR_LOOPS): New. * tree-into-ssa.c (rewrite_into_ssa): Don't push/pop timevar here ... (pass_build_ssa): ... but here. * cgraphbuild.c (pass_rebuild_cgraph): Use timevar. * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Use timevar. * tree-emutls.c (pass_ipa_lower_emutls): Ditto. * df-core.c (pass_df_initialize_opt, pass_df_initialize_no_opt): Ditto. * predict.c (rebuild_frequencies): Ditto. * tree-vectorizer.c (pass_ipa_increase_alignment): Ditto. * emit-rtl.c (verify_rtl_sharing): Ditto. * tree-cfgcleanup.c (repair_loop_structures): Ditto. * tree-ssa-live.c (remove_unused_locals): Ditto. * cfglayout.c (pass_into_cfg_layout, pass_outof_cfg_layout): Ditto. * tree-ssa.c (pass_early_warn_uninitialized, execute_update_addresses_taken, pass_update_address_taken): Ditto. * tree-optimize.c (pass_all_optimizations, pass_early_local_passes, pass_cleanup_cfg_post_optimizing, tree_rest_of_compilation): Ditto. * passes.c (pass_postreload, execute_todo): Ditto. * tree-ssanames.c (pass_release_ssa_names): Ditto. From-SVN: r166869
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index beceb0f2..5fcfc1e 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -2329,6 +2329,7 @@ struct gimple_opt_pass pass_strip_predict_hints =
void
rebuild_frequencies (void)
{
+ timevar_push (TV_REBUILD_FREQUENCIES);
if (profile_status == PROFILE_GUESSED)
{
loop_optimizer_init (0);
@@ -2343,4 +2344,5 @@ rebuild_frequencies (void)
counts_to_freqs ();
else
gcc_unreachable ();
+ timevar_pop (TV_REBUILD_FREQUENCIES);
}