Index: src/IceDefs.h |
diff --git a/src/IceDefs.h b/src/IceDefs.h |
index 4c616f832bb68c19cb67412c91483c6a91c297a4..266ff7248d25cb40d4175092cc74e908384fd009 100644 |
--- a/src/IceDefs.h |
+++ b/src/IceDefs.h |
@@ -29,6 +29,7 @@ |
#include "llvm/ADT/BitVector.h" |
#include "llvm/ADT/SmallBitVector.h" |
+#include "llvm/ADT/SmallVector.h" |
#include "llvm/ADT/STLExtras.h" |
#include "llvm/Support/Casting.h" |
#include "llvm/Support/Compiler.h" // LLVM_STATIC_ASSERT |
@@ -64,6 +65,12 @@ typedef std::list<InstPhi *> PhiList; |
typedef std::vector<Variable *> VarList; |
typedef std::vector<CfgNode *> NodeList; |
typedef std::vector<Constant *> ConstantList; |
+typedef std::vector<IceString> StringList; |
+// TODO(wala): Switch to std::array after C++11 |
Jim Stichnoth
2014/06/27 18:30:16
Assign this TODO to me instead, not sure you'll ge
|
+typedef llvm::SmallVector<char, 16> Vect128; |
Jim Stichnoth
2014/06/27 18:30:16
Can/should you use VECT128_BYTES instead of 16 on
wala
2014/06/27 21:09:19
It makes sense for Vect128, which should have 16 b
|
+typedef llvm::SmallVector<bool, 16> BitVect; |
+ |
+const unsigned VECT128_BYTES = 16; |
// SizeT is for holding small-ish limits like number of source |
// operands in an instruction. It is used instead of size_t (which |