Lines Matching refs:VirtReg
426 /// Find the EC leader for VirtReg or null.
427 UserValue *lookupVirtReg(unsigned VirtReg);
477 void mapVirtReg(unsigned VirtReg, UserValue *EC);
603 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) {
604 assert(Register::isVirtualRegister(VirtReg) && "Only map VirtRegs");
605 UserValue *&Leader = virtRegToEqClass[VirtReg];
609 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) {
610 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg))
1193 Register VirtReg = Loc.getReg();
1194 if (VRM.isAssignedReg(VirtReg) &&
1195 Register::isPhysicalRegister(VRM.getPhys(VirtReg))) {
1199 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI);
1200 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) {
1204 const TargetRegisterClass *TRC = MRI.getRegClass(VirtReg);
1211 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg));