Port IPA CP to edge_clone_summaries.
authorMartin Liska <mliska@suse.cz>
Fri, 8 Jun 2018 12:29:44 +0000 (14:29 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 8 Jun 2018 12:29:44 +0000 (12:29 +0000)
commit1ac2bdb45faaa455afcb3b77eb824dde429c27fb
tree12d191052f225734708dc0a28f04a3863f46dd99
parentdbea5bf947c6e39016869dc382636345c1aa02b7
Port IPA CP to edge_clone_summaries.

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

* ipa-cp.c (class edge_clone_summary): New summary.
(grow_edge_clone_vectors): Remove.
(ipcp_edge_duplication_hook): Remove.
(class edge_clone_summary_t): New call_summary class.
(ipcp_edge_removal_hook): Remove.
(edge_clone_summary_t::duplicate): New function.
(get_next_cgraph_edge_clone): Use edge_clone_summaries.
(create_specialized_node): Likewise.
(ipcp_driver): Initialize edge_clone_summaries and do not
register hooks.

From-SVN: r261317
gcc/ChangeLog
gcc/ipa-cp.c