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

Unified Diff: lib/Analysis/NaCl/PNaClABITypeChecker.h

Issue 221693002: PNaCl: Add support for GCC/LLVM vector extensions (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Address dschuff's comments. 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: lib/Analysis/NaCl/PNaClABITypeChecker.h
diff --git a/lib/Analysis/NaCl/PNaClABITypeChecker.h b/lib/Analysis/NaCl/PNaClABITypeChecker.h
index ac3cf850e5e01db62108bb897d12368ffa471715..1db46377a302d6aa1231180abfa521b6aebc18a8 100644
--- a/lib/Analysis/NaCl/PNaClABITypeChecker.h
+++ b/lib/Analysis/NaCl/PNaClABITypeChecker.h
@@ -33,6 +33,9 @@ class PNaClABITypeChecker {
// Returns true if Ty is a valid non-derived type for PNaCl.
static bool isValidScalarType(const Type *Ty);
+ // Returns true if Ty is a valid vector type for PNaCl.
+ static bool isValidVectorType(const Type *Ty);
+
// There's no built-in way to get the name of a type, so use a
// string ostream to print it.
static std::string getTypeName(const Type *T) {

Powered by Google App Engine
This is Rietveld 408576698