aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-01-10 15:33:04 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2011-01-10 14:33:04 +0000
commitcf9712ccc092e054e2a48d78c275b709700a0032 (patch)
treebbc73f1eb46e75ef826904a55147a08ff0e52674 /gcc/tree-pass.h
parent94cd932caeac5f720dd5a5f78583a5eaea456c6c (diff)
downloadgcc-cf9712ccc092e054e2a48d78c275b709700a0032.zip
gcc-cf9712ccc092e054e2a48d78c275b709700a0032.tar.gz
gcc-cf9712ccc092e054e2a48d78c275b709700a0032.tar.bz2
re PR tree-optimization/47234 (ipa-split is executed before profile feedback is read)
PR tree-optimization/47234 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. (pass_feedback_split_functions): Declare. * passes.c (init_optimization_passes): Add ipa-split as subpass of tree-profile. * ipa-split.c (gate_split_functions): Update comments; disable split-functions for profile_arc_flag and branch_probabilities. (gate_feedback_split_functions): New function. (execute_feedback_split_functions): New function. (pass_feedback_split_functions): New global var. From-SVN: r168632
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index a87a770..32d8f40 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -312,6 +312,9 @@ struct dump_file_info
/* Rebuild the addressable-vars bitmap and do register promotion. */
#define TODO_update_address_taken (1 << 21)
+/* Rebuild the callgraph edges. */
+#define TODO_rebuild_cgraph_edges (1 << 22)
+
/* Internally used in execute_function_todo(). */
#define TODO_update_ssa_any \
(TODO_update_ssa \
@@ -442,6 +445,7 @@ extern struct gimple_opt_pass pass_local_pure_const;
extern struct gimple_opt_pass pass_tracer;
extern struct gimple_opt_pass pass_warn_unused_result;
extern struct gimple_opt_pass pass_split_functions;
+extern struct gimple_opt_pass pass_feedback_split_functions;
/* IPA Passes */
extern struct simple_ipa_opt_pass pass_ipa_lower_emutls;