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

Unified Diff: IceTypes.h

Issue 205613002: Initial skeleton of Subzero. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« IceCfg.h ('K') | « IceOperand.cpp ('k') | IceTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: IceTypes.h
diff --git a/IceTypes.h b/IceTypes.h
new file mode 100644
index 0000000000000000000000000000000000000000..170cd8df54da816ffb715c948def6be9ee1250b4
--- /dev/null
+++ b/IceTypes.h
@@ -0,0 +1,25 @@
+// -*- Mode: c++ -*-
+/* Copyright 2014 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can
+ * be found in the LICENSE file.
+ */
+
+#ifndef _IceTypes_h
+#define _IceTypes_h
+
+enum IceType {
+ IceType_void,
+ IceType_i1,
+ IceType_i8,
+ IceType_i16,
+ IceType_i32,
+ IceType_i64,
+ IceType_f32,
+ IceType_f64,
+ IceType_NUM
+};
+
+uint32_t iceTypeWidth(IceType T);
+IceOstream &operator<<(class IceOstream &Str, IceType T);
+
+#endif // _IceTypes_h
« IceCfg.h ('K') | « IceOperand.cpp ('k') | IceTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698