ΒΆllvm::SmallVector<int, 16> createSequentialMask(
    unsigned int Start,
    unsigned int NumInts,
    unsigned int NumUndefs)

Description

Create a sequential shuffle mask. This function creates shuffle mask whose elements are sequential and begin at \p Start. The mask contains \p NumInts integers and is padded with \p NumUndefs undef values. The mask is of the form: <Start , Start + 1, ... Start + NumInts - 1, undef_1, ... undef_NumUndefs> For example, the mask for Start = 0, NumInsts = 4, and NumUndefs = 4 is: < 0, 1, 2, 3, undef, undef, undef, undef>

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:552

Parameters

unsigned int Start
unsigned int NumInts
unsigned int NumUndefs