Lines Matching refs:cond

194   tree cond, use;  in tree_may_unswitch_on()  local
224 cond = build2 (gimple_cond_code (stmt), boolean_type_node, in tree_may_unswitch_on()
227 return cond; in tree_may_unswitch_on()
235 simplify_using_entry_checks (struct loop *loop, tree cond) in simplify_using_entry_checks() argument
245 && gimple_cond_code (stmt) == TREE_CODE (cond) in simplify_using_entry_checks()
247 TREE_OPERAND (cond, 0), 0) in simplify_using_entry_checks()
249 TREE_OPERAND (cond, 1), 0)) in simplify_using_entry_checks()
255 return cond; in simplify_using_entry_checks()
259 return cond; in simplify_using_entry_checks()
273 tree cond = NULL_TREE; in tree_unswitch_single_loop() local
320 if ((cond = tree_may_unswitch_on (bbs[i], loop))) in tree_unswitch_single_loop()
338 cond = simplify_using_entry_checks (loop, cond); in tree_unswitch_single_loop()
340 if (integer_nonzerop (cond)) in tree_unswitch_single_loop()
347 else if (integer_zerop (cond)) in tree_unswitch_single_loop()
440 && (cond = tree_may_unswitch_on (bbs[found], loop))) in tree_unswitch_single_loop()
455 nloop = tree_unswitch_loop (loop, bbs[found], cond); in tree_unswitch_single_loop()
481 basic_block unswitch_on, tree cond) in tree_unswitch_loop() argument
493 return loop_version (loop, unshare_expr (cond), in tree_unswitch_loop()
582 gcond *cond; in find_loop_guard() local
590 cond = dyn_cast <gcond *> (last_stmt (header)); in find_loop_guard()
591 if (! cond) in find_loop_guard()
596 if (gimple_cond_true_p (cond)) in find_loop_guard()
598 else if (gimple_cond_false_p (cond)) in find_loop_guard()
650 FOR_EACH_SSA_TREE_OPERAND (use, cond, iter, SSA_OP_USE) in find_loop_guard()