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()
378 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) in initReachingDef() local
379 if (BBGen[CurReg]) in initReachingDef()
380 getUses(ColorOpToReachedUses, CurReg, *BBGen[CurReg]).insert(DummyOp); in initReachingDef()
404 unsigned CurReg; in reachingDefAlgorithm() local
405 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in reachingDefAlgorithm()
406 SetOfMachineInstr &BBInSet = getSet(In, MBB, CurReg, NbReg); in reachingDefAlgorithm()
408 getSet(ReachableUses, MBB, CurReg, NbReg); in reachingDefAlgorithm()
409 SetOfMachineInstr &BBOutSet = getSet(Out, MBB, CurReg, NbReg); in reachingDefAlgorithm()
413 SetOfMachineInstr &PredOutSet = getSet(Out, *PredMBB, CurReg, NbReg); in reachingDefAlgorithm()
419 getUses(ColorOpToReachedUses, CurReg, *MI); in reachingDefAlgorithm()
423 if (!Kill[&MBB].test(CurReg)) in reachingDefAlgorithm()
425 if (Gen[&MBB][CurReg]) in reachingDefAlgorithm()
426 BBOutSet.insert(Gen[&MBB][CurReg]); in reachingDefAlgorithm()
476 unsigned CurReg; in printReachingDef() local
477 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in printReachingDef()
478 if (ColorOpToReachedUses[CurReg].empty()) in printReachingDef()
480 DEBUG(dbgs() << "*** Reg " << PrintReg(IdToReg[CurReg], TRI) << " ***\n"); in printReachingDef()
482 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in printReachingDef()
566 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) { in reachedUsesToDefs() local
568 if (ColorOpToReachedUses[CurReg].empty()) in reachedUsesToDefs()
571 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in reachedUsesToDefs()
583 It->second != CurReg))) { in reachedUsesToDefs()
1024 unsigned CurReg = IO->getReg(); in collectInvolvedReg() local
1025 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) in collectInvolvedReg()