]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
tree-ssa-structalias.c (struct variable_info): Add pointer to the first field of...
authorRichard Biener <rguenther@suse.de>
Wed, 20 Mar 2013 09:06:24 +0000 (09:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Mar 2013 09:06:24 +0000 (09:06 +0000)
commitd6d305febc69430ee94dd7eb4c492c7b013232e1
tree8c4a1129d685ab05b135c1cdc73c1e85e637e608
parenta271b42dfb37eba7e6e4c567496d5b58d9f2e012
tree-ssa-structalias.c (struct variable_info): Add pointer to the first field of an aggregate with sub-vars.

2013-03-20  Richard Biener  <rguenther@suse.de>

* tree-ssa-structalias.c (struct variable_info): Add pointer
to the first field of an aggregate with sub-vars.  Make
this and the pointer to the next subfield its ID.
(vi_next): New function.
(nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id,
storedanything_id, integer_id): Increment by one.
(new_var_info, get_call_vi, lookup_call_clobber_vi,
get_call_clobber_vi): Adjust.
(solution_set_expand): Simplify and speedup.
(solution_set_add): Inline into ...
(set_union_with_increment): ... this.  Adjust accordingly.
(do_sd_constraint): Likewise.
(do_ds_constraint): Likewise.
(do_complex_constraint): Simplify.
(build_pred_graph): Adjust.
(solve_graph): Likewise.  Simplify and speedup.
(get_constraint_for_ssa_var, get_constraint_for_ptr_offset,
get_constraint_for_component_ref, get_constraint_for_1,
first_vi_for_offset, first_or_preceding_vi_for_offset,
create_function_info_for, create_variable_info_for_1,
create_variable_info_for, intra_create_variable_infos): Adjust.
(init_base_vars): Push NULL for ID zero.
(compute_points_to_sets): Adjust.

From-SVN: r196812
gcc/ChangeLog
gcc/tree-ssa-structalias.c