Lines Matching refs:CurReg

309           unsigned CurReg = MO.getReg();  in initReachingDef()  local
310 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
313 CurReg = ItCurRegId->second; in initReachingDef()
316 if (!BBGen[CurReg] && !BBKillSet.test(CurReg)) in initReachingDef()
317 getSet(ReachableUses, MBB, CurReg, NbReg).insert(&MI); in initReachingDef()
319 if (BBGen[CurReg]) in initReachingDef()
320 getUses(ColorOpToReachedUses, CurReg, *BBGen[CurReg]).insert(&MI); in initReachingDef()
349 unsigned CurReg = MO.getReg(); in initReachingDef() local
350 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
354 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) { in initReachingDef()
370 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) in initReachingDef() local
371 if (BBGen[CurReg]) in initReachingDef()
372 getUses(ColorOpToReachedUses, CurReg, *BBGen[CurReg]).insert(DummyOp); in initReachingDef()
396 unsigned CurReg; in reachingDefAlgorithm() local
397 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in reachingDefAlgorithm()
398 SetOfMachineInstr &BBInSet = getSet(In, MBB, CurReg, NbReg); in reachingDefAlgorithm()
400 getSet(ReachableUses, MBB, CurReg, NbReg); in reachingDefAlgorithm()
401 SetOfMachineInstr &BBOutSet = getSet(Out, MBB, CurReg, NbReg); in reachingDefAlgorithm()
405 SetOfMachineInstr &PredOutSet = getSet(Out, *PredMBB, CurReg, NbReg); in reachingDefAlgorithm()
411 getUses(ColorOpToReachedUses, CurReg, *MI); in reachingDefAlgorithm()
415 if (!Kill[&MBB].test(CurReg)) in reachingDefAlgorithm()
417 if (Gen[&MBB][CurReg]) in reachingDefAlgorithm()
418 BBOutSet.insert(Gen[&MBB][CurReg]); in reachingDefAlgorithm()
468 unsigned CurReg; in printReachingDef() local
469 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in printReachingDef()
470 if (ColorOpToReachedUses[CurReg].empty()) in printReachingDef()
472 DEBUG(dbgs() << "*** Reg " << PrintReg(IdToReg[CurReg], TRI) << " ***\n"); in printReachingDef()
474 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in printReachingDef()
556 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) { in reachedUsesToDefs() local
558 if (ColorOpToReachedUses[CurReg].empty()) in reachedUsesToDefs()
561 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in reachedUsesToDefs()
573 It->second != CurReg))) { in reachedUsesToDefs()
1012 unsigned CurReg = IO->getReg(); in collectInvolvedReg() local
1013 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) in collectInvolvedReg()