comparison lib/Target/Mips/Mips16InstrInfo.h @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
16 16
17 #include "Mips16RegisterInfo.h" 17 #include "Mips16RegisterInfo.h"
18 #include "MipsInstrInfo.h" 18 #include "MipsInstrInfo.h"
19 19
20 namespace llvm { 20 namespace llvm {
21 21 class MipsSubtarget;
22 class Mips16InstrInfo : public MipsInstrInfo { 22 class Mips16InstrInfo : public MipsInstrInfo {
23 const Mips16RegisterInfo RI; 23 const Mips16RegisterInfo RI;
24 24
25 public: 25 public:
26 explicit Mips16InstrInfo(const MipsSubtarget &STI); 26 explicit Mips16InstrInfo(const MipsSubtarget &STI);
75 MachineBasicBlock::iterator I) const; 75 MachineBasicBlock::iterator I) const;
76 76
77 77
78 /// Adjust SP by Amount bytes. 78 /// Adjust SP by Amount bytes.
79 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 79 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
80 MachineBasicBlock::iterator I) const; 80 MachineBasicBlock::iterator I) const override;
81 81
82 /// Emit a series of instructions to load an immediate. 82 /// Emit a series of instructions to load an immediate.
83 // This is to adjust some FrameReg. We return the new register to be used 83 // This is to adjust some FrameReg. We return the new register to be used
84 // in place of FrameReg and the adjusted immediate field (&NewImm) 84 // in place of FrameReg and the adjusted immediate field (&NewImm)
85 // 85 //