Lines Matching refs:MF
31 bool TargetFrameLowering::noFramePointerElim(const MachineFunction &MF) const { in noFramePointerElim()
32 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim()
40 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference() argument
42 const MachineFrameInfo *MFI = MF.getFrameInfo(); in getFrameIndexReference()
43 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference()
48 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
55 const MachineFunction &MF) const { in needsFrameIndexResolution()
56 return MF.getFrameInfo()->hasStackObjects(); in needsFrameIndexResolution()
59 void TargetFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves() argument
63 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
64 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in determineCalleeSaves()
73 if (MF.getFunction()->hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
77 bool CallsUnwindInit = MF.getMMI().callsUnwindInit(); in determineCalleeSaves()
78 const MachineRegisterInfo &MRI = MF.getRegInfo(); in determineCalleeSaves()
87 const MachineFunction &MF) const { in getStackAlignmentSkew()
90 if (LLVM_UNLIKELY(MF.getFunction()->getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
91 return MF.getTarget().getPointerSize(); in getStackAlignmentSkew()