• Home
  • Raw
  • Download

Lines Matching refs:SubReg

198     unsigned SubReg = *SubRegs;  in FindLastPartialDef()  local
199 MachineInstr *Def = PhysRegDef[SubReg]; in FindLastPartialDef()
204 LastDefReg = SubReg; in FindLastPartialDef()
252 unsigned SubReg = *SubRegs; in HandlePhysRegUse() local
253 if (Processed.count(SubReg)) in HandlePhysRegUse()
255 if (PartDefRegs.count(SubReg)) in HandlePhysRegUse()
259 LastPartialDef->addOperand(MachineOperand::CreateReg(SubReg, in HandlePhysRegUse()
262 PhysRegDef[SubReg] = LastPartialDef; in HandlePhysRegUse()
263 for (MCSubRegIterator SS(SubReg, TRI); SS.isValid(); ++SS) in HandlePhysRegUse()
291 unsigned SubReg = *SubRegs; in FindLastRefOrPartRef() local
292 MachineInstr *Def = PhysRegDef[SubReg]; in FindLastRefOrPartRef()
299 } else if (MachineInstr *Use = PhysRegUse[SubReg]) { in FindLastRefOrPartRef()
340 unsigned SubReg = *SubRegs; in HandlePhysRegKill() local
341 MachineInstr *Def = PhysRegDef[SubReg]; in HandlePhysRegKill()
352 if (MachineInstr *Use = PhysRegUse[SubReg]) { in HandlePhysRegKill()
353 for (MCSubRegIterator SS(SubReg, TRI, /*IncludeSelf=*/true); SS.isValid(); in HandlePhysRegKill()
371 unsigned SubReg = *SubRegs; in HandlePhysRegKill() local
372 if (!PartUses.count(SubReg)) in HandlePhysRegKill()
375 if (PhysRegDef[Reg] == PhysRegDef[SubReg]) { in HandlePhysRegKill()
376 MachineOperand *MO = PhysRegDef[Reg]->findRegisterDefOperand(SubReg); in HandlePhysRegKill()
383 PhysRegDef[Reg]->addOperand(MachineOperand::CreateReg(SubReg, in HandlePhysRegKill()
385 MachineInstr *LastSubRef = FindLastRefOrPartRef(SubReg); in HandlePhysRegKill()
387 LastSubRef->addRegisterKilled(SubReg, TRI, true); in HandlePhysRegKill()
389 LastRefOrPartRef->addRegisterKilled(SubReg, TRI, true); in HandlePhysRegKill()
390 for (MCSubRegIterator SS(SubReg, TRI, /*IncludeSelf=*/true); in HandlePhysRegKill()
394 for (MCSubRegIterator SS(SubReg, TRI); SS.isValid(); ++SS) in HandlePhysRegKill()
453 unsigned SubReg = *SubRegs; in HandlePhysRegDef() local
460 if (Live.count(SubReg)) in HandlePhysRegDef()
462 if (PhysRegDef[SubReg] || PhysRegUse[SubReg]) { in HandlePhysRegDef()
463 for (MCSubRegIterator SS(SubReg, TRI, /*IncludeSelf=*/true); in HandlePhysRegDef()
475 unsigned SubReg = *SubRegs; in HandlePhysRegDef() local
476 if (!Live.count(SubReg)) in HandlePhysRegDef()
479 HandlePhysRegKill(SubReg, MI); in HandlePhysRegDef()
493 unsigned SubReg = *SubRegs; in UpdatePhysRegDefs() local
494 PhysRegDef[SubReg] = &MI; in UpdatePhysRegDefs()
495 PhysRegUse[SubReg] = nullptr; in UpdatePhysRegDefs()