LLVM 20.0.0git
|
A class that represents two vectorization factors (initialized with 0 by default). More...
#include "Transforms/Vectorize/LoopVectorizationPlanner.h"
Public Member Functions | |
FixedScalableVFPair () | |
FixedScalableVFPair (const ElementCount &Max) | |
FixedScalableVFPair (const ElementCount &FixedVF, const ElementCount &ScalableVF) | |
operator bool () const | |
bool | hasVector () const |
Static Public Member Functions | |
static FixedScalableVFPair | getNone () |
Public Attributes | |
ElementCount | FixedVF |
ElementCount | ScalableVF |
A class that represents two vectorization factors (initialized with 0 by default).
One for fixed-width vectorization and one for scalable vectorization. This can be used by the vectorizer to choose from a range of fixed and/or scalable VFs in order to find the most cost-effective VF to vectorize with.
Definition at line 270 of file LoopVectorizationPlanner.h.
|
inline |
Definition at line 274 of file LoopVectorizationPlanner.h.
Referenced by getNone().
|
inline |
Definition at line 277 of file LoopVectorizationPlanner.h.
References FixedVF, and ScalableVF.
|
inline |
Definition at line 280 of file LoopVectorizationPlanner.h.
References assert(), FixedVF, llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::isScalable(), and ScalableVF.
|
inlinestatic |
Definition at line 287 of file LoopVectorizationPlanner.h.
References FixedScalableVFPair().
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF().
|
inline |
Definition at line 293 of file LoopVectorizationPlanner.h.
References FixedVF, llvm::ElementCount::isVector(), and ScalableVF.
|
inlineexplicit |
Definition at line 290 of file LoopVectorizationPlanner.h.
References FixedVF, and ScalableVF.
ElementCount llvm::FixedScalableVFPair::FixedVF |
Definition at line 271 of file LoopVectorizationPlanner.h.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), FixedScalableVFPair(), hasVector(), operator bool(), and llvm::LoopVectorizationPlanner::plan().
ElementCount llvm::FixedScalableVFPair::ScalableVF |
Definition at line 272 of file LoopVectorizationPlanner.h.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), FixedScalableVFPair(), hasVector(), operator bool(), and llvm::LoopVectorizationPlanner::plan().