Home
last modified time | relevance | path

Searched refs:cond (Results 26 – 50 of 327) sorted by relevance

12345678910>>...14

/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-phiopt.c502 tree cond; in conditional_replacement() local
559 TRUTH_NOT_EXPR, TREE_TYPE (cond), cond); in conditional_replacement()
638 gimple cond; in value_replacement() local
674 cond = last_stmt (cond_bb); in value_replacement()
675 code = gimple_cond_code (cond); in value_replacement()
743 gimple cond, new_stmt; in minmax_replacement() local
755 cond = last_stmt (cond_bb); in minmax_replacement()
756 cmp = gimple_cond_code (cond); in minmax_replacement()
990 gimple new_stmt, cond; in abs_replacement() local
1031 cond = last_stmt (cond_bb); in abs_replacement()
[all …]
H A Dtree-ssa-ifcombine.c171 recognize_single_bit_test (gimple cond, tree *name, tree *bit) in recognize_single_bit_test() argument
176 if (gimple_cond_code (cond) != NE_EXPR in recognize_single_bit_test()
177 || TREE_CODE (gimple_cond_lhs (cond)) != SSA_NAME in recognize_single_bit_test()
178 || !integer_zerop (gimple_cond_rhs (cond))) in recognize_single_bit_test()
180 stmt = SSA_NAME_DEF_STMT (gimple_cond_lhs (cond)); in recognize_single_bit_test()
279 recognize_bits_test (gimple cond, tree *name, tree *bits) in recognize_bits_test() argument
284 if (gimple_cond_code (cond) != NE_EXPR in recognize_bits_test()
285 || TREE_CODE (gimple_cond_lhs (cond)) != SSA_NAME in recognize_bits_test()
286 || !integer_zerop (gimple_cond_rhs (cond))) in recognize_bits_test()
288 stmt = SSA_NAME_DEF_STMT (gimple_cond_lhs (cond)); in recognize_bits_test()
H A Dloop-doloop.c116 rtx cond; in doloop_condition_get() local
156 cond = XEXP (SET_SRC (cmp), 0); in doloop_condition_get()
157 if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx) in doloop_condition_get()
338 add_test (rtx cond, edge *e, basic_block dest) in add_test() argument
342 rtx op0 = XEXP (cond, 0), op1 = XEXP (cond, 1); in add_test()
343 enum rtx_code code = GET_CODE (cond); in add_test()
346 mode = GET_MODE (XEXP (cond, 0)); in add_test()
348 mode = GET_MODE (XEXP (cond, 1)); in add_test()
H A Dtree-ssa-dom.c78 struct hashable_expr cond; member
318 if (COMPARISON_CLASS_P (cond)) in initialize_expr_from_cond()
1222 struct hashable_expr *cond = &c.cond; in build_and_record_new_cond() local
1227 cond->kind = EXPR_BINARY; in build_and_record_new_cond()
1228 cond->ops.binary.op = code; in build_and_record_new_cond()
1229 cond->ops.binary.opnd0 = op0; in build_and_record_new_cond()
1230 cond->ops.binary.opnd1 = op1; in build_and_record_new_cond()
1251 op0 = TREE_OPERAND (cond, 0); in record_conditions()
1252 op1 = TREE_OPERAND (cond, 1); in record_conditions()
1254 switch (TREE_CODE (cond)) in record_conditions()
[all …]
H A Dpredict.c1093 rtx cond; in bb_estimate_probability_locally() local
1098 if (! cond) in bb_estimate_probability_locally()
1104 if (COMPARISON_P (cond) in bb_estimate_probability_locally()
1105 && ((REG_P (XEXP (cond, 0)) && REG_POINTER (XEXP (cond, 0))) in bb_estimate_probability_locally()
1106 || (REG_P (XEXP (cond, 1)) && REG_POINTER (XEXP (cond, 1))))) in bb_estimate_probability_locally()
1108 if (GET_CODE (cond) == EQ) in bb_estimate_probability_locally()
1119 switch (GET_CODE (cond)) in bb_estimate_probability_locally()
1137 || XEXP (cond, 0) == const0_rtx) in bb_estimate_probability_locally()
1153 || XEXP (cond, 0) == const0_rtx) in bb_estimate_probability_locally()
1169 if (XEXP (cond, 1) == const0_rtx || XEXP (cond, 1) == const1_rtx in bb_estimate_probability_locally()
[all …]
H A Dtree-ssa-loop-niter.c373 gimple cond; in bound_difference() local
432 cond = last_stmt (e->src); in bound_difference()
433 c0 = gimple_cond_lhs (cond); in bound_difference()
435 c1 = gimple_cond_rhs (cond); in bound_difference()
1656 cond = expand_simple_operations (cond); in tree_simplify_using_condition()
1671 tree cond; in simplify_using_initial_conditions() local
1697 cond = invert_truthvalue (cond); in simplify_using_initial_conditions()
2193 gimple phi, cond; in loop_niter_by_eval() local
2197 cond = last_stmt (exit->src); in loop_niter_by_eval()
2198 if (!cond || gimple_code (cond) != GIMPLE_COND) in loop_niter_by_eval()
[all …]
/dragonfly/games/trek/
H A Dcheckcond.c83 if (Ship.cond == DOCKED) in checkcond()
87 Ship.cond = RED; in checkcond()
91 Ship.cond = YELLOW; in checkcond()
94 Ship.cond = GREEN; in checkcond()
H A Ddock.c59 if (Ship.cond == DOCKED) { in dock()
94 Ship.cond = DOCKED; in dock()
128 if (Ship.cond != DOCKED) { in undock()
132 Ship.cond = GREEN; in undock()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-scopedtables.c1063 if (COMPARISON_CLASS_P (cond)) in initialize_expr_from_cond()
1090 struct hashable_expr *cond = &c.cond; variable
1094 cond->type = boolean_type_node;
1095 cond->kind = EXPR_BINARY;
1096 cond->ops.binary.op = code;
1097 cond->ops.binary.opnd0 = op0;
1098 cond->ops.binary.opnd1 = op1;
1119 op0 = TREE_OPERAND (cond, 0); in record_conditions()
1120 op1 = TREE_OPERAND (cond, 1); in record_conditions()
1122 switch (TREE_CODE (cond)) in record_conditions()
[all …]
H A Dtree-ssa-phiopt.c580 tree cond; in conditional_replacement() local
645 TRUTH_NOT_EXPR, TREE_TYPE (cond), cond); in conditional_replacement()
652 NEGATE_EXPR, TREE_TYPE (cond), cond); in conditional_replacement()
890 gimple *cond; in value_replacement() local
923 cond = last_stmt (cond_bb); in value_replacement()
924 code = gimple_cond_code (cond); in value_replacement()
1143 gsi = gsi_for_stmt (cond); in value_replacement()
1197 gcond *cond; in minmax_replacement() local
1211 cmp = gimple_cond_code (cond); in minmax_replacement()
1533 gimple *cond; in abs_replacement() local
[all …]
H A Dgimple-ssa-split-paths.c259 if (gcond *cond = dyn_cast <gcond *> (use_stmt)) in is_feasible_trace() local
260 if (gimple_cond_code (cond) == EQ_EXPR in is_feasible_trace()
261 || gimple_cond_code (cond) == NE_EXPR) in is_feasible_trace()
278 gcond *cond = as_a <gcond *> (last_stmt (dom)); in is_feasible_trace() local
279 if (gimple_cond_code (cond) == EQ_EXPR in is_feasible_trace()
280 || gimple_cond_code (cond) == NE_EXPR) in is_feasible_trace()
283 tree op = gimple_op (cond, i); in is_feasible_trace()
H A Dloop-doloop.c117 rtx cond; in doloop_condition_get() local
159 cond = XEXP (SET_SRC (cmp), 0); in doloop_condition_get()
160 if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx) in doloop_condition_get()
342 add_test (rtx cond, edge *e, basic_block dest) in add_test() argument
347 rtx op0 = XEXP (cond, 0), op1 = XEXP (cond, 1); in add_test()
348 enum rtx_code code = GET_CODE (cond); in add_test()
353 mode = GET_MODE (XEXP (cond, 0)); in add_test()
355 mode = GET_MODE (XEXP (cond, 1)); in add_test()
H A Dtree-ssa-ifcombine.c207 recognize_single_bit_test (gcond *cond, tree *name, tree *bit, bool inv) in recognize_single_bit_test() argument
212 if (gimple_cond_code (cond) != (inv ? EQ_EXPR : NE_EXPR) in recognize_single_bit_test()
213 || TREE_CODE (gimple_cond_lhs (cond)) != SSA_NAME in recognize_single_bit_test()
214 || !integer_zerop (gimple_cond_rhs (cond))) in recognize_single_bit_test()
216 stmt = SSA_NAME_DEF_STMT (gimple_cond_lhs (cond)); in recognize_single_bit_test()
316 recognize_bits_test (gcond *cond, tree *name, tree *bits, bool inv) in recognize_bits_test() argument
321 if (gimple_cond_code (cond) != (inv ? EQ_EXPR : NE_EXPR) in recognize_bits_test()
322 || TREE_CODE (gimple_cond_lhs (cond)) != SSA_NAME in recognize_bits_test()
323 || !integer_zerop (gimple_cond_rhs (cond))) in recognize_bits_test()
325 stmt = SSA_NAME_DEF_STMT (gimple_cond_lhs (cond)); in recognize_bits_test()
/dragonfly/contrib/mpfr/src/
H A Dai.c59 unsigned long int cond; /* condition number of the series */ in mpfr_ai1() local
156 cond = 0; in mpfr_ai1()
158 cond = mpfr_get_ui (tmp2_sp, MPFR_RNDU) - (MPFR_GET_EXP (x)-1)/4 - 1; in mpfr_ai1()
181 wprec = prec + MPFR_INT_CEIL_LOG2 (prec) + 5 + cond + assumed_exponent; in mpfr_ai1()
248 err = 4 + MPFR_INT_CEIL_LOG2 (k) + cond - MPFR_GET_EXP (s); in mpfr_ai1()
289 wprec = prec + (MPFR_INT_CEIL_LOG2 (k)+2) + 5 + cond in mpfr_ai1()
325 unsigned long int cond; /* condition number of the series */ in mpfr_ai2() local
379 cond = 0; in mpfr_ai2()
404 wprec = prec + MPFR_INT_CEIL_LOG2 (prec) + 6 + cond + assumed_exponent; in mpfr_ai2()
537 + cond - MPFR_GET_EXP (result)); in mpfr_ai2()
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/config/posix/
H A Dsem.c47 ret = pthread_cond_init (&sem->cond, NULL); in gomp_sem_init()
71 ret = pthread_cond_wait (&sem->cond, &sem->mutex); in gomp_sem_wait()
98 ret = pthread_cond_signal (&sem->cond); in gomp_sem_post()
111 ret = pthread_cond_destroy (&sem->cond); in gomp_sem_destroy()
/dragonfly/contrib/gcc-4.7/libgomp/config/posix/
H A Dsem.c46 ret = pthread_cond_init (&sem->cond, NULL); in gomp_sem_init()
70 ret = pthread_cond_wait (&sem->cond, &sem->mutex); in gomp_sem_wait()
97 ret = pthread_cond_signal (&sem->cond); in gomp_sem_post()
110 ret = pthread_cond_destroy (&sem->cond); in gomp_sem_destroy()
/dragonfly/test/stress/stress2/misc/
H A Dkevent.sh63 pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
97 if (pthread_cond_signal(&cond) == -1)
120 if (pthread_cond_wait(&cond, &mutex) == -1)
154 if (pthread_cond_init(&cond, NULL) == -1)
168 if (pthread_cond_destroy(&cond) == -1)
H A Dkevent2.sh62 pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
97 if (pthread_cond_signal(&cond) == -1)
125 if (pthread_cond_wait(&cond, &mutex) == -1)
156 if (pthread_cond_init(&cond, NULL) == -1)
170 if (pthread_cond_destroy(&cond) == -1)
/dragonfly/contrib/diffutils/lib/
H A Dcdefs.h405 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) argument
406 # define __glibc_likely(cond) __builtin_expect ((cond), 1) argument
408 # define __glibc_unlikely(cond) (cond) argument
409 # define __glibc_likely(cond) (cond) argument
/dragonfly/contrib/grep/lib/
H A Dcdefs.h405 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) argument
406 # define __glibc_likely(cond) __builtin_expect ((cond), 1) argument
408 # define __glibc_unlikely(cond) (cond) argument
409 # define __glibc_likely(cond) (cond) argument
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dsemantics.c505 cond = fold_non_dependent_expr (cond); in begin_maybe_infinite_loop()
535 cond = fold_non_dependent_expr (cond); in end_maybe_infinite_loop()
658 cond = convert_from_reference (cond); in maybe_convert_cond()
735 cond = maybe_convert_cond (cond); in finish_if_stmt_cond()
811 cond = maybe_convert_cond (cond); in finish_while_stmt_cond()
875 cond = maybe_convert_cond (cond); in finish_do_stmt()
878 cond = build3 (ANNOTATE_EXPR, TREE_TYPE (cond), cond, in finish_do_stmt()
882 cond = build3 (ANNOTATE_EXPR, TREE_TYPE (cond), cond, in finish_do_stmt()
995 cond = maybe_convert_cond (cond); in finish_for_cond()
1187 cond = maybe_cleanup_point_expr (cond); in finish_switch_cond()
[all …]
/dragonfly/contrib/bzip2/
H A Dbzlib_private.h59 #define AssertH(cond,errcode) \ argument
60 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
63 #define AssertD(cond,msg) \ argument
64 { if (!(cond)) { \
70 #define AssertD(cond,msg) /* */ argument
89 #define AssertH(cond,errcode) \ argument
90 { if (!(cond)) bz_internal_error ( errcode ); }
91 #define AssertD(cond,msg) do { } while (0) argument
/dragonfly/usr.bin/mail/
H A Dcmd3.c613 if (cond != CANY) { in ifcmd()
617 cond = CANY; in ifcmd()
621 cond = CRCV; in ifcmd()
625 cond = CSEND; in ifcmd()
642 switch (cond) { in elsecmd()
648 cond = CRCV; in elsecmd()
652 cond = CSEND; in elsecmd()
657 cond = CANY; in elsecmd()
669 if (cond == CANY) { in endifcmd()
673 cond = CANY; in endifcmd()
/dragonfly/usr.bin/dsynth/
H A Dbulk.c41 pthread_cond_t cond; member
102 pthread_cond_init(&JobsAry[i].cond, NULL); in initbulk()
123 pthread_cond_signal(&JobsAry[i].cond); in donebulk()
128 pthread_cond_destroy(&JobsAry[i].cond); in donebulk()
210 pthread_cond_signal(&JobsAry[i].cond); in bulkstart()
346 pthread_cond_wait(&job->cond, &BulkMutex); in bulkthread()
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dclvmd-cman.c79 pthread_cond_t cond; member
414 pthread_cond_signal(&lwait->cond); in sync_ast_routine()
433 pthread_cond_init(&lwait.cond, NULL); in _sync_lock()
448 pthread_cond_wait(&lwait.cond, &lwait.mutex); in _sync_lock()
468 pthread_cond_init(&lwait.cond, NULL); in _sync_unlock()
478 pthread_cond_wait(&lwait.cond, &lwait.mutex); in _sync_unlock()

12345678910>>...14