llvm::VFDatabase

The Vector Function Database.

Synopsis

Declared in <llvm/Analysis/VectorUtils.h>

class VFDatabase;

Description

Helper class used to find the vector functions associated to a scalar CallInst.

Member Functions

NameDescription
VFDatabase [constructor]Constructor, requires a CallInst instance.
getVectorizedFunction @{ Retrieve the Function with VFShape Shape.

Static Member Functions

NameDescription
getMappings Retrieve all the VFInfo instances associated to the CallInst CI.
hasMaskedVariant Return true if CI has a masked vector variant, optionally for VF.