Add support for vectors of pointers.
[oota-llvm.git] / include / llvm / Type.h
index 43b7dc5788863caac08d36ef2070d15c0f396d87..a571b4dbe50c7f3ed952a0c5f52b070112d25fb0 100644 (file)
@@ -273,6 +273,10 @@ public:
   /// otherwise return 'this'.
   Type *getScalarType();
 
+  /// getNumElements - If this is a vector type, return the number of elements,
+  /// otherwise return zero.
+  unsigned getNumElements();
+
   //===--------------------------------------------------------------------===//
   // Type Iteration support.
   //