Home
last modified time | relevance | path

Searched refs:int_const_binop (Results 1 – 25 of 78) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvalue-range.cc138 tmp = int_const_binop (PLUS_EXPR, max, one); in set()
139 max = int_const_binop (MINUS_EXPR, min, one); in set()
185 min = int_const_binop (PLUS_EXPR, max, one); in set()
192 max = int_const_binop (MINUS_EXPR, min, one); in set()
664 && integer_onep (int_const_binop (MINUS_EXPR, in intersect_ranges()
670 && integer_onep (int_const_binop (MINUS_EXPR, in intersect_ranges()
699 = int_const_binop (MINUS_EXPR, vr1max, in intersect_ranges()
703 = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
714 = int_const_binop (PLUS_EXPR, vr1min, in intersect_ranges()
718 = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
[all …]
H A Dvr-values.c523 max = int_const_binop (PLUS_EXPR, limit, min); in extract_range_for_var_from_comparison_expr()
2971 new_min = int_const_binop (PLUS_EXPR, in extract_range_from_phi_node()
2982 new_max = int_const_binop (MINUS_EXPR, in extract_range_from_phi_node()
3055 op1 = int_const_binop (BIT_XOR_EXPR, op1, in simplify_truth_ops_using_ranges()
3214 t = int_const_binop (MINUS_EXPR, op1, t); in simplify_div_or_mod_using_ranges()
3786 = int_const_binop (PLUS_EXPR, vr_max, one_cst); in simplify_switch_using_ranges()
3794 = int_const_binop (MINUS_EXPR, vr_min, one_cst); in simplify_switch_using_ranges()
3804 = int_const_binop (MINUS_EXPR, vr_min, one_cst); in simplify_switch_using_ranges()
3812 = int_const_binop (PLUS_EXPR, vr_max, one_cst); in simplify_switch_using_ranges()
4242 new_rhs1 = int_const_binop (rhs_code, rhs1, val1); in simplify_stmt_using_ranges()
[all …]
H A Dtree-switch-conversion.c156 = int_const_binop (MINUS_EXPR, m_range_max, m_range_min); in collect()
397 elt.index = int_const_binop (MINUS_EXPR, pos, m_range_min); in build_constructors()
403 pos = int_const_binop (PLUS_EXPR, pos, pos_one); in build_constructors()
426 elt.index = int_const_binop (MINUS_EXPR, pos, m_range_min); in build_constructors()
430 pos = int_const_binop (PLUS_EXPR, pos, pos_one); in build_constructors()
1516 tree range = int_const_binop (MINUS_EXPR, maxval, minval); in emit()
1542 lo = tree_to_uhwi (int_const_binop (MINUS_EXPR, n->get_low (), minval)); in emit()
1546 hi = tree_to_uhwi (int_const_binop (MINUS_EXPR, n->get_high (), in emit()
H A Dtree-vect-generic.c296 i += delta, index = int_const_binop (PLUS_EXPR, index, part_width))
409 i++, index = int_const_binop (PLUS_EXPR, index, part_width)) in expand_vector_comparison()
1048 index = int_const_binop (PLUS_EXPR, index, width); in expand_vector_condition()
1052 comp_index = int_const_binop (PLUS_EXPR, comp_index, comp_width); in expand_vector_condition()
1705 int_const_binop (PLUS_EXPR, bitpos, in do_vec_narrow_conversion()
1927 i += delta, index = int_const_binop (PLUS_EXPR, index, in expand_vector_conversion()
H A Dfold-const.h118 extern tree int_const_binop (enum tree_code, const_tree, const_tree, int = 1);
H A Dtree-vrp.c1944 cst = int_const_binop (code, val, cst); in register_edge_assert_for_2()
1991 op1 = int_const_binop (reverse_op, val, op1); in register_edge_assert_for_2()
2859 tree rhs = int_const_binop (MINUS_EXPR, max, min); in find_switch_asserts()
3563 up_bound_p1 = int_const_binop (TRUNC_DIV_EXPR, maxbound, eltsize); in check_array_ref()
3566 up_bound = int_const_binop (MINUS_EXPR, up_bound_p1, in check_array_ref()
3573 up_bound_p1 = int_const_binop (PLUS_EXPR, up_bound, in check_array_ref()
4513 if (!integer_onep (int_const_binop (MINUS_EXPR, low, high))) in find_case_label_range()
H A Dfold-const.c1174 int_const_binop (enum tree_code code, const_tree arg1, const_tree arg2, in int_const_binop() function
1239 return int_const_binop (PLUS_EXPR, in const_binop()
1242 return int_const_binop (code, arg1, arg2); in const_binop()
1949 tree res = int_const_binop (code, arg0, arg1, -1); in size_binop_loc()
7189 tmp = int_const_binop (MINUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7198 tmp = int_const_binop (MINUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7203 *lo = int_const_binop (MINUS_EXPR, prod, tmp); in fold_div_compare()
7213 *hi = int_const_binop (PLUS_EXPR, prod, tmp); in fold_div_compare()
7226 tmp = int_const_binop (PLUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7230 *hi = int_const_binop (MINUS_EXPR, prod, tmp); in fold_div_compare()
[all …]
H A Dtree-ssa-address.c1096 addr.offset = int_const_binop (PLUS_EXPR, in maybe_fold_tmr()
H A Dtree-sra.c1619 off = int_const_binop (PLUS_EXPR, TREE_OPERAND (base, 1), off); in build_ref_for_offset()
1749 off = int_const_binop (PLUS_EXPR, TREE_OPERAND (base, 1), off); in build_debug_ref_for_model()
1837 index = int_const_binop (PLUS_EXPR, index, minidx); in build_user_friendly_ref_for_offset()
H A Dstor-layout.c2420 TYPE_SIZE_UNIT (type) = int_const_binop (MULT_EXPR, in layout_type()
2423 TYPE_SIZE (type) = int_const_binop in layout_type()
H A Dtree-ssa-loop-niter.c871 rslt = int_const_binop (MULT_EXPR, rslt, x); in inverse()
872 x = int_const_binop (MULT_EXPR, x, x); in inverse()
874 rslt = int_const_binop (BIT_AND_EXPR, rslt, mask); in inverse()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvalue-range.cc156 tmp = int_const_binop (PLUS_EXPR, max, one); in swap_out_of_order_endpoints()
157 max = int_const_binop (MINUS_EXPR, min, one); in swap_out_of_order_endpoints()
346 min = int_const_binop (PLUS_EXPR, max, one); in set()
353 max = int_const_binop (MINUS_EXPR, min, one); in set()
805 && integer_onep (int_const_binop (MINUS_EXPR, in intersect_ranges()
811 && integer_onep (int_const_binop (MINUS_EXPR, in intersect_ranges()
840 = int_const_binop (MINUS_EXPR, vr1max, in intersect_ranges()
844 = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
855 = int_const_binop (PLUS_EXPR, vr1min, in intersect_ranges()
859 = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
[all …]
H A Dgimple-array-bounds.cc269 up_bound_p1 = int_const_binop (TRUNC_DIV_EXPR, maxbound, eltsize); in check_array_ref()
272 up_bound = int_const_binop (MINUS_EXPR, up_bound_p1, in check_array_ref()
279 up_bound_p1 = int_const_binop (PLUS_EXPR, up_bound, in check_array_ref()
684 tree fldoff = int_const_binop (PLUS_EXPR, fldpos, refoff); in inbounds_memaccess_p()
696 tree fldend = int_const_binop (PLUS_EXPR, fldoff, fldsiz); in inbounds_memaccess_p()
H A Dvr-values.cc574 max = int_const_binop (PLUS_EXPR, limit, min); in extract_range_for_var_from_comparison_expr()
2867 new_min = int_const_binop (PLUS_EXPR, in extract_range_from_phi_node()
2878 new_max = int_const_binop (MINUS_EXPR, in extract_range_from_phi_node()
2952 op1 = int_const_binop (BIT_XOR_EXPR, op1, in simplify_truth_ops_using_ranges()
3112 t = int_const_binop (MINUS_EXPR, op1, t); in simplify_div_or_mod_using_ranges()
3801 = int_const_binop (PLUS_EXPR, vr_max, one_cst); in simplify_switch_using_ranges()
3809 = int_const_binop (MINUS_EXPR, vr_min, one_cst); in simplify_switch_using_ranges()
3819 = int_const_binop (MINUS_EXPR, vr_min, one_cst); in simplify_switch_using_ranges()
3827 = int_const_binop (PLUS_EXPR, vr_max, one_cst); in simplify_switch_using_ranges()
4275 new_rhs1 = int_const_binop (rhs_code, rhs1, val1); in simplify()
[all …]
H A Dtree-switch-conversion.cc157 = int_const_binop (MINUS_EXPR, m_range_max, m_range_min); in collect()
398 elt.index = int_const_binop (MINUS_EXPR, pos, m_range_min); in build_constructors()
404 pos = int_const_binop (PLUS_EXPR, pos, pos_one); in build_constructors()
427 elt.index = int_const_binop (MINUS_EXPR, pos, m_range_min); in build_constructors()
431 pos = int_const_binop (PLUS_EXPR, pos, pos_one); in build_constructors()
1546 lo = tree_to_uhwi (int_const_binop (MINUS_EXPR, n->get_low (), minval)); in emit()
1550 hi = tree_to_uhwi (int_const_binop (MINUS_EXPR, n->get_high (), in emit()
1634 tree range = int_const_binop (MINUS_EXPR, maxval, minval); in emit()
H A Dtree-vect-generic.cc347 i += delta, index = int_const_binop (PLUS_EXPR, index, part_width)) in expand_vector_piecewise()
509 i++, index = int_const_binop (PLUS_EXPR, index, part_width)) in expand_vector_comparison()
1178 index = int_const_binop (PLUS_EXPR, index, width); in expand_vector_condition()
1182 comp_index = int_const_binop (PLUS_EXPR, comp_index, comp_width); in expand_vector_condition()
1858 int_const_binop (PLUS_EXPR, bitpos, in do_vec_narrow_conversion()
2081 i += delta, index = int_const_binop (PLUS_EXPR, index, in expand_vector_conversion()
H A Dfold-const.h130 extern tree int_const_binop (enum tree_code, const_tree, const_tree, int = 1);
H A Dtree-vrp.cc1545 cst = int_const_binop (code, val, cst); in register_edge_assert_for_2()
1592 op1 = int_const_binop (reverse_op, val, op1); in register_edge_assert_for_2()
2429 if (!integer_onep (int_const_binop (MINUS_EXPR, low, high))) in find_case_label_range()
3090 tree rhs = int_const_binop (MINUS_EXPR, max, min); in find_switch_asserts()
H A Dfold-const.cc1179 int_const_binop (enum tree_code code, const_tree arg1, const_tree arg2, in int_const_binop() function
1244 return int_const_binop (PLUS_EXPR, in const_binop()
1247 return int_const_binop (code, arg1, arg2); in const_binop()
1954 tree res = int_const_binop (code, arg0, arg1, -1); in size_binop_loc()
7286 tmp = int_const_binop (MINUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7295 tmp = int_const_binop (MINUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7300 *lo = int_const_binop (MINUS_EXPR, prod, tmp); in fold_div_compare()
7310 *hi = int_const_binop (PLUS_EXPR, prod, tmp); in fold_div_compare()
7323 tmp = int_const_binop (PLUS_EXPR, c1, build_int_cst (type, 1)); in fold_div_compare()
7327 *hi = int_const_binop (MINUS_EXPR, prod, tmp); in fold_div_compare()
[all …]
H A Dtree-ssa-address.cc1106 addr.offset = int_const_binop (PLUS_EXPR, in maybe_fold_tmr()
H A Dtree-sra.cc1659 off = int_const_binop (PLUS_EXPR, TREE_OPERAND (base, 1), off); in build_ref_for_offset()
1789 off = int_const_binop (PLUS_EXPR, TREE_OPERAND (base, 1), off); in build_debug_ref_for_model()
1877 index = int_const_binop (PLUS_EXPR, index, minidx); in build_user_friendly_ref_for_offset()
H A Dstor-layout.cc2436 TYPE_SIZE_UNIT (type) = int_const_binop (MULT_EXPR, in layout_type()
2439 TYPE_SIZE (type) = int_const_binop in layout_type()
H A Dtree-ssa-loop-niter.cc889 rslt = int_const_binop (MULT_EXPR, rslt, x); in inverse()
890 x = int_const_binop (MULT_EXPR, x, x); in inverse()
892 rslt = int_const_binop (BIT_AND_EXPR, rslt, mask); in inverse()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-attribs.cc1232 ? int_const_binop (PLUS_EXPR, pos, integer_one_node) : pos; in positional_argument()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dconstexpr.cc2422 tree i = int_const_binop (TRUNC_DIV_EXPR, TREE_OPERAND (fun, 1), in cxx_eval_call_expression()
3040 cursor = int_const_binop (PLUS_EXPR, cursor, size_one_node); in reduced_constant_expression_p()
3649 tree new_hi = int_const_binop (MINUS_EXPR, dindex, in find_array_ctor_elt()
3669 tree new_lo = int_const_binop (PLUS_EXPR, dindex, in find_array_ctor_elt()
5252 off = int_const_binop (PLUS_EXPR, off, pos); in cxx_fold_indirect_ref()

1234