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