Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:VirtReg

304   /// lookupVirtReg - Find the EC leader for VirtReg or null.
305 UserValue *lookupVirtReg(unsigned VirtReg);
342 void mapVirtReg(unsigned VirtReg, UserValue *EC);
433 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) {
434 assert(TargetRegisterInfo::isVirtualRegister(VirtReg) && "Only map VirtRegs");
435 UserValue *&Leader = virtRegToEqClass[VirtReg];
439 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) {
440 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg))
869 unsigned VirtReg = Loc.getReg();
870 if (VRM.isAssignedReg(VirtReg) &&
871 TargetRegisterInfo::isPhysicalRegister(VRM.getPhys(VirtReg))) {
875 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI);
876 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) {
878 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg));