LLVM 20.0.0git
|
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"
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 > |
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 29 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::const_iterator = const EltTy * |
Definition at line 180 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 182 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::iterator = EltTy * |
Definition at line 179 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::PtrUnion = PointerUnion<EltTy, VecTy *> |
Definition at line 37 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 181 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::value_type = typename VecTy::value_type |
Definition at line 32 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::VecTy = SmallVector<EltTy, 4> |
Definition at line 31 of file TinyPtrVector.h.
|
default |
|
inline |
Definition at line 45 of file TinyPtrVector.h.
|
inline |
Definition at line 50 of file TinyPtrVector.h.
|
inline |
Definition at line 83 of file TinyPtrVector.h.
References RHS.
|
inline |
Definition at line 113 of file TinyPtrVector.h.
|
inlineexplicit |
Constructor from an ArrayRef.
This also is a constructor for individual array elements due to the single element constructor for ArrayRef.
Definition at line 123 of file TinyPtrVector.h.
|
inline |
Definition at line 130 of file TinyPtrVector.h.
|
inline |
Definition at line 235 of file TinyPtrVector.h.
References assert(), and llvm::TinyPtrVector< EltTy >::empty().
|
inline |
Definition at line 184 of file TinyPtrVector.h.
References llvm::PointerUnion< PTs >::getAddrOfPtr1().
Referenced by llvm::TinyPtrVector< EltTy >::begin(), llvm::TinyPtrVector< EltTy >::end(), llvm::TinyPtrVector< EltTy >::erase(), llvm::TinyPtrVector< EltTy >::insert(), and llvm::TinyPtrVector< EltTy >::rend().
|
inline |
Definition at line 198 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::begin().
|
inline |
Definition at line 269 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< EltTy >::operator=(), and llvm::LoadAndStorePromoter::run().
|
inline |
Definition at line 162 of file TinyPtrVector.h.
References llvm::PointerUnion< PTs >::isNull().
Referenced by llvm::TinyPtrVector< EltTy >::back(), buildFrameDebugInfo(), collectUnswitchCandidates(), llvm::TinyPtrVector< EltTy >::front(), insertSpills(), llvm::replaceDbgDeclare(), llvm::LoadAndStorePromoter::run(), llvm::TinyPtrVector< EltTy >::size(), and unswitchTrivialBranch().
|
inline |
Definition at line 191 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::begin(), and llvm::PointerUnion< PTs >::isNull().
Referenced by llvm::TinyPtrVector< EltTy >::end(), llvm::TinyPtrVector< EltTy >::erase(), llvm::TinyPtrVector< EltTy >::insert(), and llvm::TinyPtrVector< EltTy >::rbegin().
|
inline |
Definition at line 202 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::end().
|
inline |
Definition at line 280 of file TinyPtrVector.h.
References assert(), llvm::TinyPtrVector< EltTy >::begin(), llvm::TinyPtrVector< EltTy >::end(), and I.
|
inline |
Definition at line 296 of file TinyPtrVector.h.
References assert(), llvm::TinyPtrVector< EltTy >::begin(), E, and llvm::TinyPtrVector< EltTy >::end().
|
inline |
Definition at line 228 of file TinyPtrVector.h.
References assert(), and llvm::TinyPtrVector< EltTy >::empty().
Referenced by buildFrameDebugInfo(), cloneInstructionInExitBlock(), llvm::objcarc::createCallInstWithColors(), and populateEHOperandBundle().
|
inline |
Definition at line 310 of file TinyPtrVector.h.
References assert(), llvm::TinyPtrVector< EltTy >::begin(), llvm::TinyPtrVector< EltTy >::end(), I, llvm::PointerUnion< PTs >::isNull(), and llvm::TinyPtrVector< EltTy >::push_back().
|
inline |
Definition at line 330 of file TinyPtrVector.h.
References assert(), llvm::TinyPtrVector< EltTy >::begin(), llvm::TinyPtrVector< EltTy >::end(), From, I, llvm::PointerUnion< PTs >::isNull(), and llvm::Offset.
|
inline |
Definition at line 136 of file TinyPtrVector.h.
References llvm::PointerUnion< PTs >::getAddrOfPtr1(), and llvm::PointerUnion< PTs >::isNull().
|
inline |
Definition at line 158 of file TinyPtrVector.h.
|
inline |
Definition at line 145 of file TinyPtrVector.h.
References llvm::PointerUnion< PTs >::getAddrOfPtr1(), and llvm::PointerUnion< PTs >::isNull().
|
inline |
Definition at line 55 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::clear(), and RHS.
|
inline |
Definition at line 87 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::clear(), and RHS.
|
inline |
Definition at line 217 of file TinyPtrVector.h.
References assert(), llvm::PointerUnion< PTs >::isNull(), and llvm::TinyPtrVector< EltTy >::size().
|
inline |
Definition at line 261 of file TinyPtrVector.h.
|
inline |
Definition at line 242 of file TinyPtrVector.h.
References assert(), and llvm::PointerUnion< PTs >::isNull().
Referenced by collectHomogenousInstGraphLoopInvariants(), llvm::colorEHFunclets(), llvm::findDbgDeclares(), llvm::findDVRDeclares(), llvm::TinyPtrVector< EltTy >::insert(), and unswitchTrivialBranch().
|
inline |
Definition at line 206 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::end().
|
inline |
Definition at line 209 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::end().
|
inline |
Definition at line 207 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::begin().
|
inline |
Definition at line 213 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::begin().
|
inline |
Definition at line 171 of file TinyPtrVector.h.
References llvm::TinyPtrVector< EltTy >::empty().
Referenced by cloneInstructionInExitBlock(), llvm::objcarc::createCallInstWithColors(), llvm::VPDef::getNumDefinedValues(), llvm::VPDef::getVPSingleValue(), llvm::TinyPtrVector< EltTy >::operator[](), populateEHOperandBundle(), and llvm::LoadAndStorePromoter::run().