diff options
author | Richard Guenther <rguenther@suse.de> | 2009-11-27 12:43:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-11-27 12:43:08 +0000 |
commit | b56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c (patch) | |
tree | da526d98eea90324d9e4b981ceee00d98a877f94 | |
parent | 9c517bf37229ba03a468c26eaca9bb5141d57709 (diff) | |
download | gcc-b56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c.zip gcc-b56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c.tar.gz gcc-b56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c.tar.bz2 |
timevar.def (TV_LOOP_MOVE_INVARIANTS, [...]): New timevars.
2009-11-27 Richard Guenther <rguenther@suse.de>
* timevar.def (TV_LOOP_MOVE_INVARIANTS, TV_LOOP_UNSWITCH,
TV_LOOP_UNROLL, TV_LOOP_DOLOOP): New timevars.
* loop-init.c (pass_rtl_move_loop_invariants): Use
TV_LOOP_MOVE_INVARIANTS.
(pass_rtl_unswitch): Use TV_LOOP_UNSWITCH.
(pass_rtl_unroll_and_peel): Use TV_LOOP_UNROLL.
(pass_rtl_doloop): Use TV_LOOP_DOLOOP.
From-SVN: r154703
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/loop-init.c | 8 | ||||
-rw-r--r-- | gcc/timevar.def | 6 |
3 files changed, 19 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d69e7ee..5117af8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2009-11-27 Richard Guenther <rguenther@suse.de> + + * timevar.def (TV_LOOP_MOVE_INVARIANTS, TV_LOOP_UNSWITCH, + TV_LOOP_UNROLL, TV_LOOP_DOLOOP): New timevars. + * loop-init.c (pass_rtl_move_loop_invariants): Use + TV_LOOP_MOVE_INVARIANTS. + (pass_rtl_unswitch): Use TV_LOOP_UNSWITCH. + (pass_rtl_unroll_and_peel): Use TV_LOOP_UNROLL. + (pass_rtl_doloop): Use TV_LOOP_DOLOOP. + 2009-11-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * emit-rtl.c (next_active_insn, prev_active_insn): Correct diff --git a/gcc/loop-init.c b/gcc/loop-init.c index da01f04..854bb97 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -265,7 +265,7 @@ struct rtl_opt_pass pass_rtl_move_loop_invariants = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - TV_LOOP, /* tv_id */ + TV_LOOP_MOVE_INVARIANTS, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -302,7 +302,7 @@ struct rtl_opt_pass pass_rtl_unswitch = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - TV_LOOP, /* tv_id */ + TV_LOOP_UNSWITCH, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -350,7 +350,7 @@ struct rtl_opt_pass pass_rtl_unroll_and_peel_loops = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - TV_LOOP, /* tv_id */ + TV_LOOP_UNROLL, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -391,7 +391,7 @@ struct rtl_opt_pass pass_rtl_doloop = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - TV_LOOP, /* tv_id */ + TV_LOOP_DOLOOP, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ diff --git a/gcc/timevar.def b/gcc/timevar.def index d885e50..deb853a 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -125,7 +125,7 @@ DEFTIMEVAR (TV_TREE_DSE , "tree DSE") DEFTIMEVAR (TV_TREE_MERGE_PHI , "PHI merge") DEFTIMEVAR (TV_TREE_LOOP , "tree loop optimization") DEFTIMEVAR (TV_TREE_LOOP_BOUNDS , "tree loop bounds") -DEFTIMEVAR (TV_LIM , "loop invariant motion") +DEFTIMEVAR (TV_LIM , "tree loop invariant motion") DEFTIMEVAR (TV_TREE_LOOP_IVCANON , "tree canonical iv") DEFTIMEVAR (TV_SCEV_CONST , "scev constant prop") DEFTIMEVAR (TV_TREE_LOOP_UNSWITCH , "tree loop unswitching") @@ -168,6 +168,10 @@ DEFTIMEVAR (TV_DCE , "dead code elimination") DEFTIMEVAR (TV_DSE1 , "dead store elim1") DEFTIMEVAR (TV_DSE2 , "dead store elim2") DEFTIMEVAR (TV_LOOP , "loop analysis") +DEFTIMEVAR (TV_LOOP_MOVE_INVARIANTS , "loop invariant motion") +DEFTIMEVAR (TV_LOOP_UNSWITCH , "loop unswitching") +DEFTIMEVAR (TV_LOOP_UNROLL , "loop unrolling") +DEFTIMEVAR (TV_LOOP_DOLOOP , "loop doloop") DEFTIMEVAR (TV_CPROP , "CPROP") DEFTIMEVAR (TV_PRE , "PRE") DEFTIMEVAR (TV_HOIST , "code hoisting") |