OLD | NEW |
1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// | 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- 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 TargetLoweringMIPS32 class, which implements the | 11 /// \brief Declares the TargetLoweringMIPS32 class, which implements the |
12 /// TargetLowering interface for the MIPS 32-bit architecture. | 12 /// TargetLowering interface for the MIPS 32-bit architecture. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
17 #define SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 17 #define SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
18 | 18 |
19 #include "IceAssemblerMIPS32.h" | 19 #include "IceAssemblerMIPS32.h" |
20 #include "IceDefs.h" | 20 #include "IceDefs.h" |
21 #include "IceInstMIPS32.h" | 21 #include "IceInstMIPS32.h" |
22 #include "IceRegistersMIPS32.h" | 22 #include "IceRegistersMIPS32.h" |
23 #include "IceTargetLowering.h" | 23 #include "IceTargetLowering.h" |
24 | 24 |
25 namespace Ice { | 25 namespace Ice { |
| 26 namespace MIPS32 { |
26 | 27 |
27 class TargetMIPS32 : public TargetLowering { | 28 class TargetMIPS32 : public TargetLowering { |
28 TargetMIPS32() = delete; | 29 TargetMIPS32() = delete; |
29 TargetMIPS32(const TargetMIPS32 &) = delete; | 30 TargetMIPS32(const TargetMIPS32 &) = delete; |
30 TargetMIPS32 &operator=(const TargetMIPS32 &) = delete; | 31 TargetMIPS32 &operator=(const TargetMIPS32 &) = delete; |
31 | 32 |
32 public: | 33 public: |
33 ~TargetMIPS32() override = default; | 34 ~TargetMIPS32() override = default; |
34 | 35 |
35 static void staticInit(); | 36 static void staticInit(); |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 304 |
304 void lower() override; | 305 void lower() override; |
305 | 306 |
306 protected: | 307 protected: |
307 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 308 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
308 | 309 |
309 private: | 310 private: |
310 ~TargetHeaderMIPS32() = default; | 311 ~TargetHeaderMIPS32() = default; |
311 }; | 312 }; |
312 | 313 |
| 314 } // end of namespace MIPS32 |
313 } // end of namespace Ice | 315 } // end of namespace Ice |
314 | 316 |
315 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 317 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
OLD | NEW |