LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NVPTXFrameLowering.h
Go to the documentation of this file.
1 //===--- NVPTXFrameLowering.h - Define frame lowering for NVPTX -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef NVPTX_FRAMELOWERING_H
15 #define NVPTX_FRAMELOWERING_H
16 
18 
19 namespace llvm {
20 class NVPTXTargetMachine;
21 
24  bool is64bit;
25 
26 public:
27  explicit NVPTXFrameLowering(NVPTXTargetMachine &_tm, bool _is64bit)
29  is64bit(_is64bit) {}
30 
31  virtual bool hasFP(const MachineFunction &MF) const;
32  virtual void emitPrologue(MachineFunction &MF) const;
33  virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
34 
36  MachineBasicBlock &MBB,
38 };
39 
40 } // End llvm namespace
41 
42 #endif
virtual bool hasFP(const MachineFunction &MF) const
NVPTXFrameLowering(NVPTXTargetMachine &_tm, bool _is64bit)
virtual void emitPrologue(MachineFunction &MF) const
void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const
virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const
#define I(x, y, z)
Definition: MD5.cpp:54