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

Unified Diff: src/IceTypes.h

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: Created 6 years, 8 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
Index: src/IceTypes.h
diff --git a/src/IceTypes.h b/src/IceTypes.h
index b3d28c3714884734f1ae9bc814282812da8e2ed1..21c399d4bf96dc2bb5efc1647937ca7661e9c66c 100644
--- a/src/IceTypes.h
+++ b/src/IceTypes.h
@@ -26,6 +26,20 @@ enum Type {
#undef X
};
+enum TargetArch {
+ Target_X8632,
+ Target_X8664,
+ Target_ARM32,
+ Target_ARM64
+};
+
+enum OptLevel {
+ Opt_m1,
+ Opt_0,
+ Opt_1,
+ Opt_2
+};
+
size_t typeWidthInBytes(Type Ty);
size_t typeAlignInBytes(Type Ty);

Powered by Google App Engine
This is Rietveld 408576698