Lines Matching refs:SubReg

194        unsigned SubReg = *SubRegs; ++SubRegs) {  in FindLastPartialDef()
195 MachineInstr *Def = PhysRegDef[SubReg]; in FindLastPartialDef()
200 LastDefReg = SubReg; in FindLastPartialDef()
218 unsigned SubReg = *SubRegs; ++SubRegs) in FindLastPartialDef()
219 PartDefRegs.insert(SubReg); in FindLastPartialDef()
249 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegUse()
250 if (Processed.count(SubReg)) in HandlePhysRegUse()
252 if (PartDefRegs.count(SubReg)) in HandlePhysRegUse()
256 LastPartialDef->addOperand(MachineOperand::CreateReg(SubReg, in HandlePhysRegUse()
259 PhysRegDef[SubReg] = LastPartialDef; in HandlePhysRegUse()
260 for (const unsigned *SS = TRI->getSubRegisters(SubReg); *SS; ++SS) in HandlePhysRegUse()
274 unsigned SubReg = *SubRegs; ++SubRegs) in HandlePhysRegUse()
275 PhysRegUse[SubReg] = MI; in HandlePhysRegUse()
290 unsigned SubReg = *SubRegs; ++SubRegs) { in FindLastRefOrPartRef()
291 MachineInstr *Def = PhysRegDef[SubReg]; in FindLastRefOrPartRef()
298 } else if (MachineInstr *Use = PhysRegUse[SubReg]) { in FindLastRefOrPartRef()
339 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegKill()
340 MachineInstr *Def = PhysRegDef[SubReg]; in HandlePhysRegKill()
351 if (MachineInstr *Use = PhysRegUse[SubReg]) { in HandlePhysRegKill()
352 PartUses.insert(SubReg); in HandlePhysRegKill()
353 for (const unsigned *SS = TRI->getSubRegisters(SubReg); *SS; ++SS) in HandlePhysRegKill()
370 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegKill()
371 if (!PartUses.count(SubReg)) in HandlePhysRegKill()
374 if (PhysRegDef[Reg] == PhysRegDef[SubReg]) { in HandlePhysRegKill()
375 MachineOperand *MO = PhysRegDef[Reg]->findRegisterDefOperand(SubReg); in HandlePhysRegKill()
382 PhysRegDef[Reg]->addOperand(MachineOperand::CreateReg(SubReg, in HandlePhysRegKill()
384 MachineInstr *LastSubRef = FindLastRefOrPartRef(SubReg); in HandlePhysRegKill()
386 LastSubRef->addRegisterKilled(SubReg, TRI, true); in HandlePhysRegKill()
388 LastRefOrPartRef->addRegisterKilled(SubReg, TRI, true); in HandlePhysRegKill()
389 PhysRegUse[SubReg] = LastRefOrPartRef; in HandlePhysRegKill()
390 for (const unsigned *SSRegs = TRI->getSubRegisters(SubReg); in HandlePhysRegKill()
394 for (const unsigned *SS = TRI->getSubRegisters(SubReg); *SS; ++SS) in HandlePhysRegKill()
432 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegDef()
439 if (Live.count(SubReg)) in HandlePhysRegDef()
441 if (PhysRegDef[SubReg] || PhysRegUse[SubReg]) { in HandlePhysRegDef()
442 Live.insert(SubReg); in HandlePhysRegDef()
443 for (const unsigned *SS = TRI->getSubRegisters(SubReg); *SS; ++SS) in HandlePhysRegDef()
454 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegDef()
455 if (!Live.count(SubReg)) in HandlePhysRegDef()
458 HandlePhysRegKill(SubReg, MI); in HandlePhysRegDef()
473 unsigned SubReg = *SubRegs; ++SubRegs) { in UpdatePhysRegDefs()
474 PhysRegDef[SubReg] = MI; in UpdatePhysRegDefs()
475 PhysRegUse[SubReg] = NULL; in UpdatePhysRegDefs()