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

Side by Side Diff: src/IceTypes.cpp

Issue 680733002: Subzero: Allow delaying Phi lowering until after register allocation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix vector const undef lowering for phis. Created 6 years, 1 month 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.h ('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.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) 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
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 IsFirst = false; 267 IsFirst = false;
268 } else { 268 } else {
269 Stream << ", "; 269 Stream << ", ";
270 } 270 }
271 Stream << ArgTy; 271 Stream << ArgTy;
272 } 272 }
273 Stream << ")"; 273 Stream << ")";
274 } 274 }
275 275
276 } // end of namespace Ice 276 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceTypes.h ('k') | src/llvm2ice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698