]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-prop.h
ipa-fnsummary.c (ipa_call_context::duplicate_from): New member function.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 3 Nov 2019 16:37:45 +0000 (17:37 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 3 Nov 2019 16:37:45 +0000 (16:37 +0000)
commitac6f2e594886e2209446114023ecdff96b0bd7c4
tree08ad05645f41cd3331fef1728530f56b00673203
parent360386c7ef1c3fa30de216b1d68ed6a27296fd80
ipa-fnsummary.c (ipa_call_context::duplicate_from): New member function.

* ipa-fnsummary.c (ipa_call_context::duplicate_from): New
member function.
(ipa_call_context::release): Add ALL parameter.
(ipa_call_context::equal_to): New member function.
* ipa-fnsummary.h (ipa_call_context): Add empty constructor;
duplicate_form, release, equal_to and exists_p member functoins.
* ipa-inline-analysis.c (node_context_cache_entry): New
class.
(node_context_summary): Likewise.
(node_context_cache, node_context_cache_hit, node_context_cache_miss,
node_context_clear): New static vars.
(initialize_growth_caches): New function.
(free_growth_caches): Also delete node_context_cache; output stats.
(do_estimate_edge_time): Cache contexts.
(reset_node_cache): New function.
* ipa-inline.c (reset_edge_caches): Reset also node cache.
(inline_small_functions): Initialize growth caches.
* ipa-inline.h (reset_node_cache, initialize_growth_caches):
Declare.
* ipa-predicate.h (inline_param_summary::equal_to): New.
* ipa-prop.c (ipa_agg_jf_item::equal_to): New.
* ipa-prop.h (ipa_agg_jf_item): Declare equal_to member function.
(ipa_agg_jump_function): Implement equal_to member function.

From-SVN: r277757
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/ipa-fnsummary.h
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h
gcc/ipa-predicate.h
gcc/ipa-prop.c
gcc/ipa-prop.h