Lines Matching defs:reg

79           int reg = interval->assigned_reg();
80 assert(reg >= pd_first_fpu_reg && reg <= pd_last_fpu_reg, "no fpu register");
86 tty->print("fpu reg %d is live because of ", reg - pd_first_fpu_reg); interval->print();
90 regs.set_bit(reg - pd_first_fpu_reg);
937 void FpuStackAllocator::merge_insert_add(LIR_List* instrs, FpuStackSim* cur_sim, int reg) {
938 LIR_Op1* move = new LIR_Op1(lir_move, LIR_OprFact::doubleConst(0), LIR_OprFact::double_fpu(reg)->make_fpu_stack_offset());
942 cur_sim->push(reg);
947 tty->print("Added new register: %d New state: ", reg); cur_sim->print(); tty->cr();
967 int reg = cur_sim->get_slot(0);
971 cur_sim->pop(reg);
975 tty->print("Removed register: %d New state: ", reg); cur_sim->print(); tty->cr();
981 int reg = cur_sim->get_slot(change_slot);
991 tty->print("Renamed register %d to %d New state: ", reg, new_reg); cur_sim->print(); tty->cr();
1031 int reg = sux_sim->get_slot(sux_slot);
1032 if (!cur_sim->contains(reg)) {
1033 merge_insert_add(instrs, cur_sim, reg);
1058 int reg = cur_sim->get_slot(0);
1059 if (sux_sim->contains(reg)) {
1060 int sux_slot = sux_sim->offset_from_tos(reg);
1069 assert(cur_sim->stack_size() == 0 || cur_sim->get_slot(0) != reg, "register must have been changed");
1077 int reg = cur_sim->get_slot(finished_slot);
1079 if (sux_sim->contains(reg) || !merge_rename(cur_sim, sux_sim, finished_slot, finished_slot)) {
1080 assert(sux_sim->contains(reg) || size_diff > 0, "must be");
1083 assert(cur_sim->get_slot(finished_slot) != reg, "register must have been changed");
1109 int reg = cur_sim->get_slot(slot);
1110 if (!live_fpu_regs.at(reg)) {