/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-parloops.c | 1491 cond_stmt = last_stmt (exit->src); in transform_to_exit_first_loop() 1509 gimple_cond_set_lhs (cond_stmt, t); in transform_to_exit_first_loop() 1510 update_stmt (cond_stmt); in transform_to_exit_first_loop() 1530 gimple_cond_rhs (cond_stmt), in transform_to_exit_first_loop() 1544 gimple_cond_set_lhs (cond_stmt, unshare_expr (gimple_cond_lhs (cond_stmt))); in transform_to_exit_first_loop() 1667 cond_stmt = last_stmt (loop->header); in create_parallel_loop() 1669 cvar = gimple_cond_lhs (cond_stmt); in create_parallel_loop() 1765 gimple cond_stmt; in gen_parallel_loop() local 1878 cond_stmt = last_stmt (loop->header); in gen_parallel_loop() 1879 if (cond_stmt) in gen_parallel_loop() [all …]
|
H A D | tree-switch-conversion.c | 797 gimple cond_stmt; in gen_inbound_check() local 816 cond_stmt = gimple_build_cond (LE_EXPR, tidx, bound, NULL_TREE, NULL_TREE); in gen_inbound_check() 817 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gen_inbound_check() 818 update_stmt (cond_stmt); in gen_inbound_check() 835 e02 = split_block (bb0, cond_stmt); in gen_inbound_check()
|
H A D | tree-vect-loop-manip.c | 759 gimple cond_stmt; in slpeel_make_loop_iterate_ntimes() local 785 cond_stmt = gimple_build_cond (code, indx_after_incr, niters, NULL_TREE, in slpeel_make_loop_iterate_ntimes() 788 gsi_insert_before (&loop_cond_gsi, cond_stmt, GSI_SAME_STMT); in slpeel_make_loop_iterate_ntimes() 799 print_gimple_stmt (dump_file, cond_stmt, 0, TDF_SLIM); in slpeel_make_loop_iterate_ntimes() 938 gimple cond_stmt; in slpeel_add_loop_guard() local 949 cond_stmt = gimple_build_cond (NE_EXPR, in slpeel_add_loop_guard() 956 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in slpeel_add_loop_guard() 1050 gimple cond_stmt; in set_prologue_iterations() local 1079 cond_stmt = gimple_build_cond (NE_EXPR, cost_pre_condition, in set_prologue_iterations() 1088 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in set_prologue_iterations()
|
H A D | value-prof.c | 1146 gimple dcall_stmt, load_stmt, cond_stmt; in gimple_ic() local 1171 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_ic() 1172 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gimple_ic() 1186 e_cd = split_block (cond_bb, cond_stmt); in gimple_ic() 1401 gimple tmp_stmt, cond_stmt, icall_stmt; in gimple_stringop_fixed_value() local 1430 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_stringop_fixed_value() 1431 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gimple_stringop_fixed_value() 1442 e_ci = split_block (cond_bb, cond_stmt); in gimple_stringop_fixed_value()
|
H A D | sese.c | 790 gimple cond_stmt; in set_ifsese_condition() local 798 cond_stmt = gimple_build_cond_from_tree (condition, NULL_TREE, NULL_TREE); in set_ifsese_condition() 800 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in set_ifsese_condition()
|
H A D | tree-ssa-uninit.c | 365 gimple cond_stmt; in convert_control_dep_chain_into_preds() local 379 cond_stmt = gsi_stmt (gsi); in convert_control_dep_chain_into_preds() 380 if (gimple_code (cond_stmt) == GIMPLE_CALL in convert_control_dep_chain_into_preds() 405 if (gimple_code (cond_stmt) != GIMPLE_COND) in convert_control_dep_chain_into_preds() 411 one_pred->cond = cond_stmt; in convert_control_dep_chain_into_preds()
|
H A D | tree-ssa-phiopt.c | 231 gimple cond_stmt, phi; in tree_ssa_phiopt_worker() local 238 cond_stmt = last_stmt (bb); in tree_ssa_phiopt_worker() 240 if (!cond_stmt in tree_ssa_phiopt_worker() 241 || gimple_code (cond_stmt) != GIMPLE_COND) in tree_ssa_phiopt_worker()
|
H A D | cfgloopmanip.c | 556 gimple cond_stmt; in create_empty_if_region_on_edge() local 567 cond_stmt = gimple_build_cond_from_tree (simple_cond, NULL_TREE, NULL_TREE); in create_empty_if_region_on_edge() 569 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in create_empty_if_region_on_edge()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-ssa-loop-unswitch.c | 413 gcond *cond_stmt = as_a <gcond *> (stmt); in tree_unswitch_single_loop() local 414 if (gimple_cond_true_p (cond_stmt)) in tree_unswitch_single_loop() 416 else if (gimple_cond_false_p (cond_stmt)) in tree_unswitch_single_loop() 799 gcond *cond_stmt, *new_cond_stmt; in hoist_guard() local 806 cond_stmt = as_a <gcond *> (stmt); in hoist_guard() 814 new_cond_stmt = gimple_build_cond (gimple_cond_code (cond_stmt), in hoist_guard() 815 gimple_cond_lhs (cond_stmt), in hoist_guard() 816 gimple_cond_rhs (cond_stmt), in hoist_guard() 821 gimple_cond_make_false (cond_stmt); in hoist_guard() 823 gimple_cond_make_true (cond_stmt); in hoist_guard() [all …]
|
H A D | tree-parloops.c | 1682 update_stmt (cond_stmt); in transform_to_exit_first_loop_alt() 1926 gcond *cond_stmt, *cond_nit; in transform_to_exit_first_loop() local 1934 control = gimple_cond_lhs (cond_stmt); in transform_to_exit_first_loop() 1952 gimple_cond_set_lhs (cond_stmt, t); in transform_to_exit_first_loop() 1953 update_stmt (cond_stmt); in transform_to_exit_first_loop() 2039 gcond *cond_stmt; in create_parallel_loop() local 2100 cvar = gimple_cond_lhs (cond_stmt); in create_parallel_loop() 2276 gimple *cond_stmt; in gen_parallel_loop() local 2470 cond_stmt = last_stmt (loop->header); in gen_parallel_loop() 2471 if (cond_stmt) in gen_parallel_loop() [all …]
|
H A D | gimplify-me.c | 166 gcond *cond_stmt = as_a <gcond *> (stmt); in gimple_regimplify_operands() local 167 gimplify_expr (gimple_cond_lhs_ptr (cond_stmt), &pre, NULL, in gimple_regimplify_operands() 169 gimplify_expr (gimple_cond_rhs_ptr (cond_stmt), &pre, NULL, in gimple_regimplify_operands()
|
H A D | tree-ssa-loop-ivcanon.c | 539 gcond *cond_stmt = as_a <gcond *> (elt->stmt); in remove_exits_and_undefined_stmts() local 541 gimple_cond_make_true (cond_stmt); in remove_exits_and_undefined_stmts() 543 gimple_cond_make_false (cond_stmt); in remove_exits_and_undefined_stmts() 544 update_stmt (cond_stmt); in remove_exits_and_undefined_stmts() 593 gcond *cond_stmt = as_a <gcond *> (elt->stmt); in remove_redundant_iv_tests() local 595 gimple_cond_make_false (cond_stmt); in remove_redundant_iv_tests() 597 gimple_cond_make_true (cond_stmt); in remove_redundant_iv_tests() 598 update_stmt (cond_stmt); in remove_redundant_iv_tests()
|
H A D | tree-vect-loop-manip.c | 741 gcond *cond_stmt = gimple_build_cond (code, test_mask, zero_mask, in vect_set_loop_condition_masked() local 743 gsi_insert_before (&loop_cond_gsi, cond_stmt, GSI_SAME_STMT); in vect_set_loop_condition_masked() 760 return cond_stmt; in vect_set_loop_condition_masked() 773 gcond *cond_stmt; in vect_set_loop_condition_unmasked() local 873 gsi_insert_before (&loop_cond_gsi, cond_stmt, GSI_SAME_STMT); in vect_set_loop_condition_unmasked() 894 return cond_stmt; in vect_set_loop_condition_unmasked() 924 gcond *cond_stmt; in vect_set_loop_condition() local 933 cond_stmt = vect_set_loop_condition_unmasked (loop, niters, step, in vect_set_loop_condition() 944 dump_gimple_stmt (MSG_NOTE, TDF_SLIM, cond_stmt, 0); in vect_set_loop_condition() 1186 gcond *cond_stmt; in slpeel_add_loop_guard() local [all …]
|
H A D | sese.c | 348 gcond *cond_stmt; in set_ifsese_condition() local 356 cond_stmt = gimple_build_cond_from_tree (condition, NULL_TREE, NULL_TREE); in set_ifsese_condition() 358 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in set_ifsese_condition()
|
H A D | tree-ssa-phiopt.c | 183 gimple *cond_stmt; in tree_ssa_phiopt_worker() local 191 cond_stmt = last_stmt (bb); in tree_ssa_phiopt_worker() 193 if (!cond_stmt in tree_ssa_phiopt_worker() 194 || gimple_code (cond_stmt) != GIMPLE_COND) in tree_ssa_phiopt_worker() 241 if (!FLOAT_TYPE_P (TREE_TYPE (gimple_cond_lhs (cond_stmt))) in tree_ssa_phiopt_worker() 318 cond_stmt); in tree_ssa_phiopt_worker() 410 tree arg0, tree arg1, gimple *cond_stmt) in factor_out_conditional_conversion() argument 486 if (new_arg0 != gimple_cond_lhs (cond_stmt) in factor_out_conditional_conversion() 487 && new_arg0 != gimple_cond_rhs (cond_stmt) in factor_out_conditional_conversion()
|
H A D | omp-expand.c | 1696 gcond *cond_stmt; in expand_omp_for_init_counts() local 1712 *gsi = gsi_for_stmt (cond_stmt); in expand_omp_for_init_counts() 1715 e = split_block (entry_bb, cond_stmt); in expand_omp_for_init_counts() 3354 gsi = gsi_for_stmt (cond_stmt); in expand_omp_for_static_nochunk() 3355 gimple_regimplify_operands (cond_stmt, &gsi); in expand_omp_for_static_nochunk() 3357 ep = split_block (entry_bb, cond_stmt); in expand_omp_for_static_nochunk() 3838 gsi = gsi_for_stmt (cond_stmt); in expand_omp_for_static_chunk() 3841 se = split_block (entry_bb, cond_stmt); in expand_omp_for_static_chunk() 4378 gcond *cond_stmt; in expand_omp_simd() local 4593 cond_stmt = gimple_build_cond_empty (t); in expand_omp_simd() [all …]
|
H A D | tree-ssa-uninit.c | 663 gimple *cond_stmt; in convert_control_dep_chain_into_preds() local 682 cond_stmt = gsi_stmt (gsi); in convert_control_dep_chain_into_preds() 683 if (is_gimple_call (cond_stmt) && EDGE_COUNT (e->src->succs) >= 2) in convert_control_dep_chain_into_preds() 704 if (gimple_code (cond_stmt) == GIMPLE_COND) in convert_control_dep_chain_into_preds() 706 one_pred.pred_lhs = gimple_cond_lhs (cond_stmt); in convert_control_dep_chain_into_preds() 707 one_pred.pred_rhs = gimple_cond_rhs (cond_stmt); in convert_control_dep_chain_into_preds() 708 one_pred.cond_code = gimple_cond_code (cond_stmt); in convert_control_dep_chain_into_preds() 713 else if (gswitch *gs = dyn_cast<gswitch *> (cond_stmt)) in convert_control_dep_chain_into_preds()
|
H A D | value-prof.c | 1301 gcond *cond_stmt; in gimple_ic() local 1329 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_ic() 1330 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gimple_ic() 1350 e_cd = split_block (cond_bb, cond_stmt); in gimple_ic() 1623 gcond *cond_stmt; in gimple_stringop_fixed_value() local 1648 cond_stmt = gimple_build_cond (EQ_EXPR, tmp1, tmp0, NULL_TREE, NULL_TREE); in gimple_stringop_fixed_value() 1649 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gimple_stringop_fixed_value() 1666 e_ci = split_block (cond_bb, cond_stmt); in gimple_stringop_fixed_value()
|
H A D | tree-ssa-loop-im.c | 843 gcond *cond_stmt; in rewrite_bittest() local 854 cond_stmt = dyn_cast <gcond *> (use_stmt); in rewrite_bittest() 855 if (!cond_stmt) in rewrite_bittest() 857 if (gimple_cond_lhs (cond_stmt) != lhs in rewrite_bittest() 858 || (gimple_cond_code (cond_stmt) != NE_EXPR in rewrite_bittest() 859 && gimple_cond_code (cond_stmt) != EQ_EXPR) in rewrite_bittest() 860 || !integer_zerop (gimple_cond_rhs (cond_stmt))) in rewrite_bittest() 908 gimple_cond_set_rhs (cond_stmt, in rewrite_bittest()
|
H A D | tree-ssa-propagate.c | 1426 else if (gcond *cond_stmt = dyn_cast <gcond *> (stmt)) in propagate_tree_value_into_stmt() local 1431 gimple_cond_set_code (cond_stmt, NE_EXPR); in propagate_tree_value_into_stmt() 1432 gimple_cond_set_lhs (cond_stmt, lhs); in propagate_tree_value_into_stmt() 1433 gimple_cond_set_rhs (cond_stmt, rhs); in propagate_tree_value_into_stmt()
|
H A D | tree-switch-conversion.c | 89 gcond *cond_stmt; in hoist_edge_and_branch_if_true() local 102 cond_stmt = gimple_build_cond_from_tree (tmp, NULL_TREE, NULL_TREE); in hoist_edge_and_branch_if_true() 103 gsi_insert_before (gsip, cond_stmt, GSI_SAME_STMT); in hoist_edge_and_branch_if_true() 105 e_false = split_block (split_bb, cond_stmt); in hoist_edge_and_branch_if_true() 1355 gcond *cond_stmt; in gen_inbound_check() local 1375 cond_stmt = gimple_build_cond (LE_EXPR, tidx, bound, NULL_TREE, NULL_TREE); in gen_inbound_check() 1376 gsi_insert_before (&gsi, cond_stmt, GSI_SAME_STMT); in gen_inbound_check() 1377 update_stmt (cond_stmt); in gen_inbound_check() 1397 e02 = split_block (bb0, cond_stmt); in gen_inbound_check()
|
H A D | tree-ssa-ccp.c | 2210 gcond *cond_stmt = as_a <gcond *> (stmt); in fold_stmt() local 2230 gimple_cond_make_false (cond_stmt); in fold_stmt() 2232 gimple_cond_make_true (cond_stmt); in fold_stmt() 2743 if (gcond *cond_stmt = dyn_cast <gcond *> (stmt)) in optimize_unreachable() local 2746 gimple_cond_make_false (cond_stmt); in optimize_unreachable() 2748 gimple_cond_make_true (cond_stmt); in optimize_unreachable() 2751 update_stmt (cond_stmt); in optimize_unreachable()
|
H A D | tree-complex.c | 1455 gcond *cond_stmt = as_a <gcond *> (stmt); in expand_complex_comparison() local 1456 gimple_cond_set_code (cond_stmt, EQ_EXPR); in expand_complex_comparison() 1457 gimple_cond_set_lhs (cond_stmt, cc); in expand_complex_comparison() 1458 gimple_cond_set_rhs (cond_stmt, boolean_true_node); in expand_complex_comparison()
|
H A D | tree-ssa-dom.c | 886 if (gcond *cond_stmt = dyn_cast <gcond *> (stmt)) in simplify_stmt_for_jump_threading() local 889 = x_vr_values->vrp_evaluate_conditional (gimple_cond_code (cond_stmt), in simplify_stmt_for_jump_threading() 890 gimple_cond_lhs (cond_stmt), in simplify_stmt_for_jump_threading() 891 gimple_cond_rhs (cond_stmt), in simplify_stmt_for_jump_threading()
|
H A D | cfgloopmanip.c | 694 gcond *cond_stmt; in create_empty_if_region_on_edge() local 705 cond_stmt = gimple_build_cond_from_tree (simple_cond, NULL_TREE, NULL_TREE); in create_empty_if_region_on_edge() 707 gsi_insert_after (&gsi, cond_stmt, GSI_NEW_STMT); in create_empty_if_region_on_edge()
|