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 |
11 /// \brief Declares the InstARM32 and OperandARM32 classes and their subclasses. | 11 /// \brief Declares the InstARM32 and OperandARM32 classes and their subclasses. |
12 /// | 12 /// |
13 /// This represents the machine instructions and operands used for ARM32 code | 13 /// This represents the machine instructions and operands used for ARM32 code |
14 /// selection. | 14 /// selection. |
15 /// | 15 /// |
16 //===----------------------------------------------------------------------===// | 16 //===----------------------------------------------------------------------===// |
17 | 17 |
18 #ifndef SUBZERO_SRC_ICEINSTARM32_H | 18 #ifndef SUBZERO_SRC_ICEINSTARM32_H |
19 #define SUBZERO_SRC_ICEINSTARM32_H | 19 #define SUBZERO_SRC_ICEINSTARM32_H |
20 | 20 |
21 #include "IceConditionCodesARM32.h" | 21 #include "IceConditionCodesARM32.h" |
22 #include "IceDefs.h" | 22 #include "IceDefs.h" |
23 #include "IceInst.h" | 23 #include "IceInst.h" |
24 #include "IceInstARM32.def" | 24 #include "IceInstARM32.def" |
25 #include "IceOperand.h" | 25 #include "IceOperand.h" |
26 | 26 |
27 namespace Ice { | 27 namespace Ice { |
| 28 namespace ARM32 { |
28 | 29 |
29 class TargetARM32; | 30 class TargetARM32; |
30 | 31 |
31 /// OperandARM32 extends the Operand hierarchy. Its subclasses are | 32 /// OperandARM32 extends the Operand hierarchy. Its subclasses are |
32 /// OperandARM32Mem and OperandARM32Flex. | 33 /// OperandARM32Mem and OperandARM32Flex. |
33 class OperandARM32 : public Operand { | 34 class OperandARM32 : public Operand { |
34 OperandARM32() = delete; | 35 OperandARM32() = delete; |
35 OperandARM32(const OperandARM32 &) = delete; | 36 OperandARM32(const OperandARM32 &) = delete; |
36 OperandARM32 &operator=(const OperandARM32 &) = delete; | 37 OperandARM32 &operator=(const OperandARM32 &) = delete; |
37 | 38 |
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 }; | 1370 }; |
1370 | 1371 |
1371 // Declare partial template specializations of emit() methods that already have | 1372 // Declare partial template specializations of emit() methods that already have |
1372 // default implementations. Without this, there is the possibility of ODR | 1373 // default implementations. Without this, there is the possibility of ODR |
1373 // violations and link errors. | 1374 // violations and link errors. |
1374 | 1375 |
1375 template <> void InstARM32Ldr::emit(const Cfg *Func) const; | 1376 template <> void InstARM32Ldr::emit(const Cfg *Func) const; |
1376 template <> void InstARM32Movw::emit(const Cfg *Func) const; | 1377 template <> void InstARM32Movw::emit(const Cfg *Func) const; |
1377 template <> void InstARM32Movt::emit(const Cfg *Func) const; | 1378 template <> void InstARM32Movt::emit(const Cfg *Func) const; |
1378 | 1379 |
| 1380 } // end of namespace ARM32 |
1379 } // end of namespace Ice | 1381 } // end of namespace Ice |
1380 | 1382 |
1381 #endif // SUBZERO_SRC_ICEINSTARM32_H | 1383 #endif // SUBZERO_SRC_ICEINSTARM32_H |
OLD | NEW |