| OLD | NEW |
| 1 //===- subzero/src/IceTypes.cpp - Primitive type properties ---------------===// | 1 //===- subzero/src/IceTypes.cpp - Primitive type properties ---------------===// |
| 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 defines a few attributes of Subzero primitive types. | 10 // This file defines a few attributes of Subzero primitive types. |
| 11 // | 11 // |
| 12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
| 13 | 13 |
| 14 #include "IceDefs.h" | 14 #include "IceDefs.h" |
| 15 #include "IceTypes.h" | 15 #include "IceTypes.h" |
| 16 | 16 |
| 17 namespace Ice { | 17 namespace Ice { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 const char *TargetArchName[] = { | 21 const char *TargetArchName[] = { |
| 22 #define X(tag, str) str, | 22 #define X(tag, str, is_elf64, e_machine, e_flags) str, |
| 23 TARGETARCH_TABLE | 23 TARGETARCH_TABLE |
| 24 #undef X | 24 #undef X |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 // Show tags match between ICETYPE_TABLE and ICETYPE_PROPS_TABLE. | 27 // Show tags match between ICETYPE_TABLE and ICETYPE_PROPS_TABLE. |
| 28 | 28 |
| 29 // Define a temporary set of enum values based on ICETYPE_TABLE | 29 // Define a temporary set of enum values based on ICETYPE_TABLE |
| 30 enum { | 30 enum { |
| 31 #define X(tag, size, align, elts, elty, str) _table_tag_##tag, | 31 #define X(tag, size, align, elts, elty, str) _table_tag_##tag, |
| 32 ICETYPE_TABLE | 32 ICETYPE_TABLE |
| 33 #undef X | 33 #undef X |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 IsFirst = false; | 269 IsFirst = false; |
| 270 } else { | 270 } else { |
| 271 Stream << ", "; | 271 Stream << ", "; |
| 272 } | 272 } |
| 273 Stream << ArgTy; | 273 Stream << ArgTy; |
| 274 } | 274 } |
| 275 Stream << ")"; | 275 Stream << ")"; |
| 276 } | 276 } |
| 277 | 277 |
| 278 } // end of namespace Ice | 278 } // end of namespace Ice |
| OLD | NEW |