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