aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-09-07 13:28:35 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2007-09-07 11:28:35 +0000
commit201b2eadc44a3217be14bed57b979dc4b01a5990 (patch)
treea9b189174aab2e413f3eb87f3545535fef231f0c /gcc/tree-pass.h
parentf85138bc84767bdbf1e405461578432629df11a7 (diff)
downloadgcc-201b2eadc44a3217be14bed57b979dc4b01a5990.zip
gcc-201b2eadc44a3217be14bed57b979dc4b01a5990.tar.gz
gcc-201b2eadc44a3217be14bed57b979dc4b01a5990.tar.bz2
passes.c (init_optimization_passes): Add simple dce and addressable passes.
* passes.c (init_optimization_passes): Add simple dce and addressable passes. * tree-ssa.c (execute_update_addresses_taken): New function. (pass_update_address_taken): New. * tree-ssa-dse.c (execute_simple_dse): New function. (pass_simple_dse): New. * tree-pass.h (pass_simple_dse, pass_update_address_taken): Declare. From-SVN: r128239
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index a7de717..19bda7c 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -306,6 +306,7 @@ extern struct tree_opt_pass pass_forwprop;
extern struct tree_opt_pass pass_phiprop;
extern struct tree_opt_pass pass_tree_ifcombine;
extern struct tree_opt_pass pass_dse;
+extern struct tree_opt_pass pass_simple_dse;
extern struct tree_opt_pass pass_nrv;
extern struct tree_opt_pass pass_mark_used_blocks;
extern struct tree_opt_pass pass_rename_ssa_copies;
@@ -445,6 +446,7 @@ extern struct tree_opt_pass pass_early_inline;
extern struct tree_opt_pass pass_inline_parameters;
extern struct tree_opt_pass pass_apply_inline;
extern struct tree_opt_pass pass_all_early_optimizations;
+extern struct tree_opt_pass pass_update_address_taken;
/* The root of the compilation pass tree, once constructed. */
extern struct tree_opt_pass *all_passes, *all_ipa_passes, *all_lowering_passes;