llvm::isVectorizedStructTy

Returns true if StructTy is an unpacked literal struct where all elements are vectors of matching element count. This does not include empty structs.

Synopsis

Declared in <llvm/IR/VectorTypeUtils.h>

bool
isVectorizedStructTy(StructType* StructTy);

Return Value

True if StructTy is a non-empty unpacked literal struct of matching vector element types.

Parameters

NameDescription
StructTyStruct type to test for a vectorized layout.