diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-10-23 14:52:45 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-10-25 09:49:02 -0400 |
commit | f7dbf6230453c76a19921607601eff968bb70169 (patch) | |
tree | be671a3a10272cb3b487f0130623ca4777c4850a /gcc/expr.cc | |
parent | 4912418dc1b51d49aca5982c6a2061bb912b92b7 (diff) | |
download | gcc-f7dbf6230453c76a19921607601eff968bb70169.zip gcc-f7dbf6230453c76a19921607601eff968bb70169.tar.gz gcc-f7dbf6230453c76a19921607601eff968bb70169.tar.bz2 |
Faster irange union for appending ranges.
A common pattern to to append a range to an existing range via union.
This optimizes that process.
* value-range.cc (irange::union_append): New.
(irange::union_): Call union_append when appropriate.
* value-range.h (irange::union_append): New prototype.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions