Home
last modified time | relevance | path

Searched refs:CurArraySize (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DSmallPtrSet.cpp28 CurArraySize = NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32; in shrink_and_clear()
32 CurArray = (const void**)malloc(sizeof(void*) * (CurArraySize+1)); in shrink_and_clear()
34 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear()
38 CurArray[CurArraySize] = 0; in shrink_and_clear()
50 if (NumElements < CurArraySize-1) { in insert_imp()
57 if (NumElements*4 >= CurArraySize*3) { in insert_imp()
59 Grow(CurArraySize < 64 ? 128 : CurArraySize*2); in insert_imp()
60 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) { in insert_imp()
63 Grow(CurArraySize); in insert_imp()
106 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1); in FindBucketFor()
[all …]
/external/llvm/include/llvm/ADT/
DSmallPtrSet.h58 unsigned CurArraySize; variable
67 SmallArray(SmallStorage), CurArray(SmallStorage), CurArraySize(SmallSize) { in SmallPtrSetImpl()
84 if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32) in clear()
88 memset(CurArray, -1, CurArraySize*sizeof(void*)); in clear()
280 return iterator(CurArray+CurArraySize);
/external/clang/utils/
DclangVisualizers.txt205 " CurArraySize=", $e.CurArraySize
213 #(CurArraySize : $e.CurArraySize),
216 size: $e.CurArraySize + 1