Lines Matching refs:TRI
118 TRI(MF.getSubtarget().getRegisterInfo()), RegClassInfo(RCI), in AggressiveAntiDepBreaker()
123 BitVector CPSet = TRI->getAllocatableSet(MF, CriticalPathRCs[i]); in AggressiveAntiDepBreaker()
133 dbgs() << " " << TRI->getName(r)); in AggressiveAntiDepBreaker()
143 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB); in StartBlock()
153 for (MCRegAliasIterator AI(LI.PhysReg, TRI, true); AI.isValid(); ++AI) { in StartBlock()
166 for (const MCPhysReg *I = TRI->getCalleeSavedRegs(&MF); *I; ++I) { in StartBlock()
169 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in StartBlock()
197 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
206 dbgs() << " " << TRI->getName(Reg) << "=g" << in Observe()
244 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in GetPassthruRegs()
302 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) in HandleLastUse()
303 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) { in HandleLastUse()
314 dbgs() << header << TRI->getName(Reg); header = nullptr; }); in HandleLastUse()
318 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandleLastUse()
326 dbgs() << header << TRI->getName(Reg); header = nullptr; }); in HandleLastUse()
327 DEBUG(dbgs() << " " << TRI->getName(SubregReg) << "->g" << in HandleLastUse()
363 DEBUG(dbgs() << " " << TRI->getName(Reg) << "=g" << State->GetGroup(Reg)); in PrescanInstruction()
378 for (MCRegAliasIterator AI(Reg, TRI, false); AI.isValid(); ++AI) { in PrescanInstruction()
383 TRI->getName(AliasReg) << ")"); in PrescanInstruction()
390 RC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in PrescanInstruction()
409 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in PrescanInstruction()
416 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) in PrescanInstruction()
459 DEBUG(dbgs() << " " << TRI->getName(Reg) << "=g" << in ScanInstruction()
475 RC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in ScanInstruction()
495 DEBUG(dbgs() << "=" << TRI->getName(Reg)); in ScanInstruction()
498 DEBUG(dbgs() << " " << TRI->getName(Reg)); in ScanInstruction()
508 BitVector BV(TRI->getNumRegs(), false); in GetRenameRegisters()
518 BitVector RCBV = TRI->getAllocatableSet(MF, RC); in GetRenameRegisters()
526 DEBUG(dbgs() << " " << TRI->getRegClassName(RC)); in GetRenameRegisters()
559 if ((SuperReg == 0) || TRI->isSuperRegister(SuperReg, Reg)) in FindSuitableFreeRegisters()
564 DEBUG(dbgs() << "\t\t" << TRI->getName(Reg) << ":"); in FindSuitableFreeRegisters()
571 dbgs() << " " << TRI->getName(r)); in FindSuitableFreeRegisters()
580 bool IsSub = TRI->isSubRegister(SuperReg, Reg); in FindSuitableFreeRegisters()
595 dbgs() << "*** Performing rename " << TRI->getName(SuperReg) << in FindSuitableFreeRegisters()
609 TRI->getMinimalPhysRegClass(SuperReg, MVT::Other); in FindSuitableFreeRegisters()
633 DEBUG(dbgs() << " [" << TRI->getName(NewSuperReg) << ':'); in FindSuitableFreeRegisters()
645 unsigned NewSubRegIdx = TRI->getSubRegIndex(SuperReg, Reg); in FindSuitableFreeRegisters()
647 NewReg = TRI->getSubReg(NewSuperReg, NewSubRegIdx); in FindSuitableFreeRegisters()
650 DEBUG(dbgs() << " " << TRI->getName(NewReg)); in FindSuitableFreeRegisters()
668 for (MCRegAliasIterator AI(NewReg, TRI, false); AI.isValid(); ++AI) { in FindSuitableFreeRegisters()
672 DEBUG(dbgs() << "(alias " << TRI->getName(AliasReg) << " live)"); in FindSuitableFreeRegisters()
685 int Idx = UseMI->findRegisterDefOperandIdx(NewReg, false, true, TRI); in FindSuitableFreeRegisters()
703 if (DefMI->readsRegister(NewReg, TRI)) { in FindSuitableFreeRegisters()
781 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
783 DEBUG(dbgs() << " " << TRI->getName(Reg)); in BreakAntiDependencies()
837 DEBUG(dbgs() << "\tAntidep reg: " << TRI->getName(AntiDepReg)); in BreakAntiDependencies()
917 << TRI->getName(AntiDepReg) << ":"); in BreakAntiDependencies()
925 DEBUG(dbgs() << " " << TRI->getName(CurrReg) << "->" << in BreakAntiDependencies()
926 TRI->getName(NewReg) << "(" << in BreakAntiDependencies()