diff options
author | Jan Hubicka <jh@suse.cz> | 2019-11-04 20:39:52 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-04 19:39:52 +0000 |
commit | 2bc2379be5c98d34ecbb347b2abf059aa6d94499 (patch) | |
tree | c77dfa441b49c1963d53760f79ab87018bafc88a /gcc/ipa-utils.h | |
parent | 0ec77a6c25cbe321d9712e41a3aa04dff97eaaa6 (diff) | |
download | gcc-2bc2379be5c98d34ecbb347b2abf059aa6d94499.zip gcc-2bc2379be5c98d34ecbb347b2abf059aa6d94499.tar.gz gcc-2bc2379be5c98d34ecbb347b2abf059aa6d94499.tar.bz2 |
ipa-inline-transform.c: Include ipa-utils.h
* ipa-inline-transform.c: Include ipa-utils.h
(inline_call): Set thunk_expansion flag.
* ipa-utils.h (thunk_expansion): Declare.
* ipa-devirt.c (thunk_expansion): New global var.
(devirt_node_removal_hook): Do not invalidate cache while
doing thunk expansion.
From-SVN: r277789
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r-- | gcc/ipa-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 22e6970..947307a 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -47,6 +47,9 @@ void ipa_merge_profiles (struct cgraph_node *dst, struct cgraph_node *src, bool preserve_body = false); bool recursive_call_p (tree, tree); +/* In ipa-prop.c */ +void ipa_remove_useless_jump_functions (); + /* In ipa-profile.c */ bool ipa_propagate_frequency (struct cgraph_node *node); @@ -54,6 +57,7 @@ bool ipa_propagate_frequency (struct cgraph_node *node); struct odr_type_d; typedef odr_type_d *odr_type; +extern bool thunk_expansion; void build_type_inheritance_graph (void); void rebuild_type_inheritance_graph (void); void update_type_inheritance_graph (void); |