Lines Matching refs:Unit
61 for (MCRegUnitIterator Unit(LI.PhysReg, TRI); Unit.isValid(); ++Unit) { in enterBasicBlock() local
65 if (LiveRegs[*Unit] != -1) { in enterBasicBlock()
66 LiveRegs[*Unit] = -1; in enterBasicBlock()
67 MBBReachingDefs[MBBNumber][*Unit].push_back(-1); in enterBasicBlock()
86 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) in enterBasicBlock() local
87 LiveRegs[Unit] = std::max(LiveRegs[Unit], Incoming[Unit]); in enterBasicBlock()
91 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) in enterBasicBlock() local
92 if (LiveRegs[Unit] != ReachingDefDefaultVal) in enterBasicBlock()
93 MBBReachingDefs[MBBNumber][Unit].push_back(LiveRegs[Unit]); in enterBasicBlock()
124 for (MCRegUnitIterator Unit(MO.getReg().asMCReg(), TRI); Unit.isValid(); in processDefs() local
125 ++Unit) { in processDefs()
127 LLVM_DEBUG(dbgs() << printReg(*Unit, TRI) << ":\t" << CurInstr in processDefs()
131 if (LiveRegs[*Unit] != CurInstr) { in processDefs()
132 LiveRegs[*Unit] = CurInstr; in processDefs()
133 MBBReachingDefs[MBBNumber][*Unit].push_back(CurInstr); in processDefs()
161 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) { in reprocessBasicBlock() local
162 int Def = Incoming[Unit]; in reprocessBasicBlock()
166 auto Start = MBBReachingDefs[MBBNumber][Unit].begin(); in reprocessBasicBlock()
167 if (Start != MBBReachingDefs[MBBNumber][Unit].end() && *Start < 0) { in reprocessBasicBlock()
175 MBBReachingDefs[MBBNumber][Unit].insert(Start, Def); in reprocessBasicBlock()
180 if (MBBOutRegsInfos[MBBNumber][Unit] < Def - NumInsts) in reprocessBasicBlock()
181 MBBOutRegsInfos[MBBNumber][Unit] = Def - NumInsts; in reprocessBasicBlock()
265 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in getReachingDef() local
266 for (int Def : MBBReachingDefs[MBBNumber][*Unit]) { in getReachingDef()