Construct a VectorType from an element type, count, and scalability flag.

Synopsis

Declared in <llvm/IR/DerivedTypes.h>

static
VectorType*
get(
    Type* ElementType,
    unsigned int NumElements,
    bool Scalable);

Return Value

The uniqued VectorType for the given shape.

Parameters

Name

Description

ElementType

Element type of the vector.

NumElements

Minimum (or exact) number of elements.

Scalable

Whether the vector is scalable.

Created with MrDocs