LLVM 20.0.0git
|
The Vector Function Database. More...
#include "llvm/Analysis/VectorUtils.h"
Public Member Functions | |
VFDatabase (CallInst &CI) | |
Constructor, requires a CallInst instance. | |
Function * | getVectorizedFunction (const VFShape &Shape) const |
Static Public Member Functions | |
static SmallVector< VFInfo, 8 > | getMappings (const CallInst &CI) |
Retrieve all the VFInfo instances associated to the CallInst CI. | |
static bool | hasMaskedVariant (const CallInst &CI, std::optional< ElementCount > VF=std::nullopt) |
The Vector Function Database.
Helper class used to find the vector functions associated to a scalar CallInst.
Definition at line 31 of file VectorUtils.h.
|
inline |
Constructor, requires a CallInst instance.
Definition at line 98 of file VectorUtils.h.
|
inlinestatic |
Retrieve all the VFInfo instances associated to the CallInst CI.
Definition at line 72 of file VectorUtils.h.
Referenced by generateKeySubkey(), getSameOpcode(), hasMaskedVariant(), and llvm::LoopVectorizationCostModel::setVectorizedCallDecision().
|
inlinestatic |
Definition at line 83 of file VectorUtils.h.
References getMappings(), and Info.