Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:PhysReg

72 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) {
74 << " to " << PrintReg(PhysReg, TRI) << ':');
76 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
77 MRI->setPhysRegUsed(PhysReg);
78 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) {
87 unsigned PhysReg = VRM->getPhys(VirtReg.reg);
89 << " from " << PrintReg(PhysReg, TRI) << ':');
91 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) {
100 unsigned PhysReg) {
111 // The BitVector is indexed by PhysReg, not register unit.
114 return !RegMaskUsable.empty() && (!PhysReg || !RegMaskUsable.test(PhysReg));
118 unsigned PhysReg) {
121 CoalescerPair CP(VirtReg.reg, PhysReg, *TRI);
122 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units)
136 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, unsigned PhysReg) {
141 if (checkRegMaskInterference(VirtReg, PhysReg))
145 if (checkRegUnitInterference(VirtReg, PhysReg))
149 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units)