Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: src/IceTypes.def

Issue 265703002: Add Om1 lowering with no optimizations (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Merge changed from Karl's committed CL Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceTypes.cpp ('k') | src/llvm2ice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTypes.def - X-macros for ICE types --------*- C++ -*-===// 1 //===- subzero/src/IceTypes.def - X-macros for ICE types --------*- C++ -*-===//
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 properties of ICE primitive types in the form of 10 // This file defines properties of ICE primitive types in the form of
11 // x-macros. 11 // x-macros.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICETYPES_DEF 15 #ifndef SUBZERO_SRC_ICETYPES_DEF
16 #define SUBZERO_SRC_ICETYPES_DEF 16 #define SUBZERO_SRC_ICETYPES_DEF
17 17
18 #define ICETYPE_TABLE \ 18 #define ICETYPE_TABLE \
19 /* enum value, size, align, printable string */ \ 19 /* enum value, size, align, printable string */ \
20 /* (size and alignment in bytes) */ \ 20 /* (size and alignment in bytes) */ \
21 X(IceType_void, 0, 0, "void") \ 21 X(IceType_void, 0, 0, "void") \
22 X(IceType_i1, 1, 1, "i1") \ 22 X(IceType_i1, 1, 1, "i1") \
23 X(IceType_i8, 1, 1, "i8") \ 23 X(IceType_i8, 1, 1, "i8") \
24 X(IceType_i16, 2, 1, "i16") \ 24 X(IceType_i16, 2, 1, "i16") \
25 X(IceType_i32, 4, 1, "i32") \ 25 X(IceType_i32, 4, 1, "i32") \
26 X(IceType_i64, 8, 1, "i64") \ 26 X(IceType_i64, 8, 1, "i64") \
27 X(IceType_f32, 4, 4, "float") \ 27 X(IceType_f32, 4, 4, "float") \
28 X(IceType_f64, 8, 8, "double") 28 X(IceType_f64, 8, 8, "double") \
29 X(IceType_NUM, 0, 0, "<invalid>") \
29 //#define X(tag, size, align, str) 30 //#define X(tag, size, align, str)
30 31
31 #endif // SUBZERO_SRC_ICETYPES_DEF 32 #endif // SUBZERO_SRC_ICETYPES_DEF
OLDNEW
« no previous file with comments | « src/IceTypes.cpp ('k') | src/llvm2ice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698