Lines Matching refs:RegInfo
59 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP() local
69 RegInfo->needsStackRealignment(MF) || in hasFP()
299 const ARMBaseRegisterInfo *RegInfo = STI.getRegisterInfo(); in emitPrologue() local
313 unsigned FramePtr = RegInfo->getFrameRegister(MF); in emitPrologue()
648 if (!AFI->getNumAlignedDPRCS2Regs() && RegInfo->needsStackRealignment(MF)) { in emitPrologue()
678 if (RegInfo->hasBasePointer(MF)) { in emitPrologue()
681 TII.get(ARM::MOVr), RegInfo->getBaseRegister()) in emitPrologue()
686 RegInfo->getBaseRegister()) in emitPrologue()
701 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in emitEpilogue() local
710 unsigned FramePtr = RegInfo->getFrameRegister(MF); in emitEpilogue()
726 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in emitEpilogue()
817 const ARMBaseRegisterInfo *RegInfo = static_cast<const ARMBaseRegisterInfo *>( in ResolveFrameIndexReference() local
833 if (RegInfo->needsStackRealignment(MF)) { in ResolveFrameIndexReference()
836 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
839 assert(RegInfo->hasBasePointer(MF) && in ResolveFrameIndexReference()
841 FrameReg = RegInfo->getBaseRegister(); in ResolveFrameIndexReference()
850 if (isFixed || (hasMovingSP && !RegInfo->hasBasePointer(MF))) { in ResolveFrameIndexReference()
851 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
854 assert(RegInfo->hasBasePointer(MF) && "missing base pointer!"); in ResolveFrameIndexReference()
860 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
873 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
878 FrameReg = RegInfo->getFrameRegister(MF); in ResolveFrameIndexReference()
883 if (RegInfo->hasBasePointer(MF)) in ResolveFrameIndexReference()
884 FrameReg = RegInfo->getBaseRegister(); in ResolveFrameIndexReference()
1490 const ARMBaseRegisterInfo *RegInfo = static_cast<const ARMBaseRegisterInfo *>( in determineCalleeSaves() local
1497 unsigned FramePtr = RegInfo->getFrameRegister(MF); in determineCalleeSaves()
1505 (MFI->hasVarSizedObjects() || RegInfo->needsStackRealignment(MF))) in determineCalleeSaves()
1528 if (RegInfo->hasBasePointer(MF)) in determineCalleeSaves()
1529 SavedRegs.set(RegInfo->getBaseRegister()); in determineCalleeSaves()
1533 const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); in determineCalleeSaves()
1623 if (BigStack || !CanEliminateFrame || RegInfo->cannotEliminateFrame(MF)) { in determineCalleeSaves()