Lines Matching defs:TRI
58 const TargetRegisterInfo *TRI;
125 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units)
131 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units)
240 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true);
285 DEBUG(dbgs() << "Spilling " << PrintReg(LRI->VirtReg, TRI)
286 << " in " << PrintReg(LR.PhysReg, TRI));
290 TII->storeRegToStackSlot(*MBB, MI, LR.PhysReg, SpillKill, FI, RC, TRI);
365 for (MCRegAliasIterator AI(PhysReg, TRI, false); AI.isValid(); ++AI) {
380 assert((TRI->isSuperRegister(PhysReg, Alias) ||
381 TRI->isSuperRegister(Alias, PhysReg)) &&
385 if (TRI->isSuperRegister(PhysReg, Alias)) {
388 MO.getParent()->addRegisterKilled(Alias, TRI, true);
424 for (MCRegAliasIterator AI(PhysReg, TRI, false); AI.isValid(); ++AI) {
435 if (TRI->isSuperRegister(PhysReg, Alias))
450 DEBUG(dbgs() << PrintReg(PhysReg, TRI) << " is already used in instr.\n");
459 DEBUG(dbgs() << PrintReg(VirtReg, TRI) << " corresponding "
460 << PrintReg(PhysReg, TRI) << " is reserved already.\n");
470 DEBUG(dbgs() << PrintReg(PhysReg, TRI) << " is disabled.\n");
472 for (MCRegAliasIterator AI(PhysReg, TRI, false); AI.isValid(); ++AI) {
499 DEBUG(dbgs() << "Assigning " << PrintReg(LR.VirtReg, TRI) << " to "
500 << PrintReg(PhysReg, TRI) << "\n");
555 << TRI->getRegClassName(RC) << "\n");
560 DEBUG(dbgs() << "\tRegister: " << PrintReg(*I, TRI) << "\n");
635 DEBUG(dbgs() << "Reloading " << PrintReg(VirtReg, TRI) << " into "
636 << PrintReg(LRI->PhysReg, TRI) << "\n");
637 TII->loadRegFromStackSlot(*MBB, MI, LRI->PhysReg, FrameIndex, RC, TRI);
683 MO.setReg(PhysReg ? TRI->getSubReg(PhysReg, MO.getSubReg()) : 0);
689 MI->addRegisterKilled(PhysReg, TRI, true);
696 MI->addRegisterDefined(PhysReg, TRI);
729 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) {
783 DEBUG(dbgs() << "\tSetting " << PrintReg(Reg, TRI)
796 PhysRegState.assign(TRI->getNumRegs(), regDisabled);
815 for (unsigned Reg = 1, E = TRI->getNumRegs(); Reg != E; ++Reg) {
817 dbgs() << " " << TRI->getName(Reg);
1076 TRI = MF->getSubtarget().getRegisterInfo();
1081 UsedInInstr.setUniverse(TRI->getNumRegUnits());