Lines Matching defs:MF
29 bool NVPTXFrameLowering::hasFPImpl(const MachineFunction &MF) const {
33 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF,
35 if (MF.getFrameInfo().hasStackObjects()) {
36 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported");
38 MachineRegisterInfo &MR = MF.getRegInfo();
41 MF.getSubtarget<NVPTXSubtarget>().getRegisterInfo();
50 // for local address accesses in MF.
52 static_cast<const NVPTXTargetMachine &>(MF.getTarget()).is64Bit();
57 if (!MR.use_empty(NRI->getFrameRegister(MF))) {
60 MF.getSubtarget().getInstrInfo()->get(CvtaLocalOpcode),
61 NRI->getFrameRegister(MF))
62 .addReg(NRI->getFrameLocalRegister(MF));
64 if (!MR.use_empty(NRI->getFrameLocalRegister(MF))) {
66 MF.getSubtarget().getInstrInfo()->get(MovDepotOpcode),
67 NRI->getFrameLocalRegister(MF))
68 .addImm(MF.getFunctionNumber());
74 NVPTXFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI,
76 const MachineFrameInfo &MFI = MF.getFrameInfo();
82 void NVPTXFrameLowering::emitEpilogue(MachineFunction &MF,
88 MachineFunction &MF, MachineBasicBlock &MBB,
96 NVPTXFrameLowering::getDwarfFrameBase(const MachineFunction &MF) const {