Home
last modified time | relevance | path

Searched refs:PLUS_EXPR (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog.ptr50 instead of PLUS_EXPR when the operand was a pointer. Don't create a
72 Offset only holds something for PLUS_EXPR.
74 a PLUS_EXPR.
76 and not PLUS_EXPR.
81 PLUS_EXPR.
83 and not PLUS_EXPR.
94 for pointers instead of PLUS_EXPR.
102 as PLUS_EXPR/MINUS_EXPR.
104 PLUS_EXPR for pointers, instead use POINTER_PLUS_EXPR.
125 (follow_ssa_edge_in_rhs <case POINTER_PLUS_EXPR, case PLUS_EXPR>):
[all …]
H A Domp-expand.cc219 chunk_size = fold_build2 (PLUS_EXPR, type, chunk_size, in omp_adjust_chunk_size()
842 flags = fold_build2_loc (loc, PLUS_EXPR, unsigned_type_node, in expand_task_call()
856 flags = fold_build2_loc (loc, PLUS_EXPR, unsigned_type_node, flags, t); in expand_task_call()
1638 expr = fold_build2 (PLUS_EXPR, diff_type, expr, s); in expand_oacc_collapse_init()
1678 enum tree_code plus_code = PLUS_EXPR; in expand_oacc_collapse_vars()
1934 t = fold_build2 (PLUS_EXPR, itype, in expand_omp_for_init_counts()
1936 t = fold_build2 (PLUS_EXPR, itype, t, in expand_omp_for_init_counts()
2026 t = fold_build2 (PLUS_EXPR, itype, ostep, t); in expand_omp_for_init_counts()
2027 t = fold_build2 (PLUS_EXPR, itype, t, n2o); in expand_omp_for_init_counts()
2042 t = fold_build2 (PLUS_EXPR, itype, n1o, t); in expand_omp_for_init_counts()
[all …]
H A Dtsan.cc345 FETCH_OP (ATOMIC_ADD_FETCH_1, TSAN_ATOMIC8_FETCH_ADD, PLUS_EXPR),
346 FETCH_OP (ATOMIC_ADD_FETCH_2, TSAN_ATOMIC16_FETCH_ADD, PLUS_EXPR),
347 FETCH_OP (ATOMIC_ADD_FETCH_4, TSAN_ATOMIC32_FETCH_ADD, PLUS_EXPR),
348 FETCH_OP (ATOMIC_ADD_FETCH_8, TSAN_ATOMIC64_FETCH_ADD, PLUS_EXPR),
349 FETCH_OP (ATOMIC_ADD_FETCH_16, TSAN_ATOMIC128_FETCH_ADD, PLUS_EXPR),
415 FETCH_OPS (SYNC_ADD_AND_FETCH_1, TSAN_ATOMIC8_FETCH_ADD, PLUS_EXPR),
416 FETCH_OPS (SYNC_ADD_AND_FETCH_2, TSAN_ATOMIC16_FETCH_ADD, PLUS_EXPR),
417 FETCH_OPS (SYNC_ADD_AND_FETCH_4, TSAN_ATOMIC32_FETCH_ADD, PLUS_EXPR),
418 FETCH_OPS (SYNC_ADD_AND_FETCH_8, TSAN_ATOMIC64_FETCH_ADD, PLUS_EXPR),
419 FETCH_OPS (SYNC_ADD_AND_FETCH_16, TSAN_ATOMIC128_FETCH_ADD, PLUS_EXPR),
H A Dtree-affine.cc193 comb->rest = fold_build2 (PLUS_EXPR, type, comb->rest, in aff_combination_add_elt()
281 case PLUS_EXPR: in expr_to_aff_combination()
325 if ((icode == PLUS_EXPR || icode == MINUS_EXPR || icode == MULT_EXPR) in expr_to_aff_combination()
338 || (icode == PLUS_EXPR && operand_equal_p (op0, op1, 0)))) in expr_to_aff_combination()
360 if (icode == PLUS_EXPR) in expr_to_aff_combination()
403 case PLUS_EXPR: in tree_to_aff_combination()
497 return fold_build2 (PLUS_EXPR, type, expr, elt); in add_elt_to_tree()
517 code = PLUS_EXPR; in add_elt_to_tree()
772 case PLUS_EXPR: in aff_combination_expand()
H A Dtree-ssa-address.cc319 addr_off = fold_build2 (PLUS_EXPR, TREE_TYPE (addr_off), in tree_mem_ref_addr()
328 addr_off = fold_build2 (PLUS_EXPR, TREE_TYPE (addr_off), addr_off, in tree_mem_ref_addr()
557 parts->base = fold_build2 (PLUS_EXPR, type, parts->base, elt); in add_to_parts()
662 op_code = PLUS_EXPR; in most_expensive_mult_to_index()
675 else if (op_code == PLUS_EXPR) in most_expensive_mult_to_index()
1082 addr.offset = fold_binary_to_constant (PLUS_EXPR, in maybe_fold_tmr()
1093 (PLUS_EXPR, TREE_TYPE (addr.offset), in maybe_fold_tmr()
1106 addr.offset = int_const_binop (PLUS_EXPR, in maybe_fold_tmr()
1121 addr.offset = fold_binary_to_constant (PLUS_EXPR, in maybe_fold_tmr()
H A Dtree-vect-generic.cc275 if (code == PLUS_EXPR) in do_plus_minus()
347 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()
831 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
835 cur_op = gimplify_build2 (gsi, PLUS_EXPR, type, op0, addend); in expand_vector_divmod()
863 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
868 cur_op = gimplify_build2 (gsi, PLUS_EXPR, type, op0, in expand_vector_divmod()
951 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
955 tem = gimplify_build2 (gsi, PLUS_EXPR, type, cur_op, tem); in expand_vector_divmod()
973 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
[all …]
H A Domp-general.cc137 *n2 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (*n2), *n2, in omp_adjust_for_condition()
163 case PLUS_EXPR: in omp_get_for_step_from_incr()
478 n = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (loop->v), in omp_extract_for_data()
496 n2 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (loop->v), in omp_extract_for_data()
550 tree last = fold_binary (PLUS_EXPR, itype, first, in omp_extract_for_data()
563 n1first = fold_binary (PLUS_EXPR, itype, in omp_extract_for_data()
566 n1last = fold_binary (PLUS_EXPR, itype, in omp_extract_for_data()
576 n2first = fold_binary (PLUS_EXPR, itype, in omp_extract_for_data()
579 n2last = fold_binary (PLUS_EXPR, itype, in omp_extract_for_data()
631 = fold_binary (PLUS_EXPR, itype, n1, in omp_extract_for_data()
[all …]
H A Dtree-chrec.cc75 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
92 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
113 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
272 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_1()
311 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_1()
374 code = PLUS_EXPR; in chrec_fold_plus()
1453 && (TREE_CODE (chrec) == PLUS_EXPR in chrec_convert_1()
1610 case PLUS_EXPR: in eq_evolutions_p()
1685 case PLUS_EXPR: in operator_is_linear()
H A Dvalue-range.cc156 tmp = int_const_binop (PLUS_EXPR, max, one); in swap_out_of_order_endpoints()
346 min = int_const_binop (PLUS_EXPR, max, one); in set()
844 = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
855 = int_const_binop (PLUS_EXPR, vr1min, in intersect_ranges()
911 = int_const_binop (PLUS_EXPR, *vr0max, in intersect_ranges()
924 = int_const_binop (PLUS_EXPR, *vr0min, in intersect_ranges()
1003 *vr0min = int_const_binop (PLUS_EXPR, *vr0max, in intersect_ranges()
1028 *vr0min = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
1181 tree min = int_const_binop (PLUS_EXPR, in union_ranges()
1207 tree min = int_const_binop (PLUS_EXPR, in union_ranges()
[all …]
H A Dfold-const.cc443 case PLUS_EXPR: in negate_expr_p()
553 return fold_build2_loc (loc, PLUS_EXPR, type, TREE_OPERAND (t, 0), in fold_negate_expr_1()
616 case PLUS_EXPR: in fold_negate_expr_1()
822 && ((code == PLUS_EXPR && TREE_CODE (in) == POINTER_PLUS_EXPR) in split_tree()
823 || (code == PLUS_EXPR && TREE_CODE (in) == MINUS_EXPR) in split_tree()
825 && (TREE_CODE (in) == PLUS_EXPR in split_tree()
866 && code == PLUS_EXPR) in split_tree()
922 || TREE_CODE (t1) == PLUS_EXPR || TREE_CODE (t2) == PLUS_EXPR in associate_trees()
925 if (code == PLUS_EXPR) in associate_trees()
1041 case PLUS_EXPR: in wide_int_binop()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A DChangeLog.ptr23 PLUS_EXPR on pointer types over to use
54 instead of PLUS_EXPR for pointers.
63 instead of PLUS_EXPR.
65 instead of PLUS_EXPR for pointers.
H A Doperators.def38 this would be PLUS_EXPR. Because there are no tree codes for
40 `operator +' will also have PLUS_EXPR as its CODE.
98 DEF_OPERATOR ("+", PLUS_EXPR, "pl", OVL_OP_FLAG_BINARY)
151 DEF_ASSN_OPERATOR ("+=", PLUS_EXPR, "pL")
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvalue-range.cc138 tmp = int_const_binop (PLUS_EXPR, max, one); in set()
185 min = int_const_binop (PLUS_EXPR, max, one); in set()
703 = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
714 = int_const_binop (PLUS_EXPR, vr1min, in intersect_ranges()
770 = int_const_binop (PLUS_EXPR, *vr0max, in intersect_ranges()
783 = int_const_binop (PLUS_EXPR, *vr0min, in intersect_ranges()
862 *vr0min = int_const_binop (PLUS_EXPR, *vr0max, in intersect_ranges()
887 *vr0min = int_const_binop (PLUS_EXPR, vr1max, in intersect_ranges()
1034 tree min = int_const_binop (PLUS_EXPR, in union_ranges()
1060 tree min = int_const_binop (PLUS_EXPR, in union_ranges()
[all …]
H A Dtsan.c336 FETCH_OP (ATOMIC_ADD_FETCH_1, TSAN_ATOMIC8_FETCH_ADD, PLUS_EXPR),
337 FETCH_OP (ATOMIC_ADD_FETCH_2, TSAN_ATOMIC16_FETCH_ADD, PLUS_EXPR),
338 FETCH_OP (ATOMIC_ADD_FETCH_4, TSAN_ATOMIC32_FETCH_ADD, PLUS_EXPR),
339 FETCH_OP (ATOMIC_ADD_FETCH_8, TSAN_ATOMIC64_FETCH_ADD, PLUS_EXPR),
340 FETCH_OP (ATOMIC_ADD_FETCH_16, TSAN_ATOMIC128_FETCH_ADD, PLUS_EXPR),
406 FETCH_OPS (SYNC_ADD_AND_FETCH_1, TSAN_ATOMIC8_FETCH_ADD, PLUS_EXPR),
407 FETCH_OPS (SYNC_ADD_AND_FETCH_2, TSAN_ATOMIC16_FETCH_ADD, PLUS_EXPR),
408 FETCH_OPS (SYNC_ADD_AND_FETCH_4, TSAN_ATOMIC32_FETCH_ADD, PLUS_EXPR),
409 FETCH_OPS (SYNC_ADD_AND_FETCH_8, TSAN_ATOMIC64_FETCH_ADD, PLUS_EXPR),
410 FETCH_OPS (SYNC_ADD_AND_FETCH_16, TSAN_ATOMIC128_FETCH_ADD, PLUS_EXPR),
H A Dtree-vect-generic.c230 if (code == PLUS_EXPR) in do_plus_minus()
296 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()
729 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
733 cur_op = gimplify_build2 (gsi, PLUS_EXPR, type, op0, addend); in expand_vector_divmod()
761 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
766 cur_op = gimplify_build2 (gsi, PLUS_EXPR, type, op0, in expand_vector_divmod()
849 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
853 tem = gimplify_build2 (gsi, PLUS_EXPR, type, cur_op, tem); in expand_vector_divmod()
871 op = optab_for_tree_code (PLUS_EXPR, type, optab_default); in expand_vector_divmod()
[all …]
H A Dtree-affine.c192 comb->rest = fold_build2 (PLUS_EXPR, type, comb->rest, in aff_combination_add_elt()
280 case PLUS_EXPR:
324 if ((icode == PLUS_EXPR || icode == MINUS_EXPR || icode == MULT_EXPR)
337 || (icode == PLUS_EXPR && operand_equal_p (op0, op1, 0))))
356 if (icode == PLUS_EXPR)
394 case PLUS_EXPR: in tree_to_aff_combination()
488 return fold_build2 (PLUS_EXPR, type, expr, elt); in add_elt_to_tree()
508 code = PLUS_EXPR; in add_elt_to_tree()
763 case PLUS_EXPR: in aff_combination_expand()
H A Dtree-ssa-address.c319 addr_off = fold_build2 (PLUS_EXPR, TREE_TYPE (addr_off), in tree_mem_ref_addr()
328 addr_off = fold_build2 (PLUS_EXPR, TREE_TYPE (addr_off), addr_off, in tree_mem_ref_addr()
557 parts->base = fold_build2 (PLUS_EXPR, type, parts->base, elt); in add_to_parts()
662 op_code = PLUS_EXPR; in most_expensive_mult_to_index()
675 else if (op_code == PLUS_EXPR) in most_expensive_mult_to_index()
1072 addr.offset = fold_binary_to_constant (PLUS_EXPR, in maybe_fold_tmr()
1083 (PLUS_EXPR, TREE_TYPE (addr.offset), in maybe_fold_tmr()
1096 addr.offset = int_const_binop (PLUS_EXPR, in maybe_fold_tmr()
1111 addr.offset = fold_binary_to_constant (PLUS_EXPR, in maybe_fold_tmr()
H A Domp-expand.c218 chunk_size = fold_build2 (PLUS_EXPR, type, chunk_size, in omp_adjust_chunk_size()
867 flags = fold_build2_loc (loc, PLUS_EXPR, unsigned_type_node, in expand_task_call()
881 flags = fold_build2_loc (loc, PLUS_EXPR, unsigned_type_node, flags, t); in expand_task_call()
1636 expr = fold_build2 (PLUS_EXPR, diff_type, expr, s); in expand_oacc_collapse_init()
1676 enum tree_code plus_code = PLUS_EXPR; in expand_oacc_collapse_vars()
1881 t = fold_build2 (PLUS_EXPR, itype, in expand_omp_for_init_counts()
1883 t = fold_build2 (PLUS_EXPR, itype, t, in expand_omp_for_init_counts()
1992 t = fold_build2 (PLUS_EXPR, itype, fd->loops[i].n1, t); in expand_omp_for_init_vars()
2067 t = fold_build2 (PLUS_EXPR, vtype, fd->loops[i].v, fd->loops[i].step); in extract_omp_for_update_vars()
2223 a = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (fd->loops[i].v), in expand_omp_ordered_sink()
[all …]
H A Dtree-chrec.c75 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
92 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
113 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_poly_poly()
272 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_1()
311 if (code == PLUS_EXPR || code == POINTER_PLUS_EXPR) in chrec_fold_plus_1()
374 code = PLUS_EXPR; in chrec_fold_plus()
1455 && (TREE_CODE (chrec) == PLUS_EXPR in chrec_convert_1()
1612 case PLUS_EXPR: in eq_evolutions_p()
1687 case PLUS_EXPR: in operator_is_linear()
H A Dinternal-fn.c762 if (code == PLUS_EXPR && uns0_p && !uns1_p) in expand_addsub_overflow()
776 insn_code icode = optab_handler (code == PLUS_EXPR ? uaddv4_optab in expand_addsub_overflow()
806 res = expand_binop (mode, code == PLUS_EXPR ? add_optab : sub_optab, in expand_addsub_overflow()
816 if (code == PLUS_EXPR in expand_addsub_overflow()
821 do_compare_rtx_and_jump (res, tem, code == PLUS_EXPR ? GEU : LEU, in expand_addsub_overflow()
832 res = expand_binop (mode, code == PLUS_EXPR ? add_optab : sub_optab, in expand_addsub_overflow()
835 code == PLUS_EXPR ? res : op0, sgn, in expand_addsub_overflow()
843 if (code == PLUS_EXPR && !uns0_p && uns1_p && unsr_p) in expand_addsub_overflow()
901 if (code == PLUS_EXPR && uns0_p && uns1_p && !unsr_p) in expand_addsub_overflow()
931 res = expand_binop (mode, code == PLUS_EXPR ? add_optab : sub_optab, in expand_addsub_overflow()
[all …]
H A Dfold-const.c431 case PLUS_EXPR: in negate_expr_p()
541 return fold_build2_loc (loc, PLUS_EXPR, type, TREE_OPERAND (t, 0), in fold_negate_expr_1()
604 case PLUS_EXPR: in fold_negate_expr_1()
810 && ((code == PLUS_EXPR && TREE_CODE (in) == POINTER_PLUS_EXPR) in split_tree()
811 || (code == PLUS_EXPR && TREE_CODE (in) == MINUS_EXPR) in split_tree()
813 && (TREE_CODE (in) == PLUS_EXPR in split_tree()
854 && code == PLUS_EXPR) in split_tree()
910 || TREE_CODE (t1) == PLUS_EXPR || TREE_CODE (t2) == PLUS_EXPR in associate_trees()
913 if (code == PLUS_EXPR) in associate_trees()
1036 case PLUS_EXPR: in wide_int_binop()
[all …]
H A Dtree-complex.c267 case PLUS_EXPR: in init_dont_simulate_again()
345 case PLUS_EXPR: in visit_stmt()
626 TREE_OPERAND (t, 2) = size_binop (PLUS_EXPR, TREE_OPERAND (t, 2),
1081 *ri = gimplify_build2 (gsi, PLUS_EXPR, type, t3, t4); in expand_complex_multiplication_components()
1243 div = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, t2); in expand_complex_div_straight()
1247 t3 = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, t2); in expand_complex_div_straight()
1348 div = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, bi); in expand_complex_div_wide()
1351 tr = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, ai); in expand_complex_div_wide()
1387 div = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, br); in expand_complex_div_wide()
1390 tr = gimplify_build2 (gsi, PLUS_EXPR, inner_type, t1, ar); in expand_complex_div_wide()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A DChangeLog.ptr4 POINTER_PLUS_EXPR instead of PLUS_EXPR for pointer addition.
9 POINTER_PLUS_EXPR instead of a PLUS_EXPR
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Doperators.def38 this would be PLUS_EXPR. Because there are no tree codes for
40 `operator +' will also have PLUS_EXPR as its CODE.
98 DEF_OPERATOR ("+", PLUS_EXPR, "pl", OVL_OP_FLAG_BINARY)
151 DEF_ASSN_OPERATOR ("+=", PLUS_EXPR, "pL")
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-seg-inst-handler.cc50 expr = build2 (PLUS_EXPR, size_type_node, in operator ()()
56 expr = build2 (PLUS_EXPR, size_type_node, in operator ()()

12345678910>>...15