diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-03-01 17:59:06 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-03-01 17:59:06 +0000 |
commit | fa55525216546e41650f27058aecb62a2456613a (patch) | |
tree | 126cecfe4e30597e3e21ba835c4893c2e3f19195 /gcc/tree-pass.h | |
parent | 7cea62b4f5bef517d8d5aab0a2afdba000810693 (diff) | |
download | gcc-fa55525216546e41650f27058aecb62a2456613a.zip gcc-fa55525216546e41650f27058aecb62a2456613a.tar.gz gcc-fa55525216546e41650f27058aecb62a2456613a.tar.bz2 |
Makefile.in (tree-ssa-sink.o): New.
2005-03-01 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in (tree-ssa-sink.o): New.
(OBJS-common): Add tree-ssa-sink.o.
* common.opt: Add -ftree-sink
* opts.c (decode_options): flag_tree_sink is set at O1 or higher.
* timevar.def (TV_TREE_SINK): new timevar.
* tree-flow.h (is_hidden_global_store): Prototype.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_sink_code.
* tree-pass.h (pass_sink_code): New.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking
for non-obvious global store store to is_hidden_global_store, and
call that new function.
* tree-ssa-sink.c: New file.
* doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink.
* doc/passes.texi: Document forward store motion.
* testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test
From-SVN: r95750
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index bf81809..30c7dd2 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -164,6 +164,7 @@ extern struct tree_opt_pass pass_mark_used_blocks; extern struct tree_opt_pass pass_rename_ssa_copies; extern struct tree_opt_pass pass_expand; extern struct tree_opt_pass pass_rest_of_compilation; +extern struct tree_opt_pass pass_sink_code; extern struct tree_opt_pass pass_fre; extern struct tree_opt_pass pass_linear_transform; |