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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 | 1079 |
1080 public: | 1080 public: |
1081 /// Everything must be a register. | 1081 /// Everything must be a register. |
1082 static InstARM32Umull *create(Cfg *Func, Variable *DestLo, Variable *DestHi, | 1082 static InstARM32Umull *create(Cfg *Func, Variable *DestLo, Variable *DestHi, |
1083 Variable *Src0, Variable *Src1, | 1083 Variable *Src0, Variable *Src1, |
1084 CondARM32::Cond Predicate) { | 1084 CondARM32::Cond Predicate) { |
1085 return new (Func->allocate<InstARM32Umull>()) | 1085 return new (Func->allocate<InstARM32Umull>()) |
1086 InstARM32Umull(Func, DestLo, DestHi, Src0, Src1, Predicate); | 1086 InstARM32Umull(Func, DestLo, DestHi, Src0, Src1, Predicate); |
1087 } | 1087 } |
1088 void emit(const Cfg *Func) const override; | 1088 void emit(const Cfg *Func) const override; |
| 1089 void emitIAS(const Cfg *Func) const override; |
1089 void dump(const Cfg *Func) const override; | 1090 void dump(const Cfg *Func) const override; |
1090 static bool classof(const Inst *Inst) { return isClassof(Inst, Umull); } | 1091 static bool classof(const Inst *Inst) { return isClassof(Inst, Umull); } |
1091 | 1092 |
1092 private: | 1093 private: |
1093 InstARM32Umull(Cfg *Func, Variable *DestLo, Variable *DestHi, Variable *Src0, | 1094 InstARM32Umull(Cfg *Func, Variable *DestLo, Variable *DestHi, Variable *Src0, |
1094 Variable *Src1, CondARM32::Cond Predicate); | 1095 Variable *Src1, CondARM32::Cond Predicate); |
1095 | 1096 |
1096 Variable *DestHi; | 1097 Variable *DestHi; |
1097 }; | 1098 }; |
1098 | 1099 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 // default implementations. Without this, there is the possibility of ODR | 1244 // default implementations. Without this, there is the possibility of ODR |
1244 // violations and link errors. | 1245 // violations and link errors. |
1245 | 1246 |
1246 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1247 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
1247 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1248 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
1248 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1249 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
1249 | 1250 |
1250 } // end of namespace Ice | 1251 } // end of namespace Ice |
1251 | 1252 |
1252 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1253 #endif // SUBZERO_SRC_ICEINSTARM32_H |
OLD | NEW |