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

Unified Diff: src/IceTypes.h

Issue 395193005: Start processing function blocks in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix formatting. Created 6 years, 5 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
« no previous file with comments | « src/IceTypeConverter.cpp ('k') | src/IceTypes.cpp » ('j') | src/IceTypes.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTypes.h
diff --git a/src/IceTypes.h b/src/IceTypes.h
index 6bc2ded5ec63f8d9d388eef2cd14426a7a6b8928..51db075f765928590b2c70a8e4126463af80b22b 100644
--- a/src/IceTypes.h
+++ b/src/IceTypes.h
@@ -46,9 +46,13 @@ size_t typeAlignInBytes(Type Ty);
size_t typeNumElements(Type Ty);
Type typeElementType(Type Ty);
-inline bool isVectorType(Type Ty) { return typeNumElements(Ty) > 1; }
+bool isScalarIntegerType(Type Ty);
+bool isScalarFloatingType(Type Ty);
+bool isVectorType(Type Ty);
+bool isVectorIntegerType(Type Ty);
+bool isVectorFloatingType(Type Ty);
-template <> Ostream &operator<<(class Ostream &Str, const Type &Ty);
+Ostream &operator<<(class Ostream &Str, const Type &Ty);
} // end of namespace Ice
« no previous file with comments | « src/IceTypeConverter.cpp ('k') | src/IceTypes.cpp » ('j') | src/IceTypes.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698