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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 622443002: Subzero: Change llvm::OwningPtr to C++11's std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove ErrorOr for now Created 6 years, 2 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/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 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 // This file declares the TargetLoweringX8632 class, which 10 // This file declares the TargetLoweringX8632 class, which
11 // implements the TargetLowering interface for the x86-32 11 // implements the TargetLowering interface for the x86-32
12 // architecture. 12 // architecture.
13 // 13 //
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 15
16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX8632_H 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX8632_H
17 #define SUBZERO_SRC_ICETARGETLOWERINGX8632_H 17 #define SUBZERO_SRC_ICETARGETLOWERINGX8632_H
18 18
19 #include "assembler_ia32.h"
19 #include "IceDefs.h" 20 #include "IceDefs.h"
20 #include "IceTargetLowering.h"
21 #include "assembler_ia32.h"
22 #include "IceInstX8632.h" 21 #include "IceInstX8632.h"
23 #include "IceRegistersX8632.h" 22 #include "IceRegistersX8632.h"
23 #include "IceTargetLowering.h"
24 24
25 namespace Ice { 25 namespace Ice {
26 26
27 class TargetX8632 : public TargetLowering { 27 class TargetX8632 : public TargetLowering {
28 public: 28 public:
29 static TargetX8632 *create(Cfg *Func) { return new TargetX8632(Func); } 29 static TargetX8632 *create(Cfg *Func) { return new TargetX8632(Func); }
30 30
31 void translateOm1() override; 31 void translateOm1() override;
32 void translateO2() override; 32 void translateO2() override;
33 bool doBranchOpt(Inst *I, const CfgNode *NextNode) override; 33 bool doBranchOpt(Inst *I, const CfgNode *NextNode) override;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 }; 501 };
502 502
503 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; 503 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const;
504 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; 504 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const;
505 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; 505 template <> void ConstantFloat::emit(GlobalContext *Ctx) const;
506 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; 506 template <> void ConstantDouble::emit(GlobalContext *Ctx) const;
507 507
508 } // end of namespace Ice 508 } // end of namespace Ice
509 509
510 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 510 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698