Returns the types contained in Ty. For struct types, it returns the elements, all other types are returned directly.
Declared in <llvm/IR/VectorTypeUtils.h>
ArrayRef<Type*>
getContainedTypes(Type const*& Ty);
The element types of Ty when it is a struct, otherwise a single-element array containing Ty.
| Name | Description |
|---|---|
| Ty | Type whose contained types are returned. |