Home
last modified time | relevance | path

Searched refs:cst2 (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Ddouble-int.h190 bool operator == (double_int cst2) const;
191 bool operator != (double_int cst2) const;
409 double_int::operator == (double_int cst2) const
411 return low == cst2.low && high == cst2.high;
417 double_int::operator != (double_int cst2) const
419 return low != cst2.low || high != cst2.high;
H A Dgimple-match-head.c1206 tree cst2 = NULL_TREE; in optimize_pow_to_exp() local
1213 else if (cst2 == NULL_TREE) in optimize_pow_to_exp()
1214 cst2 = arg; in optimize_pow_to_exp()
1215 else if (!operand_equal_p (cst2, arg, 0)) in optimize_pow_to_exp()
1219 if (cst1 && cst2) in optimize_pow_to_exp()
1220 cst2 = const_binop (code, TREE_TYPE (cst2), cst2, cst1); in optimize_pow_to_exp()
1221 if (cst2 in optimize_pow_to_exp()
1222 && TREE_CODE (cst2) == REAL_CST in optimize_pow_to_exp()
1223 && real_isinteger (TREE_REAL_CST_PTR (cst2), in optimize_pow_to_exp()
1224 TYPE_MODE (TREE_TYPE (cst2)))) in optimize_pow_to_exp()
H A Dtree-vrp.c588 const bool cst2 = is_gimple_min_invariant (val2); in compare_values_warnv() local
592 if ((sym1 && inv1 && cst2) || (sym2 && inv2 && cst1)) in compare_values_warnv()
623 if (!cst1 || !cst2) in compare_values_warnv()
1854 tree cst2 = NULL_TREE, name2 = NULL_TREE, name3 = NULL_TREE; in register_edge_assert_for_2() local
1861 cst2 = gimple_assign_rhs2 (def_stmt); in register_edge_assert_for_2()
1863 && TREE_CODE (cst2) == INTEGER_CST) in register_edge_assert_for_2()
1880 && (cst2 == NULL_TREE in register_edge_assert_for_2()
1881 || TREE_CODE (cst2) == INTEGER_CST) in register_edge_assert_for_2()
1888 if (cst2 != NULL_TREE) in register_edge_assert_for_2()
1889 tmp = build2 (PLUS_EXPR, TREE_TYPE (name), tmp, cst2); in register_edge_assert_for_2()
[all …]
H A Dtree-vect-generic.c565 tree cst2 = VECTOR_CST_ELT (op1, j); in expand_vector_divmod() local
569 if (!tree_fits_uhwi_p (cst2)) in expand_vector_divmod()
571 d2 = tree_to_uhwi (cst2) & mask; in expand_vector_divmod()
H A Dmatch.pd1373 (with { tree cst2 = const_binop (bitop, type, @1, @2); }
1374 (if (cst2)
1375 (bitop @0 { cst2; }))))))))
3334 tree cst1, cst2;
3337 cst2 = const_unop (op, type, @2);
3339 (if (cst1 && cst2)
3340 (vec_cond @0 { cst1; } { cst2; })))))
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Ddouble-int.h190 bool operator == (double_int cst2) const;
191 bool operator != (double_int cst2) const;
409 double_int::operator == (double_int cst2) const
411 return low == cst2.low && high == cst2.high;
417 double_int::operator != (double_int cst2) const
419 return low != cst2.low || high != cst2.high;
H A Dgimple-match-head.cc1262 tree cst2 = NULL_TREE; in optimize_pow_to_exp() local
1269 else if (cst2 == NULL_TREE) in optimize_pow_to_exp()
1270 cst2 = arg; in optimize_pow_to_exp()
1271 else if (!operand_equal_p (cst2, arg, 0)) in optimize_pow_to_exp()
1275 if (cst1 && cst2) in optimize_pow_to_exp()
1276 cst2 = const_binop (code, TREE_TYPE (cst2), cst2, cst1); in optimize_pow_to_exp()
1277 if (cst2 in optimize_pow_to_exp()
1278 && TREE_CODE (cst2) == REAL_CST in optimize_pow_to_exp()
1279 && real_isinteger (TREE_REAL_CST_PTR (cst2), in optimize_pow_to_exp()
1280 TYPE_MODE (TREE_TYPE (cst2)))) in optimize_pow_to_exp()
H A Dtree-vrp.cc407 const bool cst2 = is_gimple_min_invariant (val2); in compare_values_warnv() local
411 if ((sym1 && inv1 && cst2) || (sym2 && inv2 && cst1)) in compare_values_warnv()
442 if (!cst1 || !cst2) in compare_values_warnv()
1455 tree cst2 = NULL_TREE, name2 = NULL_TREE, name3 = NULL_TREE; in register_edge_assert_for_2() local
1462 cst2 = gimple_assign_rhs2 (def_stmt); in register_edge_assert_for_2()
1464 && TREE_CODE (cst2) == INTEGER_CST) in register_edge_assert_for_2()
1481 && (cst2 == NULL_TREE in register_edge_assert_for_2()
1482 || TREE_CODE (cst2) == INTEGER_CST) in register_edge_assert_for_2()
1489 if (cst2 != NULL_TREE) in register_edge_assert_for_2()
1490 tmp = build2 (PLUS_EXPR, TREE_TYPE (name), tmp, cst2); in register_edge_assert_for_2()
[all …]
H A Dtree-vect-generic.cc665 tree cst2 = VECTOR_CST_ELT (op1, j); in expand_vector_divmod() local
669 if (!tree_fits_uhwi_p (cst2)) in expand_vector_divmod()
671 d2 = tree_to_uhwi (cst2) & mask; in expand_vector_divmod()
H A Dipa-prop.cc6188 tree cst2 = ipa_get_jf_constant (jf2); in ipa_jump_functions_equivalent_p() local
6189 if (!values_equal_for_ipcp_p (cst1, cst2)) in ipa_jump_functions_equivalent_p()
H A Dmatch.pd1761 (with { tree cst2 = const_binop (bitop, type, @1, @2); }
1762 (if (cst2)
1763 (bitop @0 { cst2; }))))))))
H A DChangeLog7293 (value_replacement): Optimize (x != cst1 ? x : cst2) != cst3
H A DChangeLog-201629521 (cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if
H A DChangeLog-20116651 infinite recursion condition in "(eq/ne (plus x cst1) cst2)
6652 simplifies to (eq/ne x (cst2 - cst1))" case.
H A DChangeLog-2004795 x + cst1 == cst2 to x == cst2 - cst1. Made static.
H A DChangeLog-20053803 cst2 only for SPE vectors.
H A DChangeLog-200225046 x = ((int) y < 0) ? cst1 : cst2.
H A DChangeLog-201926926 * match.pd (~(vec?cst1:cst2)): New transformation.
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dsvalue.cc62 static int cmp_csts_and_types (const_tree cst1, const_tree cst2);
309 cmp_csts_same_type (const_tree cst1, const_tree cst2) in cmp_csts_same_type() argument
311 gcc_assert (TREE_TYPE (cst1) == TREE_TYPE (cst2)); in cmp_csts_same_type()
312 gcc_assert (TREE_CODE (cst1) == TREE_CODE (cst2)); in cmp_csts_same_type()
318 return tree_int_cst_compare (cst1, cst2); in cmp_csts_same_type()
321 TREE_STRING_POINTER (cst2)); in cmp_csts_same_type()
325 TREE_REAL_CST_PTR (cst2), in cmp_csts_same_type()
329 TREE_REALPART (cst2))) in cmp_csts_same_type()
331 return cmp_csts_and_types (TREE_IMAGPART (cst1), TREE_IMAGPART (cst2)); in cmp_csts_same_type()
335 - (int)VECTOR_CST_LOG2_NPATTERNS (cst2))) in cmp_csts_same_type()
[all …]
/netbsd-src/external/mit/isl/dist/
H A Disl_polynomial.c102 isl_poly_cst *cst1, *cst2; in isl_poly_plain_cmp() local
106 cst2 = isl_poly_as_cst(poly2); in isl_poly_plain_cmp()
107 if (!cst1 || !cst2) in isl_poly_plain_cmp()
109 cmp = isl_int_cmp(cst1->n, cst2->n); in isl_poly_plain_cmp()
112 return isl_int_cmp(cst1->d, cst2->d); in isl_poly_plain_cmp()
147 isl_poly_cst *cst1, *cst2; in isl_poly_is_equal() local
150 cst2 = isl_poly_as_cst(poly2); in isl_poly_is_equal()
151 if (!cst1 || !cst2) in isl_poly_is_equal()
153 r = isl_int_eq(cst1->n, cst2->n) && in isl_poly_is_equal()
154 isl_int_eq(cst1->d, cst2->d); in isl_poly_is_equal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td492 // Fold (unmerge cst) -> cst1, cst2, ...
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dregion-model.cc3961 tree cst2 = ((const constant_svalue &)sval2).get_constant (); in svalue_id_cmp_by_constant_svalue() local
3962 return tree_cmp (cst1, cst2); in svalue_id_cmp_by_constant_svalue()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386-expand.c15158 rtx cst2, tmp; in ix86_emit_i387_tanh() local
15172 cst2 = force_reg (XFmode, CONST2_RTX (XFmode)); in ix86_emit_i387_tanh()
15173 emit_insn (gen_addxf3 (e2, e1, cst2)); in ix86_emit_i387_tanh()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386-expand.cc17175 rtx cst2, tmp; in ix86_emit_i387_tanh() local
17189 cst2 = force_reg (XFmode, CONST2_RTX (XFmode)); in ix86_emit_i387_tanh()
17190 emit_insn (gen_addxf3 (e2, e1, cst2)); in ix86_emit_i387_tanh()