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

Side by Side Diff: src/IceTargetLoweringX86Base.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
OLDNEW
1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 using X86OperandMem = typename Traits::X86OperandMem; 71 using X86OperandMem = typename Traits::X86OperandMem;
72 using SegmentRegisters = typename Traits::X86OperandMem::SegmentRegisters; 72 using SegmentRegisters = typename Traits::X86OperandMem::SegmentRegisters;
73 using SpillVariable = typename Traits::SpillVariable; 73 using SpillVariable = typename Traits::SpillVariable;
74 74
75 using InstX86Br = typename Traits::Insts::Br; 75 using InstX86Br = typename Traits::Insts::Br;
76 using InstX86FakeRMW = typename Traits::Insts::FakeRMW; 76 using InstX86FakeRMW = typename Traits::Insts::FakeRMW;
77 using InstX86Label = typename Traits::Insts::Label; 77 using InstX86Label = typename Traits::Insts::Label;
78 78
79 ~TargetX86Base() override = default; 79 ~TargetX86Base() override = default;
80 80
81 static void staticInit(const ClFlags &Flags); 81 static void staticInit(GlobalContext *Ctx);
82 static TargetX86Base *create(Cfg *Func) { return new TargetX86Base(Func); } 82 static TargetX86Base *create(Cfg *Func) { return new TargetX86Base(Func); }
83 83
84 static FixupKind getPcRelFixup() { return PcRelFixup; } 84 static FixupKind getPcRelFixup() { return PcRelFixup; }
85 static FixupKind getAbsFixup() { return AbsFixup; } 85 static FixupKind getAbsFixup() { return AbsFixup; }
86 86
87 void translateOm1() override; 87 void translateOm1() override;
88 void translateO2() override; 88 void translateO2() override;
89 void doLoadOpt(); 89 void doLoadOpt();
90 bool doBranchOpt(Inst *I, const CfgNode *NextNode) override; 90 bool doBranchOpt(Inst *I, const CfgNode *NextNode) override;
91 91
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 839
840 static FixupKind PcRelFixup; 840 static FixupKind PcRelFixup;
841 static FixupKind AbsFixup; 841 static FixupKind AbsFixup;
842 }; 842 };
843 } // end of namespace X86NAMESPACE 843 } // end of namespace X86NAMESPACE
844 } // end of namespace Ice 844 } // end of namespace Ice
845 845
846 #include "IceTargetLoweringX86BaseImpl.h" 846 #include "IceTargetLoweringX86BaseImpl.h"
847 847
848 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 848 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698