llvm::toScalarizedStructTy

Convert a struct of vector types to a struct of scalar types.

Synopsis

Declared in <llvm/IR/VectorTypeUtils.h>

Type*
toScalarizedStructTy(StructType* StructTy);

Description

Note: Only unpacked literal struct types are supported.

Return Value

A struct whose elements are the scalarized forms of StructTy's elements.

Parameters

NameDescription
StructTyUnpacked literal struct of vector element types.