Home
last modified time | relevance | path

Searched refs:cmp1 (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/lib/libiberty/src/
H A Dsplay-tree.c144 int cmp1, cmp2; in splay_tree_splay() local
148 cmp1 = (*sp->comp) (key, n->key); in splay_tree_splay()
151 if (cmp1 == 0) in splay_tree_splay()
155 if (cmp1 < 0) in splay_tree_splay()
169 if (cmp1 < 0) in splay_tree_splay()
177 if (cmp1 < 0 && cmp2 < 0) in splay_tree_splay()
182 else if (cmp1 > 0 && cmp2 > 0) in splay_tree_splay()
187 else if (cmp1 < 0 && cmp2 > 0) in splay_tree_splay()
192 else if (cmp1 > 0 && cmp2 < 0) in splay_tree_splay()
/openbsd-src/regress/usr.sbin/bgpd/unittests/
H A Drde_flowspec_test.c128 const uint8_t cmp1[] = { 0x01, 0x00 }; variable
148 if (do_cmp(cmp1, sizeof(cmp1), cmp2, sizeof(cmp2), 0) != 0) in test_flowspec_cmp()
150 if (do_cmp(cmp3, sizeof(cmp3), cmp1, sizeof(cmp1), 0) != 0) in test_flowspec_cmp()
/openbsd-src/gnu/gcc/gcc/config/xtensa/
H A Dxtensa.c637 rtx cmp1, /* second operand to compare */ in gen_int_relational() argument
678 mode = GET_MODE (cmp1); in gen_int_relational()
681 if (GET_CODE (cmp1) == CONST_INT) in gen_int_relational()
683 HOST_WIDE_INT value = INTVAL (cmp1); in gen_int_relational()
693 cmp1 = force_reg (mode, cmp1); in gen_int_relational()
697 cmp1 = force_reg (mode, cmp1); in gen_int_relational()
700 else if ((GET_CODE (cmp1) != REG) && (GET_CODE (cmp1) != SUBREG)) in gen_int_relational()
702 cmp1 = force_reg (mode, cmp1); in gen_int_relational()
706 *p_invert = ((GET_CODE (cmp1) == CONST_INT) in gen_int_relational()
712 if (GET_CODE (cmp1) == CONST_INT) in gen_int_relational()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/xtensa/
H A Dxtensa.c947 gen_int_relational (test_code, cmp0, cmp1, p_invert) in gen_int_relational() argument
950 rtx cmp1; /* second operand to compare */
991 mode = GET_MODE (cmp1);
994 if (GET_CODE (cmp1) == CONST_INT)
996 HOST_WIDE_INT value = INTVAL (cmp1);
1006 cmp1 = force_reg (mode, cmp1);
1010 cmp1 = force_reg (mode, cmp1);
1013 else if ((GET_CODE (cmp1) != REG) && (GET_CODE (cmp1) != SUBREG))
1015 cmp1 = force_reg (mode, cmp1);
1019 *p_invert = ((GET_CODE (cmp1) == CONST_INT)
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dtemplate34.C5 static Compare cmp1; variable
17 typename Set<T>::Compare Set<T>::cmp1 = &gen_cmp;
/openbsd-src/gnu/gcc/gcc/config/iq2000/
H A Diq2000.c842 gen_int_relational (enum rtx_code test_code, rtx result, rtx cmp0, rtx cmp1, in gen_int_relational() argument
888 mode = GET_MODE (cmp1); in gen_int_relational()
897 if (GET_CODE (cmp1) == CONST_INT && INTVAL (cmp1) == 0) in gen_int_relational()
913 if (GET_CODE (cmp1) == CONST_INT) in gen_int_relational()
915 HOST_WIDE_INT value = INTVAL (cmp1); in gen_int_relational()
919 cmp1 = force_reg (mode, cmp1); in gen_int_relational()
923 invert = (GET_CODE (cmp1) == CONST_INT in gen_int_relational()
934 if (GET_CODE (cmp1) == CONST_INT) in gen_int_relational()
938 HOST_WIDE_INT new = INTVAL (cmp1) + p_info->const_add; in gen_int_relational()
945 (unsigned HOST_WIDE_INT) INTVAL (cmp1) in gen_int_relational()
[all …]
/openbsd-src/regress/usr.bin/sed/
H A Ddc.sed216 :cmp1
218 t cmp1
/openbsd-src/gnu/usr.bin/gcc/gcc/config/mips/
H A Dmips.c3132 gen_int_relational (test_code, result, cmp0, cmp1, p_invert) in gen_int_relational() argument
3136 rtx cmp1; /* second operand to compare */
3184 mode = GET_MODE (cmp1);
3193 if (GET_CODE (cmp1) == CONST_INT && INTVAL (cmp1) == 0
3210 if (GET_CODE (cmp1) == CONST_INT)
3212 HOST_WIDE_INT value = INTVAL (cmp1);
3222 > (unsigned HOST_WIDE_INT) INTVAL (cmp1))
3223 : (value + p_info->const_add) > INTVAL (cmp1))
3225 cmp1 = force_reg (mode, cmp1);
3229 invert = (GET_CODE (cmp1) == CONST_INT
[all …]
/openbsd-src/gnu/gcc/gcc/config/mips/
H A Dmips.c3015 mips_relational_operand_ok_p (enum rtx_code code, rtx cmp1) in mips_relational_operand_ok_p() argument
3021 return reg_or_0_operand (cmp1, VOIDmode); in mips_relational_operand_ok_p()
3025 return !TARGET_MIPS16 && cmp1 == const1_rtx; in mips_relational_operand_ok_p()
3029 return arith_operand (cmp1, VOIDmode); in mips_relational_operand_ok_p()
3032 return sle_operand (cmp1, VOIDmode); in mips_relational_operand_ok_p()
3035 return sleu_operand (cmp1, VOIDmode); in mips_relational_operand_ok_p()
3047 mips_canonicalize_comparison (enum rtx_code *code, rtx *cmp1, in mips_canonicalize_comparison() argument
3052 if (GET_CODE (*cmp1) != CONST_INT) in mips_canonicalize_comparison()
3055 original = INTVAL (*cmp1); in mips_canonicalize_comparison()
3064 *cmp1 = force_reg (mode, GEN_INT (plus_one)); in mips_canonicalize_comparison()
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Ddojump.c499 tree cmp0, cmp1; in do_jump() local
507 cmp1 = fold_build2 (tcode2, TREE_TYPE (exp), op0, op1); in do_jump()
509 do_jump (cmp1, if_false_label, if_true_label); in do_jump()
H A Dtree-vrp.c910 tree cmp1, cmp2; in value_inside_range() local
914 cmp1 = fold_binary_to_constant (GE_EXPR, boolean_type_node, val, vr->min); in value_inside_range()
915 if (!cmp1) in value_inside_range()
928 return cmp1 == boolean_true_node && cmp2 == boolean_true_node; in value_inside_range()
2745 int cmp1, cmp2; in compare_ranges() local
2752 cmp1 = compare_values_warnv (vr0->max, vr1->min, strict_overflow_p); in compare_ranges()
2754 if ((cmp1 == -1 && cmp2 == -1) || (cmp1 == 1 && cmp2 == 1)) in compare_ranges()
H A Doptabs.c785 enum rtx_code cmp_code, rtx cmp1, rtx cmp2, in expand_doubleword_shift_condmove() argument
824 if (!emit_conditional_move (into_target, cmp_code, cmp1, cmp2, op1_mode, in expand_doubleword_shift_condmove()
829 if (!emit_conditional_move (outof_target, cmp_code, cmp1, cmp2, op1_mode, in expand_doubleword_shift_condmove()
874 rtx superword_op1, tmp, cmp1, cmp2; in expand_doubleword_shift() local
910 cmp1 = simplify_expand_binop (op1_mode, and_optab, op1, tmp, in expand_doubleword_shift()
919 cmp1 = simplify_expand_binop (op1_mode, sub_optab, op1, tmp, in expand_doubleword_shift()
923 superword_op1 = cmp1; in expand_doubleword_shift()
925 if (cmp1 == 0) in expand_doubleword_shift()
930 tmp = simplify_relational_operation (cmp_code, SImode, op1_mode, cmp1, cmp2); in expand_doubleword_shift()
949 cmp_code, cmp1, cmp2, in expand_doubleword_shift()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dexpr.c10295 tree cmp0, cmp1; local
10300 cmp1 = fold (build (tcode2, TREE_TYPE (exp), op0, op1));
10301 exp = build (TRUTH_ORIF_EXPR, TREE_TYPE (exp), cmp0, cmp1);