| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cfg.cc | 78 ENTRY_BLOCK_PTR_FOR_FN (the_fun)->next_bb in init_flow() 119 next = bb->next_bb; in free_cfg() 150 b->next_bb = after->next_bb; in link_block() 152 after->next_bb = b; in link_block() 153 b->next_bb->prev_bb = b; in link_block() 160 b->next_bb->prev_bb = b->prev_bb; in unlink_block() 161 b->prev_bb->next_bb = b->next_bb; in unlink_block() 163 b->next_bb = NULL; in unlink_block() 697 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in alloc_aux_for_edges() 717 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in clear_aux_for_edges() [all …]
|
| H A D | cfgbuild.cc | 214 if (min == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in make_edges() 217 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in make_edges() 372 else if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in make_edges() 374 if (insn == BB_HEAD (bb->next_bb)) in make_edges() 375 cached_make_edge (edge_cache, bb, bb->next_bb, EDGE_FALLTHRU); in make_edges() 734 for (; bb != EXIT_BLOCK_PTR_FOR_FN (cfun); bb = bb->next_bb) in find_many_sub_basic_blocks() 745 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in find_many_sub_basic_blocks()
|
| H A D | hw-doloop.cc | 522 loop->head->prev_bb->next_bb = loop->head->next_bb; in reorder_loops() 523 loop->head->next_bb->prev_bb = loop->head->prev_bb; in reorder_loops() 526 loop->head->next_bb = start_bb; in reorder_loops() 527 start_prev_bb->next_bb = start_bb->prev_bb = loop->head; in reorder_loops() 538 if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in reorder_loops() 539 bb->aux = bb->next_bb; in reorder_loops()
|
| H A D | cfganal.cc | 269 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list() 282 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list() 339 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in verify_edge_list() 365 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in verify_edge_list() 366 FOR_BB_BETWEEN (s, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in verify_edge_list() 449 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in control_dependences() 455 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in control_dependences() 583 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in remove_fake_edges() 726 basic_block next_bb; in post_order_compute() local 727 for (b = ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb; b in post_order_compute() [all …]
|
| H A D | sched-ebb.cc | 560 delete_basic_block (last_bb->next_bb); in schedule_ebb() 641 if (bb->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun) in schedule_ebbs() 642 || LABEL_P (BB_HEAD (bb->next_bb))) in schedule_ebbs() 652 bb = bb->next_bb; in schedule_ebbs() 700 && NOTE_INSN_BASIC_BLOCK_P (BB_HEAD (bb->next_bb))); in advance_target_bb() 713 bb = bb->next_bb; in advance_target_bb()
|
| H A D | profile.cc | 119 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in instrument_edges() 211 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in get_exec_counts() 264 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in correct_negative_edge_counts() 341 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in set_bb_counts() 360 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in read_profile_edge_counts() 446 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities() 626 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities() 1411 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in branch_prob() 1435 && e->src->next_bb == e->dest) in branch_prob() 1457 if (bb == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in branch_prob() [all …]
|
| H A D | basic-block.h | 133 basic_block next_bb; member 221 FOR_BB_BETWEEN (BB, (FN)->cfg->x_entry_block_ptr->next_bb, (FN)->cfg->x_exit_block_ptr, next_bb) 253 for (BB = ENTRY_BLOCK_PTR_FOR_FN (FN); BB; BB = BB->next_bb)
|
| H A D | cfgrtl.cc | 521 BB_HEAD (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) : get_insns ()); in entry_of_function() 648 if (src->next_bb != target) in can_fallthru() 996 && a->next_bb == b in rtl_can_merge_blocks() 1772 basic_block b = e->src, c = b->next_bb; in rtl_tidy_fallthru_edge() 1843 FOR_BB_BETWEEN (bb, start_bb, EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in last_bb_in_partition() 1845 if (BB_PARTITION (start_bb) != BB_PARTITION (bb->next_bb)) in last_bb_in_partition() 2138 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in commit_edge_insertions() 2489 prev_first->next_bb = second; in fixup_partitions() 2491 prev_second->next_bb = bb; in fixup_partitions() 2493 prev_bb->next_bb = first; in fixup_partitions() [all …]
|
| H A D | cprop.cc | 1696 if (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in bypass_conditional_jumps() 1702 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb->next_bb, in bypass_conditional_jumps() 1703 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in bypass_conditional_jumps() 1827 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb->next_bb, in one_cprop_pass() 1829 next_bb) in one_cprop_pass()
|
| H A D | cfghooks.cc | 115 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in verify_flow_info() 271 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in verify_flow_info() 1004 if (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in tidy_fallthru_edges() 1007 FOR_BB_BETWEEN (b, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, in tidy_fallthru_edges() 1008 EXIT_BLOCK_PTR_FOR_FN (cfun)->prev_bb, next_bb) in tidy_fallthru_edges() 1012 c = b->next_bb; in tidy_fallthru_edges()
|
| H A D | bb-reorder.cc | 695 != ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in find_traces_1_round() 1245 basic_block next_bb = NULL; in connect_traces() local 1293 next_bb = e2->dest; in connect_traces() 1314 if (!next_bb) in connect_traces() 1316 else if (next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in connect_traces() 1319 fprintf (dump_file, "%d\n", next_bb->index); in connect_traces() 1324 if (next_bb && next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in connect_traces() 1326 t = bbd[next_bb->index].start_of_trace; in connect_traces() 2681 if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (fun)) in execute() 2682 bb->aux = bb->next_bb; in execute()
|
| H A D | sel-sched-ir.cc | 3846 if (bb_has_removable_jump_to_p (xbb, xbb->next_bb) in tidy_control_flow() 3891 && bb_has_removable_jump_to_p (xbb->prev_bb, xbb->next_bb) in tidy_control_flow() 4664 last = EBB_LAST_BB (bb)->next_bb; in sel_restore_notes() 4676 first = first->next_bb; in sel_restore_notes() 4879 basic_block next_bb = bb_next_bb (bb); in bb_ends_ebb_p() local 4882 if (next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun) in bb_ends_ebb_p() 4883 || bitmap_bit_p (forced_ebb_heads, next_bb->index) in bb_ends_ebb_p() 4884 || (LABEL_P (BB_HEAD (next_bb)) in bb_ends_ebb_p() 4887 && !single_pred_p (next_bb))) in bb_ends_ebb_p() 4890 if (!in_current_region_p (next_bb)) in bb_ends_ebb_p() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cfg.c | 78 ENTRY_BLOCK_PTR_FOR_FN (the_fun)->next_bb in init_flow() 136 b->next_bb = after->next_bb; in link_block() 138 after->next_bb = b; in link_block() 139 b->next_bb->prev_bb = b; in link_block() 146 b->next_bb->prev_bb = b->prev_bb; in unlink_block() 147 b->prev_bb->next_bb = b->next_bb; in unlink_block() 149 b->next_bb = NULL; in unlink_block() 679 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in alloc_aux_for_edges() 699 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in clear_aux_for_edges() 794 if (bb->next_bb) in dump_bb_info() [all …]
|
| H A D | cfgbuild.c | 214 if (min == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in make_edges() 217 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in make_edges() 372 else if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in make_edges() 374 if (insn == BB_HEAD (bb->next_bb)) in make_edges() 375 cached_make_edge (edge_cache, bb, bb->next_bb, EDGE_FALLTHRU); in make_edges() 734 for (; bb != EXIT_BLOCK_PTR_FOR_FN (cfun); bb = bb->next_bb) in find_many_sub_basic_blocks() 745 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb) in find_many_sub_basic_blocks()
|
| H A D | hw-doloop.c | 522 loop->head->prev_bb->next_bb = loop->head->next_bb; in reorder_loops() 523 loop->head->next_bb->prev_bb = loop->head->prev_bb; in reorder_loops() 526 loop->head->next_bb = start_bb; in reorder_loops() 527 start_prev_bb->next_bb = start_bb->prev_bb = loop->head; in reorder_loops() 538 if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in reorder_loops() 539 bb->aux = bb->next_bb; in reorder_loops()
|
| H A D | cfganal.c | 228 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list() 241 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list() 298 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in verify_edge_list() 324 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in verify_edge_list() 325 FOR_BB_BETWEEN (s, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in verify_edge_list() 435 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in control_dependences() 441 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in control_dependences() 558 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in remove_fake_edges() 697 basic_block next_bb; in post_order_compute() local 698 for (b = ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb; b in post_order_compute() [all …]
|
| H A D | sched-ebb.c | 560 delete_basic_block (last_bb->next_bb); in schedule_ebb() 641 if (bb->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun) in schedule_ebbs() 642 || LABEL_P (BB_HEAD (bb->next_bb))) in schedule_ebbs() 652 bb = bb->next_bb; in schedule_ebbs() 700 && NOTE_INSN_BASIC_BLOCK_P (BB_HEAD (bb->next_bb))); in advance_target_bb() 713 bb = bb->next_bb; in advance_target_bb()
|
| H A D | profile.c | 117 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in instrument_edges() 209 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in get_exec_counts() 262 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in correct_negative_edge_counts() 339 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in set_bb_counts() 358 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in read_profile_edge_counts() 420 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities() 600 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities() 1318 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in branch_prob() 1342 && e->src->next_bb == e->dest) in branch_prob() 1364 if (bb == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in branch_prob() [all …]
|
| H A D | basic-block.h | 133 basic_block next_bb; member 221 FOR_BB_BETWEEN (BB, (FN)->cfg->x_entry_block_ptr->next_bb, (FN)->cfg->x_exit_block_ptr, next_bb) 253 for (BB = ENTRY_BLOCK_PTR_FOR_FN (FN); BB; BB = BB->next_bb)
|
| H A D | cfgrtl.c | 520 BB_HEAD (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) : get_insns ()); in entry_of_function() 647 if (src->next_bb != target) in can_fallthru() 984 && a->next_bb == b in rtl_can_merge_blocks() 1768 basic_block b = e->src, c = b->next_bb; in rtl_tidy_fallthru_edge() 1844 FOR_BB_BETWEEN (bb, start_bb, EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in last_bb_in_partition() 1846 if (BB_PARTITION (start_bb) != BB_PARTITION (bb->next_bb)) in last_bb_in_partition() 2119 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in commit_edge_insertions() 2469 prev_first->next_bb = second; in fixup_partitions() 2471 prev_second->next_bb = bb; in fixup_partitions() 2473 prev_bb->next_bb = first; in fixup_partitions() [all …]
|
| H A D | cprop.c | 1698 if (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in bypass_conditional_jumps() 1704 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb->next_bb, in bypass_conditional_jumps() 1705 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in bypass_conditional_jumps() 1829 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb->next_bb, in one_cprop_pass() 1831 next_bb) in one_cprop_pass()
|
| H A D | cfghooks.c | 112 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, NULL, next_bb) in verify_flow_info() 255 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in verify_flow_info() 982 if (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in tidy_fallthru_edges() 985 FOR_BB_BETWEEN (b, ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb, in tidy_fallthru_edges() 986 EXIT_BLOCK_PTR_FOR_FN (cfun)->prev_bb, next_bb) in tidy_fallthru_edges() 990 c = b->next_bb; in tidy_fallthru_edges()
|
| H A D | bb-reorder.c | 695 != ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in find_traces_1_round() 1245 basic_block next_bb = NULL; in connect_traces() local 1293 next_bb = e2->dest; in connect_traces() 1314 if (!next_bb) in connect_traces() 1316 else if (next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun)) in connect_traces() 1319 fprintf (dump_file, "%d\n", next_bb->index); in connect_traces() 1324 if (next_bb && next_bb != EXIT_BLOCK_PTR_FOR_FN (cfun)) in connect_traces() 1326 t = bbd[next_bb->index].start_of_trace; in connect_traces() 2680 if (bb->next_bb != EXIT_BLOCK_PTR_FOR_FN (fun)) in execute() 2681 bb->aux = bb->next_bb; in execute()
|
| H A D | sel-sched-ir.c | 3845 if (bb_has_removable_jump_to_p (xbb, xbb->next_bb) in tidy_control_flow() 3890 && bb_has_removable_jump_to_p (xbb->prev_bb, xbb->next_bb) in tidy_control_flow() 4663 last = EBB_LAST_BB (bb)->next_bb; in sel_restore_notes() 4675 first = first->next_bb; in sel_restore_notes() 4878 basic_block next_bb = bb_next_bb (bb); in bb_ends_ebb_p() local 4881 if (next_bb == EXIT_BLOCK_PTR_FOR_FN (cfun) in bb_ends_ebb_p() 4882 || bitmap_bit_p (forced_ebb_heads, next_bb->index) in bb_ends_ebb_p() 4883 || (LABEL_P (BB_HEAD (next_bb)) in bb_ends_ebb_p() 4886 && !single_pred_p (next_bb))) in bb_ends_ebb_p() 4889 if (!in_current_region_p (next_bb)) in bb_ends_ebb_p() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/rtl-ssa/ |
| H A D | blocks.h | 54 bb_info *next_bb () const { return m_next_bb; } in next_bb() function 144 using bb_iterator = list_iterator<bb_info, &bb_info::next_bb>;
|