diff options
author | Michael Hayes <m.hayes@elec.canterbury.ac.nz> | 1998-11-25 21:19:21 +0000 |
---|---|---|
committer | Michael Hayes <m.hayes@gcc.gnu.org> | 1998-11-25 21:19:21 +0000 |
commit | 302670f3f00ef8b555278b4216e3c1e1544352c2 (patch) | |
tree | bcc06470760eed2be6d81b571ebe62b1538aca25 /gcc/gcc.c | |
parent | a70603680e368c79db0f0b3f7ea2bd792f0d9b6d (diff) | |
download | gcc-302670f3f00ef8b555278b4216e3c1e1544352c2.zip gcc-302670f3f00ef8b555278b4216e3c1e1544352c2.tar.gz gcc-302670f3f00ef8b555278b4216e3c1e1544352c2.tar.bz2 |
loop.h (struct loop_info): Define new structure.
* loop.h (struct loop_info): Define new structure.
(precondition_loop_p): Added prototype.
(unroll_loop): Added new argument loop_info to prototype.
(final_biv_value, final_giv_value): Added new argument n_iterations
to prototype.
* loop.c (strength_reduce): Declare new structure loop_iteration_info
and new pointer loop_info.
(loop_n_iterations): Replace global variable by element in
loop_info structure.
(check_final_value): New argument n_iterations.
(insert_bct): New argument loop_info.
(loop_unroll_factor): Replace global array by element in
loop_info structure.
(loop_optimize): Remove code to allocate and initialise
loop_unroll_factor_array.
* unroll.c (precondition_loop_p): No longer static since
used by branch on count optimization.
(precondition_loop_p, unroll_loop): New argument loop_info.
(final_biv_value, final_giv_value, find_splittable_regs): New
argument n_iterations.
(loop_iteration_var, loop_initial_value, loop_increment,
loop_final_value, loop_comparison_code, loop_unroll_factor):
Replaced global variables by loop_info structure.
(loop_unroll_factor): Replace global array by element in
loop_info structure.
From-SVN: r23884
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions