llvm::IRBuilderBase::CreateStepVector

Creates a vector of type DstType with the linear sequence <0, 1, ...>

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreateStepVector(
    Type* DstType,
    Twine const& Name = "");

Return Value

The created vector of type DstType with the linear sequence <0, 1, ...>.

Parameters

NameDescription
DstTypeDestination vector or value type.
NameName of the new instruction or value.