Lines Matching refs:RegInfo
142 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP() local
145 MFI->hasPatchPoint() || RegInfo->needsStackRealignment(MF)); in hasFP()
284 const AArch64RegisterInfo *RegInfo = Subtarget.getRegisterInfo(); in emitPrologue() local
355 const bool NeedsRealignment = RegInfo->needsStackRealignment(MF); in emitPrologue()
399 if (RegInfo->hasBasePointer(MF)) { in emitPrologue()
400 TII->copyPhysReg(MBB, MBBI, DL, RegInfo->getBaseRegister(), AArch64::SP, in emitPrologue()
407 unsigned FramePtr = RegInfo->getFrameRegister(MF); in emitPrologue()
476 unsigned Reg = RegInfo->getDwarfRegNum(FramePtr, true); in emitPrologue()
484 unsigned LR = RegInfo->getDwarfRegNum(AArch64::LR, true); in emitPrologue()
543 const AArch64RegisterInfo *RegInfo = Subtarget.getRegisterInfo(); in emitEpilogue() local
610 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue()
656 const AArch64RegisterInfo *RegInfo = static_cast<const AArch64RegisterInfo *>( in resolveFrameIndexReference() local
675 } else if (hasFP(MF) && !RegInfo->hasBasePointer(MF) && in resolveFrameIndexReference()
676 !RegInfo->needsStackRealignment(MF)) { in resolveFrameIndexReference()
692 assert((isFixed || !RegInfo->needsStackRealignment(MF) || !UseFP) && in resolveFrameIndexReference()
697 FrameReg = RegInfo->getFrameRegister(MF); in resolveFrameIndexReference()
702 if (RegInfo->hasBasePointer(MF)) in resolveFrameIndexReference()
703 FrameReg = RegInfo->getBaseRegister(); in resolveFrameIndexReference()
880 const AArch64RegisterInfo *RegInfo = static_cast<const AArch64RegisterInfo *>( in determineCalleeSaves() local
894 if (RegInfo->hasBasePointer(MF)) in determineCalleeSaves()
895 SavedRegs.set(RegInfo->getBaseRegister()); in determineCalleeSaves()
897 if (RegInfo->needsStackRealignment(MF) && !RegInfo->hasBasePointer(MF)) in determineCalleeSaves()
906 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves()
945 DEBUG(dbgs() << ' ' << PrintReg(OddReg, RegInfo)); in determineCalleeSaves()
946 DEBUG(dbgs() << ' ' << PrintReg(EvenReg, RegInfo)); in determineCalleeSaves()
949 (RegInfo->getEncodingValue(OddReg) + 1 == in determineCalleeSaves()
950 RegInfo->getEncodingValue(EvenReg))) && in determineCalleeSaves()
958 if (Reg != AArch64::NoRegister && !RegInfo->isReservedReg(MF, Reg)) in determineCalleeSaves()
977 if (BigStack || !CanEliminateFrame || RegInfo->cannotEliminateFrame(MF)) in determineCalleeSaves()
995 DEBUG(dbgs() << "Spilling " << PrintReg(Reg, RegInfo) in determineCalleeSaves()