Lines Matching refs:TRI

35   for (MCRegUnitMaskIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) {  in setRegUsed()
69 TRI = MF.getSubtarget().getRegisterInfo(); in enterBasicBlock()
72 assert((NumRegUnits == 0 || NumRegUnits == TRI->getNumRegUnits()) && in enterBasicBlock()
82 NumRegUnits = TRI->getNumRegUnits(); in enterBasicBlock()
96 for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) in addRegUnits()
115 for (unsigned RU = 0, RUEnd = TRI->getNumRegUnits(); RU != RUEnd; ++RU) { in determineKillsAndDefs()
116 for (MCRegUnitRootIterator RURI(RU, TRI); RURI.isValid(); ++RURI) { in determineKillsAndDefs()
217 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) in forward()
223 for (MCSuperRegIterator SR(Reg, TRI); SR.isValid(); ++SR) { in forward()
242 isLiveInButUnusedBefore(Reg, MI, MBB, TRI, MRI)) && in forward()
257 for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) in isRegUsed()
267 DEBUG(dbgs() << "Scavenger found unused reg: " << TRI->getName(*I) << in FindUnusedReg()
277 BitVector Mask(TRI->getNumRegs()); in getRegsAvailable()
325 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI) in findSurvivorReg()
371 TRI->getAllocatableSet(*I->getParent()->getParent(), RC); in scavengeRegister()
394 DEBUG(dbgs() << "Scavenged register: " << TRI->getName(SReg) << "\n"); in scavengeRegister()
415 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) { in scavengeRegister()
420 RC, TRI); in scavengeRegister()
424 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
428 RC, TRI); in scavengeRegister()
432 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in scavengeRegister()
440 DEBUG(dbgs() << "Scavenged register (with spill): " << TRI->getName(SReg) << in scavengeRegister()