llvm::isVectorizedTy

Returns true if Ty is a vector type or a struct of vector types where all vector types share the same VF.

Synopsis

Declared in <llvm/IR/VectorTypeUtils.h>

bool
isVectorizedTy(Type* Ty);

Return Value

True if Ty is a vector or a matching vectorized struct.

Parameters

NameDescription
TyType to test for a vectorized layout.