Lines Matching refs:Unit
85 unsigned Unit = (*Units).first; in foreachUnit() local
89 if (Func(Unit, S)) in foreachUnit()
96 for (MCRegUnit Unit : TRI->regunits(PhysReg)) { in foreachUnit() local
97 if (Func(Unit, VRegInterval)) in foreachUnit()
111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) { in assign() argument
112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range); in assign()
113 Matrix[Unit].unify(VirtReg, Range); in assign()
128 [&](unsigned Unit, const LiveRange &Range) { in unassign() argument
129 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI)); in unassign()
130 Matrix[Unit].extract(VirtReg, Range); in unassign()
139 for (MCRegUnit Unit : TRI->regunits(PhysReg)) { in isPhysRegUsed() local
140 if (!Matrix[Unit].empty()) in isPhysRegUsed()
170 bool Result = foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in checkRegUnitInterference()
172 const LiveRange &UnitRange = LIS->getRegUnit(Unit); in checkRegUnitInterference()
201 [&](MCRegister Unit, const LiveRange &LR) { in checkInterference() argument
202 return query(LR, Unit).checkInterference(); in checkInterference()
219 for (MCRegUnit Unit : TRI->regunits(PhysReg)) { in checkInterference() local
233 Q.reset(UserTag, LR, Matrix[Unit]); in checkInterference()
242 for (MCRegUnit Unit : TRI->regunits(PhysReg)) { in getOneVReg() local
243 if ((VRegInterval = Matrix[Unit].getOneVReg())) in getOneVReg()