Home
last modified time | relevance | path

Searched refs:NumNonEmpty (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSmallPtrSet.cpp32 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
45 } else if (LLVM_UNLIKELY(CurArraySize - NumNonEmpty < CurArraySize / 8)) { in insert_imp_big()
60 ++NumNonEmpty; // Track density. in insert_imp_big()
118 NumNonEmpty -= NumTombstones; in Grow()
178 NumNonEmpty = RHS.NumNonEmpty; in CopyHelper()
196 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray); in MoveHelper()
204 NumNonEmpty = RHS.NumNonEmpty; in MoveHelper()
210 RHS.NumNonEmpty = 0; in MoveHelper()
221 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
232 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, this->SmallArray); in swap()
[all …]
/external/llvm/lib/Support/
DSmallPtrSet.cpp30 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
43 } else if (LLVM_UNLIKELY(CurArraySize - NumNonEmpty < CurArraySize / 8)) { in insert_imp_big()
58 ++NumNonEmpty; // Track density. in insert_imp_big()
66 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp()
138 NumNonEmpty -= NumTombstones; in Grow()
202 NumNonEmpty = RHS.NumNonEmpty; in CopyHelper()
220 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray); in MoveHelper()
228 NumNonEmpty = RHS.NumNonEmpty; in MoveHelper()
234 RHS.NumNonEmpty = 0; in MoveHelper()
245 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp31 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
44 } else if (LLVM_UNLIKELY(CurArraySize - NumNonEmpty < CurArraySize / 8)) { in insert_imp_big()
59 ++NumNonEmpty; // Track density. in insert_imp_big()
67 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp()
139 NumNonEmpty -= NumTombstones; in Grow()
203 NumNonEmpty = RHS.NumNonEmpty; in CopyHelper()
221 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray); in MoveHelper()
229 NumNonEmpty = RHS.NumNonEmpty; in MoveHelper()
235 RHS.NumNonEmpty = 0; in MoveHelper()
246 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
[all …]
/external/llvm/include/llvm/ADT/
DSmallPtrSet.h65 unsigned NumNonEmpty; variable
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
88 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
100 NumNonEmpty = 0; in clear()
113 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer()
123 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp()
140 if (NumNonEmpty < CurArraySize) { in insert_imp()
141 SmallArray[NumNonEmpty++] = Ptr; in insert_imp()
142 return std::make_pair(SmallArray + (NumNonEmpty - 1), true); in insert_imp()
159 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in count_imp()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h71 unsigned NumNonEmpty; variable
83 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
99 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
111 NumNonEmpty = 0; in clear()
125 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer()
135 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp()
152 if (NumNonEmpty < CurArraySize) { in insert_imp()
153 SmallArray[NumNonEmpty++] = Ptr; in insert_imp()
154 return std::make_pair(SmallArray + (NumNonEmpty - 1), true); in insert_imp()
171 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in count_imp()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSmallPtrSet.h65 unsigned NumNonEmpty; variable
77 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
93 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
106 NumNonEmpty = 0; in clear()
120 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer()
130 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp()
148 if (NumNonEmpty < CurArraySize) { in insert_imp()
149 SmallArray[NumNonEmpty++] = Ptr; in insert_imp()
151 return std::make_pair(SmallArray + (NumNonEmpty - 1), true); in insert_imp()
181 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in find_imp()