diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2006-12-04 14:26:37 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2006-12-04 14:26:37 +0000 |
commit | 32ace6e2a6f1d2b9307df202722cc092d4ce513d (patch) | |
tree | 1ac424d69eb81d98ca1dcefd9fc5e39a0fef503e /gcc/tree-ssa-alias.c | |
parent | b9ca581120190433a1f155654ecce71c3e50dc3e (diff) | |
download | gcc-32ace6e2a6f1d2b9307df202722cc092d4ce513d.zip gcc-32ace6e2a6f1d2b9307df202722cc092d4ce513d.tar.gz gcc-32ace6e2a6f1d2b9307df202722cc092d4ce513d.tar.bz2 |
Switch live on entry to a per block basis from per variable.
* tree-outof-ssa.c (coalesce_ssa_name): Use calculate_live_ranges.
* tree-ssa-live.c (new_tree_live_info, delete_tree_live_info): Update.
(add_livein_if_notdef): Delete.
(loe_visit_block): New. Propogate live on entry info for a block into
each predecessor. If it changes, make sure it is visited again.
(live_worklist): Visit every block and update the live on entry info
for preds. Iterate over any that changed.
(set_var_live_on_entry): Populate the live on entry blocks with bits
based on the immediate uses of a var.
(calculate_live_on_entry): Remove.
(calculate_live_on_exit): Calculate live on exit based on the newly
oriented live on entry bits.
(calculate_live_ranges): Build live on entry and exit vectors.
(dump_live_info): Use new orientation of live on entry bitmaps.
(verify_live_on_entry): New. Split out verification code from old
calculate_live_on_entry routine.
* tree-ssa-live.h (struct tree_live_info_d): Add Working stack.
(live_entry_blocks): Rename to live_on_entry and return bitmap for a
basic_block instead of for a partition.
(live_merge_and_clear): Add asserts.
(make_live_on_entry): Set partition bit in basic block vector.
From-SVN: r119495
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions