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

Name

Description

Mask

Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently.

ScaledMask

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.

Created with MrDocs