LLVM
15.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 30 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::const_iterator = const EltTy * |
Definition at line 181 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 183 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::iterator = EltTy * |
Definition at line 180 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::PtrUnion = PointerUnion<EltTy, VecTy *> |
Definition at line 38 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 182 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::value_type = typename VecTy::value_type |
Definition at line 33 of file TinyPtrVector.h.
using llvm::TinyPtrVector< EltTy >::VecTy = SmallVector<EltTy, 4> |
Definition at line 32 of file TinyPtrVector.h.
|
default |
|
inline |
Definition at line 46 of file TinyPtrVector.h.
|
inline |
Definition at line 51 of file TinyPtrVector.h.
|
inline |
Definition at line 84 of file TinyPtrVector.h.
|
inline |
Definition at line 114 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 124 of file TinyPtrVector.h.
|
inline |
Definition at line 131 of file TinyPtrVector.h.
|
inline |
Definition at line 237 of file TinyPtrVector.h.
|
inline |
Definition at line 185 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< llvm::VPValue * >::begin(), llvm::TinyPtrVector< llvm::VPValue * >::end(), llvm::TinyPtrVector< llvm::VPValue * >::erase(), llvm::TinyPtrVector< llvm::VPValue * >::insert(), and llvm::TinyPtrVector< llvm::VPValue * >::rend().
|
inline |
Definition at line 199 of file TinyPtrVector.h.
|
inline |
Definition at line 271 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< llvm::VPValue * >::operator=(), and llvm::LoadAndStorePromoter::run().
|
inline |
Definition at line 163 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< llvm::VPValue * >::back(), buildFrameDebugInfo(), llvm::TinyPtrVector< llvm::VPValue * >::front(), llvm::LoadAndStorePromoter::run(), llvm::TinyPtrVector< llvm::VPValue * >::size(), unswitchBestCondition(), and unswitchTrivialBranch().
|
inline |
Definition at line 192 of file TinyPtrVector.h.
Referenced by llvm::TinyPtrVector< llvm::VPValue * >::end(), llvm::TinyPtrVector< llvm::VPValue * >::erase(), llvm::TinyPtrVector< llvm::VPValue * >::insert(), and llvm::TinyPtrVector< llvm::VPValue * >::rbegin().
|
inline |
Definition at line 203 of file TinyPtrVector.h.
|
inline |
Definition at line 282 of file TinyPtrVector.h.
|
inline |
Definition at line 298 of file TinyPtrVector.h.
|
inline |
Definition at line 230 of file TinyPtrVector.h.
Referenced by buildFrameDebugInfo(), cloneInstructionInExitBlock(), llvm::objcarc::createCallInstWithColors(), and populateEHOperandBundle().
|
inline |
Definition at line 312 of file TinyPtrVector.h.
|
inline |
Definition at line 332 of file TinyPtrVector.h.
|
inline |
Definition at line 137 of file TinyPtrVector.h.
|
inline |
Definition at line 159 of file TinyPtrVector.h.
|
inline |
Definition at line 146 of file TinyPtrVector.h.
|
inline |
Definition at line 56 of file TinyPtrVector.h.
|
inline |
Definition at line 88 of file TinyPtrVector.h.
|
inline |
Definition at line 218 of file TinyPtrVector.h.
|
inline |
Definition at line 263 of file TinyPtrVector.h.
|
inline |
Definition at line 244 of file TinyPtrVector.h.
Referenced by collectHomogenousInstGraphLoopInvariants(), llvm::colorEHFunclets(), llvm::FindDbgAddrUses(), llvm::FindDbgDeclareUses(), llvm::TinyPtrVector< llvm::VPValue * >::insert(), unswitchBestCondition(), and unswitchTrivialBranch().
|
inline |
Definition at line 207 of file TinyPtrVector.h.
|
inline |
Definition at line 210 of file TinyPtrVector.h.
|
inline |
Definition at line 208 of file TinyPtrVector.h.
|
inline |
Definition at line 214 of file TinyPtrVector.h.
|
inline |
Definition at line 172 of file TinyPtrVector.h.
Referenced by cloneInstructionInExitBlock(), llvm::objcarc::createCallInstWithColors(), llvm::VPDef::getNumDefinedValues(), llvm::VPDef::getVPSingleValue(), populateEHOperandBundle(), and llvm::LoadAndStorePromoter::run().