LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MipsSEFrameLowering.h
Go to the documentation of this file.
1 //===-- MipsSEFrameLowering.h - Mips32/64 frame lowering --------*- 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 MIPSSE_FRAMEINFO_H
15 #define MIPSSE_FRAMEINFO_H
16 
17 #include "MipsFrameLowering.h"
18 
19 namespace llvm {
20 
22 public:
24  : MipsFrameLowering(STI, STI.stackAlignment()) {}
25 
26  /// emitProlog/emitEpilog - These methods insert prolog and epilog code into
27  /// the function.
28  void emitPrologue(MachineFunction &MF) const;
29  void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
30 
32  MachineBasicBlock &MBB,
34 
37  const std::vector<CalleeSavedInfo> &CSI,
38  const TargetRegisterInfo *TRI) const;
39 
40  bool hasReservedCallFrame(const MachineFunction &MF) const;
41 
43  RegScavenger *RS) const;
44  unsigned ehDataReg(unsigned I) const;
45 };
46 
47 } // End llvm namespace
48 
49 #endif
const MipsSubtarget & STI
unsigned ehDataReg(unsigned I) const
void emitPrologue(MachineFunction &MF) const
bool hasReservedCallFrame(const MachineFunction &MF) const
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector< CalleeSavedInfo > &CSI, const TargetRegisterInfo *TRI) const
void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const
MipsSEFrameLowering(const MipsSubtarget &STI)
void processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS) const
#define I(x, y, z)
Definition: MD5.cpp:54
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const