OLD | NEW |
1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// | 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 } | 198 } |
199 | 199 |
200 void _abs_d(Variable *Dest, Variable *Src) { | 200 void _abs_d(Variable *Dest, Variable *Src) { |
201 Context.insert<InstMIPS32Abs_d>(Dest, Src); | 201 Context.insert<InstMIPS32Abs_d>(Dest, Src); |
202 } | 202 } |
203 | 203 |
204 void _abs_s(Variable *Dest, Variable *Src) { | 204 void _abs_s(Variable *Dest, Variable *Src) { |
205 Context.insert<InstMIPS32Abs_s>(Dest, Src); | 205 Context.insert<InstMIPS32Abs_s>(Dest, Src); |
206 } | 206 } |
207 | 207 |
| 208 void _addi(Variable *Dest, Variable *Src, uint32_t Imm) { |
| 209 Context.insert<InstMIPS32Addi>(Dest, Src, Imm); |
| 210 } |
| 211 |
208 void _add_d(Variable *Dest, Variable *Src0, Variable *Src1) { | 212 void _add_d(Variable *Dest, Variable *Src0, Variable *Src1) { |
209 Context.insert<InstMIPS32Add_d>(Dest, Src0, Src1); | 213 Context.insert<InstMIPS32Add_d>(Dest, Src0, Src1); |
210 } | 214 } |
211 | 215 |
212 void _add_s(Variable *Dest, Variable *Src0, Variable *Src1) { | 216 void _add_s(Variable *Dest, Variable *Src0, Variable *Src1) { |
213 Context.insert<InstMIPS32Add_s>(Dest, Src0, Src1); | 217 Context.insert<InstMIPS32Add_s>(Dest, Src0, Src1); |
214 } | 218 } |
215 | 219 |
216 void _addiu(Variable *Dest, Variable *Src, uint32_t Imm) { | 220 void _addiu(Variable *Dest, Variable *Src, uint32_t Imm) { |
217 Context.insert<InstMIPS32Addiu>(Dest, Src, Imm); | 221 Context.insert<InstMIPS32Addiu>(Dest, Src, Imm); |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 886 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
883 | 887 |
884 private: | 888 private: |
885 ~TargetHeaderMIPS32() = default; | 889 ~TargetHeaderMIPS32() = default; |
886 }; | 890 }; |
887 | 891 |
888 } // end of namespace MIPS32 | 892 } // end of namespace MIPS32 |
889 } // end of namespace Ice | 893 } // end of namespace Ice |
890 | 894 |
891 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 895 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
OLD | NEW |