Searched refs:FirstEl (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 124 void *SmallVectorBase<Size_T>::mallocForGrow(void *FirstEl, size_t MinSize, in mallocForGrow() argument 129 // capacity 0, it's possible for the malloc to return FirstEl. in mallocForGrow() 131 if (NewElts == FirstEl) in mallocForGrow() 138 void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize, in grow_pod() argument 142 if (BeginX == FirstEl) { in grow_pod() 144 if (NewElts == FirstEl) in grow_pod() 152 if (NewElts == FirstEl) in grow_pod()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 64 SmallVectorBase(void *FirstEl, size_t TotalCapacity) in SmallVectorBase() argument 65 : BeginX(FirstEl), Capacity(static_cast<Size_T>(TotalCapacity)) {} in SmallVectorBase() 70 void *mallocForGrow(void *FirstEl, size_t MinSize, size_t TSize, 76 void grow_pod(void *FirstEl, size_t MinSize, size_t TSize); 127 alignas(T) char FirstEl[sizeof(T)]; member 145 offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); in getFirstEl()
|