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

Side by Side Diff: src/IceTargetLoweringMIPS32.h

Issue 1176133004: implement the null function for the Mips32 subzero compiler (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixing patch per review comments Created 5 years, 5 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 llvm::report_fatal_error("Not yet implemented"); 69 llvm::report_fatal_error("Not yet implemented");
70 } 70 }
71 void emit(const ConstantFloat *C) const final { 71 void emit(const ConstantFloat *C) const final {
72 (void)C; 72 (void)C;
73 llvm::report_fatal_error("Not yet implemented"); 73 llvm::report_fatal_error("Not yet implemented");
74 } 74 }
75 void emit(const ConstantDouble *C) const final { 75 void emit(const ConstantDouble *C) const final {
76 (void)C; 76 (void)C;
77 llvm::report_fatal_error("Not yet implemented"); 77 llvm::report_fatal_error("Not yet implemented");
78 } 78 }
79 void _ret(Variable *RA, Variable *Src0 = nullptr) {
80 Context.insert(InstMIPS32Ret::create(Func, RA, Src0));
81 }
79 82
80 void lowerArguments() override; 83 void lowerArguments() override;
81 void addProlog(CfgNode *Node) override; 84 void addProlog(CfgNode *Node) override;
82 void addEpilog(CfgNode *Node) override; 85 void addEpilog(CfgNode *Node) override;
83 86
84 protected: 87 protected:
85 explicit TargetMIPS32(Cfg *Func); 88 explicit TargetMIPS32(Cfg *Func);
86 89
87 void postLower() override; 90 void postLower() override;
88 91
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 protected: 166 protected:
164 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 167 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
165 168
166 private: 169 private:
167 ~TargetHeaderMIPS32() = default; 170 ~TargetHeaderMIPS32() = default;
168 }; 171 };
169 172
170 } // end of namespace Ice 173 } // end of namespace Ice
171 174
172 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 175 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698