| 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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 class InstARM32Pop : public InstARM32 { | 941 class InstARM32Pop : public InstARM32 { |
| 942 InstARM32Pop() = delete; | 942 InstARM32Pop() = delete; |
| 943 InstARM32Pop(const InstARM32Pop &) = delete; | 943 InstARM32Pop(const InstARM32Pop &) = delete; |
| 944 InstARM32Pop &operator=(const InstARM32Pop &) = delete; | 944 InstARM32Pop &operator=(const InstARM32Pop &) = delete; |
| 945 | 945 |
| 946 public: | 946 public: |
| 947 static InstARM32Pop *create(Cfg *Func, const VarList &Dests) { | 947 static InstARM32Pop *create(Cfg *Func, const VarList &Dests) { |
| 948 return new (Func->allocate<InstARM32Pop>()) InstARM32Pop(Func, Dests); | 948 return new (Func->allocate<InstARM32Pop>()) InstARM32Pop(Func, Dests); |
| 949 } | 949 } |
| 950 void emit(const Cfg *Func) const override; | 950 void emit(const Cfg *Func) const override; |
| 951 void emitIAS(const Cfg *Func) const override; |
| 951 void dump(const Cfg *Func) const override; | 952 void dump(const Cfg *Func) const override; |
| 952 static bool classof(const Inst *Inst) { return isClassof(Inst, Pop); } | 953 static bool classof(const Inst *Inst) { return isClassof(Inst, Pop); } |
| 953 | 954 |
| 954 private: | 955 private: |
| 955 InstARM32Pop(Cfg *Func, const VarList &Dests); | 956 InstARM32Pop(Cfg *Func, const VarList &Dests); |
| 956 | 957 |
| 957 VarList Dests; | 958 VarList Dests; |
| 958 }; | 959 }; |
| 959 | 960 |
| 960 /// Push a list of GPRs. Technically this can be predicated, but we don't need | 961 /// Push a list of GPRs. Technically this can be predicated, but we don't need |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1244 // default implementations. Without this, there is the possibility of ODR | 1245 // default implementations. Without this, there is the possibility of ODR |
| 1245 // violations and link errors. | 1246 // violations and link errors. |
| 1246 | 1247 |
| 1247 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1248 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
| 1248 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1249 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
| 1249 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1250 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
| 1250 | 1251 |
| 1251 } // end of namespace Ice | 1252 } // end of namespace Ice |
| 1252 | 1253 |
| 1253 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1254 #endif // SUBZERO_SRC_ICEINSTARM32_H |
| OLD | NEW |