aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2008-08-21 14:39:35 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2008-08-21 12:39:35 +0000
commit812dbce5c7f49c637ceb72229a6341ba97989ca9 (patch)
tree1e0757ed3e2361b67a6c5193b290e905111f925c /gcc/tree-pass.h
parent0ac7d78a68d44f35a8a8ffae506a87a9cfab3022 (diff)
downloadgcc-812dbce5c7f49c637ceb72229a6341ba97989ca9.zip
gcc-812dbce5c7f49c637ceb72229a6341ba97989ca9.tar.gz
gcc-812dbce5c7f49c637ceb72229a6341ba97989ca9.tar.bz2
Backport from LTO branch:
2008-05-05 Kenneth Zadeck <zadeck@naturalbridge.com> Jan Hubicka <jh@suse.cz> * ipa-pure-const.c (init_state, finish_state, set_function_state, generate_summary): New functions. (scan_stmt): Renamed from scan_function. Changed to keep state in local static vars rather than cgraph aux field. (propagate): Renamed from static_execute. Changed to keep state in local static vars rather than cgraph aux field. (pass_ipa_pure_const): Changed from SIMPLE_IPA_PASS to IPA_PASS. * tree-pass.h (pass_ipa_pure_const): Turn into IPA_PASS. 2008-07-15 Kenneth Zadeck <zadeck@naturalbridge.com> * tree-pass.h (pass_ipa_reference): Make into ipa_opt_pass. * ipa-reference.c (init_function_info, generate_summary, propagate): New functions. (analyze_function): Call init_function_info. (static_execute): Stripped into generate_summary and propagate. (pass_ipa_reference): Made into ipa_opt_pass. From-SVN: r139378
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index ea7e343..b7cd0ee 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -390,12 +390,12 @@ extern struct gimple_opt_pass pass_reset_cc_flags;
/* IPA Passes */
extern struct ipa_opt_pass pass_ipa_inline;
-extern struct simple_ipa_opt_pass pass_ipa_reference;
+extern struct ipa_opt_pass pass_ipa_reference;
+extern struct ipa_opt_pass pass_ipa_pure_const;
extern struct simple_ipa_opt_pass pass_ipa_matrix_reorg;
extern struct simple_ipa_opt_pass pass_ipa_cp;
extern struct simple_ipa_opt_pass pass_ipa_early_inline;
-extern struct simple_ipa_opt_pass pass_ipa_pure_const;
extern struct simple_ipa_opt_pass pass_ipa_type_escape;
extern struct simple_ipa_opt_pass pass_ipa_pta;
extern struct simple_ipa_opt_pass pass_ipa_struct_reorg;