Lines Matching defs:Unit
92 unsigned Unit = (*Units).first;
96 if (Func(Unit, S))
103 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
104 if (Func(Unit, VRegInterval))
118 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) {
119 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range);
120 Matrix[Unit].unify(VirtReg, Range);
135 [&](unsigned Unit, const LiveRange &Range) {
136 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI));
137 Matrix[Unit].extract(VirtReg, Range);
146 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
147 if (!Matrix[Unit].empty())
178 bool Result = foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit,
180 const LiveRange &UnitRange = LIS->getRegUnit(Unit);
209 [&](MCRegUnit Unit, const LiveRange &LR) {
210 return query(LR, Unit).checkInterference();
227 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
241 Q.reset(UserTag, LR, Matrix[Unit]);
261 auto [Unit, Lanes] = *MCRU;
275 Q.reset(UserTag, LR, Matrix[Unit]);
285 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
286 if ((VRegInterval = Matrix[Unit].getOneVReg()))