OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |