| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// | 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- 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 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 InstARM32Vcvt &operator=(const InstARM32Vcvt &) = delete; | 1226 InstARM32Vcvt &operator=(const InstARM32Vcvt &) = delete; |
| 1227 | 1227 |
| 1228 public: | 1228 public: |
| 1229 enum VcvtVariant { S2si, S2ui, Si2s, Ui2s, D2si, D2ui, Si2d, Ui2d, S2d, D2s }; | 1229 enum VcvtVariant { S2si, S2ui, Si2s, Ui2s, D2si, D2ui, Si2d, Ui2d, S2d, D2s }; |
| 1230 static InstARM32Vcvt *create(Cfg *Func, Variable *Dest, Variable *Src, | 1230 static InstARM32Vcvt *create(Cfg *Func, Variable *Dest, Variable *Src, |
| 1231 VcvtVariant Variant, CondARM32::Cond Predicate) { | 1231 VcvtVariant Variant, CondARM32::Cond Predicate) { |
| 1232 return new (Func->allocate<InstARM32Vcvt>()) | 1232 return new (Func->allocate<InstARM32Vcvt>()) |
| 1233 InstARM32Vcvt(Func, Dest, Src, Variant, Predicate); | 1233 InstARM32Vcvt(Func, Dest, Src, Variant, Predicate); |
| 1234 } | 1234 } |
| 1235 void emit(const Cfg *Func) const override; | 1235 void emit(const Cfg *Func) const override; |
| 1236 void emitIAS(const Cfg *Func) const override; |
| 1236 void dump(const Cfg *Func) const override; | 1237 void dump(const Cfg *Func) const override; |
| 1237 static bool classof(const Inst *Inst) { return isClassof(Inst, Vcvt); } | 1238 static bool classof(const Inst *Inst) { return isClassof(Inst, Vcvt); } |
| 1238 | 1239 |
| 1239 private: | 1240 private: |
| 1240 InstARM32Vcvt(Cfg *Func, Variable *Dest, Variable *Src, VcvtVariant Variant, | 1241 InstARM32Vcvt(Cfg *Func, Variable *Dest, Variable *Src, VcvtVariant Variant, |
| 1241 CondARM32::Cond Predicate); | 1242 CondARM32::Cond Predicate); |
| 1242 | 1243 |
| 1243 const VcvtVariant Variant; | 1244 const VcvtVariant Variant; |
| 1244 }; | 1245 }; |
| 1245 | 1246 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1375 // violations and link errors. | 1376 // violations and link errors. |
| 1376 | 1377 |
| 1377 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1378 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1378 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1379 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1379 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1380 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1380 | 1381 |
| 1381 } // end of namespace ARM32 | 1382 } // end of namespace ARM32 |
| 1382 } // end of namespace Ice | 1383 } // end of namespace Ice |
| 1383 | 1384 |
| 1384 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1385 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |