Return the maximum VF for the given element width and opcode, or 0.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

unsigned int
getMaximumVF(
    unsigned int ElemWidth,
    unsigned int Opcode) const;

Description

Currently only used by the SLP vectorizer.

Return Value

The maximum VF for the given element width and opcode, or 0.

Parameters

Name

Description

ElemWidth

Element size in bits.

Opcode

Instruction opcode.

Created with MrDocs