Add finalize method to modref summary.
commite0040bc3d97f11063fe0a5156a2d27d36069fb34
authorJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 17:21:12 +0000 (13 18:21 +0100)
committerJan Hubicka <jh@suse.cz>
Sat, 13 Nov 2021 17:21:12 +0000 (13 18:21 +0100)
tree77b1c7bb0aefa2331155ae41cc1117b65419ce01
parent2af63f0f53a12a7275b99d92b271d3dff5112690
Add finalize method to modref summary.

gcc/ChangeLog:

* ipa-modref.c (modref_summary::global_memory_read_p): Remove.
(modref_summary::global_memory_written_p): Remove.
(modref_summary::dump): Dump new flags.
(modref_summary::finalize): New member function.
(analyze_function): Call it.
(read_section): Call it.
(update_signature): Call it.
(pass_ipa_modref::execute): Call it.
* ipa-modref.h (struct modref_summary): Remove
global_memory_read_p and global_memory_written_p.
Add global_memory_read, global_memory_written.
* tree-ssa-structalias.c (determine_global_memory_access):
Update.
gcc/ipa-modref.c
gcc/ipa-modref.h
gcc/tree-ssa-structalias.c