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 /// \file | 10 /// \file |
11 /// \brief Defines a few attributes of Subzero primitive types. | 11 /// \brief Defines a few attributes of Subzero primitive types. |
12 /// | 12 /// |
13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
14 | 14 |
15 #include "IceTypes.h" | 15 #include "IceTypes.h" |
16 | 16 |
17 #include "IceDefs.h" | 17 #include "IceDefs.h" |
18 | 18 |
| 19 #include <climits> |
| 20 |
19 namespace Ice { | 21 namespace Ice { |
20 | 22 |
21 namespace { | 23 namespace { |
22 | 24 |
23 const char *TargetArchName[] = { | 25 const char *TargetArchName[] = { |
24 #define X(tag, str, is_elf64, e_machine, e_flags) str, | 26 #define X(tag, str, is_elf64, e_machine, e_flags) str, |
25 TARGETARCH_TABLE | 27 TARGETARCH_TABLE |
26 #undef X | 28 #undef X |
27 }; | 29 }; |
28 | 30 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 IsFirst = false; | 284 IsFirst = false; |
283 } else { | 285 } else { |
284 Stream << ", "; | 286 Stream << ", "; |
285 } | 287 } |
286 Stream << ArgTy; | 288 Stream << ArgTy; |
287 } | 289 } |
288 Stream << ")"; | 290 Stream << ")"; |
289 } | 291 } |
290 | 292 |
291 } // end of namespace Ice | 293 } // end of namespace Ice |
OLD | NEW |