Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:PhysReg

75 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) {
77 << " to " << PrintReg(PhysReg, TRI) << ':');
79 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
80 MRI->setPhysRegUsed(PhysReg);
81 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) {
90 unsigned PhysReg = VRM->getPhys(VirtReg.reg);
92 << " from " << PrintReg(PhysReg, TRI) << ':');
94 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) {
103 unsigned PhysReg) {
114 // The BitVector is indexed by PhysReg, not register unit.
117 return !RegMaskUsable.empty() && (!PhysReg || !RegMaskUsable.test(PhysReg));
121 unsigned PhysReg) {
124 CoalescerPair CP(VirtReg.reg, PhysReg, *TRI);
125 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) {
141 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, unsigned PhysReg) {
146 if (checkRegMaskInterference(VirtReg, PhysReg))
150 if (checkRegUnitInterference(VirtReg, PhysReg))
154 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units)