Home
last modified time | relevance | path

Searched refs:fold_build2 (Results 1 – 25 of 52) sorted by relevance

123

/NextBSD/contrib/gcc/
HDtree-ssa-loop-niter.c153 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
160 c = fold_build2 (MINUS_EXPR, niter_type, in number_of_iterations_ne()
188 assumption = fold_build2 (FLOOR_MOD_EXPR, niter_type, c, d); in number_of_iterations_ne()
189 assumption = fold_build2 (EQ_EXPR, boolean_type_node, in number_of_iterations_ne()
192 niter->assumptions = fold_build2 (TRUTH_AND_EXPR, boolean_type_node, in number_of_iterations_ne()
196 c = fold_build2 (EXACT_DIV_EXPR, niter_type, c, d); in number_of_iterations_ne()
197 tmp = fold_build2 (MULT_EXPR, niter_type, c, inverse (s, bound)); in number_of_iterations_ne()
198 niter->niter = fold_build2 (BIT_AND_EXPR, niter_type, tmp, bound); in number_of_iterations_ne()
216 tree mod = fold_build2 (FLOOR_MOD_EXPR, niter_type, *delta, step); in number_of_iterations_lt_to_ne()
223 mod = fold_build2 (MINUS_EXPR, niter_type, step, mod); in number_of_iterations_lt_to_ne()
[all …]
HDfold-const.c1183 return fold_build2 (PLUS_EXPR, type, TREE_OPERAND (t, 0), in fold_negate_expr()
1226 return fold_build2 (MINUS_EXPR, type, in fold_negate_expr()
1234 return fold_build2 (MINUS_EXPR, type, in fold_negate_expr()
1244 return fold_build2 (MINUS_EXPR, type, in fold_negate_expr()
1259 return fold_build2 (TREE_CODE (t), type, in fold_negate_expr()
1263 return fold_build2 (TREE_CODE (t), type, in fold_negate_expr()
1289 return fold_build2 (TREE_CODE (t), type, in fold_negate_expr()
1299 return fold_build2 (TREE_CODE (t), type, in fold_negate_expr()
1342 temp = fold_build2 (RSHIFT_EXPR, ntype, temp, op1); in fold_negate_expr()
1510 return fold_build2 (code, type, fold_convert (type, t1), in associate_trees()
[all …]
HDtree-ssa-address.c264 act_elem = fold_build2 (MULT_EXPR, sizetype, act_elem, step); in tree_mem_ref_addr()
272 addr_off = fold_build2 (PLUS_EXPR, sizetype, addr_off, act_elem); in tree_mem_ref_addr()
280 addr_off = fold_build2 (PLUS_EXPR, sizetype, addr_off, offset); in tree_mem_ref_addr()
289 addr = fold_build2 (PLUS_EXPR, type, addr_base, addr); in tree_mem_ref_addr()
441 parts->base = fold_build2 (PLUS_EXPR, type, in add_to_parts()
491 mult_elt = fold_build2 (PLUS_EXPR, sizetype, mult_elt, elt); in most_expensive_mult_to_index()
542 part = fold_build2 (MULT_EXPR, sizetype, part, in addr_to_parts()
588 fold_build2 (MULT_EXPR, sizetype, in create_mem_ref()
608 fold_build2 (PLUS_EXPR, addr_type, in create_mem_ref()
634 fold_build2 (PLUS_EXPR, atype, in create_mem_ref()
[all …]
HDtree-ssa-loop-manip.c740 cond = fold_build2 (TRUTH_AND_EXPR, boolean_type_node, in determine_exit_conditions()
744 bigstep = fold_build2 (MULT_EXPR, type, step, in determine_exit_conditions()
746 delta = fold_build2 (MINUS_EXPR, type, bigstep, step); in determine_exit_conditions()
748 assum = fold_build2 (GE_EXPR, boolean_type_node, in determine_exit_conditions()
750 fold_build2 (PLUS_EXPR, type, min, delta)); in determine_exit_conditions()
752 assum = fold_build2 (LE_EXPR, boolean_type_node, in determine_exit_conditions()
754 fold_build2 (PLUS_EXPR, type, max, delta)); in determine_exit_conditions()
755 cond = fold_build2 (TRUTH_AND_EXPR, boolean_type_node, assum, cond); in determine_exit_conditions()
757 bound = fold_build2 (MINUS_EXPR, type, bound, delta); in determine_exit_conditions()
758 assum = fold_build2 (cmp, boolean_type_node, base, bound); in determine_exit_conditions()
[all …]
HDtree-mudflap.c667 fold_build2 (PLUS_EXPR, integer_type_node, in mf_build_check_statement_for()
668 fold_build2 (MINUS_EXPR, mf_uintptr_type, mf_limit, mf_base), in mf_build_check_statement_for()
824 addr = fold_build2 (PLUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
831 limit = fold_build2 (MINUS_EXPR, mf_uintptr_type, in mf_xform_derefs_1()
832 fold_build2 (PLUS_EXPR, mf_uintptr_type, in mf_xform_derefs_1()
842 limit = fold_build2 (MINUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
843 fold_build2 (PLUS_EXPR, ptr_type_node, base, size), in mf_xform_derefs_1()
850 limit = fold_build2 (MINUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
851 fold_build2 (PLUS_EXPR, ptr_type_node, base, size), in mf_xform_derefs_1()
881 addr = fold_build2 (PLUS_EXPR, ptr_type_node, addr, ofs); in mf_xform_derefs_1()
[all …]
HDc-omp.c183 return fold_build2 (MINUS_EXPR, TREE_TYPE (exp), t, TREE_OPERAND (exp, 1)); in check_omp_for_incr_expr()
188 return fold_build2 (PLUS_EXPR, TREE_TYPE (exp), t, TREE_OPERAND (exp, 1)); in check_omp_for_incr_expr()
191 return fold_build2 (PLUS_EXPR, TREE_TYPE (exp), TREE_OPERAND (exp, 0), t); in check_omp_for_incr_expr()
HDtree-ssa-loop-ivopts.c879 return fold_build2 (code, ptr_type_node, op0, op1); in determine_base_object()
1410 step = fold_build2 (MULT_EXPR, sizetype, step, iv_step); in idx_find_step()
1415 *dta->step_p = fold_build2 (PLUS_EXPR, sizetype, *dta->step_p, step); in idx_find_step()
1558 astep = fold_build2 (MULT_EXPR, type, TMR_STEP (base), astep); in find_interesting_uses_address()
1561 step = fold_build2 (PLUS_EXPR, type, step, astep); in find_interesting_uses_address()
1836 expr = fold_build2 (code, type, op0, op1); in strip_offset_1()
2695 comb->rest = fold_build2 (MULT_EXPR, comb->type, comb->rest, in aff_combination_scale()
2743 elt = fold_build2 (MULT_EXPR, comb->type, in aff_combination_add_elt()
2748 comb->rest = fold_build2 (PLUS_EXPR, comb->type, comb->rest, elt); in aff_combination_add_elt()
2888 return fold_build2 (PLUS_EXPR, type, expr, elt); in add_elt_to_tree()
[all …]
HDtree-ssa-phiopt.c756 if (!integer_nonzerop (fold_build2 (LE_EXPR, boolean_type_node, in minmax_replacement()
781 if (!integer_nonzerop (fold_build2 (GE_EXPR, boolean_type_node, in minmax_replacement()
815 if (!integer_nonzerop (fold_build2 (GE_EXPR, boolean_type_node, in minmax_replacement()
840 if (!integer_nonzerop (fold_build2 (LE_EXPR, boolean_type_node, in minmax_replacement()
HDtree-ssa-loop-ivcanon.c98 niter = fold_build2 (PLUS_EXPR, type, in create_canonical_iv()
293 niter = fold_build2 (MINUS_EXPR, TREE_TYPE (niter), niter, in canonicalize_loop_induction_variables()
HDtree-chrec.c308 return fold_build2 (code, type, in chrec_fold_plus_1()
405 return fold_build2 (MULT_EXPR, type, op0, op1); in chrec_fold_multiply()
509 arg1 = fold_build2 (MULT_EXPR, type, in chrec_evaluate()
518 return fold_build2 (MULT_EXPR, type, chrec, binomial_n_k); in chrec_evaluate()
HDbuiltins.c3893 len = fold_build2 (MIN_EXPR, TREE_TYPE (len), len, in expand_builtin_strncmp()
3989 newdst = fold_build2 (PLUS_EXPR, TREE_TYPE (dst), dst, newdst); in expand_builtin_strcat()
4307 t = fold_build2 (GT_EXPR, sizetype, rounded_size, size_int (align)); in std_gimplify_va_arg_expr()
4311 addr = fold_build2 (PLUS_EXPR, TREE_TYPE (addr), addr, t); in std_gimplify_va_arg_expr()
5331 arg = fold_build2 (LT_EXPR, TREE_TYPE (exp), arg, in expand_builtin_signbit()
7015 result = fold_build2 (PLUS_EXPR, type, in fold_builtin_cabs()
7016 fold_build2 (MULT_EXPR, type, in fold_builtin_cabs()
7018 fold_build2 (MULT_EXPR, type, in fold_builtin_cabs()
7059 arg = fold_build2 (MULT_EXPR, type, in fold_builtin_sqrt()
7101 narg1 = fold_build2 (MULT_EXPR, type, arg1, in fold_builtin_sqrt()
[all …]
HDconvert.c727 fold_build2 (ex_form, typex, in convert_to_integer()
823 return fold_build2 (COMPLEX_EXPR, type, in convert_to_complex()
830 fold_build2 (COMPLEX_EXPR, type, in convert_to_complex()
HDstmt.c2261 lo = tree_low_cst (fold_build2 (MINUS_EXPR, index_type, in emit_case_bit_tests()
2263 hi = tree_low_cst (fold_build2 (MINUS_EXPR, index_type, in emit_case_bit_tests()
2274 index_expr = fold_build2 (MINUS_EXPR, index_type, in emit_case_bit_tests()
2438 range = fold_build2 (MINUS_EXPR, index_type, maxval, minval); in expand_case()
2565 = tree_low_cst (fold_build2 (MINUS_EXPR, index_type, in expand_case()
2568 = tree_low_cst (fold_build2 (MINUS_EXPR, index_type, in expand_case()
2843 low_minus_one = fold_build2 (MINUS_EXPR, TREE_TYPE (node->low), in node_has_low_bound()
2894 high_plus_one = fold_build2 (PLUS_EXPR, TREE_TYPE (node->high), in node_has_high_bound()
3303 new_bound = expand_expr (fold_build2 (MINUS_EXPR, type, in emit_case_nodes()
HDtree-data-ref.c920 data_size = fold_build2 (EXACT_DIV_EXPR, integer_type_node, in estimate_niter_from_size_of_data()
928 tree i_plus_s = fold_build2 (PLUS_EXPR, integer_type_node, init, step); in estimate_niter_from_size_of_data()
932 estimation = fold_build2 (CEIL_DIV_EXPR, integer_type_node, in estimate_niter_from_size_of_data()
933 fold_build2 (MINUS_EXPR, integer_type_node, in estimate_niter_from_size_of_data()
941 fold_build2 (PLUS_EXPR, integer_type_node, in estimate_niter_from_size_of_data()
942 fold_build2 (CEIL_DIV_EXPR, integer_type_node, in estimate_niter_from_size_of_data()
944 fold_build2 (MINUS_EXPR, unsigned_type_node, in estimate_niter_from_size_of_data()
1405 fold_build2 (code, TREE_TYPE (left_offset), in analyze_offset_expr()
1919 fold_build2 (code, TREE_TYPE (invariant_0), invariant_0, invariant_1); in analyze_offset()
2020 init_cond = fold_build2 (TRUNC_DIV_EXPR, TREE_TYPE (constant), in create_data_ref()
[all …]
HDlambda-code.c1561 fold_build2 (MULT_EXPR, type, iv, coeffmult)); in lbv_to_gcc_expression()
1663 mult = fold_build2 (MULT_EXPR, type, iv, coeff); in lle_to_gcc_expression()
1704 mult = fold_build2 (MULT_EXPR, type, invar, coeff); in lle_to_gcc_expression()
2167 val = fold_build2 (MINUS_EXPR, TREE_TYPE (y), init, yinit); in replace_uses_equiv_to_x_with_y()
2168 val = fold_build2 (PLUS_EXPR, TREE_TYPE (y), y, val); in replace_uses_equiv_to_x_with_y()
2179 val = fold_build2 (MINUS_EXPR, TREE_TYPE (y), y, yinit); in replace_uses_equiv_to_x_with_y()
2181 val = fold_build2 (PLUS_EXPR, TREE_TYPE (use), val, init); in replace_uses_equiv_to_x_with_y()
HDomp-low.c176 fd->n2 = fold_build2 (PLUS_EXPR, TREE_TYPE (fd->n2), fd->n2, in extract_omp_for_data()
181 fd->n2 = fold_build2 (MINUS_EXPR, TREE_TYPE (fd->n2), fd->n2, in extract_omp_for_data()
1948 x = fold_build2 (code, TREE_TYPE (ref), ref, new_var); in lower_reduction_clauses()
2831 t = fold_build2 (PLUS_EXPR, type, fd->step, t); in expand_omp_for_static_nochunk()
2832 t = fold_build2 (PLUS_EXPR, type, t, fd->n2); in expand_omp_for_static_nochunk()
2833 t = fold_build2 (MINUS_EXPR, type, t, fd->n1); in expand_omp_for_static_nochunk()
2834 t = fold_build2 (TRUNC_DIV_EXPR, type, t, fd->step); in expand_omp_for_static_nochunk()
3012 t = fold_build2 (PLUS_EXPR, type, fd->step, t); in expand_omp_for_static_chunk()
3013 t = fold_build2 (PLUS_EXPR, type, t, fd->n2); in expand_omp_for_static_chunk()
3014 t = fold_build2 (MINUS_EXPR, type, t, fd->n1); in expand_omp_for_static_chunk()
[all …]
HDtree-vect-transform.c164 offset = fold_build2 (MULT_EXPR, TREE_TYPE (offset), offset, in vect_create_addr_base_for_vector_ref()
166 base_offset = fold_build2 (PLUS_EXPR, TREE_TYPE (base_offset), in vect_create_addr_base_for_vector_ref()
173 addr_base = fold_build2 (PLUS_EXPR, TREE_TYPE (data_ref_base), data_ref_base, in vect_create_addr_base_for_vector_ref()
2761 niters = fold_build2 (MULT_EXPR, TREE_TYPE (niters), niters, DR_STEP (dr)); in vect_update_init_of_dr()
2762 offset = fold_build2 (PLUS_EXPR, TREE_TYPE (offset), offset, niters); in vect_update_init_of_dr()
2825 LOOP_VINFO_NITERS (loop_vinfo) = fold_build2 (MINUS_EXPR, in vect_do_peeling_for_alignment()
HDtree-ssa-math-opts.c307 fold_build2 (RDIV_EXPR, type, build_one_cst (type), in insert_reciprocals()
HDdojump.c506 cmp0 = fold_build2 (tcode1, TREE_TYPE (exp), op0, op1); in do_jump()
507 cmp1 = fold_build2 (tcode2, TREE_TYPE (exp), op0, op1); in do_jump()
HDtree-vrp.c1181 max = fold_build2 (MINUS_EXPR, type, max, one); in extract_range_from_assert()
1216 min = fold_build2 (PLUS_EXPR, type, min, one); in extract_range_from_assert()
1397 min = fold_build2 (PLUS_EXPR, TREE_TYPE (var_vr->min), in extract_range_from_assert()
1422 max = fold_build2 (MINUS_EXPR, TREE_TYPE (var_vr->min), in extract_range_from_assert()
5058 max = fold_build2 (MINUS_EXPR, TREE_TYPE (op0), max, one); in test_for_singularity()
5073 min = fold_build2 (PLUS_EXPR, TREE_TYPE (op0), min, one); in test_for_singularity()
HDtree-vectorizer.c1164 fold_build2 (LE_EXPR, boolean_type_node, first_niters, in slpeel_tree_peel_loop_to_edge()
1204 fold_build2 (EQ_EXPR, boolean_type_node, first_niters, niters); in slpeel_tree_peel_loop_to_edge()
HDtree-dfa.c951 index = fold_build2 (MINUS_EXPR, TREE_TYPE (index), in get_ref_base_and_extent()
/NextBSD/contrib/gcc/cp/
HDmethod.c226 ptr = fold_build2 (PLUS_EXPR, TREE_TYPE (ptr), ptr, in thunk_adjust()
248 ptr = fold_build2 (PLUS_EXPR, TREE_TYPE (ptr), ptr, vtable); in thunk_adjust()
253 ptr = fold_build2 (PLUS_EXPR, TREE_TYPE (ptr), ptr, in thunk_adjust()
HDmangle.c1268 tree d = fold_build2 (FLOOR_DIV_EXPR, type, n, base); in write_integer_cst()
1269 tree tmp = fold_build2 (MULT_EXPR, type, d, base); in write_integer_cst()
1273 tmp = fold_build2 (MINUS_EXPR, type, n, tmp); in write_integer_cst()
HDinit.c221 max_index = fold_build2 (MINUS_EXPR, TREE_TYPE (nelts), in build_zero_init()
2243 fold_build2 (PLUS_EXPR, ptype, in build_vec_delete_1()
2314 fold_build2 (NE_EXPR, boolean_type_node, base, in build_vec_delete_1()

123