OLD | NEW |
(Empty) | |
| 1 //===- subzero/src/IceTypes.def - X-macros for ICE types --------*- C++ -*-===// |
| 2 // |
| 3 // The Subzero Code Generator |
| 4 // |
| 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. |
| 7 // |
| 8 //===----------------------------------------------------------------------===// |
| 9 // |
| 10 // This file defines properties of ICE primitive types in the form of |
| 11 // x-macros. |
| 12 // |
| 13 //===----------------------------------------------------------------------===// |
| 14 |
| 15 #ifndef SUBZERO_SRC_ICETYPES_DEF |
| 16 #define SUBZERO_SRC_ICETYPES_DEF |
| 17 |
| 18 #define ICETYPE_TABLE \ |
| 19 /* enum value, size in bytes, printable string */ \ |
| 20 X(IceType_void, 0, "void") \ |
| 21 X(IceType_i1, 1, "i1") \ |
| 22 X(IceType_i8, 1, "i8") \ |
| 23 X(IceType_i16, 2, "i16") \ |
| 24 X(IceType_i32, 4, "i32") \ |
| 25 X(IceType_i64, 8, "i64") \ |
| 26 X(IceType_f32, 4, "float") \ |
| 27 X(IceType_f64, 8, "double") |
| 28 //#define X(tag, size, str) |
| 29 |
| 30 #endif // SUBZERO_SRC_ICETYPES_DEF |
OLD | NEW |