diff options
author | Jan Hubicka <jh@suse.cz> | 2021-07-16 14:21:29 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2021-07-16 14:21:29 +0200 |
commit | 8da8ed435e9f01b37bf4ee57fa62509d44121c7d (patch) | |
tree | aa883b93b12f1b616f68dc4deac8775870a394a3 /gcc/tree-vectorizer.h | |
parent | ce777eaedfdc55850b429f97b2093f2de5da09de (diff) | |
download | gcc-8da8ed435e9f01b37bf4ee57fa62509d44121c7d.zip gcc-8da8ed435e9f01b37bf4ee57fa62509d44121c7d.tar.gz gcc-8da8ed435e9f01b37bf4ee57fa62509d44121c7d.tar.bz2 |
Implement EAF_NOT_RETURNED tracking in ipa-modref
2021-07-16 Jan Hubicka <hubicka@ucw.cz>
* ipa-modref.c (struct escape_entry): Use eaf_fleags_t.
(dump_eaf_flags): Dump EAF_NOT_RETURNED
(eaf_flags_useful_p): Use eaf_fleags_t; handle const functions
and EAF_NOT_RETURNED.
(modref_summary::useful_p): Likewise.
(modref_summary_lto::useful_p): Likewise.
(struct) modref_summary_lto: Use eaf_fleags_t.
(deref_flags): Handle EAF_NOT_RETURNED.
(struct escape_point): Use min_flags.
(modref_lattice::init): Add EAF_NOT_RETURNED.
(merge_call_lhs_flags): Ignore EAF_NOT_RETURNED functions
(analyze_ssa_name_flags): Clear EAF_NOT_RETURNED on return;
handle call flags.
(analyze_parms): Also analyze const functions; update conition on
flags usefulness.
(modref_write): Update streaming.
(read_section): Update streaming.
(remap_arg_flags): Use eaf_flags_t.
(modref_merge_call_site_flags): Hanlde EAF_NOT_RETURNED.
* ipa-modref.h: (eaf_flags_t): New typedef.
(struct modref_summary): Use eaf_flags_t.
* tree-core.h (EAF_NOT_RETURNED): New constant.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions