+ bool isStructTy() const { return ID == StructTyID; }
+
+ /// isUnionTy - True if this is an instance of UnionType.
+ ///
+ bool isUnionTy() const { return ID == UnionTyID; }
+
+ /// isArrayTy - True if this is an instance of ArrayType.
+ ///
+ bool isArrayTy() const { return ID == ArrayTyID; }
+
+ /// isPointerTy - True if this is an instance of PointerType.
+ ///
+ bool isPointerTy() const { return ID == PointerTyID; }
+
+ /// isOpaqueTy - True if this is an instance of OpaqueType.
+ ///
+ bool isOpaqueTy() const { return ID == OpaqueTyID; }
+
+ /// isVectorTy - True if this is an instance of VectorType.
+ ///
+ bool isVectorTy() const { return ID == VectorTyID; }
+