llvm::StructType::containsHomogeneousScalableVectorTypes

Return true if this struct contains homogeneous scalable vector types.

Synopsis

Declared in <llvm/IR/DerivedTypes.h>

bool
containsHomogeneousScalableVectorTypes() const;

Description

Note that the definition of homogeneous scalable vector type is not recursive here. That means the following structure will return false when calling this function. {{<vscale x 2 x i32>, <vscale x 4 x i64>}, {<vscale x 2 x i32>, <vscale x 4 x i64>}}

Return Value

true if all elements are the same scalable vector type.