Home
last modified time | relevance | path

Searched refs:next_bb (Results 1 – 25 of 40) sorted by relevance

12

/trueos/contrib/gcc/
HDcfgbuild.c265 if (min == ENTRY_BLOCK_PTR->next_bb) in make_edges()
268 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in make_edges()
410 else if (bb->next_bb != EXIT_BLOCK_PTR) in make_edges()
412 if (insn == BB_HEAD (bb->next_bb)) in make_edges()
413 cached_make_edge (edge_cache, bb, bb->next_bb, EDGE_FALLTHRU); in make_edges()
538 ENTRY_BLOCK_PTR->next_bb = EXIT_BLOCK_PTR; in find_basic_blocks()
566 make_edges (ENTRY_BLOCK_PTR->next_bb, EXIT_BLOCK_PTR->prev_bb, 0); in find_basic_blocks()
768 for (; bb != EXIT_BLOCK_PTR; bb = bb->next_bb) in find_many_sub_basic_blocks()
779 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in find_many_sub_basic_blocks()
HDcfg.c91 ENTRY_BLOCK_PTR->next_bb = EXIT_BLOCK_PTR; in init_flow()
144 b->next_bb = after->next_bb; in link_block()
146 after->next_bb = b; in link_block()
147 b->next_bb->prev_bb = b; in link_block()
154 b->next_bb->prev_bb = b->prev_bb; in unlink_block()
155 b->prev_bb->next_bb = b->next_bb; in unlink_block()
157 b->next_bb = NULL; in unlink_block()
417 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in clear_bb_flags()
488 if (bb->next_bb) in dump_bb_info()
489 fprintf (file, ", next %d", bb->next_bb->index); in dump_bb_info()
[all …]
HDcfganal.c114 if (src->next_bb != target) in can_fallthru()
354 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in create_edge_list()
367 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in create_edge_list()
423 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in verify_edge_list()
448 FOR_BB_BETWEEN (p, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in verify_edge_list()
449 FOR_BB_BETWEEN (s, ENTRY_BLOCK_PTR->next_bb, NULL, next_bb) in verify_edge_list()
583 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR->next_bb, NULL, next_bb) in remove_fake_edges()
HDcfghooks.c85 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR->next_bb, NULL, next_bb) in verify_flow_info()
211 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in verify_flow_info()
257 if (bb->next_bb) in dump_bb()
258 fprintf (outf, "%d", bb->next_bb->index); in dump_bb()
638 if (ENTRY_BLOCK_PTR->next_bb == EXIT_BLOCK_PTR) in tidy_fallthru_edges()
641 FOR_BB_BETWEEN (b, ENTRY_BLOCK_PTR->next_bb, EXIT_BLOCK_PTR->prev_bb, next_bb) in tidy_fallthru_edges()
645 c = b->next_bb; in tidy_fallthru_edges()
HDprofile.c139 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in instrument_edges()
236 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in get_exec_counts()
294 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in compute_branch_probabilities()
317 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in compute_branch_probabilities()
488 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in compute_branch_probabilities()
922 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in branch_prob()
946 && e->src->next_bb == e->dest) in branch_prob()
972 if (bb == ENTRY_BLOCK_PTR->next_bb) in branch_prob()
1107 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in find_spanning_tree()
1162 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in find_spanning_tree()
HDsched-ebb.c532 delete_basic_block (last_bb->next_bb); in schedule_ebb()
586 if (bb->next_bb == EXIT_BLOCK_PTR in schedule_ebbs()
587 || LABEL_P (BB_HEAD (bb->next_bb))) in schedule_ebbs()
596 bb = bb->next_bb; in schedule_ebbs()
730 && NOTE_INSN_BASIC_BLOCK_P (BB_HEAD (bb->next_bb))); in advance_target_bb()
743 bb = bb->next_bb; in advance_target_bb()
HDcfglayout.c86 if (bb->next_bb != EXIT_BLOCK_PTR) in skip_insns_after_block()
87 next_head = BB_HEAD (bb->next_bb); in skip_insns_after_block()
601 for (bb = ENTRY_BLOCK_PTR->next_bb, index = NUM_FIXED_BLOCKS; in fixup_reorder_chain()
649 for (bb = ENTRY_BLOCK_PTR->next_bb; bb ; bb = bb->aux) in fixup_reorder_chain()
790 for (bb = ENTRY_BLOCK_PTR->next_bb, index = NUM_FIXED_BLOCKS; in fixup_reorder_chain()
808 bb = ENTRY_BLOCK_PTR->next_bb; in fixup_reorder_chain()
817 prev_bb->next_bb = bb; in fixup_reorder_chain()
819 prev_bb->next_bb = EXIT_BLOCK_PTR; in fixup_reorder_chain()
885 basic_block c = ENTRY_BLOCK_PTR->next_bb; in fixup_fallthru_exit_predecessor()
1145 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in cfg_layout_finalize()
HDbb-reorder.c631 if (best_edge->dest != ENTRY_BLOCK_PTR->next_bb) in find_traces_1_round()
1042 basic_block next_bb = NULL; in connect_traces() local
1091 next_bb = e2->dest; in connect_traces()
1114 if (!next_bb) in connect_traces()
1116 else if (next_bb == EXIT_BLOCK_PTR) in connect_traces()
1119 fprintf (dump_file, "%d\n", next_bb->index); in connect_traces()
1124 if (next_bb && next_bb != EXIT_BLOCK_PTR) in connect_traces()
1126 t = bbd[next_bb->index].start_of_trace; in connect_traces()
2017 if (bb->next_bb != EXIT_BLOCK_PTR) in duplicate_computed_gotos()
2018 bb->aux = bb->next_bb; in duplicate_computed_gotos()
[all …]
HDcfgcleanup.c130 || jump_block->next_bb == EXIT_BLOCK_PTR in try_simplify_condjump()
824 return next == ENTRY_BLOCK_PTR ? next->next_bb : next; in merge_blocks_move()
844 return next == ENTRY_BLOCK_PTR ? next->next_bb : next; in merge_blocks_move()
1989 for (b = ENTRY_BLOCK_PTR->next_bb; b != EXIT_BLOCK_PTR;) in try_optimize_cfg()
2058 c = b->prev_bb == ENTRY_BLOCK_PTR ? b->next_bb : b->prev_bb; in try_optimize_cfg()
2136 b = b->next_bb; in try_optimize_cfg()
2171 basic_block b, next_bb; in delete_unreachable_blocks() local
2177 for (b = ENTRY_BLOCK_PTR->next_bb; b != EXIT_BLOCK_PTR; b = next_bb) in delete_unreachable_blocks()
2179 next_bb = b->next_bb; in delete_unreachable_blocks()
2201 for (bb = ENTRY_BLOCK_PTR->next_bb; bb != EXIT_BLOCK_PTR; ) in merge_seq_blocks()
[all …]
HDloop-init.c211 if (bb->next_bb != EXIT_BLOCK_PTR) in rtl_loop_done()
212 bb->aux = bb->next_bb; in rtl_loop_done()
HDbasic-block.h234 struct basic_block_def *next_bb; member
422 FOR_BB_BETWEEN (BB, (FN)->cfg->x_entry_block_ptr->next_bb, (FN)->cfg->x_exit_block_ptr, next_bb)
446 for (BB = ENTRY_BLOCK_PTR; BB; BB = BB->next_bb)
449 for (BB = ENTRY_BLOCK_PTR_FOR_FUNCTION (FN); BB; BB = BB->next_bb)
HDpredict.c1252 heads[ENTRY_BLOCK_PTR->next_bb->index] = last_basic_block; in tree_bb_level_predictions()
1460 return (bb->next_bb == EXIT_BLOCK_PTR in last_basic_block_p()
1461 || (bb->next_bb->next_bb == EXIT_BLOCK_PTR in last_basic_block_p()
1463 && single_succ (bb)->next_bb == EXIT_BLOCK_PTR)); in last_basic_block_p()
1733 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in counts_to_freqs()
1812 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in estimate_bb_frequencies()
1836 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) in estimate_bb_frequencies()
HDcfgloopanal.c282 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in mark_irreducible_loops()
292 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in mark_irreducible_loops()
338 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in mark_irreducible_loops()
HDpostreload-gcse.c1153 if (ENTRY_BLOCK_PTR->next_bb == EXIT_BLOCK_PTR) in eliminate_partially_redundant_loads()
1157 ENTRY_BLOCK_PTR->next_bb->next_bb, in eliminate_partially_redundant_loads()
1159 next_bb) in eliminate_partially_redundant_loads()
HDtracer.c326 basic_block bb = end->next_bb; in layout_superblocks()
348 for (; bb != EXIT_BLOCK_PTR; bb = bb->next_bb) in layout_superblocks()
HDcfgrtl.c442 BB_HEAD (ENTRY_BLOCK_PTR->next_bb) : get_insns ()); in entry_of_function()
658 && a->next_bb == b in rtl_can_merge_blocks()
1192 basic_block b = e->src, c = b->next_bb; in rtl_tidy_fallthru_edge()
1507 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in commit_edge_insertions()
1552 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in commit_edge_insertions_watch_calls()
2034 if (e->src->next_bb != e->dest) in rtl_verify_flow_info()
2064 if (bb != last_bb_seen->next_bb) in rtl_verify_flow_info()
2509 if (bb->next_bb != EXIT_BLOCK_PTR) in cfg_layout_delete_block()
2510 to = &bb->next_bb->il.rtl->header; in cfg_layout_delete_block()
HDhaifa-sched.c3586 succ = pred->next_bb; in find_fallthru_edge()
4141 if (last->next_bb != EXIT_BLOCK_PTR) in unlink_bb_notes()
4142 bb_header[last->next_bb->index] = 0; in unlink_bb_notes()
4144 first = first->next_bb; in unlink_bb_notes()
4182 first = first->next_bb; in restore_bb_notes()
4206 first = first->next_bb; in restore_bb_notes()
4293 jump_bb_next = jump_bb->next_bb; in fix_jump_move()
4325 jump_bb_next = jump_bb->next_bb; in move_block_after_check()
HDcfgexpand.c1426 if (e && e->dest != ENTRY_BLOCK_PTR->next_bb) in construct_init_block()
1648 FOR_BB_BETWEEN (bb, init_block->next_bb, EXIT_BLOCK_PTR, next_bb) in tree_expand_cfg()
HDgcse.c3254 if (ENTRY_BLOCK_PTR->next_bb == EXIT_BLOCK_PTR) in cprop()
3262 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR->next_bb->next_bb, EXIT_BLOCK_PTR, next_bb) in cprop()
3685 if (ENTRY_BLOCK_PTR->next_bb == EXIT_BLOCK_PTR) in bypass_conditional_jumps()
3692 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR->next_bb->next_bb, in bypass_conditional_jumps()
3693 EXIT_BLOCK_PTR, next_bb) in bypass_conditional_jumps()
4736 if (bb->next_bb != EXIT_BLOCK_PTR) in compute_code_hoist_vbeinout()
HDrtl-factoring.c954 if ((insn == BB_END (bb)) && (bb->next_bb != EXIT_BLOCK_PTR)) in block_label_after()
955 return block_label (bb->next_bb); in block_label_after()
HDtree-mudflap.c904 bb = ENTRY_BLOCK_PTR ->next_bb; in mf_xform_derefs()
907 next = bb->next_bb; in mf_xform_derefs()
HDtree-cfg.c147 ENTRY_BLOCK_PTR->next_bb = EXIT_BLOCK_PTR; in init_empty_tree_cfg()
592 make_edge (bb, bb->next_bb, EDGE_FALLTHRU); in make_edges()
2462 if (bb->next_bb != EXIT_BLOCK_PTR) in tree_cfg2vcg()
2627 e = find_edge (bb, bb->next_bb); in disband_implicit_edges()
2649 if (bb->next_bb == EXIT_BLOCK_PTR in disband_implicit_edges()
2668 if (!e || e->dest == bb->next_bb) in disband_implicit_edges()
HDifcvt.c3133 if (else_bb && (next = next->next_bb) != else_bb) in find_if_block()
3135 if ((next = next->next_bb) != join_bb && join_bb != EXIT_BLOCK_PTR) in find_if_block()
3221 if (test_bb->next_bb == other_bb) in find_cond_trap()
3420 if (then_bb->next_bb == else_bb in find_if_case_1()
HDglobal.c1846 basic_block b = ENTRY_BLOCK_PTR->next_bb; in build_insn_chain()
1917 b = b->next_bb; in build_insn_chain()
HDregmove.c1511 && (bb->next_bb == EXIT_BLOCK_PTR || BB_HEAD (bb->next_bb) != next)) in regmove_optimize()

12