Lines Matching defs:SmallVector
1 //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===//
10 // This file defines the SmallVector class.
317 // Use memcpy for PODs iterated by pointers (which includes SmallVector
343 /// SmallVector class to reduce code duplication based on the SmallVector 'N'
414 /// append - Add the specified range to the end of the SmallVector.
430 /// append - Add the specified range to the end of the SmallVector.
825 /// Storage for the SmallVector elements which aren't contained in
836 /// SmallVector - This is a 'vector' (really, a variable-sized array), optimized
845 class SmallVector : public SmallVectorImpl<T> {
849 SmallVector() : SmallVectorImpl<T>(N) {
852 explicit SmallVector(unsigned Size, const T &Value = T())
858 SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
863 explicit SmallVector(const llvm::iterator_range<RangeTy> R)
868 SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
873 const SmallVector &operator=(const SmallVector &RHS) {
878 SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) {
883 const SmallVector &operator=(SmallVector &&RHS) {
890 static inline size_t capacity_in_bytes(const SmallVector<T, N> &X) {
897 /// Implement std::swap in terms of SmallVector swap.
904 /// Implement std::swap in terms of SmallVector swap.
907 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) {