Home
last modified time | relevance | path

Searched refs:fold_binary_loc (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfold-const.h52 fold_binary_loc (UNKNOWN_LOCATION, CODE, T1, T2, T3)
53 extern tree fold_binary_loc (location_t, enum tree_code, tree, tree, tree);
H A Dtree-ssa-copy.c245 tree folded_cond = fold_binary_loc (loc, gimple_cond_code (stmt), in copy_prop_visit_cond_stmt()
H A Dfold-const.c7462 diff = fold_binary_loc (loc, MINUS_EXPR, ssizetype, ta1, ta); in fold_to_nonsharp_ineq_using_bound()
7465 diff = fold_binary_loc (loc, MINUS_EXPR, typea, a1, a); in fold_to_nonsharp_ineq_using_bound()
9972 ? fold_binary_loc (loc, POINTER_DIFF_EXPR, type, in fold_addr_of_array_ref_difference()
9975 : fold_binary_loc (loc, MINUS_EXPR, type, in fold_addr_of_array_ref_difference()
10206 fold_binary_loc (location_t loc, enum tree_code code, tree type, in fold_binary_loc() function
10416 tree sum = fold_binary_loc (loc, PLUS_EXPR, TREE_TYPE (cst1), in fold_binary_loc()
11850 rcond = fold_binary_loc (loc, code, type, real0, real1); in fold_binary_loc()
11869 icond = fold_binary_loc (loc, code, type, imag0, imag1); in fold_binary_loc()
12877 tem = fold_binary_loc (loc, code, type, op0, op1); in fold()
13255 tem = fold_binary_loc (loc, code, type, op0, op1); in fold_build2_loc()
H A Dtree-ssa-dom.c2199 val = fold_binary_loc (gimple_location (stmt), in optimize_stmt()
H A Dtree-ssa-ccp.c1277 return fold_binary_loc (loc, code, boolean_type_node, op0, op1); in ccp_fold()
H A Dtree-ssa-forwprop.c386 t = fold_binary_loc (gimple_location (stmt), code, type, op0, op1); in combine_cond_expr_cond()
H A Dgimple-fold.c6541 = fold_binary_loc (loc, subcode, TREE_TYPE (arg0), op0, op1); in gimple_fold_stmt_to_constant_1()
H A Dbuiltins.c9968 intres = fold_binary_loc (loc, opcode, type, in fold_builtin_arith_overflow()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfold-const.h63 fold_binary_loc (UNKNOWN_LOCATION, CODE, T1, T2, T3)
64 extern tree fold_binary_loc (location_t, enum tree_code, tree, tree, tree);
H A Dtree-ssa-copy.cc245 tree folded_cond = fold_binary_loc (loc, gimple_cond_code (stmt), in copy_prop_visit_cond_stmt()
H A Dfold-const.cc7559 diff = fold_binary_loc (loc, MINUS_EXPR, ssizetype, ta1, ta); in fold_to_nonsharp_ineq_using_bound()
7562 diff = fold_binary_loc (loc, MINUS_EXPR, typea, a1, a); in fold_to_nonsharp_ineq_using_bound()
10601 ? fold_binary_loc (loc, POINTER_DIFF_EXPR, type, in fold_addr_of_array_ref_difference()
10604 : fold_binary_loc (loc, MINUS_EXPR, type, in fold_addr_of_array_ref_difference()
10831 fold_binary_loc (location_t loc, enum tree_code code, tree type, in fold_binary_loc() function
11041 tree sum = fold_binary_loc (loc, PLUS_EXPR, TREE_TYPE (cst1), in fold_binary_loc()
12443 rcond = fold_binary_loc (loc, code, type, real0, real1); in fold_binary_loc()
12462 icond = fold_binary_loc (loc, code, type, imag0, imag1); in fold_binary_loc()
13475 tem = fold_binary_loc (loc, code, type, op0, op1); in fold()
13853 tem = fold_binary_loc (loc, code, type, op0, op1); in fold_build2_loc()
[all …]
H A Dtree-ssa-dom.cc2305 val = fold_binary_loc (gimple_location (stmt), in optimize_stmt()
H A DChangeLog-2015223 (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Formatting
4074 * fold-const.c (fold_binary_loc): Do not call negate_expr_p
6505 * fold-const.c (fold_binary_loc) : Move Convert A/B/C to A/(B*C)
10649 (fold_binary_loc): Don't call it.
11067 * fold-const.c (fold_binary_loc) : Move Fold (A & ~B) - (A & B)
11172 (fold_binary_loc): Move simplification of MINUS_EXPR on
11394 (fold_unary_loc, fold_binary_loc): Remove calls to it.
11612 * fold-const.c (fold_binary_loc) : Move (-A) * (-B) -> A * B
15483 * fold-const.c (fold_binary_loc): Do not reassociate two vars with
17607 * fold-const.c (fold_binary_loc) : Move
[all …]
H A Dtree-ssa-forwprop.cc387 t = fold_binary_loc (gimple_location (stmt), code, type, op0, op1); in combine_cond_expr_cond()
H A Dtree-ssa-ccp.cc1278 return fold_binary_loc (loc, code, boolean_type_node, op0, op1); in ccp_fold()
H A DChangeLog-2014998 * fold-const.c (fold_binary_loc): Add ANY_INTEGRAL_TYPE_P check.
1026 * fold-const.c (operand_equal_p, fold_comparison, fold_binary_loc):
1233 fold_comparison, fold_binary_loc): Likewise.
1720 * fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P.
1914 * fold-const.c (fold_comparison, fold_binary_loc): Use it.
2794 (fold_binary_loc): ... here. Call const_binop overload
2910 * fold-const.c (fold_binary_loc): Remove transforms here.
3328 (fold_binary_loc): Check for constants using CONSTANT_CLASS_P.
5547 (fold_binary_loc): Use element_mode and element_precision.
7942 (fold_binary_loc): Remove patterns here.
[all …]
H A DChangeLog-2011138 * fold-const.c (fold_binary_loc): Likewise.
182 * fold-const.c (fold_binary_loc): Likewise.
1830 (fold_binary_loc): Fold VEC_PACK_TRUNC_EXPR,
2671 * fold-const.c (fold_binary_loc): Fix up VEC_INTERLEAVE_*_EXPR
3610 (fold_binary_loc): Handle VEC_EXTRACT_EVEN_EXPR,
9153 * fold-const.c (fold_binary_loc): Canonicalize x*x to pow (x, 2)
12744 (fold_binary_loc): Preserve types properly when folding
15864 * fold-const.c (fold_binary_loc): Only associate
18031 (fold_binary_loc): Likewise.
18448 * fold-const.c (fold_binary_loc): Convert the !bool_var result,
[all …]
H A DChangeLog-2012983 * fold-const.c (fold_binary_loc) <associate>: Don't introduce
5779 (fold_binary_loc): Call it for VEC_COND_EXPR.
8678 * fold-const.c (fold_binary_loc): Use build_zero_cst instead of
10965 (fold_binary_loc): Likewise.
19333 * fold-const.c (fold_binary_loc): Likewise.
22734 (native_interpret_int, fold_binary_loc, fold_ternary_loc): Likewise.
22759 * fold-const.c (fold_binary_loc): Refine previous change.
23183 * fold-const.c (fold_binary_loc): Make sure to call
24060 * fold-const.c (fold_binary_loc): Use build_zero_cst (type)
25271 * fold-const.c (fold_binary_loc): Fold (X * CST1) & CST2
[all …]
H A DChangeLog-20171194 * fold-const.c (fold_binary_loc): Update call to
2150 fold_binary_loc, multiple_of_p): Likewise.
2707 * fold-const.c (fold_binary_loc): Perform (-A) - B -> (-B) - A
5727 fold_binary_loc): Likewise.
11392 (fold_binary_loc): Remove calls to distribute_real_divison.
11761 * fold-const.c (fold_binary_loc) <bit_rotate>: Code cleanups,
12257 * fold-const.c (fold_binary_loc) [X +- Y CMP X]: Move ...
12385 (pointer_may_wrap_p, expr_not_equal_to, fold_binary_loc)
12627 * fold-const.c (fold_binary_loc): Likewise.
14692 (fold_binary_loc): Remove calls to distribute_real_divison.
[all …]
H A DChangeLog-20133579 * fold-const.c (fold_binary_loc): Don't fold A + (-B) -> A - B and
5919 (fold_binary_loc): Likewise.
5953 * fold-const.c (fold_binary_loc): Use unsigned rather than signed
7478 (fold_binary_loc): Change GET_MODE_BITSIZE to GET_MODE_PRECISION.
7602 * fold-const.c (fold_binary_loc): Likewise.
7921 * fold-const.c (fold_binary_loc): Replace a host_integerp/tree_low_cst
7968 * fold-const.c (fold_binary_loc) <comparisons>: Reuse local variable.
8184 (fold_binary_loc): Moved to fold-const.h.
13316 * fold-const.c (fold_binary_loc): Fold ((T) (X /[ex] C)) * C
18303 (fold_binary_loc): Make sure we don't recurse infinitely
[all …]
H A Dgimple-fold.cc7640 = fold_binary_loc (loc, subcode, TREE_TYPE (arg0), op0, op1); in gimple_fold_stmt_to_constant_1()
H A DChangeLog-20166532 (fold_binary_loc): Adjust.
6564 (fold_binary_loc): Likewise.
13499 (fold_binary_loc): Use pow2p_hwi.
15714 (fold_binary_loc): Likewise.
19305 * fold-const.c (fold_binary_loc) <case RROTATE_EXPR>: Cast
24941 * fold-const.c (fold_binary_loc) [(X ^ Y) & Y]: Remove and merge with...
27359 * fold-const.c (fold_binary_loc): Remove x*x to pow(x,2.0)
27753 * fold-const.c (fold_binary_loc): Remove 2 transformations
33074 (fold_binary_loc): Pass new arguments to split_tree.
H A Dbuiltins.cc9170 intres = fold_binary_loc (loc, opcode, type, in fold_builtin_arith_overflow()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dconstexpr.cc1868 tree result = fold_binary_loc (loc, opcode, type, in cxx_eval_internal_function()
3426 r = fold_binary_loc (loc, code, type, lhs, rhs); in cxx_eval_binary_expression()
3439 r = fold_binary_loc (loc, in cxx_eval_binary_expression()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dconstexpr.c1714 tree result = fold_binary_loc (loc, opcode, type, in cxx_eval_internal_function()
3079 r = fold_binary_loc (loc, code, type, lhs, rhs); in cxx_eval_binary_expression()

12