tree-ssa-pre.c (bb_value_sets): phi_gen, tmp_gen, new_sets now are bitmap_set_t's.
authorDaniel Berlin <dberlin@dberlin.org>
Sun, 4 Jul 2004 22:51:36 +0000 (22:51 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Sun, 4 Jul 2004 22:51:36 +0000 (22:51 +0000)
commit6b416da11ecf7983345807d680f9ce6f0a8eafd0
tree87cc6364fff2bda825a729af05994685335fd224
parentb8ff6ca0621e015eadc50c6d5212be6c67530035
tree-ssa-pre.c (bb_value_sets): phi_gen, tmp_gen, new_sets now are bitmap_set_t's.

2004-07-04  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-pre.c (bb_value_sets): phi_gen, tmp_gen, new_sets
now are bitmap_set_t's.
(bitmap_insert_into_set): No point in inserting the value if
it's invariant.
(bitmap_set_contains): New function.
(bitmap_set_replace_value): Add comment on why we do it
this way.
(set_contains): Removed.
(bitmap_set_subtract_from_value_set): New name of
set_subtract now that it's arguments are two different
types of sets.
Update callers.
(bitmap_find_leader): Change algorithm used.
(find_or_generate_expression): Update use of functions for new
bitmap sets.
(create_expression_by_pieces): Ditto.
(insert_aux): Ditto.
(insert): Ditto.
(add_to_sets): Ditto.
(init_pre): Ditto.
(execute_pre): Ditto.
(compute_avail): Ditto.
Also ignore virtual phis.

From-SVN: r84099
gcc/ChangeLog
gcc/tree-ssa-pre.c