• Home
  • Raw
  • Download

Lines Matching refs:MF

32 bool TargetFrameLowering::noFramePointerElim(const MachineFunction &MF) const {  in noFramePointerElim()
33 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim()
41 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference() argument
43 const MachineFrameInfo *MFI = MF.getFrameInfo(); in getFrameIndexReference()
44 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference()
49 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
56 const MachineFunction &MF) const { in needsFrameIndexResolution()
57 return MF.getFrameInfo()->hasStackObjects(); in needsFrameIndexResolution()
60 void TargetFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves() argument
63 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
72 if (MF.getTarget().Options.EnableIPRA && isSafeForNoCSROpt(MF.getFunction())) in determineCalleeSaves()
76 const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF); in determineCalleeSaves()
83 if (MF.getFunction()->hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
87 bool CallsUnwindInit = MF.getMMI().callsUnwindInit(); in determineCalleeSaves()
88 const MachineRegisterInfo &MRI = MF.getRegInfo(); in determineCalleeSaves()
97 const MachineFunction &MF) const { in getStackAlignmentSkew()
100 if (LLVM_UNLIKELY(MF.getFunction()->getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
101 return MF.getTarget().getPointerSize(); in getStackAlignmentSkew()