Lines Matching defs:LR
360 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint,
371 MCPhysReg getErrorAssignment(const LiveReg &LR, MachineInstr &MI,
686 for (const LiveReg &LR : LiveVirtRegs) {
687 MCPhysReg PhysReg = LR.PhysReg;
688 if (PhysReg == 0 || LR.Error)
702 reload(MBB.begin(), LR.VirtReg, PhysReg);
704 reload(InsertBefore, LR.VirtReg, PhysReg);
842 void RegAllocFastImpl::assignVirtToPhysReg(MachineInstr &AtMI, LiveReg &LR,
844 Register VirtReg = LR.VirtReg;
847 assert(LR.PhysReg == 0 && "Already assigned a physreg");
849 LR.PhysReg = PhysReg;
894 void RegAllocFastImpl::allocVirtReg(MachineInstr &MI, LiveReg &LR,
896 const Register VirtReg = LR.VirtReg;
897 assert(LR.PhysReg == 0);
911 assignVirtToPhysReg(MI, LR, Hint0);
929 assignVirtToPhysReg(MI, LR, Hint1);
953 assignVirtToPhysReg(MI, LR, PhysReg);
969 LR.PhysReg = getErrorAssignment(LR, MI, RC);
970 LR.Error = true;
975 assignVirtToPhysReg(MI, LR, BestReg);
1172 MCPhysReg RegAllocFastImpl::getErrorAssignment(const LiveReg &LR,
1200 if (!LR.Error && EmitError) {
1289 for (const LiveReg &LR : LiveVirtRegs) {
1290 Register VirtReg = LR.VirtReg;
1292 MCPhysReg PhysReg = LR.PhysReg;
1575 for (const LiveReg &LR : LiveVirtRegs) {
1576 MCPhysReg PhysReg = LR.PhysReg;