diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2023-05-22 12:07:15 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2023-06-27 11:25:48 +0200 |
commit | 15819a7df1f673357b521daef6bda3c45c2ef49c (patch) | |
tree | fc21b2d16aa800a28b9b451b0503e2b934c2783a /gcc/ada | |
parent | 065cc8767828c0257f5651579f36e4bca0937d73 (diff) | |
download | gcc-15819a7df1f673357b521daef6bda3c45c2ef49c.zip gcc-15819a7df1f673357b521daef6bda3c45c2ef49c.tar.gz gcc-15819a7df1f673357b521daef6bda3c45c2ef49c.tar.bz2 |
Implement ipa_vr hashing.
Implement hashing for ipa_vr. When all is said and done, all these
patches incurr a 7.64% slowdown for ipa-cp, with is entirely covered by
the similar 7% increase in this area last week. So we get type agnostic
ranges with "infinite" range precision close to free.
There is no change in overall compilation.
gcc/ChangeLog:
* ipa-prop.cc (struct ipa_vr_ggc_hash_traits): Adjust for use with
ipa_vr instead of value_range.
(gt_pch_nx): Same.
(gt_ggc_mx): Same.
(ipa_get_value_range): Same.
* value-range.cc (gt_pch_nx): Move to ipa-prop.cc and adjust for
ipa_vr.
(gt_ggc_mx): Same.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions