Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: src/IceTargetLoweringMIPS32.h

Issue 1571433004: Implements include/exclude register lists for translation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698