LLVM
13.0.0git
|
TODO: The following VectorizationFactor was pulled out of LoopVectorizationCostModel class. More...
#include "Transforms/Vectorize/LoopVectorizationPlanner.h"
Public Member Functions | |
bool | operator== (const VectorizationFactor &rhs) const |
bool | operator!= (const VectorizationFactor &rhs) const |
Static Public Member Functions | |
static VectorizationFactor | Disabled () |
Public Attributes | |
ElementCount | Width |
unsigned | Cost |
TODO: The following VectorizationFactor was pulled out of LoopVectorizationCostModel class.
LV also deals with VectorizerParams::VectorizationFactor and VectorizationCostTy. We need to streamline them. Information about vectorization costs
Definition at line 180 of file LoopVectorizationPlanner.h.
|
inlinestatic |
Definition at line 187 of file LoopVectorizationPlanner.h.
References llvm::LinearPolySize< ElementCount >::getFixed().
Referenced by llvm::LoopVectorizationPlanner::plan(), llvm::LoopVectorizationPlanner::planInVPlanNativePath(), llvm::LoopVectorizePass::processLoop(), processLoopInVPlanNativePath(), and llvm::LoopVectorizationCostModel::selectEpilogueVectorizationFactor().
|
inline |
Definition at line 195 of file LoopVectorizationPlanner.h.
|
inline |
Definition at line 191 of file LoopVectorizationPlanner.h.
unsigned llvm::VectorizationFactor::Cost |
Definition at line 184 of file LoopVectorizationPlanner.h.
Referenced by operator==(), and llvm::LoopVectorizePass::processLoop().
ElementCount llvm::VectorizationFactor::Width |
Definition at line 182 of file LoopVectorizationPlanner.h.
Referenced by operator==(), and llvm::LoopVectorizePass::processLoop().