| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===// | 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 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 ICETYPEX8632_TABLE | 79 ICETYPEX8632_TABLE |
| 80 #undef X | 80 #undef X |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize = | 83 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize = |
| 84 llvm::array_lengthof(TableTypeX8632Attributes); | 84 llvm::array_lengthof(TableTypeX8632Attributes); |
| 85 | 85 |
| 86 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16; | 86 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16; |
| 87 const char *MachineTraits<TargetX8632>::TargetName = "X8632"; | 87 const char *MachineTraits<TargetX8632>::TargetName = "X8632"; |
| 88 | 88 |
| 89 template <> |
| 90 std::array<llvm::SmallBitVector, IceType_NUM> |
| 91 TargetX86Base<TargetX8632>::TypeToRegisterSet = {}; |
| 92 |
| 93 template <> |
| 94 std::array<llvm::SmallBitVector, |
| 95 TargetX86Base<TargetX8632>::Traits::RegisterSet::Reg_NUM> |
| 96 TargetX86Base<TargetX8632>::RegisterAliases = {}; |
| 97 |
| 98 template <> |
| 99 llvm::SmallBitVector |
| 100 TargetX86Base<TargetX8632>::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 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 // case the high-level table has extra entries. | 972 // case the high-level table has extra entries. |
| 960 #define X(tag, sizeLog2, align, elts, elty, str) \ | 973 #define X(tag, sizeLog2, align, elts, elty, str) \ |
| 961 static_assert(_table1_##tag == _table2_##tag, \ | 974 static_assert(_table1_##tag == _table2_##tag, \ |
| 962 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); | 975 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); |
| 963 ICETYPE_TABLE | 976 ICETYPE_TABLE |
| 964 #undef X | 977 #undef X |
| 965 } // end of namespace dummy3 | 978 } // end of namespace dummy3 |
| 966 } // end of anonymous namespace | 979 } // end of anonymous namespace |
| 967 | 980 |
| 968 } // end of namespace Ice | 981 } // end of namespace Ice |
| OLD | NEW |