Searched refs:cond_stmt (Results 1 - 25 of 69) sorted by relevance

123

/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dgimple-ssa-split-paths.cc266 to end with a cond_stmt which has the same args with the PHI in BB. */
270 gimple *cond_stmt = last_stmt (pred1); local
271 if (cond_stmt && gimple_code (cond_stmt) == GIMPLE_COND)
273 tree lhs = gimple_cond_lhs (cond_stmt);
274 tree rhs = gimple_cond_rhs (cond_stmt);
H A Dgimplify-me.cc166 gcond *cond_stmt = as_a <gcond *> (stmt); local
167 gimplify_expr (gimple_cond_lhs_ptr (cond_stmt), &pre, NULL,
169 gimplify_expr (gimple_cond_rhs_ptr (cond_stmt), &pre, NULL,
H A Dtree-ssa-loop-unswitch.cc418 gcond *cond_stmt = as_a <gcond *> (stmt); local
419 if (gimple_cond_true_p (cond_stmt))
421 else if (gimple_cond_false_p (cond_stmt))
832 gcond *cond_stmt, *new_cond_stmt; local
839 cond_stmt = as_a <gcond *> (stmt);
847 new_cond_stmt = gimple_build_cond (gimple_cond_code (cond_stmt),
848 gimple_cond_lhs (cond_stmt),
849 gimple_cond_rhs (cond_stmt),
854 gimple_cond_make_false (cond_stmt);
856 gimple_cond_make_true (cond_stmt);
[all...]
H A Dsese.cc348 gcond *cond_stmt; local
356 cond_stmt = gimple_build_cond_from_tree (condition, NULL_TREE, NULL_TREE);
358 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT);
H A Dtree-ssa-loop-ivcanon.cc536 gcond *cond_stmt = as_a <gcond *> (elt->stmt); local
538 gimple_cond_make_true (cond_stmt);
540 gimple_cond_make_false (cond_stmt);
541 update_stmt (cond_stmt);
590 gcond *cond_stmt = as_a <gcond *> (elt->stmt); local
592 gimple_cond_make_false (cond_stmt);
594 gimple_cond_make_true (cond_stmt);
595 update_stmt (cond_stmt);
H A Dtree-parloops.cc2354 gcond *cond_stmt = as_a <gcond *> (last_stmt (exit->src)); local
2355 tree control = gimple_cond_lhs (cond_stmt);
2388 gimple_cond_set_rhs (cond_stmt, bound);
2389 update_stmt (cond_stmt);
2518 gcond *cond_stmt = as_a <gcond *> (last_stmt (exit->src)); local
2519 tree control = gimple_cond_lhs (cond_stmt);
2633 gcond *cond_stmt, *cond_nit; local
2640 cond_stmt = as_a <gcond *> (last_stmt (exit->src));
2641 control = gimple_cond_lhs (cond_stmt);
2642 gcc_assert (gimple_cond_rhs (cond_stmt)
2746 gcond *cond_stmt; local
2981 gimple *cond_stmt; local
[all...]
H A Domp-expand.cc1217 gcond *cond_stmt = gimple_build_cond (code, lhs, rhs, NULL_TREE, NULL_TREE); local
1219 gsi_insert_after (gsi_p, cond_stmt, GSI_CONTINUE_LINKING);
1221 gsi_insert_before (gsi_p, cond_stmt, GSI_SAME_STMT);
1222 if (walk_tree (gimple_cond_lhs_ptr (cond_stmt), expand_omp_regimplify_p,
1224 || walk_tree (gimple_cond_rhs_ptr (cond_stmt), expand_omp_regimplify_p,
1227 gimple_stmt_iterator gsi = gsi_for_stmt (cond_stmt);
1228 gimple_regimplify_operands (cond_stmt, &gsi);
1230 return cond_stmt;
1885 gcond *cond_stmt; local
1893 cond_stmt
2090 gcond *cond_stmt local
2309 gcond *cond_stmt local
2565 gcond *cond_stmt local
2836 gcond *cond_stmt local
2908 gcond *cond_stmt; local
3234 gcond *cond_stmt local
4508 gcond *cond_stmt = gimple_build_cond_empty (t); local
4529 gcond *cond_stmt = gimple_build_cond_empty (t); local
4920 gcond *cond_stmt = expand_omp_build_cond (&gsi, fd->loop.cond_code, local
5109 gcond *cond_stmt = gimple_build_cond_empty (t); local
5715 gcond *cond_stmt = expand_omp_build_cond (&gsi, fd->loop.cond_code, local
6345 gcond *cond_stmt; local
[all...]
H A Dtree-ssa-math-opts.cc3492 maybe_optimize_guarding_check (vec<gimple *> &mul_stmts, gimple *cond_stmt, argument
3495 basic_block bb = gimple_bb (cond_stmt);
3504 if (gimple_code (cond_stmt) == GIMPLE_COND)
3509 if (gimple_cond_code (cond_stmt) == NE_EXPR)
3551 while (gsi_stmt (gsi) != cond_stmt)
3574 if (gimple_code (cond_stmt) == GIMPLE_COND)
3589 tree lhs = gimple_assign_lhs (cond_stmt);
3595 if (gimple_assign_rhs_code (cond_stmt) == COND_EXPR)
3621 if (gimple_assign_rhs_code (cond_stmt) == COND_EXPR)
3623 tree cond = gimple_assign_rhs1 (cond_stmt);
3898 gimple *cond_stmt = NULL; local
4274 gcond *cond_stmt = as_a <gcond *> (use_stmt); local
[all...]
H A Dvalue-prof.cc1321 gcond *cond_stmt; local
1343 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE);
1344 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
1364 e_cd = split_block (cond_bb, cond_stmt);
1546 gcond *cond_stmt; local
1571 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE);
1572 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
1589 e_ci = split_block (cond_bb, cond_stmt);
H A Dtree-ssa-propagate.cc1219 else if (gcond *cond_stmt = dyn_cast <gcond *> (stmt))
1224 gimple_cond_set_code (cond_stmt, NE_EXPR);
1225 gimple_cond_set_lhs (cond_stmt, lhs);
1226 gimple_cond_set_rhs (cond_stmt, rhs);
H A Dgimple-predicate-analysis.cc2165 gimple *cond_stmt = gsi_stmt (gsi); local
2166 if (is_gimple_call (cond_stmt) && EDGE_COUNT (e->src->succs) >= 2)
2187 if (gimple_code (cond_stmt) == GIMPLE_COND)
2193 one_pred.pred_lhs = gimple_cond_lhs (cond_stmt);
2194 one_pred.pred_rhs = gimple_cond_rhs (cond_stmt);
2195 one_pred.cond_code = gimple_cond_code (cond_stmt);
2209 else if (gswitch *gs = dyn_cast<gswitch *> (cond_stmt))
H A Dtree-switch-conversion.cc826 gcond *cond_stmt;
846 cond_stmt = gimple_build_cond (LE_EXPR, tidx, bound, NULL_TREE, NULL_TREE);
847 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
848 update_stmt (cond_stmt);
868 e02 = split_block (bb0, cond_stmt);
1718 gcond *cond_stmt;
1728 cond_stmt = gimple_build_cond_from_tree (tmp, NULL_TREE, NULL_TREE);
1729 gimple_set_location (cond_stmt, loc);
1730 gsi_insert_before (gsip, cond_stmt, GSI_SAME_STMT);
1732 e_false = split_block (split_bb, cond_stmt);
825 gcond *cond_stmt; local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dgimplify-me.c166 gcond *cond_stmt = as_a <gcond *> (stmt); local
167 gimplify_expr (gimple_cond_lhs_ptr (cond_stmt), &pre, NULL,
169 gimplify_expr (gimple_cond_rhs_ptr (cond_stmt), &pre, NULL,
H A Dtree-ssa-loop-unswitch.c412 gcond *cond_stmt = as_a <gcond *> (stmt); local
413 if (gimple_cond_true_p (cond_stmt))
415 else if (gimple_cond_false_p (cond_stmt))
798 gcond *cond_stmt, *new_cond_stmt; local
805 cond_stmt = as_a <gcond *> (stmt);
813 new_cond_stmt = gimple_build_cond (gimple_cond_code (cond_stmt),
814 gimple_cond_lhs (cond_stmt),
815 gimple_cond_rhs (cond_stmt),
820 gimple_cond_make_false (cond_stmt);
822 gimple_cond_make_true (cond_stmt);
[all...]
H A Dsese.c348 gcond *cond_stmt; local
356 cond_stmt = gimple_build_cond_from_tree (condition, NULL_TREE, NULL_TREE);
358 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT);
H A Dtree-ssa-loop-ivcanon.c541 gcond *cond_stmt = as_a <gcond *> (elt->stmt); local
543 gimple_cond_make_true (cond_stmt);
545 gimple_cond_make_false (cond_stmt);
546 update_stmt (cond_stmt);
595 gcond *cond_stmt = as_a <gcond *> (elt->stmt); local
597 gimple_cond_make_false (cond_stmt);
599 gimple_cond_make_true (cond_stmt);
600 update_stmt (cond_stmt);
H A Dtree-parloops.c2354 gcond *cond_stmt = as_a <gcond *> (last_stmt (exit->src)); local
2355 tree control = gimple_cond_lhs (cond_stmt);
2388 gimple_cond_set_rhs (cond_stmt, bound);
2389 update_stmt (cond_stmt);
2518 gcond *cond_stmt = as_a <gcond *> (last_stmt (exit->src)); local
2519 tree control = gimple_cond_lhs (cond_stmt);
2633 gcond *cond_stmt, *cond_nit; local
2640 cond_stmt = as_a <gcond *> (last_stmt (exit->src));
2641 control = gimple_cond_lhs (cond_stmt);
2642 gcc_assert (gimple_cond_rhs (cond_stmt)
2746 gcond *cond_stmt; local
2981 gimple *cond_stmt; local
[all...]
H A Dtree-vect-loop-manip.c728 gcond *cond_stmt = gimple_build_cond (code, test_mask, zero_mask, local
730 gsi_insert_before (&loop_cond_gsi, cond_stmt, GSI_SAME_STMT);
747 return cond_stmt;
760 gcond *cond_stmt; local
857 cond_stmt = gimple_build_cond (code, indx_after_incr, limit, NULL_TREE,
860 gsi_insert_before (&loop_cond_gsi, cond_stmt, GSI_SAME_STMT);
881 return cond_stmt;
911 gcond *cond_stmt; local
916 cond_stmt = vect_set_loop_condition_masked (loop, loop_vinfo, niters,
920 cond_stmt
1181 gcond *cond_stmt; local
[all...]
H A Dvalue-prof.c1284 gcond *cond_stmt; local
1306 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE);
1307 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
1327 e_cd = split_block (cond_bb, cond_stmt);
1509 gcond *cond_stmt; local
1534 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE);
1535 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
1552 e_ci = split_block (cond_bb, cond_stmt);
H A Dtree-ssa-uninit.c663 gimple *cond_stmt; variable
682 cond_stmt = gsi_stmt (gsi);
683 if (is_gimple_call (cond_stmt) && EDGE_COUNT (e->src->succs) >= 2)
704 if (gimple_code (cond_stmt) == GIMPLE_COND)
706 one_pred.pred_lhs = gimple_cond_lhs (cond_stmt);
707 one_pred.pred_rhs = gimple_cond_rhs (cond_stmt);
708 one_pred.cond_code = gimple_cond_code (cond_stmt);
713 else if (gswitch *gs = dyn_cast<gswitch *> (cond_stmt))
H A Dtree-ssa-propagate.c1431 else if (gcond *cond_stmt = dyn_cast <gcond *> (stmt))
1436 gimple_cond_set_code (cond_stmt, NE_EXPR);
1437 gimple_cond_set_lhs (cond_stmt, lhs);
1438 gimple_cond_set_rhs (cond_stmt, rhs);
H A Dtree-switch-conversion.c825 gcond *cond_stmt;
845 cond_stmt = gimple_build_cond (LE_EXPR, tidx, bound, NULL_TREE, NULL_TREE);
846 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT);
847 update_stmt (cond_stmt);
867 e02 = split_block (bb0, cond_stmt);
1676 gcond *cond_stmt;
1686 cond_stmt = gimple_build_cond_from_tree (tmp, NULL_TREE, NULL_TREE);
1687 gimple_set_location (cond_stmt, loc);
1688 gsi_insert_before (gsip, cond_stmt, GSI_SAME_STMT);
1690 e_false = split_block (split_bb, cond_stmt);
824 gcond *cond_stmt; local
1675 gcond *cond_stmt; local
[all...]
H A Domp-expand.c1823 gcond *cond_stmt; local
1831 cond_stmt = gimple_build_cond (fd->loops[i].cond_code, n1, n2,
1833 gsi_insert_before (gsi, cond_stmt, GSI_SAME_STMT);
1834 if (walk_tree (gimple_cond_lhs_ptr (cond_stmt),
1836 || walk_tree (gimple_cond_rhs_ptr (cond_stmt),
1839 *gsi = gsi_for_stmt (cond_stmt);
1840 gimple_regimplify_operands (cond_stmt, gsi);
1842 e = split_block (entry_bb, cond_stmt);
3328 gcond *cond_stmt = gimple_build_cond_empty (t); local
3329 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STM
3349 gcond *cond_stmt = gimple_build_cond_empty (t); local
3711 gcond *cond_stmt = gimple_build_cond (fd->loop.cond_code, n1, n2, local
3909 gcond *cond_stmt = gimple_build_cond_empty (t); local
4515 gcond *cond_stmt = gimple_build_cond (fd->loop.cond_code, n1, n2, local
5205 gcond *cond_stmt; local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dchecker-path.cc502 if (const gcond *cond_stmt = dyn_cast <const gcond *> (last_stmt))
504 enum tree_code op = gimple_cond_code (cond_stmt);
505 tree lhs = gimple_cond_lhs (cond_stmt);
506 tree rhs = gimple_cond_rhs (cond_stmt);
/netbsd-current/external/gpl3/gcc/dist/gcc/analyzer/
H A Dchecker-path.cc549 if (const gcond *cond_stmt = dyn_cast <const gcond *> (last_stmt))
551 enum tree_code op = gimple_cond_code (cond_stmt);
552 tree lhs = gimple_cond_lhs (cond_stmt);
553 tree rhs = gimple_cond_rhs (cond_stmt);

Completed in 329 milliseconds

123