Lines Matching refs:TRI

34       TRI(MF.getSubtarget().getRegisterInfo()), RegClassInfo(RCI),  in CriticalAntiDepBreaker()
35 Classes(TRI->getNumRegs(), nullptr), KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
36 DefIndices(TRI->getNumRegs(), 0), KeepRegs(TRI->getNumRegs(), false) {} in CriticalAntiDepBreaker()
43 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
61 for (MCRegAliasIterator AI(LI.PhysReg, TRI, true); AI.isValid(); ++AI) { in StartBlock()
74 for (const MCPhysReg *I = TRI->getCalleeSavedRegs(&MF); *I; ++I) { in StartBlock()
76 for (MCRegAliasIterator AI(*I, TRI, true); AI.isValid(); ++AI) { in StartBlock()
103 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
180 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in PrescanInstruction()
190 for (MCRegAliasIterator AI(Reg, TRI, false); AI.isValid(); ++AI) { in PrescanInstruction()
217 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction()
221 for (MCSuperRegIterator SuperRegs(Reg, TRI); in PrescanInstruction()
229 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction()
251 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) in ScanInstruction()
273 for (MCSubRegIterator SRI(Reg, TRI, true); SRI.isValid(); ++SRI) { in ScanInstruction()
282 for (MCSuperRegIterator SR(Reg, TRI); SR.isValid(); ++SR) in ScanInstruction()
295 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in ScanInstruction()
308 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in ScanInstruction()
409 if (TRI->regsOverlap(NewReg, *it)) { in findSuitableFreeRegister()
451 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
453 DEBUG(dbgs() << " " << TRI->getName(Reg)); in BreakAntiDependencies()
505 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
602 if (MO.isUse() && TRI->regsOverlap(AntiDepReg, Reg)) { in BreakAntiDependencies()
633 << TRI->getName(AntiDepReg) in BreakAntiDependencies()
635 << " using " << TRI->getName(NewReg) << "!\n"); in BreakAntiDependencies()