Convert a scalar or struct type to its vectorized form.
For scalar types, this is equivalent to calling toVectorTy. For struct types, this returns a new struct where each element type has been widened to a vector type. Note:
If the incoming type is void, we return void
If EC is scalar, Ty is returned unchanged
Only unpacked literal struct types are supported
The vectorized form of Ty for element count EC.
| Name | Description |
|---|---|
| Ty | Scalar, void, or unpacked literal struct type to widen. |
| EC | Element count used to widen Ty. |