OLD | NEW |
1 //===- subzero/src/IceTargetLoweringX8664.cpp - x86-64 lowering -----------===// | 1 //===- subzero/src/IceTargetLoweringX8664.cpp - x86-64 lowering -----------===// |
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 ICETYPEX8664_TABLE | 79 ICETYPEX8664_TABLE |
80 #undef X | 80 #undef X |
81 }; | 81 }; |
82 | 82 |
83 const size_t MachineTraits<TargetX8664>::TableTypeX8664AttributesSize = | 83 const size_t MachineTraits<TargetX8664>::TableTypeX8664AttributesSize = |
84 llvm::array_lengthof(TableTypeX8664Attributes); | 84 llvm::array_lengthof(TableTypeX8664Attributes); |
85 | 85 |
86 const uint32_t MachineTraits<TargetX8664>::X86_STACK_ALIGNMENT_BYTES = 16; | 86 const uint32_t MachineTraits<TargetX8664>::X86_STACK_ALIGNMENT_BYTES = 16; |
87 const char *MachineTraits<TargetX8664>::TargetName = "X8664"; | 87 const char *MachineTraits<TargetX8664>::TargetName = "X8664"; |
88 | 88 |
| 89 template <> |
| 90 std::array<llvm::SmallBitVector, IceType_NUM> |
| 91 TargetX86Base<TargetX8664>::TypeToRegisterSet = {}; |
| 92 |
| 93 template <> |
| 94 std::array<llvm::SmallBitVector, |
| 95 TargetX86Base<TargetX8664>::Traits::RegisterSet::Reg_NUM> |
| 96 TargetX86Base<TargetX8664>::RegisterAliases = {}; |
| 97 |
| 98 template <> |
| 99 llvm::SmallBitVector |
| 100 TargetX86Base<TargetX8664>::ScratchRegs = llvm::SmallBitVector(); |
| 101 |
89 } // end of namespace X86Internal | 102 } // end of namespace X86Internal |
90 | 103 |
91 //------------------------------------------------------------------------------ | 104 //------------------------------------------------------------------------------ |
92 // __ ______ __ __ ______ ______ __ __ __ ______ | 105 // __ ______ __ __ ______ ______ __ __ __ ______ |
93 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\ | 106 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\ |
94 // \ \ \___\ \ \/\ \ \ \/ ".\ \ \ __\\ \ __<\ \ \ \ \-. \ \ \__ \ | 107 // \ \ \___\ \ \/\ \ \ \/ ".\ \ \ __\\ \ __<\ \ \ \ \-. \ \ \__ \ |
95 // \ \_____\ \_____\ \__/".~\_\ \_____\ \_\ \_\ \_\ \_\\"\_\ \_____\ | 108 // \ \_____\ \_____\ \__/".~\_\ \_____\ \_\ \_\ \_\ \_\\"\_\ \_____\ |
96 // \/_____/\/_____/\/_/ \/_/\/_____/\/_/ /_/\/_/\/_/ \/_/\/_____/ | 109 // \/_____/\/_____/\/_/ \/_/\/_____/\/_/ /_/\/_/\/_/ \/_/\/_____/ |
97 // | 110 // |
98 //------------------------------------------------------------------------------ | 111 //------------------------------------------------------------------------------ |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 // case the high-level table has extra entries. | 970 // case the high-level table has extra entries. |
958 #define X(tag, sizeLog2, align, elts, elty, str) \ | 971 #define X(tag, sizeLog2, align, elts, elty, str) \ |
959 static_assert(_table1_##tag == _table2_##tag, \ | 972 static_assert(_table1_##tag == _table2_##tag, \ |
960 "Inconsistency between ICETYPEX8664_TABLE and ICETYPE_TABLE"); | 973 "Inconsistency between ICETYPEX8664_TABLE and ICETYPE_TABLE"); |
961 ICETYPE_TABLE | 974 ICETYPE_TABLE |
962 #undef X | 975 #undef X |
963 } // end of namespace dummy3 | 976 } // end of namespace dummy3 |
964 } // end of anonymous namespace | 977 } // end of anonymous namespace |
965 | 978 |
966 } // end of namespace Ice | 979 } // end of namespace Ice |
OLD | NEW |