Lines Matching refs:TRI
50 TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
54 unsigned NumRegUnits = TRI->getNumRegUnits(); in runOnMachineFunction()
74 bool foreachUnit(const TargetRegisterInfo *TRI, LiveInterval &VRegInterval, 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()
98 DEBUG(dbgs() << "assigning " << PrintReg(VirtReg.reg, TRI) in assign()
99 << " to " << PrintReg(PhysReg, TRI) << ':'); in assign()
103 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in assign()
105 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << ' ' << Range); in assign()
116 DEBUG(dbgs() << "unassigning " << PrintReg(VirtReg.reg, TRI) in unassign()
117 << " from " << PrintReg(PhysReg, TRI) << ':'); in unassign()
120 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in unassign()
122 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI)); in unassign()
132 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed()
161 CoalescerPair CP(VirtReg.reg, PhysReg, *TRI); in checkRegUnitInterference()
163 bool Result = foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in checkRegUnitInterference()
192 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) in checkInterference()