Searched refs:cmp1 (Results 1 - 23 of 23) sorted by relevance

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dnontype22.C4 template<typename T> int cmp1(T a, T b);
5 template<typename T, int (*cmp)(T, T) = cmp1> struct A { };
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/
H A Dmangle57.C4 template<typename T> int cmp1(T a, T b);
8 template <typename T> void f (A<T,cmp1> &) {}
13 A<char,cmp1> a;
H A Dmangle58.C6 template<typename T> static int cmp1(T a, T b);
9 template <typename T> static void f (A<T,cmp1> &) {}
11 template <typename T> static void g (A<T,B::cmp1> &) {}
20 A<char,B::cmp1> a;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dtemplate34.C6 static Compare cmp1; member in class:Set
18 typename Set<T>::Compare Set<T>::cmp1 = &gen_cmp; member in class:Set
/haiku-buildtools/gcc/libgomp/
H A Dsplay-tree.c79 int cmp1, cmp2; local
83 cmp1 = splay_compare (key, &n->key);
86 if (cmp1 == 0)
90 if (cmp1 < 0)
104 if (cmp1 < 0)
112 if (cmp1 < 0 && cmp2 < 0)
117 else if (cmp1 > 0 && cmp2 > 0)
122 else if (cmp1 < 0 && cmp2 > 0)
127 else if (cmp1 > 0 && cmp2 < 0)
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dpointer_init_7.f9015 type(t), pointer :: cmp1 => tgt ! { dg-error "Pointer initialization target at .1. must have the SAVE attribute" } component in type:t2a
44 type(t3), pointer :: cmp1 => tgt ! OK component in type:t4
/haiku-buildtools/binutils/libiberty/
H A Dsplay-tree.c145 int cmp1, cmp2; local
149 cmp1 = (*sp->comp) (key, n->key);
152 if (cmp1 == 0)
156 if (cmp1 < 0)
170 if (cmp1 < 0)
178 if (cmp1 < 0 && cmp2 < 0)
183 else if (cmp1 > 0 && cmp2 > 0)
188 else if (cmp1 < 0 && cmp2 > 0)
193 else if (cmp1 > 0 && cmp2 < 0)
/haiku-buildtools/gcc/libiberty/
H A Dsplay-tree.c145 int cmp1, cmp2; local
149 cmp1 = (*sp->comp) (key, n->key);
152 if (cmp1 == 0)
156 if (cmp1 < 0)
170 if (cmp1 < 0)
178 if (cmp1 < 0 && cmp2 < 0)
183 else if (cmp1 > 0 && cmp2 > 0)
188 else if (cmp1 < 0 && cmp2 > 0)
193 else if (cmp1 > 0 && cmp2 < 0)
/haiku-buildtools/legacy/binutils/libiberty/
H A Dsplay-tree.c144 int cmp1, cmp2; local
148 cmp1 = (*sp->comp) (key, n->key);
151 if (cmp1 == 0)
155 if (cmp1 < 0)
169 if (cmp1 < 0)
177 if (cmp1 < 0 && cmp2 < 0)
182 else if (cmp1 > 0 && cmp2 > 0)
187 else if (cmp1 < 0 && cmp2 > 0)
192 else if (cmp1 > 0 && cmp2 < 0)
/haiku-buildtools/gcc/contrib/
H A Dcompare-debug111 cmp1=
119 cmp1=$?
131 if test "x$cmp1" != "x$cmp2" || test "x$cmd" = "x" ||
/haiku-buildtools/gcc/libgcc/config/spu/
H A Ddivmodti4.c59 qword cmp1 = si_and (cmp0, si_shlqbyi (cmp0, 4)); local
60 qword cmp2 = si_and (cmp1, si_shlqbyi (cmp0, 8));
62 s = si_a (s, si_and (cmp1, si_shlqbyi (c, 8)));
/haiku-buildtools/gcc/gcc/config/lm32/
H A Dlm32.c193 rtx cmp1,
201 mode = GET_MODE (cmp1);
219 cmp0 = cmp1;
220 cmp1 = temp;
234 if (!register_operand (cmp1, mode))
235 cmp1 = force_reg (mode, cmp1);
238 cond = gen_rtx_fmt_ee (code, mode, cmp0, cmp1);
253 if (GET_CODE (cmp1) == CONST_INT)
263 if (!satisfies_constraint_K (cmp1))
190 gen_int_relational(enum rtx_code code, rtx result, rtx cmp0, rtx cmp1, rtx destination) argument
[all...]
/haiku-buildtools/gcc/gcc/config/iq2000/
H A Diq2000.c922 gen_int_relational (enum rtx_code test_code, rtx result, rtx cmp0, rtx cmp1,
932 int invert_const; /* != 0 if invert value if cmp1 is constant. */
933 int invert_reg; /* != 0 if invert value if cmp1 is register. */
968 mode = GET_MODE (cmp1);
977 if (GET_CODE (cmp1) == CONST_INT && INTVAL (cmp1) == 0)
993 if (GET_CODE (cmp1) == CONST_INT)
995 HOST_WIDE_INT value = INTVAL (cmp1);
999 cmp1 = force_reg (mode, cmp1);
912 gen_int_relational(enum rtx_code test_code, rtx result, rtx cmp0, rtx cmp1, int *p_invert) argument
1080 rtx cmp1 = operands[2]; local
[all...]
/haiku-buildtools/gcc/gcc/config/xtensa/
H A Dxtensa.c682 rtx cmp1, /* second operand to compare */
691 int invert_const; /* != 0 if invert value if cmp1 is constant */
692 int invert_reg; /* != 0 if invert value if cmp1 is register */
723 mode = GET_MODE (cmp1);
726 if (GET_CODE (cmp1) == CONST_INT)
728 HOST_WIDE_INT value = INTVAL (cmp1);
738 cmp1 = force_reg (mode, cmp1);
742 cmp1 = force_reg (mode, cmp1);
678 gen_int_relational(enum rtx_code test_code, rtx cmp0, rtx cmp1, int *p_invert ) argument
826 rtx cmp1 = operands[2]; local
[all...]
/haiku-buildtools/legacy/gcc/gcc/config/mips/
H A Dmips.c2638 gen_int_relational (test_code, result, cmp0, cmp1, p_invert)
2642 rtx cmp1; /* second operand to compare */
2653 int invert_const; /* != 0 if invert value if cmp1 is constant */
2654 int invert_reg; /* != 0 if invert value if cmp1 is register */
2690 mode = GET_MODE (cmp1);
2699 if (GET_CODE (cmp1) == CONST_INT && INTVAL (cmp1) == 0
2716 if (GET_CODE (cmp1) == CONST_INT)
2718 HOST_WIDE_INT value = INTVAL (cmp1);
2728 > (unsigned HOST_WIDE_INT) INTVAL (cmp1))
2833 rtx cmp1 = branch_cmp[1]; local
[all...]
/haiku-buildtools/gcc/gcc/config/mips/
H A Dmips.c4861 mips_int_order_operand_ok_p (enum rtx_code code, rtx cmp1)
4867 return reg_or_0_operand (cmp1, VOIDmode);
4871 return !TARGET_MIPS16 && cmp1 == const1_rtx;
4875 return arith_operand (cmp1, VOIDmode);
4878 return sle_operand (cmp1, VOIDmode);
4881 return sleu_operand (cmp1, VOIDmode);
4895 mips_canonicalize_int_order_test (enum rtx_code *code, rtx *cmp1,
4900 if (mips_int_order_operand_ok_p (*code, *cmp1))
4903 if (CONST_INT_P (*cmp1))
4907 plus_one = trunc_int_for_mode (UINTVAL (*cmp1)
4835 mips_int_order_operand_ok_p(enum rtx_code code, rtx cmp1) argument
4869 mips_canonicalize_int_order_test(enum rtx_code *code, rtx *cmp1, machine_mode mode) argument
4912 mips_emit_int_order_test(enum rtx_code code, bool *invert_ptr, rtx target, rtx cmp0, rtx cmp1) argument
4951 mips_zero_if_equal(rtx cmp0, rtx cmp1) argument
[all...]
/haiku-buildtools/gcc/gcc/
H A Doptabs.c947 enum rtx_code cmp_code, rtx cmp1, rtx cmp2,
986 if (!emit_conditional_move (into_target, cmp_code, cmp1, cmp2, op1_mode,
991 if (!emit_conditional_move (outof_target, cmp_code, cmp1, cmp2, op1_mode,
1036 rtx superword_op1, tmp, cmp1, cmp2;
1071 cmp1 = simplify_expand_binop (op1_mode, and_optab, op1, tmp,
1080 cmp1 = simplify_expand_binop (op1_mode, sub_optab, op1, tmp,
1084 superword_op1 = cmp1;
1086 if (cmp1 == 0)
1091 tmp = simplify_relational_operation (cmp_code, SImode, op1_mode, cmp1, cmp2);
1110 cmp_code, cmp1, cmp
940 expand_doubleword_shift_condmove(machine_mode op1_mode, optab binoptab, enum rtx_code cmp_code, rtx cmp1, rtx cmp2, rtx outof_input, rtx into_input, rtx subword_op1, rtx superword_op1, rtx outof_target, rtx into_target, int unsignedp, enum optab_methods methods, unsigned HOST_WIDE_INT shift_mask) argument
1030 rtx superword_op1, tmp, cmp1, cmp2; local
[all...]
H A Dtree-vrp.c1556 int cmp1, cmp2; local
1558 cmp1 = operand_less_p (val, min);
1559 if (cmp1 == -2)
1561 if (cmp1 == 1)
4543 int cmp1, cmp2; local
4550 cmp1 = compare_values_warnv (vr0->max, vr1->min, strict_overflow_p);
4552 if ((cmp1 == -1 && cmp2 == -1) || (cmp1 == 1 && cmp2 == 1))
/haiku-buildtools/gcc/gcc/config/c6x/
H A Dc6x.c1487 rtx cmp1, cmp2;
1504 cmp1 = gen_reg_rtx (SImode);
1506 emit_insn (gen_rtx_SET (VOIDmode, cmp1,
1514 emit_insn (gen_andsi3 (cmp1, cmp1, cmp2));
1529 emit_insn (gen_iorsi3 (cmp1, cmp1, cmp2));
1531 cmp = cmp1;
1477 rtx cmp1, cmp2; local
/haiku-buildtools/gcc/gcc/config/s390/
H A Ds390.c1695 s390_expand_vec_compare_scalar (enum rtx_code *code, rtx cmp1, rtx cmp2, argument
1719 cmp2 = cmp1;
1720 cmp1 = tmp;
1726 gen_rtx_COMPARE (cmp_mode, cmp1,
6135 rtx cmp1, rtx cmp2, bool all_p)
6142 if (GET_MODE_CLASS (GET_MODE (cmp1)) == MODE_VECTOR_INT)
6158 scratch_mode = GET_MODE (cmp1);
6160 else if (GET_MODE (cmp1) == V2DFmode)
6196 cmp2 = cmp1;
6197 cmp1
6133 s390_expand_vec_compare_cc(rtx target, enum rtx_code code, rtx cmp1, rtx cmp2, bool all_p) argument
[all...]
/haiku-buildtools/gcc/gcc/config/rx/
H A Drx.c3192 rx_split_cbranch (machine_mode cc_mode, enum rtx_code cmp1,
3202 x = gen_rtx_fmt_ee (cmp1, VOIDmode, flags, const0_rtx);
3179 rx_split_cbranch(machine_mode cc_mode, enum rtx_code cmp1, rtx c1, rtx c2, rtx label) argument
/haiku-buildtools/gcc/gcc/config/arc/
H A Darc.c6133 rtx cmp0, cmp1;
6139 op1 = cmp1 = XEXP (SET_SRC (pat), 1);
6181 GET_MODE (op), cmp0, cmp1);
6131 rtx cmp0, cmp1; local
/haiku-buildtools/gcc/gcc/config/aarch64/
H A Daarch64.c10582 rtx op0, op1, cmp0, cmp1, target; local
10631 cmp1 = gen_rtx_fmt_ee ((enum rtx_code) cmp_code, cmp_mode, op0, op1);
10639 create_fixed_operand (&ops[5], cmp1);

Completed in 546 milliseconds