Lines Matching refs:dep

748   dep_t dep;  in add_delay_dependencies()  local
762 FOR_EACH_DEP (pair->i2, SD_LIST_BACK, sd_it, dep) in add_delay_dependencies()
764 rtx pro = DEP_PRO (dep); in add_delay_dependencies()
1090 dep_t dep; in cond_clobbered_p() local
1092 FOR_EACH_DEP (insn, SD_LIST_BACK, sd_it, dep) in cond_clobbered_p()
1093 DEP_STATUS (dep) &= ~DEP_CANCELLED; in cond_clobbered_p()
1114 dep_t dep, control_dep = NULL; in recompute_todo_spec() local
1131 FOR_EACH_DEP (next, SD_LIST_BACK, sd_it, dep) in recompute_todo_spec()
1133 ds_t ds = DEP_STATUS (dep) & SPECULATIVE; in recompute_todo_spec()
1135 if (DEBUG_INSN_P (DEP_PRO (dep)) && !DEBUG_INSN_P (next)) in recompute_todo_spec()
1150 if (DEP_TYPE (dep) == REG_DEP_CONTROL) in recompute_todo_spec()
1153 control_dep = dep; in recompute_todo_spec()
1154 DEP_STATUS (dep) &= ~DEP_CANCELLED; in recompute_todo_spec()
1423 contributes_to_priority_p (dep_t dep) in contributes_to_priority_p() argument
1425 if (DEBUG_INSN_P (DEP_CON (dep)) in contributes_to_priority_p()
1426 || DEBUG_INSN_P (DEP_PRO (dep))) in contributes_to_priority_p()
1430 if (!current_sched_info->contributes_to_priority (DEP_CON (dep), in contributes_to_priority_p()
1431 DEP_PRO (dep))) in contributes_to_priority_p()
1442 && (DEP_STATUS (dep) & SPECULATIVE)) in contributes_to_priority_p()
1454 dep_t dep; in dep_list_size() local
1460 FOR_EACH_DEP (insn, SD_LIST_FORW, sd_it, dep) in dep_list_size()
1462 if (DEBUG_INSN_P (DEP_CON (dep))) in dep_list_size()
1464 else if (!DEBUG_INSN_P (DEP_PRO (dep))) in dep_list_size()
1520 dep_t dep; in priority() local
1522 FOR_EACH_DEP (twin, SD_LIST_FORW, sd_it, dep) in priority()
1527 next = DEP_CON (dep); in priority()
1533 if (!contributes_to_priority_p (dep)) in priority()
1537 cost = dep_cost (dep); in priority()
2217 dep_t dep; in schedule_insn() local
2256 sd_iterator_cond (&sd_it, &dep);) in schedule_insn()
2258 rtx dbg = DEP_PRO (dep); in schedule_insn()
2261 if (DEP_STATUS (dep) & DEP_CANCELLED) in schedule_insn()
2324 sd_iterator_cond (&sd_it, &dep);) in schedule_insn()
2326 rtx next = DEP_CON (dep); in schedule_insn()
2327 bool cancelled = (DEP_STATUS (dep) & DEP_CANCELLED) != 0; in schedule_insn()
2516 dep_t dep; in mark_backtrack_feeds() local
2517 FOR_EACH_DEP (insn, SD_LIST_HARD_BACK, sd_it, dep) in mark_backtrack_feeds()
2519 FEEDS_BACKTRACK_INSN (DEP_PRO (dep)) = set_p; in mark_backtrack_feeds()
2595 dep_t dep; in toggle_cancelled_flags() local
2601 FOR_EACH_DEP (first[i], SD_LIST_BACK, sd_it, dep) in toggle_cancelled_flags()
2602 if (!DEBUG_INSN_P (DEP_PRO (dep))) in toggle_cancelled_flags()
2605 DEP_STATUS (dep) |= DEP_CANCELLED; in toggle_cancelled_flags()
2607 DEP_STATUS (dep) &= ~DEP_CANCELLED; in toggle_cancelled_flags()
2617 FOR_EACH_DEP (insn, SD_LIST_BACK, sd_it, dep) in toggle_cancelled_flags()
2618 if (!DEBUG_INSN_P (DEP_PRO (dep))) in toggle_cancelled_flags()
2621 DEP_STATUS (dep) |= DEP_CANCELLED; in toggle_cancelled_flags()
2623 DEP_STATUS (dep) &= ~DEP_CANCELLED; in toggle_cancelled_flags()
2646 dep_t dep; in unschedule_insns_until() local
2660 sd_iterator_cond (&sd_it, &dep);) in unschedule_insns_until()
2662 rtx con = DEP_CON (dep); in unschedule_insns_until()
2854 dep_t dep; in estimate_insn_tick() local
2857 FOR_EACH_DEP (insn, SD_LIST_BACK, sd_it, dep) in estimate_insn_tick()
2859 rtx pro = DEP_PRO (dep); in estimate_insn_tick()
2862 if (DEP_STATUS (dep) & DEP_CANCELLED) in estimate_insn_tick()
2866 gcc_assert (INSN_TICK (pro) + dep_cost (dep) <= INSN_TICK (insn)); in estimate_insn_tick()
2869 int cost = dep_cost (dep); in estimate_insn_tick()
2917 dep_t dep; in resolve_dependencies() local
2934 sd_iterator_cond (&sd_it, &dep);) in resolve_dependencies()
2936 rtx next = DEP_CON (dep); in resolve_dependencies()
3221 dep_t dep; in ok_for_early_queue_removal() local
3223 dep = sd_find_dep_between (prev_insn, insn, true); in ok_for_early_queue_removal()
3225 if (dep != NULL) in ok_for_early_queue_removal()
3227 cost = dep_cost (dep); in ok_for_early_queue_removal()
3229 if (targetm.sched.is_costly_dependence (dep, cost, in ok_for_early_queue_removal()
5025 dep_t dep; in fix_inter_tick() local
5044 FOR_EACH_DEP (head, SD_LIST_RES_FORW, sd_it, dep) in fix_inter_tick()
5048 next = DEP_CON (dep); in fix_inter_tick()
5221 dep_t dep; in fix_tick_ready() local
5229 FOR_EACH_DEP (next, SD_LIST_RES_BACK, sd_it, dep) in fix_tick_ready()
5231 rtx pro = DEP_PRO (dep); in fix_tick_ready()
5236 tick1 = INSN_TICK (pro) + dep_cost (dep); in fix_tick_ready()
5401 dep_t dep; in process_insn_forw_deps_be_in_spec() local
5403 FOR_EACH_DEP (insn, SD_LIST_FORW, sd_it, dep) in process_insn_forw_deps_be_in_spec()
5408 consumer = DEP_CON (dep); in process_insn_forw_deps_be_in_spec()
5410 ds = DEP_STATUS (dep); in process_insn_forw_deps_be_in_spec()
5449 init_dep_1 (new_dep, twin, consumer, DEP_TYPE (dep), ds); in process_insn_forw_deps_be_in_spec()
5477 dep_t dep; in add_to_speculative_block() local
5496 sd_iterator_cond (&sd_it, &dep);) in add_to_speculative_block()
5498 rtx check = DEP_PRO (dep); in add_to_speculative_block()
5522 if (!sd_iterator_cond (&sd_it, &dep)) in add_to_speculative_block()
5526 gcc_assert ((DEP_STATUS (dep) & BEGIN_SPEC) == 0 in add_to_speculative_block()
5527 && (DEP_STATUS (dep) & BE_IN_SPEC) != 0 in add_to_speculative_block()
5528 && (DEP_STATUS (dep) & DEP_TYPES) == DEP_TRUE); in add_to_speculative_block()
5530 check = DEP_PRO (dep); in add_to_speculative_block()
5552 FOR_EACH_DEP (insn, SD_LIST_SPEC_BACK, sd_it, dep) in add_to_speculative_block()
5554 rtx pro = DEP_PRO (dep); in add_to_speculative_block()
5556 gcc_assert (DEP_TYPE (dep) == REG_DEP_TRUE); in add_to_speculative_block()
5574 sd_iterator_cond (&sd_it, &dep);) in add_to_speculative_block()
5576 rtx pro = DEP_PRO (dep); in add_to_speculative_block()
5847 dep_t dep; in create_check_block_twin() local
5916 dep_t dep; in create_check_block_twin() local
5918 FOR_EACH_DEP (insn, SD_LIST_RES_BACK, sd_it, dep) in create_check_block_twin()
5919 if ((DEP_STATUS (dep) & DEP_OUTPUT) != 0) in create_check_block_twin()
5923 init_dep (dep2, DEP_PRO (dep), check, REG_DEP_TRUE); in create_check_block_twin()
5972 FOR_EACH_DEP (insn, SD_LIST_BACK, sd_it, dep) in create_check_block_twin()
5974 rtx pro = DEP_PRO (dep); in create_check_block_twin()
5992 ds = DEP_STATUS (dep); in create_check_block_twin()
6000 init_dep_1 (new_dep, pro, check, DEP_TYPE (dep), ds); in create_check_block_twin()
6012 sd_iterator_cond (&sd_it, &dep);) in create_check_block_twin()
6014 if ((DEP_STATUS (dep) & BEGIN_SPEC) in create_check_block_twin()
6077 while (sd_iterator_cond (&sd_it, &dep)) in create_check_block_twin()
6134 dep_t dep; in fix_recovery_deps() local
6137 sd_iterator_cond (&sd_it, &dep);) in fix_recovery_deps()
6139 rtx consumer = DEP_CON (dep); in fix_recovery_deps()
6150 gcc_assert ((DEP_STATUS (dep) & DEP_TYPES) == DEP_TRUE); in fix_recovery_deps()
6184 dep_t dep; in haifa_change_pattern() local
6194 while (sd_iterator_cond (&sd_it, &dep)) in haifa_change_pattern()
6196 DEP_COST (dep) = UNKNOWN_DEP_COST; in haifa_change_pattern()
6454 dep_t dep; in clear_priorities() local
6459 FOR_EACH_DEP (insn, SD_LIST_BACK, sd_it, dep) in clear_priorities()
6461 rtx pro = DEP_PRO (dep); in clear_priorities()
6468 if (contributes_to_priority_p (dep)) in clear_priorities()