Convert IPA CP to symbol_summary.
authorMartin Liska <mliska@suse.cz>
Fri, 8 Jun 2018 12:22:58 +0000 (14:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 8 Jun 2018 12:22:58 +0000 (12:22 +0000)
commit9d3e0adc2a0e657b2aa384f1392dd2fac77a62d4
tree1a46184e2d16f7de6dd7036ef288451962d349bb
parent36330f8203fc19bf11d1e6a21fd0637be1a792d0
Convert IPA CP to symbol_summary.

2018-06-08  Martin Liska  <mliska@suse.cz>

* ipa-cp.c (ipcp_store_bits_results): Use
ipcp_transformation_sum.
(ipcp_store_vr_results): Likewise.
* ipa-prop.c (ipcp_grow_transformations_if_necessary): Renamed
to ...
(ipcp_transformation_initialize): ... this.
(ipa_set_node_agg_value_chain):
(ipa_node_params_t::duplicate): Use ipcp_transformation_sum.
(write_ipcp_transformation_info): Likewise.
(read_ipcp_transformation_info): Likewise.
(ipcp_update_bits): Likewise.
(ipcp_update_vr): Likewise.
(ipcp_transform_function): Likewise.
* ipa-prop.h: Rename ipcp_transformation_summary to
ipcp_transformation.
(class ipcp_transformation_t): New function summary.
(ipcp_get_transformation_summary): Use ipcp_transformation_sum.
(ipa_get_agg_replacements_for_node): Likewise.

From-SVN: r261314
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-prop.c
gcc/ipa-prop.h