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

Side by Side Diff: src/IceTargetLoweringX8632Traits.h

Issue 1217443024: Changes the TargetX8632 to inherit from TargetX86Base<TargetX8632>. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: git pull 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
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTargetLoweringX86Base.h » ('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/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=// 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- 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 19 matching lines...) Expand all
30 class TargetX8632; 30 class TargetX8632;
31 31
32 namespace X8632 { 32 namespace X8632 {
33 class AssemblerX8632; 33 class AssemblerX8632;
34 } // end of namespace X8632 34 } // end of namespace X8632
35 35
36 namespace X86Internal { 36 namespace X86Internal {
37 37
38 template <class Machine> struct Insts; 38 template <class Machine> struct Insts;
39 template <class Machine> struct MachineTraits; 39 template <class Machine> struct MachineTraits;
40 template <class Machine> class TargetX86Base;
40 41
41 template <> struct MachineTraits<TargetX8632> { 42 template <> struct MachineTraits<TargetX8632> {
42 //---------------------------------------------------------------------------- 43 //----------------------------------------------------------------------------
43 // ______ ______ __ __ 44 // ______ ______ __ __
44 // /\ __ \/\ ___\/\ "-./ \ 45 // /\ __ \/\ ___\/\ "-./ \
45 // \ \ __ \ \___ \ \ \-./\ \ 46 // \ \ __ \ \___ \ \ \-./\ \
46 // \ \_\ \_\/\_____\ \_\ \ \_\ 47 // \ \_\ \_\/\_____\ \_\ \ \_\
47 // \/_/\/_/\/_____/\/_/ \/_/ 48 // \/_/\/_/\/_____/\/_/ \/_/
48 // 49 //
49 //---------------------------------------------------------------------------- 50 //----------------------------------------------------------------------------
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 //---------------------------------------------------------------------------- 512 //----------------------------------------------------------------------------
512 // __ __ __ ______ ______ 513 // __ __ __ ______ ______
513 // /\ \/\ "-.\ \/\ ___\/\__ _\ 514 // /\ \/\ "-.\ \/\ ___\/\__ _\
514 // \ \ \ \ \-. \ \___ \/_/\ \/ 515 // \ \ \ \ \-. \ \___ \/_/\ \/
515 // \ \_\ \_\\"\_\/\_____\ \ \_\ 516 // \ \_\ \_\\"\_\/\_____\ \ \_\
516 // \/_/\/_/ \/_/\/_____/ \/_/ 517 // \/_/\/_/ \/_/\/_____/ \/_/
517 // 518 //
518 //---------------------------------------------------------------------------- 519 //----------------------------------------------------------------------------
519 using Insts = ::Ice::X86Internal::Insts<TargetX8632>; 520 using Insts = ::Ice::X86Internal::Insts<TargetX8632>;
520 521
521 using TargetLowering = TargetX8632; 522 using TargetLowering = ::Ice::X86Internal::TargetX86Base<TargetX8632>;
522 using Assembler = X8632::AssemblerX8632; 523 using Assembler = X8632::AssemblerX8632;
523 524
524 /// X86Operand extends the Operand hierarchy. Its subclasses are 525 /// X86Operand extends the Operand hierarchy. Its subclasses are
525 /// X86OperandMem and VariableSplit. 526 /// X86OperandMem and VariableSplit.
526 class X86Operand : public ::Ice::Operand { 527 class X86Operand : public ::Ice::Operand {
527 X86Operand() = delete; 528 X86Operand() = delete;
528 X86Operand(const X86Operand &) = delete; 529 X86Operand(const X86Operand &) = delete;
529 X86Operand &operator=(const X86Operand &) = delete; 530 X86Operand &operator=(const X86Operand &) = delete;
530 531
531 public: 532 public:
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 696
696 } // end of namespace X86Internal 697 } // end of namespace X86Internal
697 698
698 namespace X8632 { 699 namespace X8632 {
699 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; 700 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>;
700 } // end of namespace X8632 701 } // end of namespace X8632
701 702
702 } // end of namespace Ice 703 } // end of namespace Ice
703 704
704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H 705 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTargetLoweringX86Base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698