aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-driver.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2023-02-16 14:25:52 +0100
committerAldy Hernandez <aldyh@redhat.com>2023-05-01 08:33:15 +0200
commit8b2181a415fda05c48a13f915cc42214462d19cb (patch)
treef567bc1fc45d338d1a073f989c2ad939eb600bdd /libgcc/libgcov-driver.c
parentcb779afeff204fdb278e55006ea7d269a4606d85 (diff)
downloadgcc-8b2181a415fda05c48a13f915cc42214462d19cb.zip
gcc-8b2181a415fda05c48a13f915cc42214462d19cb.tar.gz
gcc-8b2181a415fda05c48a13f915cc42214462d19cb.tar.bz2
Replace vrp_val* with wide_ints.
This patch removes all uses of vrp_val_{min,max} in favor for a irange_val_* which are wide_int based. This will leave only one use of vrp_val_* which returns trees in range_of_ssa_name_with_loop_info() because it needs to work with non-integers (floats, etc). In a follow-up patch, this function will also be cleaned up such that vrp_val_* can be deleted. The functions min_limit and max_limit in range-op.cc are now useless as they're basically irange_val*. I didn't rename them yet to avoid churn. I'll do it in a later patch. gcc/ChangeLog: * gimple-range-fold.cc (adjust_pointer_diff_expr): Rewrite with irange_val*. (vrp_val_max): New. (vrp_val_min): New. * gimple-range-op.cc (cfn_strlen::fold_range): Use irange_val_*. * range-op.cc (max_limit): Same. (min_limit): Same. (plus_minus_ranges): Same. (operator_rshift::op1_range): Same. (operator_cast::inside_domain_p): Same. * value-range.cc (vrp_val_is_max): Delete. (vrp_val_is_min): Delete. (range_tests_misc): Use irange_val_*. * value-range.h (vrp_val_is_min): Delete. (vrp_val_is_max): Delete. (vrp_val_max): Delete. (irange_val_min): New. (vrp_val_min): Delete. (irange_val_max): New. * vr-values.cc (check_for_binary_op_overflow): Use irange_val_*.
Diffstat (limited to 'libgcc/libgcov-driver.c')
0 files changed, 0 insertions, 0 deletions