ipa-reference.h (ipa_reference_var_uid): Move offline.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 23 Oct 2019 18:18:31 +0000 (20:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 23 Oct 2019 18:18:31 +0000 (18:18 +0000)
commitb5b6485f1cc54f21713b5b03c5d63d56839ca458
tree1e0f5c75195d6a231237d32919da05dd22e97f93
parent9fdaaf77726f041c05b1e5cba428526c7cc69ad7
ipa-reference.h (ipa_reference_var_uid): Move offline.

* ipa-reference.h (ipa_reference_var_uid): Move offline.
* ipa-reference.c (reference_vars_map_t): new type.
(ipa_reference_vars_map, ipa_reference_vars_uids): New static vars.
(ipa_reference_var_uid): Implement.
(varpool_node_hooks): New static var.
(varpool_removal_hook): New function.
(is_improper): Do not check bitmap for id==-1
(get_static_name): Update.
(ipa_init): Initialize new datastructures.
(analyze_function): Do not recompute ids.
(propagate): Free reference_vars_to_consider.
(stream_out_bitmap): Update.
(ipa_reference_read_optimization_summary): Update.

From-SVN: r277345
gcc/ChangeLog
gcc/ipa-reference.c
gcc/ipa-reference.h