Lines Matching defs:regHi
1829 int regHi = interval->assigned_regHi();
1850 interval->assign_reg(reg, regHi);
5387 assert(hint_reg == any_reg || hint_reg != hint_regHi, "hint reg and regHi equal");
5397 int regHi = any_reg;
5401 regHi = reg + 1;
5405 split_pos = MIN2(_use_pos[reg], _use_pos[regHi]);
5415 regHi = find_free_reg(reg_needed_until, interval_to, hint_regHi, reg, &need_split);
5417 if (_use_pos[reg] < interval_to && regHi == any_reg) {
5423 } else if (regHi != any_reg) {
5424 split_pos = MIN2(split_pos, _use_pos[regHi]);
5427 if (reg > regHi) {
5429 reg = regHi;
5430 regHi = temp;
5436 cur->assign_reg(reg, regHi);
5437 TRACE_LINEAR_SCAN(2, tty->print_cr("selected register %d, %d", reg, regHi));
5446 return _num_phys_regs == 1 || regHi != any_reg;
5491 void LinearScanWalker::split_and_spill_intersecting_intervals(int reg, int regHi) {
5500 if (regHi != any_reg) {
5502 for (int i = 0; i < _spill_intervals[regHi]->length(); i++) {
5503 Interval* it = _spill_intervals[regHi]->at(i);
5547 int reg, regHi;
5551 regHi = reg + 1;
5554 use_pos = MIN2(_use_pos[reg], _use_pos[regHi]);
5555 split_pos = MIN2(_block_pos[reg], _block_pos[regHi]);
5559 regHi = any_reg;
5567 regHi = reg;
5570 regHi = find_locked_reg(reg_needed_until, interval_to, any_reg, reg, &need_split);
5571 if (regHi != any_reg) {
5572 use_pos = MIN2(use_pos, _use_pos[regHi]);
5573 split_pos = MIN2(split_pos, _block_pos[regHi]);
5577 if (regHi != any_reg && reg > regHi) {
5580 reg = regHi;
5581 regHi = temp;
5587 if (reg == any_reg || (_num_phys_regs == 2 && regHi == any_reg) || use_pos <= cur->first_usage(mustHaveRegister)) {
5600 TRACE_LINEAR_SCAN(4, tty->print_cr("decided to use register %d, %d", reg, regHi));
5601 assert(reg != any_reg && (_num_phys_regs == 1 || regHi != any_reg), "no register found");
5605 cur->assign_reg(reg, regHi);
5612 split_and_spill_intersecting_intervals(reg, regHi);