summaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-11-27 12:43:08 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-11-27 12:43:08 +0000
commitb56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c (patch)
treeda526d98eea90324d9e4b981ceee00d98a877f94 /gcc/loop-init.c
parent9c517bf37229ba03a468c26eaca9bb5141d57709 (diff)
downloadgcc-b56ae8c7c7a09b0dfe04cf1b5d8ef1e96a8e6b0c.tar.gz
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
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index da01f04879e..854bb970879 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 */