49 if (ToPtr ==
cast<VectorType>(V->getType())->getElementType()->isPointerTy())
50 return Builder.CreateBitOrPointerCast(V, DstTy);
52 return Builder.CreateIntToPtr(
53 Builder.CreateBitCast(V,
DL.getIntPtrType(DstTy)), DstTy);
54 return Builder.CreateBitCast(
55 Builder.CreatePtrToInt(V,
DL.getIntPtrType(V->getType())), DstTy);
60 bool CompareOpcodes) {
66 return (!GEP1 || GEP1->getNumOperands() == 2) &&
67 (!GEP2 || GEP2->getNumOperands() == 2) &&
68 (((!GEP1 ||
isConstant(GEP1->getOperand(1))) &&
80 return CommonAlignment;
90 const SCEV *PtrSCEVLowest =
nullptr;
91 const SCEV *PtrSCEVHighest =
nullptr;
94 for (
Value *Ptr : PointerOps) {
99 if (!PtrSCEVLowest && !PtrSCEVHighest) {
100 PtrSCEVLowest = PtrSCEVHighest = PtrSCEV;
107 PtrSCEVLowest = PtrSCEV;
114 PtrSCEVHighest = PtrSCEV;
123 auto TryGetStride = [&](
const SCEV *Dist,
124 const SCEV *Multiplier) ->
const SCEV * {
126 if (M->getOperand(0) == Multiplier)
127 return M->getOperand(1);
128 if (M->getOperand(1) == Multiplier)
129 return M->getOperand(0);
132 if (Multiplier == Dist)
137 const SCEV *Stride =
nullptr;
138 if (
Size != 1 || SCEVs.
size() > 1) {
140 Stride = TryGetStride(Dist, Sz);
148 using DistOrdPair = std::pair<int64_t, int>;
150 std::set<DistOrdPair,
decltype(Compare)> Offsets(Compare);
151 bool IsConsecutive =
true;
152 for (
const auto [Idx, PtrSCEV] :
enumerate(SCEVs)) {
154 if (PtrSCEV != PtrSCEVLowest) {
156 const SCEV *Coeff = TryGetStride(Diff, Stride);
166 Dist = SC->getAPInt().getZExtValue();
171 auto Res = Offsets.emplace(Dist, Idx);
175 IsConsecutive = IsConsecutive && std::next(Res.first) == Offsets.end();
177 SortedIndices.
clear();
178 if (!IsConsecutive) {
181 for (
const auto [Idx, Pair] :
enumerate(Offsets))
182 SortedIndices[Idx] = Pair.second;
187std::optional<int64_t>
195 PtrsDiffKeyT
Key(ElemTyA, PtrA, ElemTyB, PtrB, Flags);
196 auto [It, Inserted] = PtrsDiffCache.try_emplace(
Key);
200 ElemTyA, PtrA, ElemTyB, PtrB,
DL, SE, StrictCheck,
CheckType);
206 if (Diff && *Diff != std::numeric_limits<int64_t>::min() &&
207 DL.getTypeStoreSize(ElemTyA) ==
DL.getTypeStoreSize(ElemTyB))
208 PtrsDiffCache.try_emplace(PtrsDiffKeyT(ElemTyB, PtrB, ElemTyA, PtrA, Flags),
216 using DistOrdPair = std::pair<int64_t, unsigned>;
218 std::set<DistOrdPair,
decltype(Compare)> Offsets(Compare);
219 Offsets.emplace(0, 0);
220 bool IsConsecutive =
true;
222 std::optional<int64_t> Diff =
227 auto [It, IsInserted] = Offsets.emplace(*Diff, Idx);
230 IsConsecutive &= std::next(It) == Offsets.end();
232 SortedIndices.
clear();
233 if (!IsConsecutive) {
236 SortedIndices[Idx] =
Off.second;
243 auto [It, Inserted] = NotPoisonCache.try_emplace(V,
false);
257 const unsigned Sz = PointerOps.
size();
262 std::optional<unsigned> Stride = 0;
265 Value *Ptr = Order.
empty() ? PointerOps[
I] : PointerOps[Order[
I]];
266 std::optional<int64_t> OptPos =
267 Cache.getPointersDiff(ScalarTy, Ptr0, ScalarTy, Ptr,
DL, SE);
268 if (!OptPos || OptPos > std::numeric_limits<unsigned>::max())
270 unsigned Pos =
static_cast<unsigned>(*OptPos);
271 CompressMask[
I] = Pos;
278 if (Pos != *Stride *
I)
281 return Stride.has_value();
294 Info.InterleaveFactor = 0;
296 const size_t Sz = VL.
size();
303 if (AreAllUsersVectorized(V))
306 TTI.getVectorInstrCost(Instruction::ExtractElement, VecTy, CostKind,
307 Mask.empty() ?
I : Mask[
I]);
310 if (ExtractCost <= ScalarCost)
316 Ptr0 = PointerOps.
front();
317 PtrN = PointerOps.
back();
319 Ptr0 = PointerOps[Order.
front()];
320 PtrN = PointerOps[Order.
back()];
322 std::optional<int64_t> Diff =
323 Cache.getPointersDiff(ScalarTy, Ptr0, ScalarTy, PtrN,
DL, SE);
326 const size_t MaxRegSize =
330 if (*Diff / Sz >= MaxRegSize / 8)
334 Align CommonAlignment = LI->getAlign();
340 if (Info.IsMasked && !
TTI.isLegalMaskedLoad(Info.LoadVecTy, CommonAlignment,
341 LI->getPointerAddressSpace()))
346 Info.CompressMask, Cache);
347 assert(Info.CompressMask.size() >= 2 &&
"At least two elements are required");
351 auto [ScalarGEPCost, VectorGEPCost] =
353 Instruction::Load, CostKind, ScalarTy, Info.LoadVecTy);
370 LoadCost =
TTI.getMemIntrinsicInstrCost(
373 LI->getPointerAddressSpace()),
377 TTI.getMemoryOpCost(Instruction::Load, Info.LoadVecTy, CommonAlignment,
378 LI->getPointerAddressSpace(), CostKind,
381 if (IsStrided && !Info.IsMasked && Order.
empty()) {
389 AlignedLoadVecTy = Info.LoadVecTy;
390 if (
TTI.isLegalInterleavedAccessType(AlignedLoadVecTy, Info.CompressMask[1],
392 LI->getPointerAddressSpace())) {
394 VectorGEPCost +
TTI.getInterleavedMemoryOpCost(
395 Instruction::Load, AlignedLoadVecTy,
396 Info.CompressMask[1], {}, CommonAlignment,
397 LI->getPointerAddressSpace(), CostKind,
399 if (InterleavedCost < GatherCost) {
400 Info.InterleaveFactor = Info.CompressMask[1];
401 Info.LoadVecTy = AlignedLoadVecTy;
406 SmallVector<int> CostMask(Info.CompressMask.begin(), Info.CompressMask.end());
407 if (!Order.
empty()) {
410 NewMask[
I] = Info.CompressMask[Mask[
I]];
411 Info.CompressMask.
swap(NewMask);
419 if (VectorGEPCost + LoadCost >= GatherCost)
426 InstructionCost TotalVecCost = VectorGEPCost + LoadCost + CompressCost;
427 return TotalVecCost < GatherCost;
442 CostKind, AreAllUsersVectorized, ReVec, Info,
453 const unsigned FirstLane = std::distance(VL.
begin(), FirstIt);
456 if (FirstLI->getFunction()->hasFnAttribute(Attribute::SanitizeMemTag))
458 Type *ScalarTy = FirstLI->getType();
459 Value *Ptr0 = FirstLI->getPointerOperand();
467 std::optional<int64_t> Dist =
470 if (!Dist || *Dist !=
static_cast<int64_t
>(Lane) - FirstLane)
477 const uint64_t EltSize =
DL.getTypeAllocSize(ScalarTy).getFixedValue();
482 bool Overflow =
false;
484 if (Overflow || Start.isNegative())
495 return std::distance(Scalars.
begin(), It) *
496 LI->getDataLayout().getTypeAllocSize(LI->getType()).getFixedValue();
511 const size_t Sz = VL.
size();
517 std::optional<int64_t> Diff =
518 Cache.getPointersDiff(ScalarTy, Ptr0, ScalarTy, PtrN,
DL, SE);
519 if (!Diff || *Diff <= 0)
522 const unsigned MaxRegSize =
525 const unsigned ScalarBits =
DL.getTypeSizeInBits(ScalarTy).getFixedValue();
526 if (ScalarBits == 0 ||
527 static_cast<uint64_t
>(*Diff) / Sz >= MaxRegSize / ScalarBits)
531 if (!
TTI.isLegalMaskedStore(StoreVecTy, CommonAlignment, AS,
539 Value *Ptr = Order.
empty() ? PointerOps[
I] : PointerOps[Order[
I]];
540 std::optional<int64_t>
Off =
541 Cache.getPointersDiff(ScalarTy, Ptr0, ScalarTy, Ptr,
DL, SE);
544 ReuseShuffleIndices[*
Off] =
static_cast<int>(
I);
556 all_of(VL, [](
const Value *V) {
return V->getType()->isPointerTy(); }) &&
557 "Expected list of pointer operands.");
562 std::pair<BasicBlock *, Value *>,
566 .try_emplace(std::make_pair(BBs.
front(),
569 .emplace_back(VL.
front(), 0U, 0U);
571 SortedIndices.
clear();
574 bool Found =
any_of(Bases.try_emplace(
Key).first->second,
575 [&, &Cnt = Cnt, &Ptr = Ptr](
auto &
Base) {
576 std::optional<int64_t> Diff = Cache.getPointersDiff(
577 ElemTy, std::get<0>(Base.front()), ElemTy, Ptr,
582 Base.emplace_back(Ptr, *Diff, Cnt + 1);
588 if (Bases.size() > VL.
size() / 2 - 1)
592 Bases.find(
Key)->second.emplace_back().emplace_back(Ptr, 0, Cnt + 1);
596 if (Bases.size() == VL.
size())
599 if (Bases.size() == 1 && (Bases.front().second.size() == 1 ||
600 Bases.front().second.size() == VL.
size()))
605 auto ComparePointers = [MaxDepth](
Value *Ptr1,
Value *Ptr2) {
612 if (P1 == P2 ||
Depth > MaxDepth)
615 SecondPointers.
insert(P2);
621 "Unable to find matching root.");
624 for (
auto &
Base : Bases) {
625 for (
auto &Vec :
Base.second) {
626 if (Vec.size() > 1) {
628 int64_t InitialOffset = std::get<1>(Vec[0]);
629 bool AnyConsecutive =
631 return std::get<1>(
P.value()) ==
632 int64_t(
P.index()) + InitialOffset;
641 return ComparePointers(std::get<0>(V1.front()), std::get<0>(V2.front()));
645 for (
auto &
T : Bases)
646 for (
const auto &Vec :
T.second)
647 for (
const auto &
P : Vec)
651 "Expected SortedIndices to be the size of VL");
const TargetLowering & TLI
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
This file implements a class to represent arbitrary precision integral constant values and operations...
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
This file contains the declarations for the subclasses of Constant, which represent the different fla...
static MaybeAlign getAlign(Value *Ptr)
This file defines an InstructionCost class that is used when calculating the cost of an instruction,...
This file implements a map that provides insertion order iteration.
Provides some synthesis utilities to produce sequences of values.
This file defines the SmallPtrSet class.
Class for arbitrary precision integers.
static APInt getAllOnes(unsigned numBits)
Return an APInt of a specified width with all bits set.
Represent a constant reference to an array (0 or more elements consecutively in memory),...
const T & back() const
Get the last element.
ArrayRef< T > drop_front(size_t N=1) const
Drop the first N elements of the array.
const T & front() const
Get the first element.
size_t size() const
Get the array size.
bool empty() const
Check if the array is empty.
const T & consume_front()
consume_front() - Returns the first element and drops it from ArrayRef.
A cache of @llvm.assume calls within a function.
A parsed version of the target data layout string in and methods for querying it.
Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree.
Class to represent fixed width SIMD vectors.
Common base class shared among various IRBuilders.
LLVM_ABI bool comesBefore(const Instruction *Other) const
Given an instruction Other in the same basic block as this instruction, return true if this instructi...
An instruction for reading from memory.
Information for memory intrinsic cost model.
This class represents an analyzed expression in the program.
LLVM_ABI bool isZero() const
Return true if the expression is a constant zero.
LLVM_ABI bool isNonConstantNegative() const
Return true if the specified scev is negated, but not a constant.
Type * getType() const
Return the LLVM type of this SCEV expression.
The main scalar evolution driver.
LLVM_ABI const SCEV * getMinusSCEV(SCEVUse LHS, SCEVUse RHS, SCEVFlags Flags=SCEV::FlagNone, unsigned Depth=0)
Return LHS-RHS.
LLVM_ABI const SCEV * getConstant(ConstantInt *V)
LLVM_ABI const SCEV * getSCEV(Value *V)
Return a SCEV expression for the full generality of the specified expression.
LLVM_ABI SCEVUse getAddExpr(SmallVectorImpl< SCEVUse > &Ops, SCEVFlagsPair Flags={}, unsigned Depth=0)
Get a canonical add expression, or something simpler if possible.
LLVM_ABI SCEVUse getMulExpr(SmallVectorImpl< SCEVUse > &Ops, SCEVFlagsPair Flags={}, unsigned Depth=0)
Get a canonical multiply expression, or something simpler if possible.
LLVM_ABI const SCEV * getUDivExactExpr(SCEVUse LHS, SCEVUse RHS)
Get a canonical unsigned division expression, or something simpler if possible.
std::pair< iterator, bool > insert(PtrType Ptr)
Inserts Ptr if and only if there is no element in the container equal to Ptr.
bool contains(ConstPtrType Ptr) const
SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
void assign(size_type NumElts, ValueParamT Elt)
reference emplace_back(ArgTypes &&... Args)
void swap(SmallVectorImpl &RHS)
void push_back(const T &Elt)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Provides information about what library functions are available for the current target.
The instances of the Type class are immutable: once they are created, they are never changed.
bool isFloatingPointTy() const
Return true if this is one of the floating-point types.
bool isIntOrPtrTy() const
Return true if this is an integer type or a pointer type.
LLVM Value Representation.
Type * getType() const
All values are typed, get the type of this value.
LLVM_ABI const Value * stripAndAccumulateConstantOffsets(const DataLayout &DL, APInt &Offset, bool AllowNonInbounds, bool AllowInvariantGroup=false, function_ref< bool(Value &Value, APInt &Offset)> ExternalAnalysis=nullptr, bool LookThroughIntToPtr=false) const
Accumulate the constant offset this value has compared to a base pointer.
Base class of all SIMD vector types.
An efficient, type-erasing, non-owning reference to a callable.
Caches the results of the expensive analyses that are queried repeatedly for the same values while th...
bool isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC)
Cached llvm::isGuaranteedNotToBePoison().
bool sortPtrAccesses(ArrayRef< Value * > VL, Type *ElemTy, const DataLayout &DL, ScalarEvolution &SE, SmallVectorImpl< unsigned > &SortedIndices)
llvm::sortPtrAccesses() with the cached pointer distances.
std::optional< int64_t > getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB, Value *PtrB, const DataLayout &DL, ScalarEvolution &SE, bool StrictCheck=false, bool CheckType=true)
Cached llvm::getPointersDiff(), a miss may require SCEV analysis.
A private "module" namespace for types and utilities used by this pass.
bool isMaskedLoadCompress(ArrayRef< Value * > VL, ArrayRef< Value * > PointerOps, ArrayRef< unsigned > Order, const TargetTransformInfo &TTI, const DataLayout &DL, ScalarEvolution &SE, AssumptionCache &AC, const DominatorTree &DT, const TargetLibraryInfo &TLI, const TargetTransformInfo::TargetCostKind CostKind, const function_ref< bool(Value *)> AreAllUsersVectorized, bool ReVec, CompressedLoadInfo &Info, SLPAnalysisCache &Cache)
Checks if the VL can be transformed to a (masked)load + compress or (masked) interleaved load.
InstructionCost getShuffleCost(const TargetTransformInfo &TTI, TTI::ShuffleKind Kind, VectorType *Tp, const TTI::TargetCostKind CostKind, ArrayRef< int > Mask, int Index, VectorType *SubTp, ArrayRef< const Value * > Args, TTI::VectorInstrContext VIC)
Returns the cost of the shuffle instructions with the given Kind, vector type Tp and optional Mask.
template Align computeCommonAlignment< StoreInst >(ArrayRef< Value * >)
std::pair< InstructionCost, InstructionCost > getGEPCosts(const TargetTransformInfo &TTI, ArrayRef< Value * > Ptrs, Value *BasePtr, unsigned Opcode, const TTI::TargetCostKind CostKind, Type *ScalarTy, VectorType *VecTy)
Calculate the scalar and the vector costs from vectorizing set of GEPs.
bool clusterSortPtrAccesses(ArrayRef< Value * > VL, ArrayRef< BasicBlock * > BBs, Type *ElemTy, const DataLayout &DL, ScalarEvolution &SE, unsigned MaxDepth, SmallVectorImpl< unsigned > &SortedIndices, SLPAnalysisCache &Cache)
Clusters VL pointers by (basic block, underlying object) pair and sorts each cluster by offset.
void reorderScalars(SmallVectorImpl< Value * > &Scalars, ArrayRef< int > Mask)
Reorders the list of scalars in accordance with the given Mask.
Value * createWidenedStridedCast(IRBuilderBase &Builder, Value *V, Type *DstTy, const DataLayout &DL)
Casts V between the widened strided access type and the entry vector type DstTy.
Align computeCommonAlignment(ArrayRef< Value * > VL)
Calculates minimal alignment as a common alignment.
template Align computeCommonAlignment< LoadInst >(ArrayRef< Value * >)
unsigned getNumElements(Type *Ty)
const SCEV * calculateRtStride(ArrayRef< Value * > PointerOps, Type *ElemTy, const DataLayout &DL, ScalarEvolution &SE, SmallVectorImpl< unsigned > &SortedIndices)
Checks if the provided list of pointers Pointers represents the strided pointers for type ElemTy.
Type * getWidenedType(Type *ScalarTy, unsigned VF)
void transformScalarShuffleIndiciesToVector(unsigned VecTyNumElements, SmallVectorImpl< int > &Mask)
bool isMaskedStoreCompress(ArrayRef< Value * > VL, ArrayRef< Value * > PointerOps, ArrayRef< unsigned > Order, const TargetTransformInfo &TTI, const DataLayout &DL, ScalarEvolution &SE, Align CommonAlignment, SmallVectorImpl< int > &ReuseShuffleIndices, FixedVectorType *&StoreVecTy, SLPAnalysisCache &Cache)
Checks if the stores VL with pointers PointerOps can be lowered as a single masked store.
void inversePermutation(ArrayRef< unsigned > Indices, SmallVectorImpl< int > &Mask)
Compute the inverse permutation Mask of Indices.
uint64_t getVectorLoadShift(ArrayRef< Value * > Scalars)
Returns the distance in bytes from the start of the vector load to the first load of Scalars: the lea...
bool canWidenLoadsOverUndefLanes(ArrayRef< Value * > VL, const DataLayout &DL, ScalarEvolution &SE, AssumptionCache &AC, const DominatorTree &DT, const TargetLibraryInfo &TLI)
Checks if the simple loads of VL, mixed with the undef and poison lanes, can be replaced by a single ...
InstructionCost getScalarizationOverhead(const TargetTransformInfo &TTI, bool ReVec, Type *ScalarTy, VectorType *Ty, const APInt &DemandedElts, bool Insert, bool Extract, const TTI::TargetCostKind CostKind, bool ForPoisonSrc, ArrayRef< Value * > VL, TTI::VectorInstrContext VIC)
This is similar to TargetTransformInfo::getScalarizationOverhead, but if ScalarTy is a FixedVectorTyp...
InstructionsState getSameOpcode(ArrayRef< Value * > VL, const TargetLibraryInfo &TLI)
static bool buildCompressMask(ArrayRef< Value * > PointerOps, ArrayRef< unsigned > Order, Type *ScalarTy, const DataLayout &DL, ScalarEvolution &SE, SmallVectorImpl< int > &CompressMask, SLPAnalysisCache &Cache)
Builds compress-like mask for shuffles for the given PointerOps, ordered with Order.
bool arePointersCompatible(Value *Ptr1, Value *Ptr2, const TargetLibraryInfo &TLI, unsigned MaxDepth, bool CompareOpcodes)
MaxDepth is the recursion limit for getUnderlyingObject.
bool isConstant(Value *V)
unsigned getFullVectorNumberOfElements(const TargetTransformInfo &TTI, Type *Ty, unsigned Sz, bool ReVec)
Returns the number of elements of the given type Ty, not less than Sz, which forms type,...
This is an optimization pass for GlobalISel generic memory operations.
auto drop_begin(T &&RangeOrContainer, size_t N=1)
Return a range covering RangeOrContainer with the first N elements excluded.
void stable_sort(R &&Range)
bool all_of(R &&range, UnaryPredicate P)
Provide wrappers to std::all_of which take ranges instead of having to pass begin/end explicitly.
auto enumerate(FirstRange &&First, RestRanges &&...Rest)
Given two or more input ranges, returns a new range whose values are tuples (A, B,...
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
auto accumulate(R &&Range, E &&Init)
Wrapper for std::accumulate.
LLVM_ABI bool mustSuppressSpeculation(const LoadInst &LI)
Return true if speculation of the given load must be suppressed to avoid ordering or interfering with...
bool any_of(R &&range, UnaryPredicate P)
Provide wrappers to std::any_of which take ranges instead of having to pass begin/end explicitly.
@ Off
Use window algorithm after SMS algorithm fails.
LLVM_ABI std::optional< int64_t > getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB, Value *PtrB, const DataLayout &DL, ScalarEvolution &SE, bool StrictCheck=false, bool CheckType=true)
Returns the distance between the pointers PtrA and PtrB iff they are compatible and it is possible to...
LLVM_ABI const Value * getUnderlyingObject(const Value *V, unsigned MaxLookup=MaxLookupSearchDepth, bool MustPreserveProvenance=false)
This method strips off any GEP address adjustments, pointer casts or llvm.threadlocal....
bool isa(const From &Val)
isa<X> - Return true if the parameter to the template is an instance of one of the template type argu...
LLVM_ATTRIBUTE_VISIBILITY_DEFAULT AnalysisKey InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key
constexpr int PoisonMaskElem
LLVM_ABI bool isSafeToLoadUnconditionally(Value *V, Align Alignment, const APInt &Size, const SimplifyQuery &SQ, bool IgnoreFree=false)
Return true if we know that executing a load from this value cannot trap.
LLVM_ABI bool isDereferenceableAndAlignedPointer(const Value *V, Type *Ty, Align Alignment, const SimplifyQuery &Q, bool IgnoreFree=false)
Returns true if V is always a dereferenceable pointer with alignment greater or equal than requested.
constexpr unsigned BitWidth
auto count_if(R &&Range, UnaryPredicate P)
Wrapper function around std::count_if to count the number of times an element satisfying a given pred...
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
auto find_if(R &&Range, UnaryPredicate P)
Provide wrappers to std::find_if which take ranges instead of having to pass begin/end explicitly.
constexpr auto seq(T Begin, T End)
Iterate over an integral type from Begin up to - but not including - End.
LLVM_ABI bool isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC=nullptr, const Instruction *CtxI=nullptr, const DominatorTree *DT=nullptr, unsigned Depth=0)
Returns true if V cannot be poison, but may be undef.
@ End
Run the machine verifier once, at the end of the pipeline.
constexpr detail::IsaCheckPredicate< Types... > IsaPred
Function object wrapper for the llvm::isa type check.
This struct is a compact representation of a valid (non-zero power of two) alignment.
A MapVector that performs no allocations if smaller than a certain size.
Function object to check whether the first component of a container supported by std::get (like std::...
Function object to check whether the second component of a container supported by std::get (like std:...
Describe a single compressed load for costing and generating the vector instruction.