GCC Middle and Back End API Reference
|
|
privatevirtual |
Floating point range operators. Copyright (C) 2022-2024 Free Software Foundation, Inc. Contributed by Aldy Hernandez <aldyh@redhat.com>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
finaloverridevirtual |
Reimplemented from range_operator.
References range_operator::fold_range(), get_shift_range(), ggc_alloc(), r, irange::set_undefined(), shift, and vrange::undefined_p().
Referenced by op1_range(), and operator_lshift::op1_range().
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Code for range operators. Copyright (C) 2017-2024 Free Software Foundation, Inc. Contributed by Andrew MacLeod <amacleod@redhat.com> and Aldy Hernandez <aldyh@redhat.com>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
finaloverridevirtual |
Reimplemented from range_operator.
References wi::ge_p(), irange::lower_bound(), irange::type(), TYPE_SIGN, vrange::undefined_p(), VREL_LE, and VREL_VARYING.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
virtualinherited |
Reimplemented in operator_plus.
References VREL_VARYING.
|
virtualinherited |
Reimplemented in operator_plus.
|
virtualinherited |
Reimplemented in operator_plus, and operator_plus.
References VREL_VARYING.
Referenced by range_op_handler::lhs_op2_relation().
|
virtualinherited |
Reimplemented in operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, and operator_ge.
References VREL_VARYING.
|
virtualinherited |
Reimplemented in operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, and operator_ge.
|
virtualinherited |
Reimplemented in operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, and operator_ge.
References VREL_VARYING.
Referenced by range_op_handler::op1_op2_relation().
|
virtualinherited |
Reimplemented in operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, and operator_ge.
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, operator_pointer_diff, operator_pointer_diff, operator_minus, and operator_bitwise_xor.
Referenced by range_operator::fold_range().
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, and operator_pointer_diff.
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, operator_pointer_diff, and operator_pointer_diff.
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, and operator_pointer_diff.
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, and operator_pointer_diff.
|
protectedvirtualinherited |
Reimplemented in operator_minus, operator_bitwise_xor, and operator_pointer_diff.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
finaloverridevirtual |
Reimplemented from range_operator.
References wi::bit_not(), contains_zero_p(), range_operator::fold_range(), operator_lshift::fold_range(), fold_range(), wi::ge_p(), ggc_alloc(), wi::lshift(), wi::minus_one(), op_lshift, op_plus, op_rshift, r, shift, irange::singleton_p(), irange::type(), TYPE_PRECISION, wi::uhwi(), vrange::undefined_p(), irange::union_(), UNSIGNED, and wi::zero().
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
virtualinherited |
Reimplemented in foperator_unordered, foperator_ordered, foperator_unordered_lt, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, foperator_unordered_equal, foperator_ltgt, foperator_div, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_plus, operator_minus, operator_mult, operator_bitwise_xor, operator_bitwise_and, operator_bitwise_or, pointer_plus_operator, pointer_or_operator, hybrid_and_operator, hybrid_or_operator, operator_logical_and, operator_logical_or, operator_trunc_mod, foperator_div, operator_plus, operator_minus, and operator_mult.
|
virtualinherited |
Reimplemented in foperator_unordered, foperator_ordered, foperator_unordered_equal, foperator_ltgt, operator_equal, operator_le, foperator_unordered_lt, foperator_unordered, foperator_ordered, foperator_unordered_lt, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, foperator_unordered_equal, foperator_ltgt, foperator_div, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_plus, operator_minus, operator_mult, operator_bitwise_xor, operator_bitwise_and, operator_bitwise_or, pointer_plus_operator, pointer_or_operator, hybrid_and_operator, hybrid_or_operator, operator_logical_and, operator_logical_or, operator_trunc_mod, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, operator_not_equal, operator_lt, operator_gt, and operator_ge.
|
virtualinherited |
Reimplemented in pointer_or_operator, operator_logical_and, operator_logical_or, operator_bitwise_xor, hybrid_and_operator, hybrid_or_operator, operator_bitwise_and, operator_bitwise_or, operator_trunc_mod, operator_plus, operator_minus, operator_mult, foperator_unordered, foperator_ordered, foperator_unordered_lt, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, foperator_unordered_equal, foperator_ltgt, foperator_div, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_plus, operator_minus, operator_mult, operator_bitwise_xor, operator_bitwise_and, operator_bitwise_or, pointer_plus_operator, pointer_plus_operator, pointer_or_operator, hybrid_and_operator, hybrid_or_operator, operator_logical_and, operator_logical_or, operator_trunc_mod, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, and operator_equal.
Referenced by operator_pointer_diff::op1_op2_relation_effect(), operator_pointer_diff::op1_op2_relation_effect(), and range_op_handler::op2_range().
|
virtualinherited |
Reimplemented in foperator_unordered, foperator_ordered, foperator_unordered_lt, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, foperator_unordered_equal, foperator_ltgt, foperator_div, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_plus, operator_minus, operator_mult, operator_bitwise_xor, operator_bitwise_and, operator_bitwise_or, pointer_plus_operator, pointer_or_operator, hybrid_and_operator, hybrid_or_operator, operator_logical_and, operator_logical_or, operator_trunc_mod, and pointer_plus_operator.
|
virtualinherited |
Reimplemented in foperator_unordered, foperator_ordered, foperator_unordered_lt, foperator_unordered_le, foperator_unordered_gt, foperator_unordered_ge, foperator_unordered_equal, foperator_ltgt, foperator_div, operator_equal, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, operator_plus, operator_minus, operator_mult, operator_bitwise_xor, operator_bitwise_and, operator_bitwise_or, pointer_plus_operator, pointer_or_operator, hybrid_and_operator, hybrid_or_operator, operator_logical_and, operator_logical_or, operator_trunc_mod, operator_not_equal, operator_lt, operator_le, operator_gt, operator_ge, and operator_equal.
Reimplemented from range_operator.
References range_compatible_p().
|
virtualinherited |
Reimplemented in operator_plus, operator_minus, and operator_mult.
Referenced by range_op_handler::overflow_free_p().
|
protectedvirtualinherited |
Reimplemented in operator_mult, foperator_div, operator_plus, and operator_minus.
References dconstinf, dconstninf, and r.
Referenced by range_operator::fold_range().
|
privatevirtual |
Reimplemented from range_operator.
|
privatevirtual |
Reimplemented from range_operator.
|
inlinefinaloverridevirtual |
Reimplemented from range_operator.
References ggc_alloc(), r, and update_known_bitmask().
|
inherited |
References wi::eq_p(), ggc_alloc(), wi::gt_p(), wi::max(), wi::min(), r, TYPE_SIGN, value_range_with_overflow(), and cross_product_operator::wi_op_overflows().
Referenced by operator_mult::wi_fold(), operator_div::wi_fold(), operator_lshift::wi_fold(), and wi_fold().
|
finaloverridevirtual |
Reimplemented from range_operator.
References ggc_alloc(), r, and cross_product_operator::wi_cross_product().
|
protectedinherited |
References ggc_alloc(), r, wi::sub(), TYPE_SIGN, range_operator::wi_fold(), and range_operator::wi_fold_in_parts().
Referenced by range_operator::fold_range(), and range_operator::wi_fold_in_parts().
|
protectedinherited |
References ggc_alloc(), r, wi::sub(), TYPE_SIGN, and range_operator::wi_fold().
Referenced by range_operator::fold_range().
|
finaloverridevirtual |
Implements cross_product_operator.
References ggc_alloc(), wi::lshift(), wi::neg_p(), wi::rshift(), and TYPE_SIGN.