Lines Matching refs:succ
595 in_fallthru_bb_p (rtx_insn *insn, rtx succ) in in_fallthru_bb_p() argument
600 if (bb == BLOCK_FOR_INSN (succ)) in in_fallthru_bb_p()
612 return bb == BLOCK_FOR_INSN (succ); in in_fallthru_bb_p()
625 insn_t succ; in extract_new_fences_from() local
646 insn_t succ; in extract_new_fences_from() local
648 succ = (sel_bb_end_p (insn) in extract_new_fences_from()
652 if (INSN_SEQNO (succ) > 0 in extract_new_fences_from()
653 && INSN_SEQNO (succ) <= orig_max_seqno in extract_new_fences_from()
654 && INSN_SCHED_TIMES (succ) <= 0) in extract_new_fences_from()
656 FENCE_INSN (fence) = succ; in extract_new_fences_from()
661 INSN_UID (insn), INSN_UID (succ), BLOCK_NUM (succ)); in extract_new_fences_from()
667 FOR_EACH_SUCC_1 (succ, si, insn, SUCCS_NORMAL | SUCCS_SKIP_TO_LOOP_EXITS) in extract_new_fences_from()
669 int seqno = INSN_SEQNO (succ); in extract_new_fences_from()
672 && (pipelining_p || INSN_SCHED_TIMES (succ) <= 0)) in extract_new_fences_from()
674 bool b = (in_same_ebb_p (insn, succ) in extract_new_fences_from()
675 || in_fallthru_bb_p (insn, succ)); in extract_new_fences_from()
679 INSN_UID (insn), INSN_UID (succ), in extract_new_fences_from()
680 BLOCK_NUM (succ), b ? "continue" : "reset"); in extract_new_fences_from()
683 add_dirty_fence_to_fences (new_fences, succ, fence); in extract_new_fences_from()
687 bitmap_set_bit (forced_ebb_heads, BLOCK_NUM (succ)); in extract_new_fences_from()
688 add_clean_fence_to_fences (new_fences, succ, fence); in extract_new_fences_from()
2731 insn_t succ, zero_succ = NULL; in compute_av_set_at_bb_end() local
2753 FOR_EACH_VEC_ELT (sinfo->succs_ok, is, succ) in compute_av_set_at_bb_end()
2758 succ_set = compute_av_set_inside_bb (succ, p, ws, true); in compute_av_set_at_bb_end()
2774 zero_succ = succ; in compute_av_set_at_bb_end()
2792 basic_block bb1 = BLOCK_FOR_INSN (succ); in compute_av_set_at_bb_end()
2807 FOR_EACH_VEC_ELT (sinfo->succs_ok, is, succ) in compute_av_set_at_bb_end()
2809 basic_block succ_bb = BLOCK_FOR_INSN (succ); in compute_av_set_at_bb_end()
2810 av_set_t av_succ = (is_ineligible_successor (succ, p) in compute_av_set_at_bb_end()
2820 FOR_EACH_VEC_ELT (sinfo->succs_other, is, succ) in compute_av_set_at_bb_end()
2822 (av1, NULL, BB_LV_SET (BLOCK_FOR_INSN (succ))); in compute_av_set_at_bb_end()
3165 rtx_insn *succ; in compute_live_below_insn() local
3168 FOR_EACH_SUCC_1 (succ, si, insn, SUCCS_ALL) in compute_live_below_insn()
3169 IOR_REG_SET (regs, compute_live (succ)); in compute_live_below_insn()
4575 basic_block succ; in create_block_for_bookkeeping() local
4581 && (succ = single_succ (new_bb)) in create_block_for_bookkeeping()
4582 && succ != EXIT_BLOCK_PTR_FOR_FN (cfun) in create_block_for_bookkeeping()
4595 new_bb->index, succ->index); in create_block_for_bookkeeping()
4597 std::swap (new_bb->index, succ->index); in create_block_for_bookkeeping()
4600 SET_BASIC_BLOCK_FOR_FN (cfun, succ->index, succ); in create_block_for_bookkeeping()
4603 memcpy (SEL_GLOBAL_BB_INFO (new_bb), SEL_GLOBAL_BB_INFO (succ), in create_block_for_bookkeeping()
4605 memcpy (SEL_GLOBAL_BB_INFO (succ), &gbi, sizeof (gbi)); in create_block_for_bookkeeping()
4608 memcpy (SEL_REGION_BB_INFO (new_bb), SEL_REGION_BB_INFO (succ), in create_block_for_bookkeeping()
4610 memcpy (SEL_REGION_BB_INFO (succ), &rbi, sizeof (rbi)); in create_block_for_bookkeeping()
4613 BLOCK_TO_BB (succ->index)); in create_block_for_bookkeeping()
4616 CONTAINING_RGN (succ->index)); in create_block_for_bookkeeping()
4619 if (BB_TO_BLOCK (i) == succ->index) in create_block_for_bookkeeping()
4622 BB_TO_BLOCK (i) = succ->index; in create_block_for_bookkeeping()
4628 FOR_BB_INSNS (succ, insn) in create_block_for_bookkeeping()
4630 EXPR_ORIG_BB_INDEX (INSN_EXPR (insn)) = succ->index; in create_block_for_bookkeeping()
4633 bitmap_set_bit (code_motion_visited_blocks, succ->index); in create_block_for_bookkeeping()
4636 && LABEL_P (BB_HEAD (succ))); in create_block_for_bookkeeping()
4641 CODE_LABEL_NUMBER (BB_HEAD (succ))); in create_block_for_bookkeeping()
4644 CODE_LABEL_NUMBER (BB_HEAD (succ))); in create_block_for_bookkeeping()
5377 insn_t succ; in update_boundaries() local
5380 FOR_EACH_SUCC_1 (succ, si, insn, in update_boundaries()
5388 && is_ineligible_successor (succ, ptr)) in update_boundaries()
5398 INSN_UID (insn), INSN_UID (succ)); in update_boundaries()
5399 FENCE_INSN (fence) = succ; in update_boundaries()
5401 blist_add (bnds_tailp, succ, ptr, BND_DC (bnd)); in update_boundaries()
5716 insn_t succ ATTRIBUTE_UNUSED, in move_op_merge_succs()
5769 fur_merge_succs (insn_t insn ATTRIBUTE_UNUSED, insn_t succ, in fur_merge_succs() argument
5789 succ_live = compute_live (succ); in fur_merge_succs()
6307 insn_t succ; in code_motion_process_successors() local
6332 FOR_EACH_SUCC_1 (succ, succ_i, insn, code_motion_path_driver_info->succ_flags) in code_motion_process_successors()
6342 b = code_motion_path_driver (succ, orig_ops, path, &lparams, in code_motion_process_successors()
6349 code_motion_path_driver_info->merge_succs (insn, succ, b, &lparams, in code_motion_process_successors()
6739 basic_block succ = BLOCK_FOR_INSN (succ_insn); in init_seqno_1() local
6740 int succ_bbi = BLOCK_TO_BB (succ->index); in init_seqno_1()
6742 gcc_assert (in_current_region_p (succ)); in init_seqno_1()
6748 init_seqno_1 (succ, visited_bbs, blocks_to_reschedule); in init_seqno_1()
6751 bitmap_set_bit (forced_ebb_heads, succ->index); in init_seqno_1()