\f
/* Initialization of the RTL loop passes. */
-static void
+static unsigned int
rtl_loop_init (void)
{
if (dump_file)
cfg_layout_initialize (0);
current_loops = loop_optimizer_init (LOOPS_NORMAL);
+ return 0;
}
struct tree_opt_pass pass_rtl_loop_init =
\f
/* Finalization of the RTL loop passes. */
-static void
+static unsigned int
rtl_loop_done (void)
{
basic_block bb;
dump_flow_info (dump_file, dump_flags);
current_loops = NULL;
+ return 0;
}
struct tree_opt_pass pass_rtl_loop_done =
return flag_move_loop_invariants;
}
-static void
+static unsigned int
rtl_move_loop_invariants (void)
{
if (current_loops)
move_loop_invariants (current_loops);
+ return 0;
}
struct tree_opt_pass pass_rtl_move_loop_invariants =
return flag_unswitch_loops;
}
-static void
+static unsigned int
rtl_unswitch (void)
{
if (current_loops)
unswitch_loops (current_loops);
+ return 0;
}
struct tree_opt_pass pass_rtl_unswitch =
return (flag_peel_loops || flag_unroll_loops || flag_unroll_all_loops);
}
-static void
+static unsigned int
rtl_unroll_and_peel_loops (void)
{
if (current_loops)
unroll_and_peel_loops (current_loops, flags);
}
+ return 0;
}
struct tree_opt_pass pass_rtl_unroll_and_peel_loops =
#endif
}
-static void
+static unsigned int
rtl_doloop (void)
{
#ifdef HAVE_doloop_end
if (current_loops)
doloop_optimize_loops (current_loops);
#endif
+ return 0;
}
struct tree_opt_pass pass_rtl_doloop =