LLVM API Documentation

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