LLVM: llvm::TinyPtrVector< EltTy > Class Template Reference (original) (raw)
TinyPtrVector - This class is specialized for cases where there are normally 0 or 1 element in a vector, but is general enough to go beyond that when required. More...
#include "[llvm/ADT/TinyPtrVector.h](TinyPtrVector%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | VecTy = SmallVector<EltTy, 4> |
| using | value_type = typename VecTy::value_type |
| using | PtrUnion = PointerUnion<EltTy, VecTy *> |
| using | iterator = EltTy * |
| using | const_iterator = const EltTy * |
| using | reverse_iterator = std::reverse_iterator<iterator> |
| using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
template
class llvm::TinyPtrVector< EltTy >
TinyPtrVector - This class is specialized for cases where there are normally 0 or 1 element in a vector, but is general enough to go beyond that when required.
NOTE: This container doesn't allow you to store a null pointer into it.
Definition at line 28 of file TinyPtrVector.h.
◆ const_iterator
◆ const_reverse_iterator
◆ iterator
◆ PtrUnion
◆ reverse_iterator
◆ value_type
◆ VecTy
◆ ~TinyPtrVector()
◆ TinyPtrVector() [2/6]
◆ TinyPtrVector() [3/6]
◆ TinyPtrVector() [4/6]
◆ TinyPtrVector() [5/6]
Constructor from an ArrayRef.
This also is a constructor for individual array elements due to the single element constructor for ArrayRef.
Definition at line 122 of file TinyPtrVector.h.
◆ TinyPtrVector() [6/6]
◆ back()
◆ begin() [1/2]
Definition at line 153 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< ReachingDef >::begin(), llvm::TinyPtrVector< ReachingDef >::data(), llvm::TinyPtrVector< ReachingDef >::data(), llvm::TinyPtrVector< ReachingDef >::end(), llvm::TinyPtrVector< ReachingDef >::erase(), llvm::TinyPtrVector< ReachingDef >::erase(), llvm::TinyPtrVector< ReachingDef >::insert(), llvm::TinyPtrVector< ReachingDef >::insert(), llvm::TinyPtrVector< ReachingDef >::rend(), llvm::TinyPtrVector< ReachingDef >::rend(), and llvm::LoadAndStorePromoter::run().
◆ begin() [2/2]
◆ clear()
◆ data() [1/2]
◆ data() [2/2]
◆ empty()
◆ end() [1/2]
◆ end() [2/2]
◆ erase() [1/2]
◆ erase() [2/2]
◆ front()
◆ insert() [1/2]
◆ insert() [2/2]
template
template<typename ItTy>
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]()
◆ pop_back()
◆ push_back()
◆ rbegin() [1/2]
◆ rbegin() [2/2]
◆ rend() [1/2]
◆ rend() [2/2]
◆ size()
The documentation for this class was generated from the following file:
- include/llvm/ADT/TinyPtrVector.h