Home
last modified time | relevance | path

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

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-ssa-ifcombine.cc81 basic_block *then_bb, basic_block *else_bb) in recognize_if_then_else() argument
98 if (*then_bb in recognize_if_then_else()
99 && t->dest != *then_bb) in recognize_if_then_else()
105 if (!*then_bb) in recognize_if_then_else()
106 *then_bb = t->dest; in recognize_if_then_else()
649 basic_block then_bb, basic_block else_bb, in tree_ssa_ifcombine_bb_1() argument
695 if (phi_pred_bb != then_bb in tree_ssa_ifcombine_bb_1()
696 && recognize_if_then_else (outer_cond_bb, &then_bb, &inner_cond_bb) in tree_ssa_ifcombine_bb_1()
697 && same_phi_args_p (outer_cond_bb, phi_pred_bb, then_bb)) in tree_ssa_ifcombine_bb_1()
712 if (phi_pred_bb != then_bb in tree_ssa_ifcombine_bb_1()
[all …]
Difcvt.cc473 basic_block then_bb = ce_info->then_bb; /* THEN */ in cond_exec_process_if_block() local
522 then_start = first_active_insn (then_bb); in cond_exec_process_if_block()
523 then_end = last_active_insn (then_bb, TRUE); in cond_exec_process_if_block()
524 then_n_insns = ce_info->num_then_insns = count_bb_insns (then_bb); in cond_exec_process_if_block()
540 n_matching = flow_find_cross_jump (then_bb, else_bb, in cond_exec_process_if_block()
543 if (then_first_tail == BB_HEAD (then_bb)) in cond_exec_process_if_block()
551 then_end = find_active_insn_before (then_bb, then_first_tail); in cond_exec_process_if_block()
565 = flow_find_head_matching_sequence (then_bb, else_bb, in cond_exec_process_if_block()
577 for (insn = BB_HEAD (then_bb); in cond_exec_process_if_block()
594 then_start = find_active_insn_after (then_bb, then_last_head); in cond_exec_process_if_block()
[all …]
Dubsan.cc711 basic_block then_bb, fallthru_bb; in ubsan_expand_bounds_ifn() local
714 &then_bb, &fallthru_bb); in ubsan_expand_bounds_ifn()
724 *gsi = gsi_after_labels (then_bb); in ubsan_expand_bounds_ifn()
813 basic_block then_bb = create_empty_bb (cond_bb); in ubsan_expand_null_ifn() local
814 add_bb_to_loop (then_bb, cond_bb->loop_father); in ubsan_expand_null_ifn()
819 e = make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in ubsan_expand_null_ifn()
821 then_bb->count = e->count (); in ubsan_expand_null_ifn()
826 make_single_succ_edge (then_bb, fallthru_bb, EDGE_FALLTHRU); in ubsan_expand_null_ifn()
837 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in ubsan_expand_null_ifn()
865 gimple_stmt_iterator gsi2 = gsi_start_bb (then_bb); in ubsan_expand_null_ifn()
[all …]
Dsymtab-thunks.cc409 basic_block bb, then_bb, else_bb, return_bb; in expand_thunk() local
462 bb = then_bb = else_bb = return_bb in expand_thunk()
581 then_bb = create_basic_block (NULL, bb); in expand_thunk()
582 then_bb->count = cfg_count - cfg_count.apply_scale (1, 16); in expand_thunk()
583 return_bb = create_basic_block (NULL, then_bb); in expand_thunk()
587 add_bb_to_loop (then_bb, bb->loop_father); in expand_thunk()
591 true_label = gimple_block_label (then_bb); in expand_thunk()
596 e = make_edge (bb, then_bb, EDGE_TRUE_VALUE); in expand_thunk()
604 make_single_succ_edge (then_bb, return_bb, EDGE_FALLTHRU); in expand_thunk()
607 bsi = gsi_last_bb (then_bb); in expand_thunk()
Difcvt.h29 basic_block then_bb; /* THEN block. */ member
52 basic_block test_bb, then_bb, else_bb, join_bb; member
Dasan.cc2427 basic_block then_bb = create_empty_bb (cond_bb); in create_cond_insert_point() local
2430 add_bb_to_loop (then_bb, cond_bb->loop_father); in create_cond_insert_point()
2435 e = make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in create_cond_insert_point()
2441 then_bb->count = e->count (); in create_cond_insert_point()
2443 make_single_succ_edge (then_bb, fallthru_bb, EDGE_FALLTHRU); in create_cond_insert_point()
2454 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in create_cond_insert_point()
2456 *then_block = then_bb; in create_cond_insert_point()
2486 basic_block *then_bb, in insert_if_then_before_iter() argument
2494 then_bb, in insert_if_then_before_iter()
3915 basic_block then_bb, fallthrough_bb; in asan_expand_check_ifn() local
[all …]
Dtree-ssa-loop-im.cc2020 basic_block new_bb, then_bb, old_dest; in execute_sm_if_changed() local
2099 then_bb = create_empty_bb (new_bb); in execute_sm_if_changed()
2100 then_bb->count = new_bb->count.apply_probability (flag_probability); in execute_sm_if_changed()
2102 then_bb->flags = BB_IRREDUCIBLE_LOOP; in execute_sm_if_changed()
2103 add_bb_to_loop (then_bb, new_bb->loop_father); in execute_sm_if_changed()
2113 gsi = gsi_start_bb (then_bb); in execute_sm_if_changed()
2119 edge e2 = make_edge (new_bb, then_bb, in execute_sm_if_changed()
2128 then_old_edge = make_single_succ_edge (then_bb, old_dest, in execute_sm_if_changed()
2131 set_immediate_dominator (CDI_DOMINATORS, then_bb, new_bb); in execute_sm_if_changed()
2165 return then_bb; in execute_sm_if_changed()
Dtree-ssa-phiopt.cc3279 cond_if_else_store_replacement_1 (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement_1() argument
3331 add_phi_arg (newphi, then_rhs, EDGE_SUCC (then_bb, 0), then_locus); in cond_if_else_store_replacement_1()
3404 cond_if_else_store_replacement (basic_block then_bb, basic_block else_bb, in cond_if_else_store_replacement() argument
3430 tree then_vdef = PHI_ARG_DEF_FROM_EDGE (vphi, single_succ_edge (then_bb)); in cond_if_else_store_replacement()
3432 gimple *then_assign = single_trailing_store_in_bb (then_bb, then_vdef); in cond_if_else_store_replacement()
3437 return cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
3451 if ((find_data_references_in_bb (NULL, then_bb, &then_datarefs) in cond_if_else_store_replacement()
3523 blocks[0] = then_bb; in cond_if_else_store_replacement()
3576 res = cond_if_else_store_replacement_1 (then_bb, else_bb, join_bb, in cond_if_else_store_replacement()
Domp-expand.cc654 basic_block cond_bb, then_bb, else_bb; in expand_parallel_call() local
677 then_bb = create_empty_bb (cond_bb); in expand_parallel_call()
678 else_bb = create_empty_bb (then_bb); in expand_parallel_call()
679 set_immediate_dominator (CDI_DOMINATORS, then_bb, cond_bb); in expand_parallel_call()
686 gsi = gsi_start_bb (then_bb); in expand_parallel_call()
694 make_edge (cond_bb, then_bb, EDGE_TRUE_VALUE); in expand_parallel_call()
696 add_bb_to_loop (then_bb, cond_bb->loop_father); in expand_parallel_call()
698 e_then = make_edge (then_bb, bb, EDGE_FALLTHRU); in expand_parallel_call()
10065 basic_block cond_bb, then_bb, else_bb; in expand_omp_target() local
10082 then_bb = create_empty_bb (cond_bb); in expand_omp_target()
[all …]
Dtree-ssa-reassoc.cc6959 basic_block then_bb = split_block (cond_bb, def_stmt)->dest; in branch_fixup() local
6960 basic_block merge_bb = split_block (then_bb, use_stmt)->dest; in branch_fixup()
6972 edge efalse = find_edge (cond_bb, then_bb); in branch_fixup()
6975 then_bb->count -= etrue->count (); in branch_fixup()
6987 add_phi_arg (phi, othervar, single_succ_edge (then_bb), loc); in branch_fixup()
Dtree-cfg.cc1211 basic_block then_bb, else_bb; in make_cond_expr_edges() local
1221 then_bb = label_to_block (cfun, then_label); in make_cond_expr_edges()
1223 then_stmt = first_stmt (then_bb); in make_cond_expr_edges()
1226 e = make_edge (bb, then_bb, EDGE_TRUE_VALUE); in make_cond_expr_edges()
DChangeLog-201334409 if then_bb has no successors and else_bb is EXIT_BLOCK_PTR.
37997 argument. If it is false, don't create edge from then_bb to
DChangeLog-201444769 is an empty forwarder block to then_bb or vice versa and then_bb
DChangeLog-200724901 (struct noce_if_info): Add then_bb, else_bb, join_bb members.
DChangeLog-200328872 from then_bb or else_bb after flow2.
DChangeLog-201635522 insn from then_bb, remove also any possible barriers that follow it.
DChangeLog-201737155 (find_cond_trap): Call noce_get_condition with then_bb == trap_bb
DChangeLog-20153713 first if emit_a exists or then_bb modifies 'b'. Reindent if-else
/netbsd/src/external/gpl3/gcc/dist/gcc/config/frv/
Dfrv.cc5159 basic_block then_bb = ce_info->then_bb; /* THEN */ in frv_ifcvt_modify_tests() local
5208 if (REGNO_REG_SET_P (df_get_live_in (then_bb), j)) in frv_ifcvt_modify_tests()
5259 bb[num_bb++] = then_bb; in frv_ifcvt_modify_tests()
5275 (bb[j] == else_bb) ? "else" : ((bb[j] == then_bb) ? "then" : "test"), in frv_ifcvt_modify_tests()