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 // This file implements the TargetLoweringX8632 class, which | 10 // This file implements the TargetLoweringX8632 class, which |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 { elementty } \ | 69 { elementty } \ |
70 , | 70 , |
71 ICETYPEX8632_TABLE | 71 ICETYPEX8632_TABLE |
72 #undef X | 72 #undef X |
73 }; | 73 }; |
74 | 74 |
75 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize = | 75 const size_t MachineTraits<TargetX8632>::TableTypeX8632AttributesSize = |
76 llvm::array_lengthof(TableTypeX8632Attributes); | 76 llvm::array_lengthof(TableTypeX8632Attributes); |
77 | 77 |
78 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16; | 78 const uint32_t MachineTraits<TargetX8632>::X86_STACK_ALIGNMENT_BYTES = 16; |
| 79 const char *MachineTraits<TargetX8632>::TargetName = "X8632"; |
79 | 80 |
80 } // end of namespace X86Internal | 81 } // end of namespace X86Internal |
81 | 82 |
82 TargetX8632 *TargetX8632::create(Cfg *Func) { | 83 TargetX8632 *TargetX8632::create(Cfg *Func) { |
83 return X86Internal::TargetX86Base<TargetX8632>::create(Func); | 84 return X86Internal::TargetX86Base<TargetX8632>::create(Func); |
84 } | 85 } |
85 | 86 |
86 TargetDataX8632::TargetDataX8632(GlobalContext *Ctx) | 87 TargetDataX8632::TargetDataX8632(GlobalContext *Ctx) |
87 : TargetDataLowering(Ctx) {} | 88 : TargetDataLowering(Ctx) {} |
88 | 89 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 // entries in case the high-level table has extra entries. | 350 // entries in case the high-level table has extra entries. |
350 #define X(tag, size, align, elts, elty, str) \ | 351 #define X(tag, size, align, elts, elty, str) \ |
351 static_assert(_table1_##tag == _table2_##tag, \ | 352 static_assert(_table1_##tag == _table2_##tag, \ |
352 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); | 353 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); |
353 ICETYPE_TABLE | 354 ICETYPE_TABLE |
354 #undef X | 355 #undef X |
355 } // end of namespace dummy3 | 356 } // end of namespace dummy3 |
356 } // end of anonymous namespace | 357 } // end of anonymous namespace |
357 | 358 |
358 } // end of namespace Ice | 359 } // end of namespace Ice |
OLD | NEW |