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

Unified Diff: src/IceGlobalContext.h

Issue 353553004: Add support for vector types and vector constants. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 6 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/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index c46d7d450fcd7b85f54dda7608bc27d34d1c450a..d88071bbbe1ac1892dc94f0805f8084182147dc6 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -75,6 +75,8 @@ public:
Constant *getConstantInt(Type Ty, uint64_t ConstantInt64);
Constant *getConstantFloat(float Value);
Constant *getConstantDouble(double Value);
+ Constant *getConstantVector(Type Ty, Vect128 &Vector);
jvoung (off chromium) 2014/06/26 00:45:40 const Vect128 & ?
wala 2014/06/26 17:32:42 Nice catch, thanks.
+ Constant *getConstantBitVector(Type Ty, BitVect &Vector);
// Returns a symbolic constant.
Constant *getConstantSym(Type Ty, int64_t Offset, const IceString &Name = "",
bool SuppressMangling = false);

Powered by Google App Engine
This is Rietveld 408576698