Lines Matching defs:virtReg
86 void VirtRegMap::assignVirt2Phys(Register virtReg, MCRegister physReg) {
87 assert(virtReg.isVirtual() && physReg.isPhysical());
88 assert(!Virt2PhysMap[virtReg] &&
94 "Attempt to map virtReg to a reserved physReg");
95 Virt2PhysMap[virtReg] = physReg;
130 int VirtRegMap::assignVirt2StackSlot(Register virtReg) {
131 assert(virtReg.isVirtual());
132 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT &&
134 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg);
135 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC);
138 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) {
139 assert(virtReg.isVirtual());
140 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT &&
145 Virt2StackSlotMap[virtReg] = SS;