LLVM 22.0.0git
|
A range of powers-of-2 vectorization factors with fixed start and adjustable end. More...
#include "Transforms/Vectorize/VPlanHelpers.h"
Classes | |
class | iterator |
Iterator to iterate over vectorization factors in a VFRange. More... | |
Public Member Functions | |
bool | isEmpty () const |
VFRange (const ElementCount &Start, const ElementCount &End) | |
iterator | begin () |
iterator | end () |
Public Attributes | |
const ElementCount | Start |
ElementCount | End |
A range of powers-of-2 vectorization factors with fixed start and adjustable end.
The range includes start and excludes end, e.g.,: [1, 16) = {1, 2, 4, 8}
Definition at line 71 of file VPlanHelpers.h.
|
inline |
Definition at line 82 of file VPlanHelpers.h.
References assert(), End, llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::getKnownMinValue(), llvm::isPowerOf2_32(), llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::isScalable(), and Start.
|
inline |
Definition at line 111 of file VPlanHelpers.h.
References Start.
|
inline |
Definition at line 112 of file VPlanHelpers.h.
References assert(), End, llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::getKnownMinValue(), and llvm::isPowerOf2_32().
|
inline |
Definition at line 78 of file VPlanHelpers.h.
References End, llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::getKnownMinValue(), and Start.
ElementCount llvm::VFRange::End |
Definition at line 76 of file VPlanHelpers.h.
Referenced by llvm::LoopVectorizationPlanner::buildVPlans(), end(), isEmpty(), and VFRange().
const ElementCount llvm::VFRange::Start |
Definition at line 73 of file VPlanHelpers.h.