diff options
author | Jeff Law <law@redhat.com> | 2004-11-25 23:42:25 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2004-11-25 23:42:25 -0700 |
commit | 87c111349fcd0848f506f20fc6d392eca93b8ef5 (patch) | |
tree | 502de20b7b520801f96099b07727eca1844fbfe7 | |
parent | 2557bee03dd73b0c082c798e3266d2bfd0e45455 (diff) | |
download | gcc-87c111349fcd0848f506f20fc6d392eca93b8ef5.zip gcc-87c111349fcd0848f506f20fc6d392eca93b8ef5.tar.gz gcc-87c111349fcd0848f506f20fc6d392eca93b8ef5.tar.bz2 |
timevar.def (TV_TREE_LOOP_INIT, [...]): New timevars.
* timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars.
* tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT.
(pass_loop_done): Use TV_TREE_LOOP_FINI.
From-SVN: r91333
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/timevar.def | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-loop.c | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8ee9d0..4919f1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-25 Jeff Law <law@redhat.com> + + * timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars. + * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT. + (pass_loop_done): Use TV_TREE_LOOP_FINI. + 2004-11-26 Alan Modra <amodra@bigpond.net.au> PR rtl-optimization/16356 diff --git a/gcc/timevar.def b/gcc/timevar.def index 06ca03e..a7f5a3a 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -91,6 +91,8 @@ DEFTIMEVAR (TV_COMPLETE_UNROLL , "complete unrolling") DEFTIMEVAR (TV_TREE_VECTORIZATION , "tree loop vectorization") DEFTIMEVAR (TV_TREE_LINEAR_TRANSFORM , "tree loop linear transforms") DEFTIMEVAR (TV_TREE_LOOP_IVOPTS , "tree iv optimization") +DEFTIMEVAR (TV_TREE_LOOP_INIT , "tree loop init") +DEFTIMEVAR (TV_TREE_LOOP_FINI , "tree loop fini") DEFTIMEVAR (TV_TREE_CH , "tree copy headers") DEFTIMEVAR (TV_TREE_SSA_TO_NORMAL , "tree SSA to normal") DEFTIMEVAR (TV_TREE_NRV , "tree NRV optimization") diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 570dd42..e5ec3f3 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -116,7 +116,7 @@ struct tree_opt_pass pass_loop_init = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - 0, /* tv_id */ + TV_TREE_LOOP_INIT, /* tv_id */ PROP_cfg, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -421,7 +421,7 @@ struct tree_opt_pass pass_loop_done = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - 0, /* tv_id */ + TV_TREE_LOOP_FINI, /* tv_id */ PROP_cfg, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ |