Home
last modified time | relevance | path

Searched refs:tree_expr_nonnegative_p (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfold-const.h187 extern bool tree_expr_nonnegative_p (tree);
H A Dtree.c15803 ASSERT_TRUE (tree_expr_nonnegative_p (i_0)); in test_predicates()
15804 ASSERT_TRUE (tree_expr_nonnegative_p (wr_i_0)); in test_predicates()
15805 ASSERT_TRUE (tree_expr_nonnegative_p (i_1)); in test_predicates()
15806 ASSERT_TRUE (tree_expr_nonnegative_p (wr_i_1)); in test_predicates()
15807 ASSERT_FALSE (tree_expr_nonnegative_p (i_m1)); in test_predicates()
15808 ASSERT_FALSE (tree_expr_nonnegative_p (wr_i_m1)); in test_predicates()
15809 ASSERT_TRUE (tree_expr_nonnegative_p (f_0)); in test_predicates()
15810 ASSERT_TRUE (tree_expr_nonnegative_p (wr_f_0)); in test_predicates()
15811 ASSERT_TRUE (tree_expr_nonnegative_p (f_1)); in test_predicates()
15812 ASSERT_TRUE (tree_expr_nonnegative_p (wr_f_1)); in test_predicates()
[all …]
H A Dmatch.pd34 tree_expr_nonnegative_p
302 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
598 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
1239 (abs tree_expr_nonnegative_p@0)
1243 (absu tree_expr_nonnegative_p@0)
1508 (if (tree_expr_nonnegative_p (@1) && tree_expr_nonzero_p (@1))
2750 && tree_expr_nonnegative_p (@1))
5054 (COPYSIGN_ALL @0 tree_expr_nonnegative_p@1)
5164 (cbrts (cbrts tree_expr_nonnegative_p@0))
5172 (cbrts (pows tree_expr_nonnegative_p@0 @1))
[all …]
H A Dtree-ssa-math-opts.c1941 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
1953 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
2009 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
H A Dtree-ssa-loop-niter.c3224 && !tree_expr_nonnegative_p (op0)) in derive_constant_upper_bound_ops()
3247 || !tree_expr_nonnegative_p (op0)) in derive_constant_upper_bound_ops()
H A Dfold-const.c14192 tree_expr_nonnegative_p (tree t) in tree_expr_nonnegative_p() function
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfold-const.h200 extern bool tree_expr_nonnegative_p (tree);
H A Dtree.cc15300 ASSERT_TRUE (tree_expr_nonnegative_p (i_0)); in test_predicates()
15301 ASSERT_TRUE (tree_expr_nonnegative_p (wr_i_0)); in test_predicates()
15302 ASSERT_TRUE (tree_expr_nonnegative_p (i_1)); in test_predicates()
15303 ASSERT_TRUE (tree_expr_nonnegative_p (wr_i_1)); in test_predicates()
15304 ASSERT_FALSE (tree_expr_nonnegative_p (i_m1)); in test_predicates()
15305 ASSERT_FALSE (tree_expr_nonnegative_p (wr_i_m1)); in test_predicates()
15306 ASSERT_TRUE (tree_expr_nonnegative_p (f_0)); in test_predicates()
15307 ASSERT_TRUE (tree_expr_nonnegative_p (wr_f_0)); in test_predicates()
15308 ASSERT_TRUE (tree_expr_nonnegative_p (f_1)); in test_predicates()
15309 ASSERT_TRUE (tree_expr_nonnegative_p (wr_f_1)); in test_predicates()
[all …]
H A Dmatch.pd34 tree_expr_nonnegative_p
268 && (!HONOR_SIGNED_ZEROS (type) || tree_expr_nonnegative_p (@0)))
370 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
717 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
915 || tree_expr_nonnegative_p (@0))
1551 (abs tree_expr_nonnegative_p@0)
1555 (absu tree_expr_nonnegative_p@0)
1904 (if (tree_expr_nonnegative_p (@1) && tree_expr_nonzero_p (@1))
6248 (COPYSIGN_ALL @0 tree_expr_nonnegative_p@1)
6363 (cbrts (cbrts tree_expr_nonnegative_p@0))
[all …]
H A Dtree-ssa-math-opts.cc2075 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
2087 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
2143 && (!HONOR_NANS (mode) || tree_expr_nonnegative_p (arg0)) in gimple_expand_builtin_pow()
H A DChangeLog.ptr480 (tree_expr_nonnegative_p): Handle POINTER_PLUS_EXPR.
H A Dtree-ssa-loop-niter.cc3338 && !tree_expr_nonnegative_p (op0)) in derive_constant_upper_bound_ops()
3361 || !tree_expr_nonnegative_p (op0)) in derive_constant_upper_bound_ops()
H A DChangeLog-20038345 * fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
8863 (tree_expr_nonnegative_p): Likewise.
10925 (tree_expr_nonnegative_p): Likewise.
15842 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
19521 * fold-const.c (tree_expr_nonnegative_p): Handle addition
19588 * fold-const.c (tree_expr_nonnegative_p): Add support for
20438 fabs(-x) into fabs(x). Use tree_expr_nonnegative_p to determine
20440 (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
33601 * fold-const.c (tree_expr_nonnegative_p): Likewise.
33912 * fold-const.c (tree_expr_nonnegative_p): Likewise.
H A DChangeLog-20062911 (tree_expr_nonnegative_p): Same.
6666 * fold-const.c (tree_expr_nonnegative_p): Return true
6753 * tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
6754 * fold-const.c (tree_expr_nonnegative_p): Likewise. Consider
13033 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
18848 (tree_expr_nonnegative_p): Similarly.
H A DChangeLog-20053117 (tree_expr_nonnegative_p): Likewise.
8751 * fold-const.c (tree_expr_nonnegative_p): Regroup cases.
9589 * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
9818 * fold-const.c (tree_expr_nonnegative_p): Always return true for
10815 (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED.
11099 * fold-const.c (tree_expr_nonnegative_p): Only return true for
24518 * fold-const.c (tree_expr_nonnegative_p): Add BUILT_IN_LCEIL and
24768 * fold-const.c (tree_expr_nonnegative_p): Add BUILT_IN_LFLOOR and
34230 (tree_expr_nonnegative_p): Likewise.
H A DChangeLog-200728618 (tree_expr_nonnegative_p): Use new CALL_EXPR accessors and
29151 tree_expr_nonnegative_p.
29156 instead of tree_expr_nonnegative_p.
29158 tree_expr_nonnegative_p, add strict_overflow_p parameter.
29159 (tree_expr_nonnegative_p): New function.
29185 tree_expr_nonnegative_warnv_p instead of tree_expr_nonnegative_p.
31077 (tree_expr_nonnegative_p): Likewise.
H A DChangeLog-200426576 (fold_checksum_tree, tree_expr_nonnegative_p): Likewise.
28721 (build_conditional_expr, build_binary_op): Use tree_expr_nonnegative_p.
28727 * fold-const.c (tree_expr_nonnegative_p): Handle TARGET_EXPR.
29683 * fold-const.c (tree_expr_nonnegative_p): Fix BIND_EXPR.
30996 * fold-const.c (tree_expr_nonnegative_p): The result of sqrt, sqrtf
37119 * fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like
37552 * fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when
38747 * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.
38958 * fold-const.c (tree_expr_nonnegative_p): Reformat checks for
H A DChangeLog-2000596 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
12097 * tree.c (tree_expr_nonnegative_p): Move to...
22842 * tree.c (tree_expr_nonnegative_p): New function.
22844 * tree.h (tree_expr_nonnegative_p): Declare.
22846 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
H A Dfold-const.cc15147 tree_expr_nonnegative_p (tree t) in tree_expr_nonnegative_p() function
H A DChangeLog-200112902 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
22321 * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
H A DChangeLog-20028410 tree_expr_nonnegative_p.
H A DChangeLog-20203577 * match.pd (-1 >> x to -1): Remove tree_expr_nonnegative_p check.
H A DChangeLog-20138350 (tree_expr_nonnegative_p): Moved to fold-const.h.
H A DChangeLog-201513161 tree_expr_nonnegative_p instead of gimple_val_nonnegative_real_p.
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A DChangeLog-20004771 * typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to elide

12