]> git.ipfire.org Git - thirdparty/gcc.git/commit
* ipa-fnsummary.c (ipa_call_context::duplicate_from): New
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Nov 2019 16:37:45 +0000 (16:37 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Nov 2019 16:37:45 +0000 (16:37 +0000)
commit5d739a89b1305202c698fa58c9d482f9ab85526d
tree08ad05645f41cd3331fef1728530f56b00673203
parent6b75b6cb78647f185d0ba0489d7857da9ac68549
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277757 138bc75d-0d04-0410-961f-82ee72b054a4
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