Home
last modified time | relevance | path

Searched refs:NumTombstones (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Support/
DSmallPtrSet.cpp30 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
56 --NumTombstones; in insert_imp_big()
71 ++NumTombstones; in erase_imp()
84 ++NumTombstones; in erase_imp()
138 NumNonEmpty -= NumTombstones; in Grow()
139 NumTombstones = 0; in Grow()
203 NumTombstones = RHS.NumTombstones; in CopyHelper()
229 NumTombstones = RHS.NumTombstones; in MoveHelper()
235 RHS.NumTombstones = 0; in MoveHelper()
246 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
[all …]
DStringMap.cpp47 NumTombstones = 0; in StringMapImpl()
55 NumTombstones = 0; in init()
188 ++NumTombstones; in RemoveKey()
189 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
207 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
257 NumTombstones = 0; in RehashTable()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp31 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
57 --NumTombstones; in insert_imp_big()
72 ++NumTombstones; in erase_imp()
85 ++NumTombstones; in erase_imp()
139 NumNonEmpty -= NumTombstones; in Grow()
140 NumTombstones = 0; in Grow()
204 NumTombstones = RHS.NumTombstones; in CopyHelper()
230 NumTombstones = RHS.NumTombstones; in MoveHelper()
236 RHS.NumTombstones = 0; in MoveHelper()
247 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
[all …]
DStringMap.cpp49 NumTombstones = 0; in StringMapImpl()
57 NumTombstones = 0; in init()
188 ++NumTombstones; in RemoveKey()
189 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
205 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
255 NumTombstones = 0; in RehashTable()
/external/swiftshader/third_party/LLVM/lib/Support/
DSmallPtrSet.cpp27 NumElements = NumTombstones = 0; in shrink_and_clear()
58 } else if (CurArraySize-(NumElements+NumTombstones) < CurArraySize/8) { in insert_imp()
70 --NumTombstones; in insert_imp()
99 ++NumTombstones; in erase_imp()
168 NumTombstones = 0; in Grow()
192 NumTombstones = that.NumTombstones; in SmallPtrSetImpl()
223 NumTombstones = RHS.NumTombstones; in CopyFrom()
DStringMap.cpp32 NumTombstones = 0; in StringMapImpl()
40 NumTombstones = 0; in init()
171 ++NumTombstones; in RemoveKey()
172 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
189 } else if (NumBuckets-(NumItems+NumTombstones) < NumBuckets/8) { in RehashTable()
229 NumTombstones = 0; in RehashTable()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h58 unsigned NumTombstones; variable
65 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
68 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
73 RHS.NumTombstones = 0; in StringMapImpl()
120 std::swap(NumTombstones, Other.NumTombstones); in swap()
269 NumTombstones = RHS.NumTombstones; in StringMap()
355 --NumTombstones; in insert()
358 assert(NumItems + NumTombstones <= NumBuckets); in insert()
385 --NumTombstones; in try_emplace()
388 assert(NumItems + NumTombstones <= NumBuckets); in try_emplace()
[all …]
DSmallPtrSet.h73 unsigned NumTombstones; variable
83 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
99 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
112 NumTombstones = 0; in clear()
147 --NumTombstones; in insert_imp()
DDenseMap.h592 unsigned NumTombstones; variable
626 std::swap(NumTombstones, RHS.NumTombstones); in swap()
651 NumTombstones = 0; in copyFrom()
661 NumTombstones = 0; in init()
708 return NumTombstones; in getNumTombstones()
711 NumTombstones = Num; in setNumTombstones()
750 unsigned NumTombstones; variable
791 std::swap(NumTombstones, RHS.NumTombstones); in swap()
977 return NumTombstones; in getNumTombstones()
980 NumTombstones = Num; in setNumTombstones()
/external/llvm/include/llvm/ADT/
DStringMap.h51 unsigned NumTombstones; variable
58 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
61 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
66 RHS.NumTombstones = 0; in StringMapImpl()
113 std::swap(NumTombstones, Other.NumTombstones); in swap()
263 NumTombstones = RHS.NumTombstones; in StringMap()
351 --NumTombstones; in insert()
354 assert(NumItems + NumTombstones <= NumBuckets); in insert()
381 --NumTombstones; in emplace_second()
384 assert(NumItems + NumTombstones <= NumBuckets); in emplace_second()
[all …]
DSmallPtrSet.h67 unsigned NumTombstones; variable
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
88 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
101 NumTombstones = 0; in clear()
135 --NumTombstones; in insert_imp()
DDenseMap.h594 unsigned NumTombstones; variable
628 std::swap(NumTombstones, RHS.NumTombstones); in swap()
653 NumTombstones = 0; in copyFrom()
663 NumTombstones = 0; in init()
710 return NumTombstones; in getNumTombstones()
713 NumTombstones = Num; in setNumTombstones()
750 unsigned NumTombstones; variable
791 std::swap(NumTombstones, RHS.NumTombstones); in swap()
976 return NumTombstones; in getNumTombstones()
979 NumTombstones = Num; in setNumTombstones()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseMap.h45 unsigned NumTombstones; variable
108 if (NumEntries == 0 && NumTombstones == 0) return; in clear()
128 NumTombstones = 0; in clear()
190 ++NumTombstones; in erase()
198 ++NumTombstones; in erase()
205 std::swap(NumTombstones, RHS.NumTombstones); in swap()
251 NumTombstones = other.NumTombstones; in CopyFrom()
296 if (NumBuckets-(NumEntries+NumTombstones) < NumBuckets/8) { in InsertIntoBucket()
303 --NumTombstones; in InsertIntoBucket()
373 NumTombstones = 0; in init()
[all …]
DStringMap.h70 unsigned NumTombstones; variable
78 NumTombstones = 0; in StringMapImpl()
328 --NumTombstones; in insert()
331 assert(NumItems + NumTombstones <= NumBuckets); in insert()
351 NumTombstones = 0; in clear()
368 --NumTombstones; in GetOrCreateValue()
370 assert(NumItems + NumTombstones <= NumBuckets); in GetOrCreateValue()
DSmallPtrSet.h62 unsigned NumTombstones; variable
90 NumTombstones = 0; in clear()