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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 class InstARM32Dmb final : public InstARM32Pred { | 1353 class InstARM32Dmb final : public InstARM32Pred { |
1354 InstARM32Dmb() = delete; | 1354 InstARM32Dmb() = delete; |
1355 InstARM32Dmb(const InstARM32Dmb &) = delete; | 1355 InstARM32Dmb(const InstARM32Dmb &) = delete; |
1356 InstARM32Dmb &operator=(const InstARM32Dmb &) = delete; | 1356 InstARM32Dmb &operator=(const InstARM32Dmb &) = delete; |
1357 | 1357 |
1358 public: | 1358 public: |
1359 static InstARM32Dmb *create(Cfg *Func) { | 1359 static InstARM32Dmb *create(Cfg *Func) { |
1360 return new (Func->allocate<InstARM32Dmb>()) InstARM32Dmb(Func); | 1360 return new (Func->allocate<InstARM32Dmb>()) InstARM32Dmb(Func); |
1361 } | 1361 } |
1362 void emit(const Cfg *Func) const override; | 1362 void emit(const Cfg *Func) const override; |
| 1363 void emitIAS(const Cfg *Func) const override; |
1363 void dump(const Cfg *Func) const override; | 1364 void dump(const Cfg *Func) const override; |
1364 static bool classof(const Inst *Inst) { return isClassof(Inst, Dmb); } | 1365 static bool classof(const Inst *Inst) { return isClassof(Inst, Dmb); } |
1365 | 1366 |
1366 private: | 1367 private: |
1367 explicit InstARM32Dmb(Cfg *Func); | 1368 explicit InstARM32Dmb(Cfg *Func); |
1368 }; | 1369 }; |
1369 | 1370 |
1370 // Declare partial template specializations of emit() methods that already have | 1371 // Declare partial template specializations of emit() methods that already have |
1371 // default implementations. Without this, there is the possibility of ODR | 1372 // default implementations. Without this, there is the possibility of ODR |
1372 // violations and link errors. | 1373 // violations and link errors. |
1373 | 1374 |
1374 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1375 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
1375 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1376 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
1376 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1377 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
1377 | 1378 |
1378 } // end of namespace Ice | 1379 } // end of namespace Ice |
1379 | 1380 |
1380 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1381 #endif // SUBZERO_SRC_ICEINSTARM32_H |
OLD | NEW |