• Home
  • Raw
  • Download

Lines Matching refs:CurReg

314           unsigned CurReg = MO.getReg();  in initReachingDef()  local
315 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
318 CurReg = ItCurRegId->second; in initReachingDef()
321 if (!BBGen[CurReg] && !BBKillSet.test(CurReg)) in initReachingDef()
322 getSet(ReachableUses, MBB, CurReg, NbReg).insert(&MI); in initReachingDef()
324 if (BBGen[CurReg]) in initReachingDef()
325 getUses(ColorOpToReachedUses, CurReg, *BBGen[CurReg]).insert(&MI); in initReachingDef()
354 unsigned CurReg = MO.getReg(); in initReachingDef() local
355 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
359 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) { in initReachingDef()
383 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) in initReachingDef() local
384 if (BBGen[CurReg]) in initReachingDef()
385 getUses(ColorOpToReachedUses, CurReg, *BBGen[CurReg]).insert(DummyOp); in initReachingDef()
409 unsigned CurReg; in reachingDefAlgorithm() local
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()
424 getUses(ColorOpToReachedUses, CurReg, *MI); in reachingDefAlgorithm()
428 if (!Kill[&MBB].test(CurReg)) in reachingDefAlgorithm()
430 if (Gen[&MBB][CurReg]) in reachingDefAlgorithm()
431 BBOutSet.insert(Gen[&MBB][CurReg]); in reachingDefAlgorithm()
481 unsigned CurReg; in printReachingDef() local
482 for (CurReg = 0; CurReg < NbReg; ++CurReg) { in printReachingDef()
483 if (ColorOpToReachedUses[CurReg].empty()) in printReachingDef()
485 DEBUG(dbgs() << "*** Reg " << PrintReg(IdToReg[CurReg], TRI) << " ***\n"); in printReachingDef()
487 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in printReachingDef()
571 for (unsigned CurReg = 0; CurReg < NbReg; ++CurReg) { in reachedUsesToDefs() local
573 if (ColorOpToReachedUses[CurReg].empty()) in reachedUsesToDefs()
576 for (const auto &DefsIt : ColorOpToReachedUses[CurReg]) { in reachedUsesToDefs()
588 It->second != CurReg))) { in reachedUsesToDefs()
1022 unsigned CurReg = IO->getReg(); in collectInvolvedReg() local
1023 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) in collectInvolvedReg()