aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-fold.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-09-20 19:30:46 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-09-22 14:48:30 -0400
commit5608e410914ebb7c8cc9fa50afc8ada3b22cbf2c (patch)
tree55d1644e49cf3ddb97295a8ad54c3299b966c21c /gcc/gimple-range-fold.h
parente7f035f66aa25e0537a0e3a76d43c71fe9531724 (diff)
downloadgcc-5608e410914ebb7c8cc9fa50afc8ada3b22cbf2c.zip
gcc-5608e410914ebb7c8cc9fa50afc8ada3b22cbf2c.tar.gz
gcc-5608e410914ebb7c8cc9fa50afc8ada3b22cbf2c.tar.bz2
Convert CFN_BUILT_IN_PARITY to range-ops.
Also, as the last builtin remaining, also remove the builtin infrastrucure routines from fold_using_range. * gimple-range-fold.cc (range_of_range_op): Handle no operands. (range_of_call): Do not check for builtins. (fold_using_range::range_of_builtin_call): Delete. (fold_using_range::range_of_builtin_int_call): Delete. * gimple-range-fold.h: Adjust prototypes. * gimple-range-op.cc (class cfn_parity): New. (gimple_range_op_handler::maybe_builtin_call): Set arguments.
Diffstat (limited to 'gcc/gimple-range-fold.h')
-rw-r--r--gcc/gimple-range-fold.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/gimple-range-fold.h b/gcc/gimple-range-fold.h
index ce18c66..d1ed2bc 100644
--- a/gcc/gimple-range-fold.h
+++ b/gcc/gimple-range-fold.h
@@ -165,10 +165,6 @@ protected:
bool range_of_call (vrange &r, gcall *call, fur_source &src);
bool range_of_cond_expr (vrange &r, gassign* cond, fur_source &src);
bool range_of_address (irange &r, gimple *s, fur_source &src);
- bool range_of_builtin_call (vrange &r, gcall *call, fur_source &src);
- bool range_of_builtin_int_call (irange &r, gcall *call, fur_source &src);
- void range_of_builtin_ubsan_call (irange &r, gcall *call, tree_code code,
- fur_source &src);
bool range_of_phi (vrange &r, gphi *phi, fur_source &src);
void range_of_ssa_name_with_loop_info (vrange &, tree, class loop *, gphi *,
fur_source &src);