ΒΆllvm::Constant* createBitMaskForGaps(
    llvm::IRBuilderBase& Builder,
    unsigned int VF,
    const InterleaveGroup<llvm::Instruction>&
        Group)

Description

Create a mask that filters the members of an interleave group where there are gaps. For example, the mask for \p Group with interleave-factor 3 and \p VF 4, that has only its first member present is: < 1,0,0,1,0,0,1,0,0,1,0,0> Note: The result is a mask of 0's and 1's, as opposed to the other create[*]Mask() utilities which create a shuffle mask (mask that consists of indices).

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

Parameters

llvm::IRBuilderBase& Builder
unsigned int VF
const InterleaveGroup<llvm::Instruction>& Group