| 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 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1327 bool isMultiSource() const { | 1327 bool isMultiSource() const { |
| 1328 assert(getSrcSize() == 1 || getSrcSize() == 2); | 1328 assert(getSrcSize() == 1 || getSrcSize() == 2); |
| 1329 return getSrcSize() == 2; | 1329 return getSrcSize() == 2; |
| 1330 } | 1330 } |
| 1331 | 1331 |
| 1332 Variable *getDestHi() const { return DestHi; } | 1332 Variable *getDestHi() const { return DestHi; } |
| 1333 | 1333 |
| 1334 private: | 1334 private: |
| 1335 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src, | 1335 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src, |
| 1336 CondARM32::Cond Predicate); | 1336 CondARM32::Cond Predicate); |
| 1337 | 1337 void emitUsingForm(const Cfg *Func, const EmitForm Form) const; |
| 1338 void emitMultiDestSingleSource(const Cfg *Func) const; | 1338 void emitMultiDestSingleSource(const Cfg *Func, const EmitForm Form) const; |
| 1339 void emitSingleDestMultiSource(const Cfg *Func) const; | 1339 void emitSingleDestMultiSource(const Cfg *Func, const EmitForm Form) const; |
| 1340 void emitSingleDestSingleSource(const Cfg *Func) const; | 1340 void emitSingleDestSingleSource(const Cfg *Func, const EmitForm Form) const; |
| 1341 | |
| 1342 void emitIASSingleDestSingleSource(const Cfg *Func) const; | |
| 1343 | 1341 |
| 1344 Variable *DestHi = nullptr; | 1342 Variable *DestHi = nullptr; |
| 1345 }; | 1343 }; |
| 1346 | 1344 |
| 1347 class InstARM32Vcmp final : public InstARM32Pred { | 1345 class InstARM32Vcmp final : public InstARM32Pred { |
| 1348 InstARM32Vcmp() = delete; | 1346 InstARM32Vcmp() = delete; |
| 1349 InstARM32Vcmp(const InstARM32Vcmp &) = delete; | 1347 InstARM32Vcmp(const InstARM32Vcmp &) = delete; |
| 1350 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete; | 1348 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete; |
| 1351 | 1349 |
| 1352 public: | 1350 public: |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 // violations and link errors. | 1430 // violations and link errors. |
| 1433 | 1431 |
| 1434 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1432 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1435 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1433 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1436 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1434 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1437 | 1435 |
| 1438 } // end of namespace ARM32 | 1436 } // end of namespace ARM32 |
| 1439 } // end of namespace Ice | 1437 } // end of namespace Ice |
| 1440 | 1438 |
| 1441 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1439 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |