isInterleaveMask overloads

Synopses

Declared in <llvm/IR/Instructions.h>

Return true if Mask interleaves vectors with factor Factor.

static
bool
isInterleaveMask(
    ArrayRef<int> Mask,
    unsigned int Factor,
    unsigned int NumInputElts);

Return true if the mask interleaves one or more input vectors together.

static
bool
isInterleaveMask(
    ArrayRef<int> Mask,
    unsigned int Factor,
    unsigned int NumInputElts,
    SmallVectorImpl<unsigned int>& StartIndexes);

Return Value

  • True if the mask is an interleave mask.

  • True if the mask interleaves one or more input vectors together.

Parameters

Name

Description

Mask

The shuffle mask indices.

Factor

The interleave factor.

NumInputElts

Total number of elements in the input vectors.

StartIndexes

Output first indexes of each interleaved vector.

Created with MrDocs