| 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 // This file declares the TargetLoweringX86 template class, which | 10 // This file declares the TargetLoweringX86 template class, which |
| 11 // implements the TargetLowering base interface for the x86 | 11 // implements the TargetLowering base interface for the x86 |
| 12 // architecture. | 12 // architecture. |
| 13 // | 13 // |
| 14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 15 | 15 |
| 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| 17 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 17 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| 18 | 18 |
| 19 #include <unordered_map> | |
| 20 | |
| 21 #include "IceDefs.h" | 19 #include "IceDefs.h" |
| 22 #include "IceInst.h" | 20 #include "IceInst.h" |
| 23 #include "IceTargetLowering.h" | 21 #include "IceTargetLowering.h" |
| 22 #include <unordered_map> |
| 24 | 23 |
| 25 namespace Ice { | 24 namespace Ice { |
| 26 namespace X86Internal { | 25 namespace X86Internal { |
| 27 | 26 |
| 28 template <class MachineTraits> class BoolFolding; | 27 template <class MachineTraits> class BoolFolding; |
| 29 | 28 |
| 30 template <class Machine> struct MachineTraits {}; | 29 template <class Machine> struct MachineTraits {}; |
| 31 | 30 |
| 32 template <class Machine> class TargetX86Base : public Machine { | 31 template <class Machine> class TargetX86Base : public Machine { |
| 33 TargetX86Base() = delete; | 32 TargetX86Base() = delete; |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 private: | 600 private: |
| 602 ~TargetX86Base() override {} | 601 ~TargetX86Base() override {} |
| 603 BoolFolding FoldingInfo; | 602 BoolFolding FoldingInfo; |
| 604 }; | 603 }; |
| 605 } // end of namespace X86Internal | 604 } // end of namespace X86Internal |
| 606 } // end of namespace Ice | 605 } // end of namespace Ice |
| 607 | 606 |
| 608 #include "IceTargetLoweringX86BaseImpl.h" | 607 #include "IceTargetLoweringX86BaseImpl.h" |
| 609 | 608 |
| 610 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 609 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| OLD | NEW |