| 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 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 namespace MIPS32 { | 26 namespace MIPS32 { |
| 27 | 27 |
| 28 class TargetMIPS32 : public TargetLowering { | 28 class TargetMIPS32 : public TargetLowering { |
| 29 TargetMIPS32() = delete; | 29 TargetMIPS32() = delete; |
| 30 TargetMIPS32(const TargetMIPS32 &) = delete; | 30 TargetMIPS32(const TargetMIPS32 &) = delete; |
| 31 TargetMIPS32 &operator=(const TargetMIPS32 &) = delete; | 31 TargetMIPS32 &operator=(const TargetMIPS32 &) = delete; |
| 32 | 32 |
| 33 public: | 33 public: |
| 34 ~TargetMIPS32() override = default; | 34 ~TargetMIPS32() override = default; |
| 35 | 35 |
| 36 static void staticInit(const ClFlags &Flags); | 36 static void staticInit(GlobalContext *Ctx); |
| 37 static std::unique_ptr<::Ice::TargetLowering> create(Cfg *Func) { | 37 static std::unique_ptr<::Ice::TargetLowering> create(Cfg *Func) { |
| 38 return makeUnique<TargetMIPS32>(Func); | 38 return makeUnique<TargetMIPS32>(Func); |
| 39 } | 39 } |
| 40 | 40 |
| 41 std::unique_ptr<::Ice::Assembler> createAssembler() const override { | 41 std::unique_ptr<::Ice::Assembler> createAssembler() const override { |
| 42 return makeUnique<MIPS32::AssemblerMIPS32>(); | 42 return makeUnique<MIPS32::AssemblerMIPS32>(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void translateOm1() override; | 45 void translateOm1() override; |
| 46 void translateO2() override; | 46 void translateO2() override; |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 311 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
| 312 | 312 |
| 313 private: | 313 private: |
| 314 ~TargetHeaderMIPS32() = default; | 314 ~TargetHeaderMIPS32() = default; |
| 315 }; | 315 }; |
| 316 | 316 |
| 317 } // end of namespace MIPS32 | 317 } // end of namespace MIPS32 |
| 318 } // end of namespace Ice | 318 } // end of namespace Ice |
| 319 | 319 |
| 320 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 320 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
| OLD | NEW |