cgraph.h (cgraph_node): Add predicate prevailing_p.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 15 Dec 2018 21:24:52 +0000 (22:24 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 15 Dec 2018 21:24:52 +0000 (21:24 +0000)
commitf714ecf522782f76d7d9d9826fe1bcd23259cf24
treecad3aa0fcf39b65a7a9442f8e128039691dc8f65
parent6263c29d28abb099cb835ca373aa234ef36df6a2
cgraph.h (cgraph_node): Add predicate prevailing_p.

* cgraph.h (cgraph_node): Add predicate prevailing_p.
(cgraph_edge): Add predicate possible_call_in_translation_unit_p.
* ipa-prop.c (ipa_write_jump_function): Optimize streaming of ADDR_EXPR.
(ipa_read_jump_function): Add prevails parameter; optimize streaming.
(ipa_read_edge_info): Break out from ...
(ipa_read_node_info): ... here; optimize streaming.
* cgraph.c (cgraph_edge::possibly_call_in_translation_unit_p): New
predicate.

From-SVN: r267175
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-prop.c