Lines Matching refs:TRI
60 const TargetRegisterInfo *TRI; member in __anon4fc2f4500111::RAFast
219 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true); in addKillFlag()
264 DEBUG(dbgs() << "Spilling " << PrintReg(LRI->first, TRI) in spillVirtReg()
265 << " in " << PrintReg(LR.PhysReg, TRI)); in spillVirtReg()
269 TII->storeRegToStackSlot(*MBB, MI, LR.PhysReg, SpillKill, FI, RC, TRI); in spillVirtReg()
346 for (const unsigned *AS = TRI->getAliasSet(PhysReg); in usePhysReg()
352 assert(TRI->isSuperRegister(PhysReg, Alias) && in usePhysReg()
357 MO.getParent()->addRegisterKilled(Alias, TRI, true); in usePhysReg()
360 if (TRI->isSuperRegister(PhysReg, Alias)) { in usePhysReg()
363 MO.getParent()->addRegisterKilled(Alias, TRI, true); in usePhysReg()
400 for (const unsigned *AS = TRI->getAliasSet(PhysReg); in definePhysReg()
411 if (TRI->isSuperRegister(PhysReg, Alias)) in definePhysReg()
426 DEBUG(dbgs() << PrintReg(PhysReg, TRI) << " is already used in instr.\n"); in calcSpillCost()
435 DEBUG(dbgs() << PrintReg(VirtReg, TRI) << " corresponding " in calcSpillCost()
436 << PrintReg(PhysReg, TRI) << " is reserved already.\n"); in calcSpillCost()
443 DEBUG(dbgs() << PrintReg(PhysReg, TRI) << " is disabled.\n"); in calcSpillCost()
445 for (const unsigned *AS = TRI->getAliasSet(PhysReg); in calcSpillCost()
471 DEBUG(dbgs() << "Assigning " << PrintReg(LRE.first, TRI) << " to " in assignVirtToPhysReg()
472 << PrintReg(PhysReg, TRI) << "\n"); in assignVirtToPhysReg()
518 DEBUG(dbgs() << "\tRegister: " << PrintReg(*I, TRI) << "\n"); in allocVirtReg()
588 DEBUG(dbgs() << "Reloading " << PrintReg(VirtReg, TRI) << " into " in reloadVirtReg()
589 << PrintReg(LR.PhysReg, TRI) << "\n"); in reloadVirtReg()
590 TII->loadRegFromStackSlot(*MBB, MI, LR.PhysReg, FrameIndex, RC, TRI); in reloadVirtReg()
635 MO.setReg(PhysReg ? TRI->getSubReg(PhysReg, MO.getSubReg()) : 0); in setPhysReg()
641 MI->addRegisterKilled(PhysReg, TRI, true); in setPhysReg()
677 for (const unsigned *AS = TRI->getAliasSet(Reg); *AS; ++AS) { in handleThroughOperands()
723 DEBUG(dbgs() << "\tSetting " << PrintReg(Reg, TRI) in handleThroughOperands()
753 Ret->addRegisterKilled(*I, TRI, true); in AllocateBasicBlock()
757 PhysRegState.assign(TRI->getNumRegs(), regDisabled); in AllocateBasicBlock()
777 for (unsigned Reg = 1, E = TRI->getNumRegs(); Reg != E; ++Reg) { in AllocateBasicBlock()
779 dbgs() << " " << TRI->getName(Reg); in AllocateBasicBlock()
956 for (const unsigned *AS = TRI->getAliasSet(Reg); *AS; ++AS) in AllocateBasicBlock()
1039 TRI = TM->getRegisterInfo(); in runOnMachineFunction()
1042 UsedInInstr.resize(TRI->getNumRegs()); in runOnMachineFunction()
1056 MRI->closePhysRegsUsed(*TRI); in runOnMachineFunction()