Lines Matching refs:PhysReg
75 unsigned PhysReg, Callable Func) { in foreachUnit() argument
77 for (MCRegUnitMaskIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit()
89 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in foreachUnit()
97 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) { in assign() argument
99 << " to " << PrintReg(PhysReg, TRI) << ':'); in assign()
101 VRM->assignVirt2Phys(VirtReg.reg, PhysReg); in assign()
103 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in assign()
115 unsigned PhysReg = VRM->getPhys(VirtReg.reg); in unassign() local
117 << " from " << PrintReg(PhysReg, TRI) << ':'); in unassign()
120 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in unassign()
131 bool LiveRegMatrix::isPhysRegUsed(unsigned PhysReg) const { in isPhysRegUsed()
132 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed()
140 unsigned PhysReg) { in checkRegMaskInterference() argument
154 return !RegMaskUsable.empty() && (!PhysReg || !RegMaskUsable.test(PhysReg)); in checkRegMaskInterference()
158 unsigned PhysReg) { in checkRegUnitInterference() argument
161 CoalescerPair CP(VirtReg.reg, PhysReg, *TRI); in checkRegUnitInterference()
163 bool Result = foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in checkRegUnitInterference()
179 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, unsigned PhysReg) { in checkInterference() argument
184 if (checkRegMaskInterference(VirtReg, PhysReg)) in checkInterference()
188 if (checkRegUnitInterference(VirtReg, PhysReg)) in checkInterference()
192 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) in checkInterference()