Give all operands names
[oota-llvm.git] / lib / Target / IA64 / IA64RegisterInfo.h
1 //===- IA64RegisterInfo.h - IA64 Register Information Impl ------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by Duraid Madina and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the IA64 implementation of the MRegisterInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef IA64REGISTERINFO_H
15 #define IA64REGISTERINFO_H
16
17 #include "llvm/Target/MRegisterInfo.h"
18 #include "IA64GenRegisterInfo.h.inc"
19
20 namespace llvm { class llvm::Type; }
21
22 namespace llvm {
23
24 struct IA64RegisterInfo : public IA64GenRegisterInfo {
25   IA64RegisterInfo();
26
27   /// Code Generation virtual methods...
28   void storeRegToStackSlot(MachineBasicBlock &MBB,
29                            MachineBasicBlock::iterator MI,
30                            unsigned SrcReg, int FrameIndex) const;
31
32   void loadRegFromStackSlot(MachineBasicBlock &MBB,
33                             MachineBasicBlock::iterator MI,
34                             unsigned DestReg, int FrameIndex) const;
35
36   void copyRegToReg(MachineBasicBlock &MBB,
37                     MachineBasicBlock::iterator MI,
38                     unsigned DestReg, unsigned SrcReg,
39                     const TargetRegisterClass *RC) const;
40
41   void eliminateCallFramePseudoInstr(MachineFunction &MF,
42                                      MachineBasicBlock &MBB,
43                                      MachineBasicBlock::iterator MI) const;
44
45   void eliminateFrameIndex(MachineBasicBlock::iterator MI) const;
46
47   void emitPrologue(MachineFunction &MF) const;
48   void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
49 };
50
51 } // End llvm namespace
52
53 #endif
54