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

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: 1) Fix alignment in type table. 2) Add VECT128_BYTES constant. 3) add _movp() function. 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..ff1ae7bc4845f650f46a33d5e6874413d5d371a7 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, const Vect128 &Vector);
+ Constant *getConstantBitVector(Type Ty, const 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