llvm::TargetTransformInfoImplBase::getMaximumVF

Return the maximum vectorization factor for the element width and opcode.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfoImpl.h>

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

Return Value

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

Parameters

NameDescription
ElemWidthElement bit width.
OpcodeInstruction opcode.