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 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 Variable *getDestHi() const { return DestHi; } | 1168 Variable *getDestHi() const { return DestHi; } |
1169 | 1169 |
1170 private: | 1170 private: |
1171 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src, | 1171 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src, |
1172 CondARM32::Cond Predicate); | 1172 CondARM32::Cond Predicate); |
1173 | 1173 |
1174 void emitMultiDestSingleSource(const Cfg *Func) const; | 1174 void emitMultiDestSingleSource(const Cfg *Func) const; |
1175 void emitSingleDestMultiSource(const Cfg *Func) const; | 1175 void emitSingleDestMultiSource(const Cfg *Func) const; |
1176 void emitSingleDestSingleSource(const Cfg *Func) const; | 1176 void emitSingleDestSingleSource(const Cfg *Func) const; |
1177 | 1177 |
| 1178 void emitIASSingleDestSingleSource(const Cfg *Func) const; |
| 1179 |
1178 Variable *DestHi = nullptr; | 1180 Variable *DestHi = nullptr; |
1179 }; | 1181 }; |
1180 | 1182 |
1181 class InstARM32Vcmp final : public InstARM32Pred { | 1183 class InstARM32Vcmp final : public InstARM32Pred { |
1182 InstARM32Vcmp() = delete; | 1184 InstARM32Vcmp() = delete; |
1183 InstARM32Vcmp(const InstARM32Vcmp &) = delete; | 1185 InstARM32Vcmp(const InstARM32Vcmp &) = delete; |
1184 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete; | 1186 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete; |
1185 | 1187 |
1186 public: | 1188 public: |
1187 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0, Variable *Src1, | 1189 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0, Variable *Src1, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 // default implementations. Without this, there is the possibility of ODR | 1263 // default implementations. Without this, there is the possibility of ODR |
1262 // violations and link errors. | 1264 // violations and link errors. |
1263 | 1265 |
1264 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1266 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
1265 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1267 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
1266 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1268 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
1267 | 1269 |
1268 } // end of namespace Ice | 1270 } // end of namespace Ice |
1269 | 1271 |
1270 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1272 #endif // SUBZERO_SRC_ICEINSTARM32_H |
OLD | NEW |