Lines Matching refs:VirtReg
309 /// lookupVirtReg - Find the EC leader for VirtReg or null.
310 UserValue *lookupVirtReg(unsigned VirtReg);
347 void mapVirtReg(unsigned VirtReg, UserValue *EC);
438 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) {
439 assert(TargetRegisterInfo::isVirtualRegister(VirtReg) && "Only map VirtRegs");
440 UserValue *&Leader = virtRegToEqClass[VirtReg];
444 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) {
445 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg))
879 unsigned VirtReg = Loc.getReg();
880 if (VRM.isAssignedReg(VirtReg) &&
881 TargetRegisterInfo::isPhysicalRegister(VRM.getPhys(VirtReg))) {
885 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI);
886 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) {
888 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg));