blob: 26f3882941302818ee5384f4a5a090c72f789661 [file] [log] [blame]
Rafael Espindolaa17151a2013-10-08 13:08:17 +00001//===-- MipsTargetStreamer.h - Mips Target Streamer ------------*- 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
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000010#ifndef LLVM_LIB_TARGET_MIPS_MIPSTARGETSTREAMER_H
11#define LLVM_LIB_TARGET_MIPS_MIPSTARGETSTREAMER_H
Rafael Espindolaa17151a2013-10-08 13:08:17 +000012
Chandler Carruthd9903882015-01-14 11:23:27 +000013#include "MCTargetDesc/MipsABIFlagsSection.h"
Eric Christophera5762812015-01-26 17:33:46 +000014#include "MCTargetDesc/MipsABIInfo.h"
Simon Atanasyan4d45c762015-09-14 11:18:03 +000015#include "llvm/ADT/Optional.h"
Jack Carter86ac5c12013-11-18 23:55:27 +000016#include "llvm/MC/MCELFStreamer.h"
Daniel Sandersd97a6342014-08-13 10:07:34 +000017#include "llvm/MC/MCRegisterInfo.h"
Rafael Espindolaa17151a2013-10-08 13:08:17 +000018#include "llvm/MC/MCStreamer.h"
19
20namespace llvm {
Vladimir Medicfb8a2a92014-07-08 08:59:22 +000021
Daniel Sanders324ad952014-07-08 13:13:42 +000022struct MipsABIFlagsSection;
Vladimir Medicfb8a2a92014-07-08 08:59:22 +000023
Rafael Espindolaa17151a2013-10-08 13:08:17 +000024class MipsTargetStreamer : public MCTargetStreamer {
Rafael Espindolaa17151a2013-10-08 13:08:17 +000025public:
Rafael Espindola24ea09e2014-01-26 06:06:37 +000026 MipsTargetStreamer(MCStreamer &S);
Daniel Sanders8de3d3c2016-05-06 14:37:24 +000027
28 virtual void setPic(bool Value) {}
29
Rafael Espindola60890b82014-06-23 19:43:40 +000030 virtual void emitDirectiveSetMicroMips();
31 virtual void emitDirectiveSetNoMicroMips();
32 virtual void emitDirectiveSetMips16();
33 virtual void emitDirectiveSetNoMips16();
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +000034
Rafael Espindola60890b82014-06-23 19:43:40 +000035 virtual void emitDirectiveSetReorder();
36 virtual void emitDirectiveSetNoReorder();
37 virtual void emitDirectiveSetMacro();
38 virtual void emitDirectiveSetNoMacro();
Daniel Sanders44934432014-08-07 12:03:36 +000039 virtual void emitDirectiveSetMsa();
40 virtual void emitDirectiveSetNoMsa();
Rafael Espindola60890b82014-06-23 19:43:40 +000041 virtual void emitDirectiveSetAt();
Toma Tabacu16a74492015-02-13 10:30:57 +000042 virtual void emitDirectiveSetAtWithArg(unsigned RegNo);
Rafael Espindola60890b82014-06-23 19:43:40 +000043 virtual void emitDirectiveSetNoAt();
44 virtual void emitDirectiveEnd(StringRef Name);
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +000045
Rafael Espindola60890b82014-06-23 19:43:40 +000046 virtual void emitDirectiveEnt(const MCSymbol &Symbol);
47 virtual void emitDirectiveAbiCalls();
48 virtual void emitDirectiveNaN2008();
49 virtual void emitDirectiveNaNLegacy();
50 virtual void emitDirectiveOptionPic0();
51 virtual void emitDirectiveOptionPic2();
Toma Tabacu9ca50962015-04-16 09:53:47 +000052 virtual void emitDirectiveInsn();
Rafael Espindola054234f2014-01-27 03:53:56 +000053 virtual void emitFrame(unsigned StackReg, unsigned StackSize,
Rafael Espindola60890b82014-06-23 19:43:40 +000054 unsigned ReturnReg);
55 virtual void emitMask(unsigned CPUBitmask, int CPUTopSavedRegOff);
56 virtual void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff);
Vladimir Medic615b26e2014-03-04 09:54:09 +000057
Toma Tabacu85618b32014-08-19 14:22:52 +000058 virtual void emitDirectiveSetArch(StringRef Arch);
Toma Tabacu26647792014-09-09 12:52:14 +000059 virtual void emitDirectiveSetMips0();
Daniel Sandersf0df2212014-08-04 12:20:00 +000060 virtual void emitDirectiveSetMips1();
61 virtual void emitDirectiveSetMips2();
62 virtual void emitDirectiveSetMips3();
63 virtual void emitDirectiveSetMips4();
64 virtual void emitDirectiveSetMips5();
65 virtual void emitDirectiveSetMips32();
Rafael Espindola60890b82014-06-23 19:43:40 +000066 virtual void emitDirectiveSetMips32R2();
Daniel Sanders17793142015-02-18 16:24:50 +000067 virtual void emitDirectiveSetMips32R3();
68 virtual void emitDirectiveSetMips32R5();
Daniel Sandersf0df2212014-08-04 12:20:00 +000069 virtual void emitDirectiveSetMips32R6();
Rafael Espindola60890b82014-06-23 19:43:40 +000070 virtual void emitDirectiveSetMips64();
71 virtual void emitDirectiveSetMips64R2();
Daniel Sanders17793142015-02-18 16:24:50 +000072 virtual void emitDirectiveSetMips64R3();
73 virtual void emitDirectiveSetMips64R5();
Daniel Sandersf0df2212014-08-04 12:20:00 +000074 virtual void emitDirectiveSetMips64R6();
Rafael Espindola60890b82014-06-23 19:43:40 +000075 virtual void emitDirectiveSetDsp();
Toma Tabacu351b2fe2014-09-17 09:01:54 +000076 virtual void emitDirectiveSetNoDsp();
Toma Tabacu9db22db2014-09-09 10:15:38 +000077 virtual void emitDirectiveSetPop();
78 virtual void emitDirectiveSetPush();
Toma Tabacu29696502015-06-02 09:48:04 +000079 virtual void emitDirectiveSetSoftFloat();
80 virtual void emitDirectiveSetHardFloat();
Matheus Almeida525bc4f2014-04-30 11:28:42 +000081
82 // PIC support
Toma Tabacuc4c202a2014-10-01 14:53:19 +000083 virtual void emitDirectiveCpLoad(unsigned RegNo);
Daniel Sandersdf8510d2016-05-11 12:48:19 +000084 virtual bool emitDirectiveCpRestore(int Offset,
85 std::function<unsigned()> GetATReg,
86 SMLoc IDLoc, const MCSubtargetInfo *STI);
Matheus Almeidad92a3fa2014-05-01 10:24:46 +000087 virtual void emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset,
Rafael Espindola60890b82014-06-23 19:43:40 +000088 const MCSymbol &Sym, bool IsReg);
Daniel Sandersf173dda2015-09-22 10:50:09 +000089 virtual void emitDirectiveCpreturn(unsigned SaveLocation,
90 bool SaveLocationIsRegister);
Daniel Sanders7e527422014-07-10 13:38:23 +000091
Toma Tabacua64e5402015-06-25 12:44:38 +000092 // FP abiflags directives
93 virtual void emitDirectiveModuleFP();
Toma Tabacu3c499582015-06-25 10:56:57 +000094 virtual void emitDirectiveModuleOddSPReg();
Toma Tabacu0f093132015-06-30 13:46:03 +000095 virtual void emitDirectiveModuleSoftFloat();
96 virtual void emitDirectiveModuleHardFloat();
Toma Tabacu4e0cf8e2015-03-06 12:15:12 +000097 virtual void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value);
Toma Tabacu32c72aa2015-06-30 09:36:50 +000098 virtual void emitDirectiveSetOddSPReg();
99 virtual void emitDirectiveSetNoOddSPReg();
Toma Tabacua64e5402015-06-25 12:44:38 +0000100
Daniel Sandersa736b372016-04-29 13:33:12 +0000101 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
102 const MCSubtargetInfo *STI);
103 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
104 const MCSubtargetInfo *STI);
105 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
106 const MCSubtargetInfo *STI);
107 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
108 const MCSubtargetInfo *STI);
109 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
110 const MCSubtargetInfo *STI);
111 void emitRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, MCOperand Op2,
112 SMLoc IDLoc, const MCSubtargetInfo *STI);
113 void emitRRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, unsigned Reg2,
114 SMLoc IDLoc, const MCSubtargetInfo *STI);
115 void emitRRI(unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm,
116 SMLoc IDLoc, const MCSubtargetInfo *STI);
117 void emitAddu(unsigned DstReg, unsigned SrcReg, unsigned TrgReg, bool Is64Bit,
118 const MCSubtargetInfo *STI);
119 void emitDSLL(unsigned DstReg, unsigned SrcReg, int16_t ShiftAmount,
120 SMLoc IDLoc, const MCSubtargetInfo *STI);
121 void emitEmptyDelaySlot(bool hasShortDelaySlot, SMLoc IDLoc,
122 const MCSubtargetInfo *STI);
123 void emitNop(SMLoc IDLoc, const MCSubtargetInfo *STI);
Daniel Sandersfba875f2016-04-29 13:43:45 +0000124 void emitStoreWithImmOffset(unsigned Opcode, unsigned SrcReg,
125 unsigned BaseReg, int64_t Offset, unsigned ATReg,
126 SMLoc IDLoc, const MCSubtargetInfo *STI);
127 void emitStoreWithSymOffset(unsigned Opcode, unsigned SrcReg,
128 unsigned BaseReg, MCOperand &HiOperand,
129 MCOperand &LoOperand, unsigned ATReg, SMLoc IDLoc,
130 const MCSubtargetInfo *STI);
131 void emitLoadWithImmOffset(unsigned Opcode, unsigned DstReg, unsigned BaseReg,
132 int64_t Offset, unsigned TmpReg, SMLoc IDLoc,
133 const MCSubtargetInfo *STI);
134 void emitLoadWithSymOffset(unsigned Opcode, unsigned DstReg, unsigned BaseReg,
135 MCOperand &HiOperand, MCOperand &LoOperand,
136 unsigned ATReg, SMLoc IDLoc,
137 const MCSubtargetInfo *STI);
Daniel Sanders7225cd52016-04-29 16:16:49 +0000138 void emitGPRestore(int Offset, SMLoc IDLoc, const MCSubtargetInfo *STI);
Daniel Sandersa736b372016-04-29 13:33:12 +0000139
Daniel Sanderscdb45fa2014-08-14 09:18:14 +0000140 void forbidModuleDirective() { ModuleDirectiveAllowed = false; }
Toma Tabacu4e0cf8e2015-03-06 12:15:12 +0000141 void reallowModuleDirective() { ModuleDirectiveAllowed = true; }
Daniel Sanderscdb45fa2014-08-14 09:18:14 +0000142 bool isModuleDirectiveAllowed() { return ModuleDirectiveAllowed; }
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000143
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000144 // This method enables template classes to set internal abi flags
145 // structure values.
146 template <class PredicateLibrary>
147 void updateABIInfo(const PredicateLibrary &P) {
Simon Atanasyan4d45c762015-09-14 11:18:03 +0000148 ABI = P.getABI();
Daniel Sandersc7dbc632014-07-08 10:11:38 +0000149 ABIFlagsSection.setAllFromPredicates(P);
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000150 }
151
Daniel Sandersc7dbc632014-07-08 10:11:38 +0000152 MipsABIFlagsSection &getABIFlagsSection() { return ABIFlagsSection; }
Eric Christophera5762812015-01-26 17:33:46 +0000153 const MipsABIInfo &getABI() const {
Simon Atanasyan4d45c762015-09-14 11:18:03 +0000154 assert(ABI.hasValue() && "ABI hasn't been set!");
Eric Christophera5762812015-01-26 17:33:46 +0000155 return *ABI;
156 }
Daniel Sandersc7dbc632014-07-08 10:11:38 +0000157
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000158protected:
Simon Atanasyan4d45c762015-09-14 11:18:03 +0000159 llvm::Optional<MipsABIInfo> ABI;
Daniel Sandersc7dbc632014-07-08 10:11:38 +0000160 MipsABIFlagsSection ABIFlagsSection;
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000161
Daniel Sandersd97a6342014-08-13 10:07:34 +0000162 bool GPRInfoSet;
163 unsigned GPRBitMask;
164 int GPROffset;
165
166 bool FPRInfoSet;
167 unsigned FPRBitMask;
168 int FPROffset;
169
170 bool FrameInfoSet;
171 int FrameOffset;
172 unsigned FrameReg;
173 unsigned ReturnReg;
174
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000175private:
Daniel Sanderscdb45fa2014-08-14 09:18:14 +0000176 bool ModuleDirectiveAllowed;
Rafael Espindolaa17151a2013-10-08 13:08:17 +0000177};
Jack Carter86ac5c12013-11-18 23:55:27 +0000178
179// This part is for ascii assembly output
180class MipsTargetAsmStreamer : public MipsTargetStreamer {
Jack Carter6ef6cc52013-11-19 20:53:28 +0000181 formatted_raw_ostream &OS;
182
Jack Carter86ac5c12013-11-18 23:55:27 +0000183public:
Rafael Espindola24ea09e2014-01-26 06:06:37 +0000184 MipsTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS);
Craig Topper56c590a2014-04-29 07:58:02 +0000185 void emitDirectiveSetMicroMips() override;
186 void emitDirectiveSetNoMicroMips() override;
187 void emitDirectiveSetMips16() override;
188 void emitDirectiveSetNoMips16() override;
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +0000189
Craig Topper56c590a2014-04-29 07:58:02 +0000190 void emitDirectiveSetReorder() override;
191 void emitDirectiveSetNoReorder() override;
192 void emitDirectiveSetMacro() override;
193 void emitDirectiveSetNoMacro() override;
Daniel Sanders44934432014-08-07 12:03:36 +0000194 void emitDirectiveSetMsa() override;
195 void emitDirectiveSetNoMsa() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000196 void emitDirectiveSetAt() override;
Toma Tabacu16a74492015-02-13 10:30:57 +0000197 void emitDirectiveSetAtWithArg(unsigned RegNo) override;
Craig Topper56c590a2014-04-29 07:58:02 +0000198 void emitDirectiveSetNoAt() override;
199 void emitDirectiveEnd(StringRef Name) override;
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +0000200
Craig Topper56c590a2014-04-29 07:58:02 +0000201 void emitDirectiveEnt(const MCSymbol &Symbol) override;
202 void emitDirectiveAbiCalls() override;
203 void emitDirectiveNaN2008() override;
204 void emitDirectiveNaNLegacy() override;
205 void emitDirectiveOptionPic0() override;
206 void emitDirectiveOptionPic2() override;
Toma Tabacu9ca50962015-04-16 09:53:47 +0000207 void emitDirectiveInsn() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000208 void emitFrame(unsigned StackReg, unsigned StackSize,
209 unsigned ReturnReg) override;
210 void emitMask(unsigned CPUBitmask, int CPUTopSavedRegOff) override;
211 void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff) override;
Vladimir Medic615b26e2014-03-04 09:54:09 +0000212
Toma Tabacu85618b32014-08-19 14:22:52 +0000213 void emitDirectiveSetArch(StringRef Arch) override;
Toma Tabacu26647792014-09-09 12:52:14 +0000214 void emitDirectiveSetMips0() override;
Daniel Sandersf0df2212014-08-04 12:20:00 +0000215 void emitDirectiveSetMips1() override;
216 void emitDirectiveSetMips2() override;
217 void emitDirectiveSetMips3() override;
218 void emitDirectiveSetMips4() override;
219 void emitDirectiveSetMips5() override;
220 void emitDirectiveSetMips32() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000221 void emitDirectiveSetMips32R2() override;
Daniel Sanders17793142015-02-18 16:24:50 +0000222 void emitDirectiveSetMips32R3() override;
223 void emitDirectiveSetMips32R5() override;
Daniel Sandersf0df2212014-08-04 12:20:00 +0000224 void emitDirectiveSetMips32R6() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000225 void emitDirectiveSetMips64() override;
226 void emitDirectiveSetMips64R2() override;
Daniel Sanders17793142015-02-18 16:24:50 +0000227 void emitDirectiveSetMips64R3() override;
228 void emitDirectiveSetMips64R5() override;
Daniel Sandersf0df2212014-08-04 12:20:00 +0000229 void emitDirectiveSetMips64R6() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000230 void emitDirectiveSetDsp() override;
Toma Tabacu351b2fe2014-09-17 09:01:54 +0000231 void emitDirectiveSetNoDsp() override;
Toma Tabacu9db22db2014-09-09 10:15:38 +0000232 void emitDirectiveSetPop() override;
233 void emitDirectiveSetPush() override;
Toma Tabacu29696502015-06-02 09:48:04 +0000234 void emitDirectiveSetSoftFloat() override;
235 void emitDirectiveSetHardFloat() override;
Matheus Almeida525bc4f2014-04-30 11:28:42 +0000236
237 // PIC support
Toma Tabacuc4c202a2014-10-01 14:53:19 +0000238 void emitDirectiveCpLoad(unsigned RegNo) override;
Daniel Sandersdf8510d2016-05-11 12:48:19 +0000239 bool emitDirectiveCpRestore(int Offset, std::function<unsigned()> GetATReg,
240 SMLoc IDLoc, const MCSubtargetInfo *STI) override;
Matheus Almeidad92a3fa2014-05-01 10:24:46 +0000241 void emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset,
242 const MCSymbol &Sym, bool IsReg) override;
Daniel Sandersf173dda2015-09-22 10:50:09 +0000243 void emitDirectiveCpreturn(unsigned SaveLocation,
244 bool SaveLocationIsRegister) override;
Vladimir Medicfb8a2a92014-07-08 08:59:22 +0000245
Toma Tabacua64e5402015-06-25 12:44:38 +0000246 // FP abiflags directives
247 void emitDirectiveModuleFP() override;
Toma Tabacu3c499582015-06-25 10:56:57 +0000248 void emitDirectiveModuleOddSPReg() override;
Toma Tabacu0f093132015-06-30 13:46:03 +0000249 void emitDirectiveModuleSoftFloat() override;
250 void emitDirectiveModuleHardFloat() override;
Daniel Sanders7e527422014-07-10 13:38:23 +0000251 void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value) override;
Toma Tabacu32c72aa2015-06-30 09:36:50 +0000252 void emitDirectiveSetOddSPReg() override;
253 void emitDirectiveSetNoOddSPReg() override;
Jack Carter86ac5c12013-11-18 23:55:27 +0000254};
255
256// This part is for ELF object output
257class MipsTargetELFStreamer : public MipsTargetStreamer {
Rafael Espindola6d5f7ce2014-01-14 04:25:13 +0000258 bool MicroMipsEnabled;
Rafael Espindola972e71a2014-01-31 23:10:26 +0000259 const MCSubtargetInfo &STI;
Matheus Almeidaf79b2812014-03-26 13:40:29 +0000260 bool Pic;
Jack Carter39536722014-01-22 23:08:42 +0000261
Jack Carter86ac5c12013-11-18 23:55:27 +0000262public:
Rafael Espindola6d5f7ce2014-01-14 04:25:13 +0000263 bool isMicroMipsEnabled() const { return MicroMipsEnabled; }
Jack Carter86ac5c12013-11-18 23:55:27 +0000264 MCELFStreamer &getStreamer();
Rafael Espindolacb1953f2014-01-26 06:57:13 +0000265 MipsTargetELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI);
Rafael Espindola6d5f7ce2014-01-14 04:25:13 +0000266
Daniel Sanders8de3d3c2016-05-06 14:37:24 +0000267 void setPic(bool Value) override { Pic = Value; }
268
Craig Topper56c590a2014-04-29 07:58:02 +0000269 void emitLabel(MCSymbol *Symbol) override;
270 void emitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
Craig Topper73156022014-03-02 09:09:27 +0000271 void finish() override;
Rafael Espindola6d5f7ce2014-01-14 04:25:13 +0000272
Craig Topper56c590a2014-04-29 07:58:02 +0000273 void emitDirectiveSetMicroMips() override;
274 void emitDirectiveSetNoMicroMips() override;
275 void emitDirectiveSetMips16() override;
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +0000276
Craig Topper56c590a2014-04-29 07:58:02 +0000277 void emitDirectiveSetNoReorder() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000278 void emitDirectiveEnd(StringRef Name) override;
Rafael Espindolaeb0a8af2014-01-26 05:06:48 +0000279
Craig Topper56c590a2014-04-29 07:58:02 +0000280 void emitDirectiveEnt(const MCSymbol &Symbol) override;
281 void emitDirectiveAbiCalls() override;
282 void emitDirectiveNaN2008() override;
283 void emitDirectiveNaNLegacy() override;
284 void emitDirectiveOptionPic0() override;
285 void emitDirectiveOptionPic2() override;
Toma Tabacu9ca50962015-04-16 09:53:47 +0000286 void emitDirectiveInsn() override;
Craig Topper56c590a2014-04-29 07:58:02 +0000287 void emitFrame(unsigned StackReg, unsigned StackSize,
288 unsigned ReturnReg) override;
289 void emitMask(unsigned CPUBitmask, int CPUTopSavedRegOff) override;
290 void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff) override;
Vladimir Medic615b26e2014-03-04 09:54:09 +0000291
Matheus Almeida525bc4f2014-04-30 11:28:42 +0000292 // PIC support
Toma Tabacuc4c202a2014-10-01 14:53:19 +0000293 void emitDirectiveCpLoad(unsigned RegNo) override;
Daniel Sandersdf8510d2016-05-11 12:48:19 +0000294 bool emitDirectiveCpRestore(int Offset, std::function<unsigned()> GetATReg,
295 SMLoc IDLoc, const MCSubtargetInfo *STI) override;
Matheus Almeidad92a3fa2014-05-01 10:24:46 +0000296 void emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset,
297 const MCSymbol &Sym, bool IsReg) override;
Daniel Sandersf173dda2015-09-22 10:50:09 +0000298 void emitDirectiveCpreturn(unsigned SaveLocation,
299 bool SaveLocationIsRegister) override;
Matheus Almeida525bc4f2014-04-30 11:28:42 +0000300
Toma Tabacue95a4912015-03-13 11:40:01 +0000301 void emitMipsAbiFlags();
Jack Carter86ac5c12013-11-18 23:55:27 +0000302};
Alexander Kornienkof00654e2015-06-23 09:49:53 +0000303}
Rafael Espindolaa17151a2013-10-08 13:08:17 +0000304#endif