Returns true if StructTy is an unpacked literal struct where all elements are scalars that can be used as vector element types.

Synopsis

Declared in <llvm/IR/VectorTypeUtils.h>

bool
canVectorizeStructTy(StructType* StructTy);

Return Value

True if StructTy is an unpacked literal struct of vectorizable scalar element types.

Parameters

Name

Description

StructTy

Struct type to test for vectorizable scalar elements.

Created with MrDocs