]> git.ipfire.org Git - thirdparty/gcc.git/commit
Refactor vrp_evaluate_conditional* and rename it.
authorAldy Hernandez <aldyh@redhat.com>
Sun, 20 Nov 2022 22:12:06 +0000 (23:12 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 26 Apr 2023 08:28:12 +0000 (10:28 +0200)
commit3d8c2d3aefa85d1e5f15804dd6345a88d139f9fb
tree9cbfd4d41f879dbf770b4b1ea1b341e7d394d07b
parentf2b894b148755308de65593231721df4309fc6b3
Refactor vrp_evaluate_conditional* and rename it.

gcc/ChangeLog:

* vr-values.cc
(simplify_using_ranges::vrp_evaluate_conditional_warnv_with_ops):
Rename to...
(simplify_using_ranges::legacy_fold_cond_overflow): ...this.
(simplify_using_ranges::vrp_visit_cond_stmt): Rename to...
(simplify_using_ranges::legacy_fold_cond): ...this.
(simplify_using_ranges::fold_cond): Rename
vrp_evaluate_conditional_warnv_with_ops to
legacy_fold_cond_overflow.
* vr-values.h (class vr_values): Replace vrp_visit_cond_stmt and
vrp_evaluate_conditional_warnv_with_ops with legacy_fold_cond and
legacy_fold_cond_overflow respectively.
gcc/vr-values.cc
gcc/vr-values.h