Home
last modified time | relevance | path

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

/netbsd/src/external/gpl3/gcc/dist/gcc/
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);
Dtree-ssa-copy.cc245 tree folded_cond = fold_binary_loc (loc, gimple_cond_code (stmt), in copy_prop_visit_cond_stmt()
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 …]
Dtree-ssa-dom.cc2305 val = fold_binary_loc (gimple_location (stmt), in optimize_stmt()
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 …]
Dtree-ssa-forwprop.cc387 t = fold_binary_loc (gimple_location (stmt), code, type, op0, op1); in combine_cond_expr_cond()
Dtree-ssa-ccp.cc1278 return fold_binary_loc (loc, code, boolean_type_node, op0, op1); in ccp_fold()
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 …]
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 …]
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 …]
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 …]
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 …]
Dgimple-fold.cc7640 = fold_binary_loc (loc, subcode, TREE_TYPE (arg0), op0, op1); in gimple_fold_stmt_to_constant_1()
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.
Dbuiltins.cc9170 intres = fold_binary_loc (loc, opcode, type, in fold_builtin_arith_overflow()
DChangeLog-20103141 build_fold_addr_expr_with_type_loc, fold_unary_loc, fold_binary_loc,
7212 (fold_binary_loc, fold_ternary_loc): Likewise.
9207 * fold-const.c (fold_binary_loc): New transformation.
9502 * fold-const.c (fold_binary_loc): If integer_pow2p has
11627 * fold-const.c (fold_binary_loc) <case BIT_AND_EXPR>: Use
23576 (fold_binary_loc): Fold MEM[&MEM[p, CST1], CST2] to MEM[p, CST1 + CST2],
24933 fold_truthop, extract_muldiv_1, fold_comparison, fold_binary_loc,
33681 (fold_binary_loc): Call it.
DChangeLog-201810902 * fold-const.c (fold_binary_loc) <case EQ_EXPR>: Move signed modulo
11831 * fold-const.c (fold_binary_loc): Remove recently added assert.
12025 (fold_binary_loc): Likewise.
12298 * fold-const.c (fold_binary_loc): Assert expectation.
17143 * fold-const.c (fold_binary_loc) <case BIT_AND_EXPR>: Move the
31889 * fold-const.c (fold_comparison, fold_binary_loc): Revert 2017-08-01
32843 * fold-const.c (fold_binary_loc): Check the argument types
DChangeLog5911 (fold_binary_loc): Use proper types for the A < X && A + 1 > Y
13714 (fold_binary_loc): Likewise.
DChangeLog-202117178 * fold-const.c (fold_binary_loc): Guard simplification
21031 (fold_binary_loc): Likewise.
29263 (fold_binary_loc): Adjust.
31941 * fold-const.c (fold_binary_loc) <case NE_EXPR>: In (x & (1 << y)) != 0
DChangeLog-202014679 * fold-const.c (fold_binary_loc) [NE_EXPR/EQ_EXPR]: Call
23968 * fold-const.c (fold_binary_loc): Move (X & C) eqne (Y & C)
26201 * fold-const.c (fold_binary_loc) <case TRUNC_DIV_EXPR>: Use
28368 * fold-const.c (fold_binary_loc): Avoid using
DChangeLog-20094580 * fold-const.c (fold_binary_loc): Do not call
7983 * fold-const.c (fold_binary_loc <NE_EXPR>): Add !exp != 0 -> !exp.
DChangeLog-201933699 * fold-const.c (fold_binary_loc): Cast strlen argument to
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
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()