| //===--- PTXFrameLowering.h - Define frame lowering for PTX --*- C++ -*----===// |
| // The LLVM Compiler Infrastructure |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| //===----------------------------------------------------------------------===// |
| #include "PTXSubtarget.h" |
| #include "llvm/Target/TargetFrameLowering.h" |
| class PTXFrameLowering : public TargetFrameLowering { |
| explicit PTXFrameLowering(const PTXSubtarget &sti) |
| : TargetFrameLowering(TargetFrameLowering::StackGrowsDown, 2, -2), |
| /// emitProlog/emitEpilog - These methods insert prolog and epilog code into |
| void emitPrologue(MachineFunction &MF) const; |
| void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; |
| bool hasFP(const MachineFunction &MF) const { return false; } |