summaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index dd8eec15a68..35727c06b84 100644
--- a/gcc/loop-init.c
+++ b/gcc/loop-init.c
@@ -77,25 +77,25 @@ loop_optimizer_init (unsigned flags)
/* 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
}
@@ -253,7 +253,7 @@ static unsigned int
rtl_move_loop_invariants (void)
{
if (current_loops)
- move_loop_invariants (current_loops);
+ move_loop_invariants ();
return 0;
}
@@ -286,7 +286,7 @@ static unsigned int
rtl_unswitch (void)
{
if (current_loops)
- unswitch_loops (current_loops);
+ unswitch_loops ();
return 0;
}
@@ -329,7 +329,7 @@ rtl_unroll_and_peel_loops (void)
if (flag_unroll_all_loops)
flags |= UAP_UNROLL_ALL;
- unroll_and_peel_loops (current_loops, flags);
+ unroll_and_peel_loops (flags);
}
return 0;
}
@@ -368,7 +368,7 @@ rtl_doloop (void)
{
#ifdef HAVE_doloop_end
if (current_loops)
- doloop_optimize_loops (current_loops);
+ doloop_optimize_loops ();
#endif
return 0;
}