]> gcc.gnu.org Git - gcc.git/commit
tree-loop-linear.c (gather_interchange_stats, [...]): Use loop_depth and loop_outer...
authorZdenek Dvorak <dvorakz@suse.cz>
Fri, 11 May 2007 15:52:01 +0000 (17:52 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Fri, 11 May 2007 15:52:01 +0000 (15:52 +0000)
commit9ba025a2c1ba2d4c6529d16b26218a1c52866b72
tree94649f85c3e7ccd857de92cda5f4eabf23d7ec05
parent7be82279042841a50c9a3464fce35c471fa07f1c
tree-loop-linear.c (gather_interchange_stats, [...]): Use loop_depth and loop_outer accessor functions.

* tree-loop-linear.c (gather_interchange_stats, try_interchange_loops):
Use loop_depth and loop_outer accessor functions.
* tree-ssa-loop-im.c (outermost_invariant_loop, set_level,
determine_invariantness_stmt, move_computations_stmt): Ditto.
* cfgloopmanip.c (fix_bb_placement, fix_loop_placement, remove_path,
add_loop, loopify, unloop, fix_loop_structure): Ditto.
* tree-ssa-loop-manip.c (find_uses_to_rename_use): Ditto.
* tree-scalar-evolution.c (interpret_loop_phi,
compute_scalar_evolution_in_loop, analyze_scalar_evolution_in_loop,
instantiate_parameters_1, scev_const_prop): Ditto.
* cfghooks.c (make_forwarder_block): Ditto.
* cfgloopanal.c (mark_irreducible_loops, mark_loop_exit_edges): Ditto.
* modulo-sched.c (loop_canon_p): Ditto.
* tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg,
slpeel_can_duplicate_loop_p): Ditto.
* lambda-code.c (invariant_in_loop_and_outer_loops): Ditto.
* tree-cfg.c (tree_duplicate_sese_region): Ditto.
* cfgloop.c (flow_loop_dump, flow_loop_nodes_find, rescan_loop_exit,
cancel_loop, verify_loop_structure): Ditto.
(flow_loop_nested_p, superloop_at_depth, flow_loop_free,
add_bb_to_loop, remove_bb_from_loops, find_common_loop): Use the
superloops vector instead of "pred" array.
(establish_preds): Take father loop as an argument.  Initialize the
superloops vector.
(flow_loop_tree_node_add): Pass father loop to establish_preds.  Do not
initialize loop->outer.
(flow_loop_tree_node_remove): Truncate the superloops vector.
* cfgloop.h (struct loop): Removed field "outer", fields "depth" and
"pred" merged to "superloops" vector.
(loop_depth, loop_outer): New.
(fel_init): Use loop_outer.

From-SVN: r124619
14 files changed:
gcc/ChangeLog
gcc/cfghooks.c
gcc/cfgloop.c
gcc/cfgloop.h
gcc/cfgloopanal.c
gcc/cfgloopmanip.c
gcc/lambda-code.c
gcc/modulo-sched.c
gcc/tree-cfg.c
gcc/tree-loop-linear.c
gcc/tree-scalar-evolution.c
gcc/tree-ssa-loop-im.c
gcc/tree-ssa-loop-manip.c
gcc/tree-vectorizer.c
This page took 0.060396 seconds and 5 git commands to generate.