Home
last modified time | relevance | path

Searched refs:then_bb (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/gcc-4.7/gcc/
HDifcvt.c429 basic_block then_bb = ce_info->then_bb; /* THEN */ in cond_exec_process_if_block() local
477 then_start = first_active_insn (then_bb); in cond_exec_process_if_block()
478 then_end = last_active_insn (then_bb, TRUE); in cond_exec_process_if_block()
479 then_n_insns = ce_info->num_then_insns = count_bb_insns (then_bb); in cond_exec_process_if_block()
495 n_matching = flow_find_cross_jump (then_bb, else_bb, in cond_exec_process_if_block()
498 if (then_first_tail == BB_HEAD (then_bb)) in cond_exec_process_if_block()
506 then_end = find_active_insn_before (then_bb, then_first_tail); in cond_exec_process_if_block()
517 = flow_find_head_matching_sequence (then_bb, else_bb, in cond_exec_process_if_block()
529 for (insn = BB_HEAD (then_bb); in cond_exec_process_if_block()
546 then_start = find_active_insn_after (then_bb, then_last_head); in cond_exec_process_if_block()
[all …]
HDtree-ssa-ifcombine.c62 basic_block *then_bb, basic_block *else_bb) in recognize_if_then_else() argument
83 if (*then_bb in recognize_if_then_else()
84 && t->dest != *then_bb) in recognize_if_then_else()
90 if (!*then_bb) in recognize_if_then_else()
91 *then_bb = t->dest; in recognize_if_then_else()
558 basic_block then_bb = NULL, else_bb = NULL; in tree_ssa_ifcombine_bb() local
560 if (!recognize_if_then_else (inner_cond_bb, &then_bb, &else_bb)) in tree_ssa_ifcombine_bb()
599 if (recognize_if_then_else (outer_cond_bb, &then_bb, &inner_cond_bb) in tree_ssa_ifcombine_bb()
600 && same_phi_args_p (outer_cond_bb, inner_cond_bb, then_bb) in tree_ssa_ifcombine_bb()
HDtree-mudflap.c514 basic_block cond_bb, then_bb, join_bb; in mf_build_check_statement_for() local
545 then_bb = create_empty_bb (cond_bb); in mf_build_check_statement_for()
546 make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in mf_build_check_statement_for()
547 make_single_succ_edge (then_bb, join_bb, EDGE_FALLTHRU); in mf_build_check_statement_for()
559 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in mf_build_check_statement_for()
697 gsi = gsi_start_bb (then_bb); in mf_build_check_statement_for()
699 e = split_block (then_bb, g); in mf_build_check_statement_for()
700 then_bb = e->dest; in mf_build_check_statement_for()
712 gsi = gsi_start_bb (then_bb); in mf_build_check_statement_for()
HDtree-ssa-phiopt.c1378 cond_if_else_store_replacement_1 (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement_1() argument
1434 add_phi_arg (newphi, then_rhs, EDGE_SUCC (then_bb, 0), then_locus); in cond_if_else_store_replacement_1()
1475 cond_if_else_store_replacement (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement() argument
1478 gimple then_assign = last_and_only_stmt (then_bb); in cond_if_else_store_replacement()
1496 return cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
1502 if ((find_data_references_in_bb (NULL, then_bb, &then_datarefs) in cond_if_else_store_replacement()
1573 blocks[0] = then_bb; in cond_if_else_store_replacement()
1630 res = cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
HDcgraphunit.c1655 basic_block bb, then_bb, else_bb, return_bb; in assemble_thunk() local
1685 bb = then_bb = else_bb = return_bb = init_lowered_empty_function (thunk_fndecl); in assemble_thunk()
1735 then_bb = create_basic_block (NULL, (void *) 0, bb); in assemble_thunk()
1736 return_bb = create_basic_block (NULL, (void *) 0, then_bb); in assemble_thunk()
1739 true_label = gimple_block_label (then_bb); in assemble_thunk()
1744 make_edge (bb, then_bb, EDGE_TRUE_VALUE); in assemble_thunk()
1747 make_edge (then_bb, return_bb, EDGE_FALLTHRU); in assemble_thunk()
1749 bsi = gsi_last_bb (then_bb); in assemble_thunk()
HDtree-ssa-loop-im.c2014 basic_block new_bb, then_bb, old_dest; in execute_sm_if_changed() local
2033 then_bb = create_empty_bb (new_bb); in execute_sm_if_changed()
2035 add_bb_to_loop (then_bb, new_bb->loop_father); in execute_sm_if_changed()
2042 gsi = gsi_start_bb (then_bb); in execute_sm_if_changed()
2047 make_edge (new_bb, then_bb, EDGE_TRUE_VALUE); in execute_sm_if_changed()
2049 then_old_edge = make_edge (then_bb, old_dest, EDGE_FALLTHRU); in execute_sm_if_changed()
2051 set_immediate_dominator (CDI_DOMINATORS, then_bb, new_bb); in execute_sm_if_changed()
HDtree-vect-loop-manip.c1045 basic_block cond_bb, then_bb; in set_prologue_iterations() local
1060 then_bb = split_edge(e); in set_prologue_iterations()
1061 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in set_prologue_iterations()
1067 e_true = EDGE_PRED (then_bb, 0); in set_prologue_iterations()
1071 e_fallthru = EDGE_SUCC (then_bb, 0); in set_prologue_iterations()
1096 gsi = gsi_last_bb (then_bb); in set_prologue_iterations()
HDbasic-block.h480 basic_block then_bb; /* THEN block. */ member
HDomp-low.c3024 basic_block cond_bb, then_bb, else_bb; in expand_parallel_call() local
3047 then_bb = create_empty_bb (cond_bb); in expand_parallel_call()
3048 else_bb = create_empty_bb (then_bb); in expand_parallel_call()
3049 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in expand_parallel_call()
3056 gsi = gsi_start_bb (then_bb); in expand_parallel_call()
3065 make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in expand_parallel_call()
3067 e_then = make_edge (then_bb, bb, EDGE_FALLTHRU); in expand_parallel_call()
HDtree-cfg.c796 basic_block then_bb, else_bb; in make_cond_expr_edges() local
809 then_bb = label_to_block (then_label); in make_cond_expr_edges()
811 then_stmt = first_stmt (then_bb); in make_cond_expr_edges()
814 e = make_edge (bb, then_bb, EDGE_TRUE_VALUE); in make_cond_expr_edges()
815 assign_discriminator (entry_locus, then_bb); in make_cond_expr_edges()
/dragonfly/contrib/gcc-8.0/gcc/
HDifcvt.c464 basic_block then_bb = ce_info->then_bb; /* THEN */ in cond_exec_process_if_block() local
513 then_start = first_active_insn (then_bb); in cond_exec_process_if_block()
514 then_end = last_active_insn (then_bb, TRUE); in cond_exec_process_if_block()
515 then_n_insns = ce_info->num_then_insns = count_bb_insns (then_bb); in cond_exec_process_if_block()
531 n_matching = flow_find_cross_jump (then_bb, else_bb, in cond_exec_process_if_block()
534 if (then_first_tail == BB_HEAD (then_bb)) in cond_exec_process_if_block()
542 then_end = find_active_insn_before (then_bb, then_first_tail); in cond_exec_process_if_block()
556 = flow_find_head_matching_sequence (then_bb, else_bb, in cond_exec_process_if_block()
568 for (insn = BB_HEAD (then_bb); in cond_exec_process_if_block()
585 then_start = find_active_insn_after (then_bb, then_last_head); in cond_exec_process_if_block()
[all …]
HDtree-ssa-ifcombine.c80 basic_block *then_bb, basic_block *else_bb) in recognize_if_then_else() argument
97 if (*then_bb in recognize_if_then_else()
98 && t->dest != *then_bb) in recognize_if_then_else()
104 if (!*then_bb) in recognize_if_then_else()
105 *then_bb = t->dest; in recognize_if_then_else()
624 basic_block then_bb, basic_block else_bb, in tree_ssa_ifcombine_bb_1() argument
670 if (phi_pred_bb != then_bb in tree_ssa_ifcombine_bb_1()
671 && recognize_if_then_else (outer_cond_bb, &then_bb, &inner_cond_bb) in tree_ssa_ifcombine_bb_1()
672 && same_phi_args_p (outer_cond_bb, phi_pred_bb, then_bb)) in tree_ssa_ifcombine_bb_1()
687 if (phi_pred_bb != then_bb in tree_ssa_ifcombine_bb_1()
[all …]
HDubsan.c702 basic_block then_bb, fallthru_bb; in ubsan_expand_bounds_ifn() local
705 &then_bb, &fallthru_bb); in ubsan_expand_bounds_ifn()
715 *gsi = gsi_after_labels (then_bb); in ubsan_expand_bounds_ifn()
797 basic_block then_bb = create_empty_bb (cond_bb); in ubsan_expand_null_ifn() local
798 add_bb_to_loop (then_bb, cond_bb->loop_father); in ubsan_expand_null_ifn()
803 e = make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in ubsan_expand_null_ifn()
805 then_bb->count = e->count (); in ubsan_expand_null_ifn()
810 make_single_succ_edge (then_bb, fallthru_bb, EDGE_FALLTHRU); in ubsan_expand_null_ifn()
821 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in ubsan_expand_null_ifn()
849 gimple_stmt_iterator gsi2 = gsi_start_bb (then_bb); in ubsan_expand_null_ifn()
[all …]
HDifcvt.h29 basic_block then_bb; /* THEN block. */ member
52 basic_block test_bb, then_bb, else_bb, join_bb; member
HDasan.c1805 basic_block then_bb = create_empty_bb (cond_bb); in create_cond_insert_point() local
1808 add_bb_to_loop (then_bb, cond_bb->loop_father); in create_cond_insert_point()
1813 e = make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in create_cond_insert_point()
1819 then_bb->count = e->count (); in create_cond_insert_point()
1821 make_single_succ_edge (then_bb, fallthru_bb, EDGE_FALLTHRU); in create_cond_insert_point()
1832 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in create_cond_insert_point()
1834 *then_block = then_bb; in create_cond_insert_point()
1864 basic_block *then_bb, in insert_if_then_before_iter() argument
1872 then_bb, in insert_if_then_before_iter()
3206 basic_block then_bb, fallthrough_bb; in asan_expand_check_ifn() local
[all …]
HDcgraphunit.c1808 basic_block bb, then_bb, else_bb, return_bb; in expand_thunk() local
1856 bb = then_bb = else_bb = return_bb in expand_thunk()
1969 then_bb = create_basic_block (NULL, bb); in expand_thunk()
1970 then_bb->count = cfg_count - cfg_count.apply_scale (1, 16); in expand_thunk()
1971 return_bb = create_basic_block (NULL, then_bb); in expand_thunk()
1975 add_bb_to_loop (then_bb, bb->loop_father); in expand_thunk()
1979 true_label = gimple_block_label (then_bb); in expand_thunk()
1984 e = make_edge (bb, then_bb, EDGE_TRUE_VALUE); in expand_thunk()
1992 make_single_succ_edge (then_bb, return_bb, EDGE_FALLTHRU); in expand_thunk()
1995 bsi = gsi_last_bb (then_bb); in expand_thunk()
HDtree-ssa-loop-im.c1765 basic_block new_bb, then_bb, old_dest; in execute_sm_if_changed() local
1845 then_bb = create_empty_bb (new_bb); in execute_sm_if_changed()
1846 then_bb->count = new_bb->count.apply_probability (flag_probability); in execute_sm_if_changed()
1848 then_bb->flags = BB_IRREDUCIBLE_LOOP; in execute_sm_if_changed()
1849 add_bb_to_loop (then_bb, new_bb->loop_father); in execute_sm_if_changed()
1856 gsi = gsi_start_bb (then_bb); in execute_sm_if_changed()
1862 edge e2 = make_edge (new_bb, then_bb, in execute_sm_if_changed()
1871 then_old_edge = make_single_succ_edge (then_bb, old_dest, in execute_sm_if_changed()
1874 set_immediate_dominator (CDI_DOMINATORS, then_bb, new_bb); in execute_sm_if_changed()
HDtree-ssa-phiopt.c1968 cond_if_else_store_replacement_1 (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement_1() argument
2020 add_phi_arg (newphi, then_rhs, EDGE_SUCC (then_bb, 0), then_locus); in cond_if_else_store_replacement_1()
2091 cond_if_else_store_replacement (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement() argument
2117 tree then_vdef = PHI_ARG_DEF_FROM_EDGE (vphi, single_succ_edge (then_bb)); in cond_if_else_store_replacement()
2119 gimple *then_assign = single_trailing_store_in_bb (then_bb, then_vdef); in cond_if_else_store_replacement()
2124 return cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
2134 if ((find_data_references_in_bb (NULL, then_bb, &then_datarefs) in cond_if_else_store_replacement()
2206 blocks[0] = then_bb; in cond_if_else_store_replacement()
2259 res = cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
HDomp-expand.c650 basic_block cond_bb, then_bb, else_bb; in expand_parallel_call() local
673 then_bb = create_empty_bb (cond_bb); in expand_parallel_call()
674 else_bb = create_empty_bb (then_bb); in expand_parallel_call()
675 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in expand_parallel_call()
682 gsi = gsi_start_bb (then_bb); in expand_parallel_call()
690 make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in expand_parallel_call()
692 add_bb_to_loop (then_bb, cond_bb->loop_father); in expand_parallel_call()
694 e_then = make_edge (then_bb, bb, EDGE_FALLTHRU); in expand_parallel_call()
7227 basic_block cond_bb, then_bb, else_bb; in expand_omp_target() local
7244 then_bb = create_empty_bb (cond_bb); in expand_omp_target()
[all …]
HDtree-ssa-reassoc.c6093 basic_block then_bb = split_block (cond_bb, def_stmt)->dest; in branch_fixup() local
6094 basic_block merge_bb = split_block (then_bb, use_stmt)->dest; in branch_fixup()
6106 edge efalse = find_edge (cond_bb, then_bb); in branch_fixup()
6109 then_bb->count -= etrue->count (); in branch_fixup()
6121 add_phi_arg (phi, othervar, single_succ_edge (then_bb), loc); in branch_fixup()
HDtree-cfg.c1254 basic_block then_bb, else_bb; in make_cond_expr_edges() local
1264 then_bb = label_to_block (then_label); in make_cond_expr_edges()
1266 then_stmt = first_stmt (then_bb); in make_cond_expr_edges()
1269 e = make_edge (bb, then_bb, EDGE_TRUE_VALUE); in make_cond_expr_edges()