llvm::VectorType::getInteger

Return a VectorType of integer elements matching VTy's shape and width.

Synopsis

Declared in <llvm/IR/DerivedTypes.h>

static
VectorType*
getInteger(VectorType* VTy);

Description

The result has the same number of elements as VTy, and each element is an integer type of the same width as the input element type.

Return Value

A vector of integers with the same shape and element width as VTy.

Parameters

NameDescription
VTyInput vector type.