Lines Matching defs:TRI
81 // TRI->requiresFrameIndexScavenging() for the current function.
168 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo();
173 RS = TRI->requiresRegisterScavenging(Fn) ? new RegScavenger() : nullptr;
174 FrameIndexVirtualScavenging = TRI->requiresFrameIndexScavenging(Fn);
219 if (TRI->requiresRegisterScavenging(Fn) && FrameIndexVirtualScavenging)
443 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo();
449 if (!TFI->spillCalleeSavedRegisters(*SaveBlock, I, CSI, TRI)) {
453 const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(Reg);
455 RC, TRI);
479 if (!TFI->restoreCalleeSavedRegisters(*MBB, I, CSI, TRI)) {
482 const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(Reg);
483 TII.loadRegFromStackSlot(*MBB, I, Reg, CSI[i].getFrameIdx(), RC, TRI);
849 const TargetRegisterInfo &TRI = *Fn.getSubtarget().getRegisterInfo();
931 TRI.eliminateFrameIndex(MI, SPAdj, i,