diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2021-11-02 22:08:56 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2021-11-02 22:08:56 +0100 |
commit | 18f0873d1e595dc2e5db738550e6e2b0e2953d84 (patch) | |
tree | c12b7cd19aae656bcb239de7b31fe4ad6d7469ec /gcc/gcov.c | |
parent | a70c05120ae6f15f204a04a7df7d19941ab33ef1 (diff) | |
download | gcc-18f0873d1e595dc2e5db738550e6e2b0e2953d84.zip gcc-18f0873d1e595dc2e5db738550e6e2b0e2953d84.tar.gz gcc-18f0873d1e595dc2e5db738550e6e2b0e2953d84.tar.bz2 |
ipa-modref cleanup
A small refactoring of ipa-modref to make it bit more
C++y by moving logic analyzing ssa name flags to a class
and I also moved the anonymous namespace markers so we do not
export unnecessary stuff. There are no functional changes.
Bootstrapped/regtested x86_64-linux, will commit it shortly.
gcc/ChangeLog:
* ipa-modref.c: Fix anonymous namespace placement.
(class modref_eaf_analysis): New class.
(analyze_ssa_name_flags): Turn to ...
(modref_eaf_analysis::analyze_ssa_name): ... this one.
(merge_call_lhs_flags): Turn to ...
(modref_eaf_analysis::merge_call_lhs_flags): .. this one
(modref_eaf_analysis::merge_with_ssa_name): New member function.
(record_escape_points): Turn to ...
(modref_eaf_analysis::record_escape_points): ... this one.
(analyze_parms): Updat
(ipa_merge_modref_summary_after_inlining): Move to the end of file.
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions