| 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 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 InstARM32Call(const InstARM32Call &) = delete; | 985 InstARM32Call(const InstARM32Call &) = delete; |
| 986 InstARM32Call &operator=(const InstARM32Call &) = delete; | 986 InstARM32Call &operator=(const InstARM32Call &) = delete; |
| 987 | 987 |
| 988 public: | 988 public: |
| 989 static InstARM32Call *create(Cfg *Func, Variable *Dest, Operand *CallTarget) { | 989 static InstARM32Call *create(Cfg *Func, Variable *Dest, Operand *CallTarget) { |
| 990 return new (Func->allocate<InstARM32Call>()) | 990 return new (Func->allocate<InstARM32Call>()) |
| 991 InstARM32Call(Func, Dest, CallTarget); | 991 InstARM32Call(Func, Dest, CallTarget); |
| 992 } | 992 } |
| 993 Operand *getCallTarget() const { return getSrc(0); } | 993 Operand *getCallTarget() const { return getSrc(0); } |
| 994 void emit(const Cfg *Func) const override; | 994 void emit(const Cfg *Func) const override; |
| 995 void emitIAS(const Cfg *Func) const override; |
| 995 void dump(const Cfg *Func) const override; | 996 void dump(const Cfg *Func) const override; |
| 996 static bool classof(const Inst *Inst) { return isClassof(Inst, Call); } | 997 static bool classof(const Inst *Inst) { return isClassof(Inst, Call); } |
| 997 | 998 |
| 998 private: | 999 private: |
| 999 InstARM32Call(Cfg *Func, Variable *Dest, Operand *CallTarget); | 1000 InstARM32Call(Cfg *Func, Variable *Dest, Operand *CallTarget); |
| 1000 }; | 1001 }; |
| 1001 | 1002 |
| 1002 /// Pop into a list of GPRs. Technically this can be predicated, but we don't | 1003 /// Pop into a list of GPRs. Technically this can be predicated, but we don't |
| 1003 /// need that functionality. | 1004 /// need that functionality. |
| 1004 class InstARM32Pop : public InstARM32 { | 1005 class InstARM32Pop : public InstARM32 { |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 // default implementations. Without this, there is the possibility of ODR | 1316 // default implementations. Without this, there is the possibility of ODR |
| 1316 // violations and link errors. | 1317 // violations and link errors. |
| 1317 | 1318 |
| 1318 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1319 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1319 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1320 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1320 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1321 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1321 | 1322 |
| 1322 } // end of namespace Ice | 1323 } // end of namespace Ice |
| 1323 | 1324 |
| 1324 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1325 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |