Home
last modified time | relevance | path

Searched refs:cond2 (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dexpr_precedence.c57 conditional_associativity(_Bool cond1, _Bool cond2, int a, int b, int c) in conditional_associativity() argument
60 var = cond1 ? cond2 ? a : b : c; in conditional_associativity()
61 var = cond1 ? (cond2 ? a : b) : c; in conditional_associativity()
64 var = cond1 ? cond2 ? a, b : (b, a) : c; in conditional_associativity()
66 var = cond1 ? a : cond2 ? b : c; in conditional_associativity()
71 var = cond1 ? a : (cond2 ? b : c); in conditional_associativity()
76 var = (cond1 ? a : cond2) ? b : c; in conditional_associativity()
/netbsd-src/tests/usr.bin/indent/
H A Dlsym_question.c11 const char *multi = cond1 ? "cond1" : cond2 ? "cond2" : cond3 ? "cond3" : "";
64 : cond2 in function()
69 : cond2 ? "condensed 2" in function()
/netbsd-src/tests/libexec/ld.elf_so/
H A Dh_thread_local_dtor.c37 static pthread_cond_t cond2 = PTHREAD_COND_INITIALIZER; variable
50 pthread_cond_wait(&cond2, &mutex); in thread_helper()
87 pthread_cond_signal(&cond2); in main()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans.cc1345 tree cond2; in gfc_add_finalizer_call() local
1356 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_add_finalizer_call()
1360 logical_type_node, cond2, cond); in gfc_add_finalizer_call()
1490 tree cond2; in gfc_deallocate_with_status() local
1493 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_deallocate_with_status()
1500 cond2, tmp, error); in gfc_deallocate_with_status()
1524 tree cond2; in gfc_deallocate_with_status() local
1526 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_deallocate_with_status()
1534 gfc_unlikely (cond2, PRED_FORTRAN_FAIL_ALLOC), in gfc_deallocate_with_status()
1541 tree cond2, pstat = null_pointer_node; in gfc_deallocate_with_status() local
[all …]
H A Dtrans-io.cc635 tree cond1, cond2, cond3, val, body; in set_parameter_value_inquire() local
649 cond2 = build2_loc (input_location, GT_EXPR, logical_type_node, in set_parameter_value_inquire()
653 logical_type_node, cond1, cond2); in set_parameter_value_inquire()
H A Dtrans-expr.cc3442 tree cond2; in gfc_conv_power_op() local
3470 cond2 = fold_build2_loc (input_location, GE_EXPR, logical_type_node, in gfc_conv_power_op()
3472 tmp1 = fold_build3_loc (input_location, COND_EXPR, type, cond2, in gfc_conv_power_op()
8039 tree cond2; in gfc_trans_string_copy() local
8123 cond2 = fold_build2_loc (input_location, LT_EXPR, logical_type_node, slen, in gfc_trans_string_copy()
8127 if (!CONSTANT_CLASS_P (cond2)) in gfc_trans_string_copy()
8164 tmp = fold_build3_loc (input_location, COND_EXPR, void_type_node, cond2, in gfc_trans_string_copy()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans.c1272 tree cond2; in gfc_add_finalizer_call() local
1283 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_add_finalizer_call()
1287 logical_type_node, cond2, cond); in gfc_add_finalizer_call()
1417 tree cond2; in gfc_deallocate_with_status() local
1420 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_deallocate_with_status()
1427 cond2, tmp, error); in gfc_deallocate_with_status()
1451 tree cond2; in gfc_deallocate_with_status() local
1453 cond2 = fold_build2_loc (input_location, NE_EXPR, logical_type_node, in gfc_deallocate_with_status()
1461 gfc_unlikely (cond2, PRED_FORTRAN_FAIL_ALLOC), in gfc_deallocate_with_status()
1468 tree cond2, pstat = null_pointer_node; in gfc_deallocate_with_status() local
[all …]
H A Dtrans-io.c635 tree cond1, cond2, cond3, val, body; in set_parameter_value_inquire() local
649 cond2 = build2_loc (input_location, GT_EXPR, logical_type_node, in set_parameter_value_inquire()
653 logical_type_node, cond1, cond2); in set_parameter_value_inquire()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dread-md.c144 md_reader::join_c_conditions (const char *cond1, const char *cond2) in join_c_conditions() argument
150 return cond2; in join_c_conditions()
152 if (cond2 == 0 || cond2[0] == 0) in join_c_conditions()
155 if (strcmp (cond1, cond2) == 0) in join_c_conditions()
158 result = concat ("(", cond1, ") && (", cond2, ")", NULL); in join_c_conditions()
161 obstack_ptr_grow (&m_joined_conditions_obstack, cond2); in join_c_conditions()
H A Dcfgcleanup.c252 rtx set1, set2, cond1, cond2; in thread_jump() local
295 cond2 = XEXP (SET_SRC (set2), 0); in thread_jump()
301 code2 = GET_CODE (cond2); in thread_jump()
302 reversed_code2 = reversed_comparison_code (cond2, BB_END (b)); in thread_jump()
312 if (!rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in thread_jump()
313 || !rtx_equal_p (XEXP (cond1, 1), XEXP (cond2, 1))) in thread_jump()
355 && mentions_nonequal_regs (cond2, nonequal)) in thread_jump()
1635 rtx set1, set2, cond1, cond2; in outgoing_edges_match() local
1679 cond2 = XEXP (SET_SRC (set2), 0); in outgoing_edges_match()
1682 code2 = reversed_comparison_code (cond2, BB_END (bb2)); in outgoing_edges_match()
[all …]
H A Dsched-deps.c622 conditions_mutex_p (const_rtx cond1, const_rtx cond2, bool rev1, bool rev2) in conditions_mutex_p() argument
625 && COMPARISON_P (cond2) in conditions_mutex_p()
628 ? reversed_comparison_code (cond2, NULL) in conditions_mutex_p()
629 : GET_CODE (cond2)) in conditions_mutex_p()
630 && rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in conditions_mutex_p()
631 && XEXP (cond1, 1) == XEXP (cond2, 1)) in conditions_mutex_p()
641 rtx cond1, cond2; in sched_insns_conditions_mutex_p() local
649 cond2 = sched_get_condition_with_rev (insn2, &rev2); in sched_insns_conditions_mutex_p()
650 if (cond1 && cond2 in sched_insns_conditions_mutex_p()
651 && conditions_mutex_p (cond1, cond2, rev1, rev2) in sched_insns_conditions_mutex_p()
[all …]
H A Dread-md.h206 const char *join_c_conditions (const char *cond1, const char *cond2);
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dread-md.cc144 md_reader::join_c_conditions (const char *cond1, const char *cond2) in join_c_conditions() argument
150 return cond2; in join_c_conditions()
152 if (cond2 == 0 || cond2[0] == 0) in join_c_conditions()
155 if (strcmp (cond1, cond2) == 0) in join_c_conditions()
158 result = concat ("(", cond1, ") && (", cond2, ")", NULL); in join_c_conditions()
161 obstack_ptr_grow (&m_joined_conditions_obstack, cond2); in join_c_conditions()
H A Dcfgcleanup.cc252 rtx set1, set2, cond1, cond2; in thread_jump() local
294 cond2 = XEXP (SET_SRC (set2), 0); in thread_jump()
300 code2 = GET_CODE (cond2); in thread_jump()
301 reversed_code2 = reversed_comparison_code (cond2, BB_END (b)); in thread_jump()
311 if (!rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in thread_jump()
312 || !rtx_equal_p (XEXP (cond1, 1), XEXP (cond2, 1))) in thread_jump()
354 && mentions_nonequal_regs (cond2, nonequal)) in thread_jump()
1622 rtx set1, set2, cond1, cond2; in outgoing_edges_match() local
1666 cond2 = XEXP (SET_SRC (set2), 0); in outgoing_edges_match()
1669 code2 = reversed_comparison_code (cond2, BB_END (bb2)); in outgoing_edges_match()
[all …]
H A Dsched-deps.cc622 conditions_mutex_p (const_rtx cond1, const_rtx cond2, bool rev1, bool rev2) in conditions_mutex_p() argument
625 && COMPARISON_P (cond2) in conditions_mutex_p()
628 ? reversed_comparison_code (cond2, NULL) in conditions_mutex_p()
629 : GET_CODE (cond2)) in conditions_mutex_p()
630 && rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in conditions_mutex_p()
631 && XEXP (cond1, 1) == XEXP (cond2, 1)) in conditions_mutex_p()
641 rtx cond1, cond2; in sched_insns_conditions_mutex_p() local
649 cond2 = sched_get_condition_with_rev (insn2, &rev2); in sched_insns_conditions_mutex_p()
650 if (cond1 && cond2 in sched_insns_conditions_mutex_p()
651 && conditions_mutex_p (cond1, cond2, rev1, rev2) in sched_insns_conditions_mutex_p()
[all …]
H A Dread-md.h206 const char *join_c_conditions (const char *cond1, const char *cond2);
H A Dtree-ssa-phiopt.cc2400 gimple *cond2 = last_stmt (cond2_bb); in spaceship_replacement() local
2401 if (cond2 == NULL || gimple_code (cond2) != GIMPLE_COND) in spaceship_replacement()
2403 enum tree_code cmp2 = gimple_cond_code (cond2); in spaceship_replacement()
2404 tree lhs2 = gimple_cond_lhs (cond2); in spaceship_replacement()
2405 tree rhs2 = gimple_cond_rhs (cond2); in spaceship_replacement()
2457 gimple *cond3 = cond2; in spaceship_replacement()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/avr/
H A Davr.cc755 enum rtx_code cond2, rtx xval2, in avr_redundant_compare() argument
779 && (cond2 == GT || cond2 == GTU)) in avr_redundant_compare()
780 return avr_normalize_condition (cond2); in avr_redundant_compare()
786 && (cond2 == GE || cond2 == GEU)) in avr_redundant_compare()
787 return cond2; in avr_redundant_compare()
792 if ((cond2 == GE && ival2 == 1 + ival1) in avr_redundant_compare()
793 || (cond2 == GEU && uval2 == 1 + uval1)) in avr_redundant_compare()
794 return cond2; in avr_redundant_compare()
799 if ((cond2 == GT && ival2 == ival1 - 1) in avr_redundant_compare()
800 || (cond2 == GTU && uval2 == uval1 - 1)) in avr_redundant_compare()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/c6x/
H A Dc6x.c3762 conditions_opposite_p (rtx cond1, rtx cond2) in conditions_opposite_p() argument
3764 return (rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in conditions_opposite_p()
3765 && rtx_equal_p (XEXP (cond1, 1), XEXP (cond2, 1)) in conditions_opposite_p()
3766 && GET_CODE (cond1) == reverse_condition (GET_CODE (cond2))); in conditions_opposite_p()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/c6x/
H A Dc6x.cc3764 conditions_opposite_p (rtx cond1, rtx cond2) in conditions_opposite_p() argument
3766 return (rtx_equal_p (XEXP (cond1, 0), XEXP (cond2, 0)) in conditions_opposite_p()
3767 && rtx_equal_p (XEXP (cond1, 1), XEXP (cond2, 1)) in conditions_opposite_p()
3768 && GET_CODE (cond1) == reverse_condition (GET_CODE (cond2))); in conditions_opposite_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/
H A Darm.c15641 enum rtx_code cond1, cond2; in arm_select_dominance_cc_mode() local
15649 || (arm_select_cc_mode (cond2 = GET_CODE (y), XEXP (y, 0), XEXP (y, 1)) in arm_select_dominance_cc_mode()
15661 if (cond1 != cond2 in arm_select_dominance_cc_mode()
15662 && !comparison_dominates_p (cond1, cond2) in arm_select_dominance_cc_mode()
15663 && (swapped = 1, !comparison_dominates_p (cond2, cond1))) in arm_select_dominance_cc_mode()
15667 std::swap (cond1, cond2); in arm_select_dominance_cc_mode()
15675 switch (cond2) in arm_select_dominance_cc_mode()
15689 switch (cond2) in arm_select_dominance_cc_mode()
15705 switch (cond2) in arm_select_dominance_cc_mode()
15721 switch (cond2) in arm_select_dominance_cc_mode()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/
H A Darm.cc15816 enum rtx_code cond1, cond2; in arm_select_dominance_cc_mode() local
15824 || (arm_select_cc_mode (cond2 = GET_CODE (y), XEXP (y, 0), XEXP (y, 1)) in arm_select_dominance_cc_mode()
15836 if (cond1 != cond2 in arm_select_dominance_cc_mode()
15837 && !comparison_dominates_p (cond1, cond2) in arm_select_dominance_cc_mode()
15838 && (swapped = 1, !comparison_dominates_p (cond2, cond1))) in arm_select_dominance_cc_mode()
15842 std::swap (cond1, cond2); in arm_select_dominance_cc_mode()
15850 switch (cond2) in arm_select_dominance_cc_mode()
15864 switch (cond2) in arm_select_dominance_cc_mode()
15880 switch (cond2) in arm_select_dominance_cc_mode()
15896 switch (cond2) in arm_select_dominance_cc_mode()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/frv/
H A Dfrv.c7012 frv_regstate_conflict_p (regstate_t cond1, regstate_t cond2) in frv_regstate_conflict_p() argument
7016 || (cond2 & REGSTATE_IF_EITHER) == 0) in frv_regstate_conflict_p()
7021 if ((cond1 & REGSTATE_CC_MASK) != (cond2 & REGSTATE_CC_MASK)) in frv_regstate_conflict_p()
7026 if ((cond1 & cond2 & REGSTATE_IF_EITHER) != 0) in frv_regstate_conflict_p()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/frv/
H A Dfrv.cc7001 frv_regstate_conflict_p (regstate_t cond1, regstate_t cond2) in frv_regstate_conflict_p() argument
7005 || (cond2 & REGSTATE_IF_EITHER) == 0) in frv_regstate_conflict_p()
7010 if ((cond1 & REGSTATE_CC_MASK) != (cond2 & REGSTATE_CC_MASK)) in frv_regstate_conflict_p()
7015 if ((cond1 & cond2 & REGSTATE_IF_EITHER) != 0) in frv_regstate_conflict_p()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Darc.c888 #define ARCSTAT_CONDSTAT(cond1, stat1, notstat1, cond2, stat2, notstat2, stat) \ argument
890 if (cond2) { \
896 if (cond2) { \

12