diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-10-23 20:18:31 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-10-23 18:18:31 +0000 |
commit | b5b6485f1cc54f21713b5b03c5d63d56839ca458 (patch) | |
tree | 1e0f5c75195d6a231237d32919da05dd22e97f93 /gcc/ipa-reference.h | |
parent | 9fdaaf77726f041c05b1e5cba428526c7cc69ad7 (diff) | |
download | gcc-b5b6485f1cc54f21713b5b03c5d63d56839ca458.zip gcc-b5b6485f1cc54f21713b5b03c5d63d56839ca458.tar.gz gcc-b5b6485f1cc54f21713b5b03c5d63d56839ca458.tar.bz2 |
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
Diffstat (limited to 'gcc/ipa-reference.h')
-rw-r--r-- | gcc/ipa-reference.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ipa-reference.h b/gcc/ipa-reference.h index 3be02fb..6563db6 100644 --- a/gcc/ipa-reference.h +++ b/gcc/ipa-reference.h @@ -25,12 +25,7 @@ along with GCC; see the file COPYING3. If not see bitmap ipa_reference_get_not_read_global (struct cgraph_node *fn); bitmap ipa_reference_get_not_written_global (struct cgraph_node *fn); void ipa_reference_c_finalize (void); - -inline int -ipa_reference_var_uid (tree t) -{ - return DECL_UID (symtab_node::get (t)->ultimate_alias_target (NULL)->decl); -} +int ipa_reference_var_uid (tree t); #endif /* GCC_IPA_REFERENCE_H */ |