LLVM 22.0.0git
SmallVectorExtras.h File Reference

This file defines less commonly used SmallVector utilities. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

template<unsigned Size, class ContainerTy, class PredicateFn>
auto llvm::filter_to_vector (ContainerTy &&C, PredicateFn &&Pred)
 Filter a range to a SmallVector with the element types deduced.
template<class ContainerTy, class PredicateFn>
auto llvm::filter_to_vector (ContainerTy &&C, PredicateFn &&Pred)
 Filter a range to a SmallVector with the element types deduced.
template<unsigned Size, class ContainerTy, class FuncTy>
auto llvm::map_to_vector (ContainerTy &&C, FuncTy &&F)
 Map a range to a SmallVector with element types deduced from the mapping.
template<class ContainerTy, class FuncTy>
auto llvm::map_to_vector (ContainerTy &&C, FuncTy &&F)
 Map a range to a SmallVector with element types deduced from the mapping.

Detailed Description

This file defines less commonly used SmallVector utilities.

Definition in file SmallVectorExtras.h.