diff options
author | Jan Hubicka <jh@suse.cz> | 2011-01-10 14:33:04 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2011-01-10 14:33:04 +0000 |
commit | f4a31be58750cc1f16534de408b8990b6eeb2163 (patch) | |
tree | bbc73f1eb46e75ef826904a55147a08ff0e52674 /gcc/tree-pass.h | |
parent | 985853216a98828d9660ee325c3c183e611076eb (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@168632 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index a87a7706f77..32d8f40470c 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; |