Home
last modified time | relevance | path

Searched refs:MINUS_EXPR (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvalue-range.cc139 max = int_const_binop (MINUS_EXPR, min, 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()
718 = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
766 = int_const_binop (MINUS_EXPR, *vr0max, in intersect_ranges()
787 = int_const_binop (MINUS_EXPR, *vr0min, in intersect_ranges()
852 *vr0max = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
897 *vr0max = int_const_binop (MINUS_EXPR, *vr0min, in intersect_ranges()
[all …]
H A Dtsan.c341 FETCH_OP (ATOMIC_SUB_FETCH_1, TSAN_ATOMIC8_FETCH_SUB, MINUS_EXPR),
342 FETCH_OP (ATOMIC_SUB_FETCH_2, TSAN_ATOMIC16_FETCH_SUB, MINUS_EXPR),
343 FETCH_OP (ATOMIC_SUB_FETCH_4, TSAN_ATOMIC32_FETCH_SUB, MINUS_EXPR),
344 FETCH_OP (ATOMIC_SUB_FETCH_8, TSAN_ATOMIC64_FETCH_SUB, MINUS_EXPR),
345 FETCH_OP (ATOMIC_SUB_FETCH_16, TSAN_ATOMIC128_FETCH_SUB, MINUS_EXPR),
411 FETCH_OPS (SYNC_SUB_AND_FETCH_1, TSAN_ATOMIC8_FETCH_SUB, MINUS_EXPR),
412 FETCH_OPS (SYNC_SUB_AND_FETCH_2, TSAN_ATOMIC16_FETCH_SUB, MINUS_EXPR),
413 FETCH_OPS (SYNC_SUB_AND_FETCH_4, TSAN_ATOMIC32_FETCH_SUB, MINUS_EXPR),
414 FETCH_OPS (SYNC_SUB_AND_FETCH_8, TSAN_ATOMIC64_FETCH_SUB, MINUS_EXPR),
415 FETCH_OPS (SYNC_SUB_AND_FETCH_16, TSAN_ATOMIC128_FETCH_SUB, MINUS_EXPR),
H A Dtree-ssa-loop-niter.c84 case MINUS_EXPR: in split_to_var_and_offset()
987 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
995 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
1050 t = fold_build2 (MINUS_EXPR, type, iv->base, iv->step); in number_of_iterations_ne()
1051 new_c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
1071 t = fold_build2 (MINUS_EXPR, type, iv->base, iv->step); in number_of_iterations_ne()
1072 new_c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
1168 mod = fold_build2 (MINUS_EXPR, niter_type, step, mod); in number_of_iterations_lt_to_ne()
1198 bound = fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1241 fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
[all …]
H A Dtree-complex.c268 case MINUS_EXPR: in init_dont_simulate_again()
346 case MINUS_EXPR: in visit_stmt()
929 if (code == MINUS_EXPR) in expand_complex_addition()
930 ri = gimplify_build2 (gsi, MINUS_EXPR, inner_type, ai, bi); in expand_complex_addition()
936 if (code == MINUS_EXPR) in expand_complex_addition()
937 rr = gimplify_build2 (gsi, MINUS_EXPR, inner_type, ar, br); in expand_complex_addition()
959 if (code == MINUS_EXPR) in expand_complex_addition()
966 if (code == MINUS_EXPR) in expand_complex_addition()
1080 *rr = gimplify_build2 (gsi, MINUS_EXPR, type, t1, t2); in expand_complex_multiplication_components()
1252 t3 = gimplify_build2 (gsi, MINUS_EXPR, inner_type, t1, t2); in expand_complex_div_straight()
[all …]
H A Dtree-affine.c281 case MINUS_EXPR:
284 if (code == MINUS_EXPR)
324 if ((icode == PLUS_EXPR || icode == MINUS_EXPR || icode == MULT_EXPR)
362 return expr_to_aff_combination (comb, MINUS_EXPR, otype,
395 case MINUS_EXPR: in tree_to_aff_combination()
496 return fold_build2 (MINUS_EXPR, type, expr, elt); in add_elt_to_tree()
504 code = MINUS_EXPR; in add_elt_to_tree()
764 case MINUS_EXPR: in aff_combination_expand()
H A Dfold-const.c443 case MINUS_EXPR: in negate_expr_p()
612 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
620 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
626 case MINUS_EXPR: in fold_negate_expr_1()
630 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
811 || (code == PLUS_EXPR && TREE_CODE (in) == MINUS_EXPR) in split_tree()
812 || (code == MINUS_EXPR in split_tree()
818 int neg1_p = TREE_CODE (in) == MINUS_EXPR; in split_tree()
900 gcc_assert (t2 == 0 || code != MINUS_EXPR); in associate_trees()
911 || TREE_CODE (t1) == MINUS_EXPR || TREE_CODE (t2) == MINUS_EXPR) in associate_trees()
[all …]
H A Dtree-vect-loop-manip.c496 adjust = gimple_build (preheader_seq, MINUS_EXPR, compare_type, in vect_set_loop_masks_directly()
500 test_limit = gimple_build (preheader_seq, MINUS_EXPR, compare_type, in vect_set_loop_masks_directly()
572 this_test_limit = gimple_build (preheader_seq, MINUS_EXPR, in vect_set_loop_masks_directly()
828 limit = gimple_build (&seq, MINUS_EXPR, TREE_TYPE (limit), limit, step); in vect_set_loop_condition_unmasked()
866 loop->nb_iterations = fold_build2 (MINUS_EXPR, niters_type, niters, in vect_set_loop_condition_unmasked()
876 gassign *assign = gimple_build_assign (final_iv, MINUS_EXPR, in vect_set_loop_condition_unmasked()
1580 fold_build2 (MINUS_EXPR, type, in get_misalign_in_elems()
1582 target_align_minus_1 = fold_build2 (MINUS_EXPR, type, vla_align, in get_misalign_in_elems()
1676 iters = fold_build2 (MINUS_EXPR, type, misalign_in_elems, in vect_gen_prolog_loop_niters()
1679 iters = fold_build2 (MINUS_EXPR, type, align_in_elems_tree, in vect_gen_prolog_loop_niters()
[all …]
H A Dvr-values.c409 || TREE_CODE (expr) == MINUS_EXPR) in valid_value_p()
648 max = fold_build2 (MINUS_EXPR, TREE_TYPE (max), max, in extract_range_for_var_from_comparison_expr()
685 min = fold_build2 (MINUS_EXPR, TREE_TYPE (min), min, in extract_range_for_var_from_comparison_expr()
846 && (code == PLUS_EXPR || code == MINUS_EXPR) in extract_range_from_binary_expr()
851 const bool minus_p = (code == MINUS_EXPR); in extract_range_from_binary_expr()
870 && (code == PLUS_EXPR || code == MINUS_EXPR) in extract_range_from_binary_expr()
875 const bool minus_p = (code == MINUS_EXPR); in extract_range_from_binary_expr()
898 && (code == MINUS_EXPR || code == POINTER_DIFF_EXPR) in extract_range_from_binary_expr()
1041 subcode == MINUS_EXPR ? vr1max : vr1min); in check_for_binary_op_overflow()
1043 subcode == MINUS_EXPR ? vr1min : vr1max) != *ovf) in check_for_binary_op_overflow()
[all …]
H A Dtree-vect-generic.c263 result_low = gimplify_build2 (gsi, MINUS_EXPR, word_type, high_bits, b_low); in do_negate()
770 op = optab_for_tree_code (MINUS_EXPR, type, in expand_vector_divmod()
775 return gimplify_build2 (gsi, MINUS_EXPR, type, in expand_vector_divmod()
843 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
847 tem = gimplify_build2 (gsi, MINUS_EXPR, type, op0, cur_op); in expand_vector_divmod()
883 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
888 cur_op = gimplify_build2 (gsi, MINUS_EXPR, type, cur_op, tem); in expand_vector_divmod()
890 cur_op = gimplify_build2 (gsi, MINUS_EXPR, type, tem, cur_op); in expand_vector_divmod()
924 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
928 return gimplify_build2 (gsi, MINUS_EXPR, type, op0, tem); in expand_vector_divmod()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtsan.cc350 FETCH_OP (ATOMIC_SUB_FETCH_1, TSAN_ATOMIC8_FETCH_SUB, MINUS_EXPR),
351 FETCH_OP (ATOMIC_SUB_FETCH_2, TSAN_ATOMIC16_FETCH_SUB, MINUS_EXPR),
352 FETCH_OP (ATOMIC_SUB_FETCH_4, TSAN_ATOMIC32_FETCH_SUB, MINUS_EXPR),
353 FETCH_OP (ATOMIC_SUB_FETCH_8, TSAN_ATOMIC64_FETCH_SUB, MINUS_EXPR),
354 FETCH_OP (ATOMIC_SUB_FETCH_16, TSAN_ATOMIC128_FETCH_SUB, MINUS_EXPR),
420 FETCH_OPS (SYNC_SUB_AND_FETCH_1, TSAN_ATOMIC8_FETCH_SUB, MINUS_EXPR),
421 FETCH_OPS (SYNC_SUB_AND_FETCH_2, TSAN_ATOMIC16_FETCH_SUB, MINUS_EXPR),
422 FETCH_OPS (SYNC_SUB_AND_FETCH_4, TSAN_ATOMIC32_FETCH_SUB, MINUS_EXPR),
423 FETCH_OPS (SYNC_SUB_AND_FETCH_8, TSAN_ATOMIC64_FETCH_SUB, MINUS_EXPR),
424 FETCH_OPS (SYNC_SUB_AND_FETCH_16, TSAN_ATOMIC128_FETCH_SUB, MINUS_EXPR),
H A Dvalue-range.cc157 max = int_const_binop (MINUS_EXPR, min, one); in swap_out_of_order_endpoints()
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()
859 = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
907 = int_const_binop (MINUS_EXPR, *vr0max, in intersect_ranges()
928 = int_const_binop (MINUS_EXPR, *vr0min, in intersect_ranges()
993 *vr0max = int_const_binop (MINUS_EXPR, vr1min, in intersect_ranges()
1038 *vr0max = int_const_binop (MINUS_EXPR, *vr0min, in intersect_ranges()
[all …]
H A DChangeLog.ptr102 as PLUS_EXPR/MINUS_EXPR.
103 (hppa_gimplify_va_arg_expr): Don't create MINUS_EXPR or
236 exactly the same as PLUS_EXPR/MINUS_EXPR except for the offset
271 creating MINUS_EXPR/PLUS_EXPRs.
289 use a pointer type for MINUS_EXPR.
290 (fold_binary <case MINUS_EXPR>): Fold (PTR0 p+ A) - (PTR1 p+ B)
325 creating MINUS_EXPR/PLUS_EXPRs.
329 like PLUS_EXPR and MINUS_EXPR.
425 (fold_binary <case MINUS_EXPR>): Likewise.
428 (fold_stmt_r): Don't handle PLUS_EXPR/MINUS_EXPR specially.
[all …]
H A Dtree-ssa-loop-niter.cc85 case MINUS_EXPR: in split_to_var_and_offset()
1005 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
1013 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
1078 t = fold_build2 (MINUS_EXPR, type, iv->base, iv->step); in number_of_iterations_ne()
1095 t = fold_build2 (MINUS_EXPR, type, iv->base, iv->step); in number_of_iterations_ne()
1180 mod = fold_build2 (MINUS_EXPR, niter_type, step, mod); in number_of_iterations_lt_to_ne()
1210 bound = fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1253 fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1299 d = fold_build2 (MINUS_EXPR, niter_type, in assert_no_overflow_lt()
1305 diff = fold_build2 (MINUS_EXPR, niter_type, step, in assert_no_overflow_lt()
[all …]
H A Domp-general.cc145 *n2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (*n2), *n2, in omp_adjust_for_condition()
169 case MINUS_EXPR: in omp_get_for_step_from_incr()
501 n1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (loop->v), in omp_extract_for_data()
544 t = fold_binary (MINUS_EXPR, long_long_unsigned_type_node, in omp_extract_for_data()
624 t = fold_binary (MINUS_EXPR, itype, n1, n2); in omp_extract_for_data()
625 t2 = fold_binary (MINUS_EXPR, itype, m2, m1); in omp_extract_for_data()
627 t2 = fold_binary (MINUS_EXPR, itype, t, first); in omp_extract_for_data()
629 t = fold_binary (MINUS_EXPR, itype, t, t2); in omp_extract_for_data()
651 t3 = fold_binary (MINUS_EXPR, itype, n1cur, t3); in omp_extract_for_data()
652 t4 = fold_binary (MINUS_EXPR, itype, n2cur, t4); in omp_extract_for_data()
[all …]
H A Dtree-complex.cc270 case MINUS_EXPR: in init_dont_simulate_again()
348 case MINUS_EXPR: in visit_stmt()
933 if (code == MINUS_EXPR) in expand_complex_addition()
934 ri = gimple_build (&stmts, loc, MINUS_EXPR, inner_type, ai, bi); in expand_complex_addition()
940 if (code == MINUS_EXPR) in expand_complex_addition()
941 rr = gimple_build (&stmts, loc, MINUS_EXPR, inner_type, ar, br); in expand_complex_addition()
963 if (code == MINUS_EXPR) in expand_complex_addition()
970 if (code == MINUS_EXPR) in expand_complex_addition()
1085 *rr = gimple_build (stmts, loc, MINUS_EXPR, type, t1, t2); in expand_complex_multiplication_components()
1268 t3 = gimple_build (&stmts, loc, MINUS_EXPR, inner_type, t1, t2); in expand_complex_div_straight()
[all …]
H A Dfold-const.cc455 case MINUS_EXPR: in negate_expr_p()
624 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
632 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
638 case MINUS_EXPR: in fold_negate_expr_1()
642 return fold_build2_loc (loc, MINUS_EXPR, type, in fold_negate_expr_1()
823 || (code == PLUS_EXPR && TREE_CODE (in) == MINUS_EXPR) in split_tree()
824 || (code == MINUS_EXPR in split_tree()
830 int neg1_p = TREE_CODE (in) == MINUS_EXPR; in split_tree()
912 gcc_assert (t2 == 0 || code != MINUS_EXPR); in associate_trees()
923 || TREE_CODE (t1) == MINUS_EXPR || TREE_CODE (t2) == MINUS_EXPR) in associate_trees()
[all …]
H A Dtree-affine.cc282 case MINUS_EXPR: in expr_to_aff_combination()
285 if (code == MINUS_EXPR) in expr_to_aff_combination()
325 if ((icode == PLUS_EXPR || icode == MINUS_EXPR || icode == MULT_EXPR) in expr_to_aff_combination()
404 case MINUS_EXPR: in tree_to_aff_combination()
505 return fold_build2 (MINUS_EXPR, type, expr, elt); in add_elt_to_tree()
513 code = MINUS_EXPR; in add_elt_to_tree()
773 case MINUS_EXPR: in aff_combination_expand()
H A Dtree-vect-loop-manip.cc508 adjust = gimple_build (preheader_seq, MINUS_EXPR, compare_type, in vect_set_loop_controls_directly()
512 test_limit = gimple_build (preheader_seq, MINUS_EXPR, compare_type, in vect_set_loop_controls_directly()
583 this_test_limit = gimple_build (preheader_seq, MINUS_EXPR, in vect_set_loop_controls_directly()
874 limit = gimple_build (&seq, MINUS_EXPR, TREE_TYPE (limit), limit, step); in vect_set_loop_condition_normal()
912 loop->nb_iterations = fold_build2 (MINUS_EXPR, niters_type, niters, in vect_set_loop_condition_normal()
922 gassign *assign = gimple_build_assign (final_iv, MINUS_EXPR, in vect_set_loop_condition_normal()
1659 fold_build2 (MINUS_EXPR, type, in get_misalign_in_elems()
1661 target_align_minus_1 = fold_build2 (MINUS_EXPR, type, vla_align, in get_misalign_in_elems()
1755 iters = fold_build2 (MINUS_EXPR, type, misalign_in_elems, in vect_gen_prolog_loop_niters()
1758 iters = fold_build2 (MINUS_EXPR, type, align_in_elems_tree, in vect_gen_prolog_loop_niters()
[all …]
H A Dvr-values.cc461 || TREE_CODE (expr) == MINUS_EXPR) in valid_value_p()
699 max = fold_build2 (MINUS_EXPR, TREE_TYPE (max), max, in extract_range_for_var_from_comparison_expr()
736 min = fold_build2 (MINUS_EXPR, TREE_TYPE (min), min, in extract_range_for_var_from_comparison_expr()
897 && (code == PLUS_EXPR || code == MINUS_EXPR) in extract_range_from_binary_expr()
902 const bool minus_p = (code == MINUS_EXPR); in extract_range_from_binary_expr()
921 && (code == PLUS_EXPR || code == MINUS_EXPR) in extract_range_from_binary_expr()
926 const bool minus_p = (code == MINUS_EXPR); in extract_range_from_binary_expr()
949 && (code == MINUS_EXPR || code == POINTER_DIFF_EXPR) in extract_range_from_binary_expr()
1095 subcode == MINUS_EXPR ? vr1max : vr1min); in check_for_binary_op_overflow()
1097 subcode == MINUS_EXPR ? vr1min : vr1max) != *ovf) in check_for_binary_op_overflow()
[all …]
H A Dtree-vrp.cc253 || TREE_CODE (t) == MINUS_EXPR) in get_single_symbol()
257 neg_ = (TREE_CODE (t) == MINUS_EXPR); in get_single_symbol()
539 bool minus_p = (code == MINUS_EXPR); in adjust_symbolic_bound()
576 bool minus_p = (code == MINUS_EXPR); in combine_bound()
755 gcc_checking_assert (code == PLUS_EXPR || code == MINUS_EXPR); in extract_range_from_plus_minus_expr()
812 const bool minus_p = (code == MINUS_EXPR); in extract_range_from_plus_minus_expr()
996 if ((code == PLUS_EXPR || code == MINUS_EXPR)) in range_fold_binary_symbolics_p()
1032 range_fold_binary_expr (vr, MINUS_EXPR, expr_type, &zero, vr0); in range_fold_unary_symbolics_p()
1040 range_fold_binary_expr (vr, MINUS_EXPR, expr_type, &minusone, vr0); in range_fold_unary_symbolics_p()
1540 || code == MINUS_EXPR) in register_edge_assert_for_2()
[all …]
H A Dtree-vect-generic.cc309 result_low = gimplify_build2 (gsi, MINUS_EXPR, word_type, high_bits, b_low); in do_negate()
872 op = optab_for_tree_code (MINUS_EXPR, type, in expand_vector_divmod()
877 return gimplify_build2 (gsi, MINUS_EXPR, type, in expand_vector_divmod()
945 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
949 tem = gimplify_build2 (gsi, MINUS_EXPR, type, op0, cur_op); in expand_vector_divmod()
985 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
990 cur_op = gimplify_build2 (gsi, MINUS_EXPR, type, cur_op, tem); in expand_vector_divmod()
992 cur_op = gimplify_build2 (gsi, MINUS_EXPR, type, tem, cur_op); in expand_vector_divmod()
1026 op = optab_for_tree_code (MINUS_EXPR, type, optab_default); in expand_vector_divmod()
1030 return gimplify_build2 (gsi, MINUS_EXPR, type, op0, tem); in expand_vector_divmod()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-seg-inst-handler.cc82 expr = build2 (MINUS_EXPR, size_type_node, in operator ()()
87 expr = build2 (MINUS_EXPR, size_type_node, in operator ()()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-longdouble.cc125 real_arithmetic (&x.rv (), MINUS_EXPR, &this->rv (), &r.rv ()); in sub()
167 real_arithmetic (&x.rv (), MINUS_EXPR, &this->rv (), &q); in mod()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-longdouble.cc131 real_arithmetic (&x.rv (), MINUS_EXPR, &this->rv (), &r.rv ()); in sub()
173 real_arithmetic (&x.rv (), MINUS_EXPR, &this->rv (), &q); in mod()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-warn.c1267 case MINUS_EXPR: in conversion_warning()
2021 else if (code_left == MINUS_EXPR) in warn_about_parentheses()
2024 else if (code_right == MINUS_EXPR) in warn_about_parentheses()
2036 else if (code_left == MINUS_EXPR) in warn_about_parentheses()
2039 else if (code_right == MINUS_EXPR) in warn_about_parentheses()
2055 || code_left == PLUS_EXPR || code_left == MINUS_EXPR) in warn_about_parentheses()
2059 || code_right == PLUS_EXPR || code_right == MINUS_EXPR) in warn_about_parentheses()
2079 || code_left == PLUS_EXPR || code_left == MINUS_EXPR) in warn_about_parentheses()
2083 || code_right == PLUS_EXPR || code_right == MINUS_EXPR) in warn_about_parentheses()
2102 else if (code_left == MINUS_EXPR) in warn_about_parentheses()
[all …]

12345678910>>...14