Lines Matching refs:TRI
35 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true);
41 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI)
75 TRI = TM.getRegisterInfo();
78 assert((NumPhysRegs == 0 || NumPhysRegs == TRI->getNumRegs()) &&
88 NumPhysRegs = TRI->getNumRegs();
95 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF);
108 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true);
221 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs)
238 isLiveInButUnusedBefore(Reg, MI, MBB, TRI, MRI)) &&
263 DEBUG(dbgs() << "Scavenger found unused reg: " << TRI->getName(*I) <<
273 BitVector Mask(TRI->getNumRegs());
321 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI)
367 TRI->getAllocatableSet(*I->getParent()->getParent(), RC);
392 DEBUG(dbgs() << "Scavenged register: " << TRI->getName(SReg) << "\n");
413 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) {
418 RC, TRI);
422 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this);
426 RC, TRI);
430 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this);
438 DEBUG(dbgs() << "Scavenged register (with spill): " << TRI->getName(SReg) <<