Lines Matching refs:VirtReg
312 /// lookupVirtReg - Find the EC leader for VirtReg or null.
313 UserValue *lookupVirtReg(unsigned VirtReg);
350 void mapVirtReg(unsigned VirtReg, UserValue *EC);
442 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) {
443 assert(TargetRegisterInfo::isVirtualRegister(VirtReg) && "Only map VirtRegs");
444 UserValue *&Leader = virtRegToEqClass[VirtReg];
448 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) {
449 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg))
882 unsigned VirtReg = Loc.getReg();
883 if (VRM.isAssignedReg(VirtReg) &&
884 TargetRegisterInfo::isPhysicalRegister(VRM.getPhys(VirtReg))) {
888 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI);
889 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) {
891 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg));