Lines Matching defs:cond

178 forward_propagate_into_cond_1 (tree cond, tree *test_var_p)
181 enum tree_code cond_code = TREE_CODE (cond);
194 && TREE_CODE (TREE_OPERAND (cond, 0)) == SSA_NAME
195 && CONSTANT_CLASS_P (TREE_OPERAND (cond, 1))
196 && INTEGRAL_TYPE_P (TREE_TYPE (TREE_OPERAND (cond, 1)))))
201 test_var = cond;
203 test_var = TREE_OPERAND (cond, 0);
247 t = int_const_binop (new_code, TREE_OPERAND (cond, 1), op1, 0);
257 else if (TREE_CODE (cond) == SSA_NAME
258 || integer_zerop (TREE_OPERAND (cond, 1))
259 || integer_onep (TREE_OPERAND (cond, 1)))
297 && integer_zerop (TREE_OPERAND (cond, 1)))
299 && integer_onep (TREE_OPERAND (cond, 1))))
334 && integer_zerop (TREE_OPERAND (cond, 1)))
336 && integer_onep (TREE_OPERAND (cond, 1))))
386 && integer_zerop (TREE_OPERAND (cond, 1)))
388 && integer_onep (TREE_OPERAND (cond, 1))))
425 find_equivalent_equality_comparison (tree cond)
427 tree op0 = TREE_OPERAND (cond, 0);
428 tree op1 = TREE_OPERAND (cond, 1);
486 return build2 (TREE_CODE (cond), TREE_TYPE (cond),
501 tree cond = COND_EXPR_COND (stmt);
503 if (COMPARISON_CLASS_P (cond))
505 tree op0 = TREE_OPERAND (cond, 0);
506 tree op1 = TREE_OPERAND (cond, 1);
514 if (TREE_CODE (cond) == EQ_EXPR || TREE_CODE (cond) == NE_EXPR)
516 tree new_cond = find_equivalent_equality_comparison (cond);
539 tree cond = COND_EXPR_COND (cond_expr);
540 tree new_cond = forward_propagate_into_cond_1 (cond, &test_var);
550 print_generic_expr (dump_file, cond, dump_flags);
912 tree cond = SWITCH_COND (stmt);
918 if (TREE_CODE (cond) == SSA_NAME)
920 def = SSA_NAME_DEF_STMT (cond);
936 to = TREE_TYPE (cond);