llvm::getShuffleMaskWithWidestElts

Repetitively apply widenShuffleMaskElts() for as long as it succeeds, to get the shuffle mask with widest possible elements.

Synopsis

Declared in <llvm/Analysis/VectorUtils.h>

void
getShuffleMaskWithWidestElts(
    ArrayRef<int> Mask,
    SmallVectorImpl<int>& ScaledMask);

Parameters

NameDescription
MaskInput shuffle mask to widen as far as possible.
ScaledMaskOutput mask with the widest successful element size.