Lines Matching refs:RegInfo
50 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP() local
60 RegInfo->needsStackRealignment(MF) || in hasFP()
290 const ARMBaseRegisterInfo *RegInfo = STI.getRegisterInfo(); in emitPrologue() local
300 unsigned FramePtr = RegInfo->getFrameRegister(MF); in emitPrologue()
634 if (!AFI->getNumAlignedDPRCS2Regs() && RegInfo->needsStackRealignment(MF)) { in emitPrologue()
664 if (RegInfo->hasBasePointer(MF)) { in emitPrologue()
667 TII.get(ARM::MOVr), RegInfo->getBaseRegister()) in emitPrologue()
672 RegInfo->getBaseRegister()) in emitPrologue()
739 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in emitEpilogue() local
748 unsigned FramePtr = RegInfo->getFrameRegister(MF); in emitEpilogue()
762 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue()
855 const ARMBaseRegisterInfo *RegInfo = static_cast<const ARMBaseRegisterInfo *>( in ResolveFrameIndexReference() local
871 if (RegInfo->needsStackRealignment(MF)) { in ResolveFrameIndexReference()
874 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
877 assert(RegInfo->hasBasePointer(MF) && in ResolveFrameIndexReference()
879 FrameReg = RegInfo->getBaseRegister(); in ResolveFrameIndexReference()
888 if (isFixed || (hasMovingSP && !RegInfo->hasBasePointer(MF))) { in ResolveFrameIndexReference()
889 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
892 assert(RegInfo->hasBasePointer(MF) && "missing base pointer!"); in ResolveFrameIndexReference()
898 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
911 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
916 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
921 if (RegInfo->hasBasePointer(MF)) in ResolveFrameIndexReference()
922 FrameReg = RegInfo->getBaseRegister(); in ResolveFrameIndexReference()
1521 const ARMBaseRegisterInfo *RegInfo = static_cast<const ARMBaseRegisterInfo *>( in processFunctionBeforeCalleeSavedScan() local
1528 unsigned FramePtr = RegInfo->getFrameRegister(MF); in processFunctionBeforeCalleeSavedScan()
1536 (MFI->hasVarSizedObjects() || RegInfo->needsStackRealignment(MF))) in processFunctionBeforeCalleeSavedScan()
1559 if (RegInfo->hasBasePointer(MF)) in processFunctionBeforeCalleeSavedScan()
1560 MRI.setPhysRegUsed(RegInfo->getBaseRegister()); in processFunctionBeforeCalleeSavedScan()
1564 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in processFunctionBeforeCalleeSavedScan()
1656 if (BigStack || !CanEliminateFrame || RegInfo->cannotEliminateFrame(MF)) { in processFunctionBeforeCalleeSavedScan()