• Home
  • Raw
  • Download

Lines Matching refs:chosen

1585    schedule_node *chosen = NULL;  in choose_instruction_to_schedule()  local
1595 if (!chosen || in choose_instruction_to_schedule()
1596 exit_unblocked_time(n) < exit_unblocked_time(chosen) || in choose_instruction_to_schedule()
1597 (exit_unblocked_time(n) == exit_unblocked_time(chosen) && in choose_instruction_to_schedule()
1599 chosen = n; in choose_instruction_to_schedule()
1615 if (!chosen) { in choose_instruction_to_schedule()
1616 chosen = n; in choose_instruction_to_schedule()
1618 get_register_pressure_benefit(chosen->inst); in choose_instruction_to_schedule()
1629 chosen = n; in choose_instruction_to_schedule()
1646 if (n->cand_generation > chosen->cand_generation) { in choose_instruction_to_schedule()
1647 chosen = n; in choose_instruction_to_schedule()
1650 } else if (n->cand_generation < chosen->cand_generation) { in choose_instruction_to_schedule()
1661 fs_inst *chosen_inst = (fs_inst *)chosen->inst; in choose_instruction_to_schedule()
1670 chosen = n; in choose_instruction_to_schedule()
1685 if (n->delay > chosen->delay) { in choose_instruction_to_schedule()
1686 chosen = n; in choose_instruction_to_schedule()
1689 } else if (n->delay < chosen->delay) { in choose_instruction_to_schedule()
1695 if (exit_unblocked_time(n) < exit_unblocked_time(chosen)) { in choose_instruction_to_schedule()
1696 chosen = n; in choose_instruction_to_schedule()
1699 } else if (exit_unblocked_time(n) > exit_unblocked_time(chosen)) { in choose_instruction_to_schedule()
1709 return chosen; in choose_instruction_to_schedule()
1715 schedule_node *chosen = NULL; in choose_instruction_to_schedule() local
1722 if (!chosen || n->unblocked_time < chosen_time) { in choose_instruction_to_schedule()
1723 chosen = n; in choose_instruction_to_schedule()
1728 return chosen; in choose_instruction_to_schedule()
1770 schedule_node *chosen = choose_instruction_to_schedule(); in schedule_instructions() local
1773 assert(chosen); in schedule_instructions()
1774 chosen->remove(); in schedule_instructions()
1775 chosen->inst->exec_node::remove(); in schedule_instructions()
1776 block->instructions.push_tail(chosen->inst); in schedule_instructions()
1780 reg_pressure -= get_register_pressure_benefit(chosen->inst); in schedule_instructions()
1781 update_register_pressure(chosen->inst); in schedule_instructions()
1790 time = MAX2(time, chosen->unblocked_time); in schedule_instructions()
1795 time += issue_time(chosen->inst); in schedule_instructions()
1799 bs->dump_instruction(chosen->inst); in schedule_instructions()
1809 for (int i = chosen->child_count - 1; i >= 0; i--) { in schedule_instructions()
1810 schedule_node *child = chosen->children[i]; in schedule_instructions()
1813 time + chosen->child_latency[i]); in schedule_instructions()
1836 if (devinfo->ver < 6 && chosen->inst->is_math()) { in schedule_instructions()
1840 time + chosen->latency); in schedule_instructions()