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 325 of file LoopVectorizationPlanner.h.
|
inline |
Definition at line 329 of file LoopVectorizationPlanner.h.
Referenced by getNone().
|
inline |
Definition at line 332 of file LoopVectorizationPlanner.h.
References FixedVF, and ScalableVF.
|
inline |
Definition at line 335 of file LoopVectorizationPlanner.h.
References assert(), FixedVF, llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::isScalable(), and ScalableVF.
|
inlinestatic |
Definition at line 342 of file LoopVectorizationPlanner.h.
References FixedScalableVFPair().
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF().
|
inline |
Definition at line 348 of file LoopVectorizationPlanner.h.
References FixedVF, llvm::ElementCount::isVector(), and ScalableVF.
|
inlineexplicit |
Definition at line 345 of file LoopVectorizationPlanner.h.
References FixedVF, and ScalableVF.
ElementCount llvm::FixedScalableVFPair::FixedVF |
Definition at line 326 of file LoopVectorizationPlanner.h.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), FixedScalableVFPair(), hasVector(), operator bool(), and llvm::LoopVectorizationPlanner::plan().
ElementCount llvm::FixedScalableVFPair::ScalableVF |
Definition at line 327 of file LoopVectorizationPlanner.h.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), FixedScalableVFPair(), hasVector(), operator bool(), and llvm::LoopVectorizationPlanner::plan().