Lines Matching refs:NbReg
294 unsigned NbReg = RegToId.size(); in initReachingDef() local
298 BBGen = make_unique<const MachineInstr *[]>(NbReg); in initReachingDef()
299 std::fill(BBGen.get(), BBGen.get() + NbReg, nullptr); in initReachingDef()
302 BBKillSet.resize(NbReg); in initReachingDef()
322 getSet(ReachableUses, MBB, CurReg, NbReg).insert(&MI); in initReachingDef()
383 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) in initReachingDef()
404 unsigned NbReg) { in reachingDefAlgorithm() argument
410 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in reachingDefAlgorithm()
411 SetOfMachineInstr &BBInSet = getSet(In, MBB, CurReg, NbReg); in reachingDefAlgorithm()
413 getSet(ReachableUses, MBB, CurReg, NbReg); in reachingDefAlgorithm()
414 SetOfMachineInstr &BBOutSet = getSet(Out, MBB, CurReg, NbReg); in reachingDefAlgorithm()
418 SetOfMachineInstr &PredOutSet = getSet(Out, *PredMBB, CurReg, NbReg); in reachingDefAlgorithm()
479 unsigned NbReg, const TargetRegisterInfo *TRI, in printReachingDef() argument
482 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in printReachingDef()
569 unsigned NbReg = RegToId.size(); in reachedUsesToDefs() local
571 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) { in reachedUsesToDefs()
1000 unsigned NbReg = TRI->getNumRegs(); in collectInvolvedReg() local
1001 for (; CurRegId < NbReg; ++CurRegId) { in collectInvolvedReg()
1062 unsigned NbReg = RegToId.size(); in runOnMachineFunction() local
1066 InstrToInstrs *ColorOpToReachedUses = new InstrToInstrs[NbReg]; in runOnMachineFunction()
1072 DEBUG(printReachingDef(ColorOpToReachedUses, NbReg, TRI, IdToReg)); in runOnMachineFunction()
1084 ColorOpToReachedUses = new InstrToInstrs[NbReg]; in runOnMachineFunction()
1089 DEBUG(printReachingDef(ColorOpToReachedUses, NbReg, TRI, IdToReg)); in runOnMachineFunction()