diff options
author | Bill Schmidt <wschmidt@linux.ibm.com> | 2012-06-26 16:27:50 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2012-06-26 16:27:50 +0000 |
commit | f9453c07d6f320f3c4c32c2d0ae992d2b3536261 (patch) | |
tree | a5e851050aaa607e1d45d0f74177b12f8e52507b /gcc/timevar.def | |
parent | 703ae70c629650dce1ca4a8383fdabbf422973bb (diff) | |
download | gcc-f9453c07d6f320f3c4c32c2d0ae992d2b3536261.zip gcc-f9453c07d6f320f3c4c32c2d0ae992d2b3536261.tar.gz gcc-f9453c07d6f320f3c4c32c2d0ae992d2b3536261.tar.bz2 |
tree-pass.h (pass_strength_reduction): New decl.
gcc:
2012-06-26 Bill Schmidt <wschmidt@linux.ibm.com>
* tree-pass.h (pass_strength_reduction): New decl.
* tree-ssa-loop-ivopts.c (initialize_costs): Make non-static.
(finalize_costs): Likewise.
* timevar.def (TV_TREE_SLSR): New timevar.
* gimple-ssa-strength-reduction.c: New.
* tree-flow.h (initialize_costs): New decl.
(finalize_costs): Likewise.
* Makefile.in (tree-ssa-strength-reduction.o): New dependencies.
* passes.c (init_optimization_passes): Add pass_strength_reduction.
gcc/testsuite:
2012-06-26 Bill Schmidt <wschmidt@linux.ibm.com>
* gcc.dg/tree-ssa/slsr-1.c: New test.
* gcc.dg/tree-ssa/slsr-2.c: Likewise.
* gcc.dg/tree-ssa/slsr-3.c: Likewise.
* gcc.dg/tree-ssa/slsr-4.c: Likewise.
From-SVN: r188989
Diffstat (limited to 'gcc/timevar.def')
-rw-r--r-- | gcc/timevar.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/timevar.def b/gcc/timevar.def index 57d9e3f..18d419d 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -257,6 +257,7 @@ DEFTIMEVAR (TV_TREE_IFCOMBINE , "tree if-combine") DEFTIMEVAR (TV_TREE_UNINIT , "uninit var analysis") DEFTIMEVAR (TV_PLUGIN_INIT , "plugin initialization") DEFTIMEVAR (TV_PLUGIN_RUN , "plugin execution") +DEFTIMEVAR (TV_GIMPLE_SLSR , "straight-line strength reduction") /* Everything else in rest_of_compilation not included above. */ DEFTIMEVAR (TV_EARLY_LOCAL , "early local passes") |