/* Create pre-headers. */
if (flags & LOOPS_HAVE_PREHEADERS)
- create_preheaders (current_loops, CP_SIMPLE_PREHEADERS);
+ create_preheaders (CP_SIMPLE_PREHEADERS);
/* Force all latches to have only single successor. */
if (flags & LOOPS_HAVE_SIMPLE_LATCHES)
- force_single_succ_latches (current_loops);
+ force_single_succ_latches ();
/* Mark irreducible loops. */
if (flags & LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS)
- mark_irreducible_loops (current_loops);
+ mark_irreducible_loops ();
if (flags & LOOPS_HAVE_MARKED_SINGLE_EXITS)
- mark_single_exit_loops (current_loops);
+ mark_single_exit_loops ();
/* Dump loops. */
- flow_loops_dump (current_loops, dump_file, NULL, 1);
+ flow_loops_dump (dump_file, NULL, 1);
#ifdef ENABLE_CHECKING
verify_dominators (CDI_DOMINATORS);
- verify_loop_structure (current_loops);
+ verify_loop_structure ();
#endif
}
rtl_move_loop_invariants (void)
{
if (current_loops)
- move_loop_invariants (current_loops);
+ move_loop_invariants ();
return 0;
}
rtl_unswitch (void)
{
if (current_loops)
- unswitch_loops (current_loops);
+ unswitch_loops ();
return 0;
}
if (flag_unroll_all_loops)
flags |= UAP_UNROLL_ALL;
- unroll_and_peel_loops (current_loops, flags);
+ unroll_and_peel_loops (flags);
}
return 0;
}
{
#ifdef HAVE_doloop_end
if (current_loops)
- doloop_optimize_loops (current_loops);
+ doloop_optimize_loops ();
#endif
return 0;
}