Home
last modified time | relevance | path

Searched refs:NumTombstones (Results 1 – 20 of 20) 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/llvm-project/llvm/lib/Support/
DSmallPtrSet.cpp31 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
57 --NumTombstones; in insert_imp_big()
117 NumNonEmpty -= NumTombstones; in Grow()
118 NumTombstones = 0; in Grow()
178 NumTombstones = RHS.NumTombstones; in CopyHelper()
204 NumTombstones = RHS.NumTombstones; in MoveHelper()
210 RHS.NumTombstones = 0; in MoveHelper()
221 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
234 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
248 std::swap(RHS.NumTombstones, this->NumTombstones); in swap()
[all …]
DStringMap.cpp47 NumTombstones = 0; in StringMapImpl()
56 NumTombstones = 0; in init()
192 ++NumTombstones; in RemoveKey()
193 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
209 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
259 NumTombstones = 0; in RehashTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallPtrSet.cpp31 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
57 --NumTombstones; in insert_imp_big()
117 NumNonEmpty -= NumTombstones; in Grow()
118 NumTombstones = 0; in Grow()
178 NumTombstones = RHS.NumTombstones; in CopyHelper()
204 NumTombstones = RHS.NumTombstones; in MoveHelper()
210 RHS.NumTombstones = 0; in MoveHelper()
221 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
234 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
248 std::swap(RHS.NumTombstones, this->NumTombstones); in swap()
[all …]
DStringMap.cpp49 NumTombstones = 0; in StringMapImpl()
58 NumTombstones = 0; in init()
192 ++NumTombstones; in RemoveKey()
193 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
209 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
259 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/llvm-project/llvm/include/llvm/ADT/
DStringMap.h38 unsigned NumTombstones = 0; variable
45 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
50 RHS.NumTombstones = 0; in StringMapImpl()
99 std::swap(NumTombstones, Other.NumTombstones); in swap()
150 NumTombstones = RHS.NumTombstones; in StringMap()
283 --NumTombstones; in insert()
286 assert(NumItems + NumTombstones <= NumBuckets); in insert()
323 --NumTombstones; in try_emplace()
326 assert(NumItems + NumTombstones <= NumBuckets); in try_emplace()
348 NumTombstones = 0; in clear()
DSmallPtrSet.h66 unsigned NumTombstones; variable
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
92 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
106 NumTombstones = 0; in clear()
141 --NumTombstones; in insert_imp()
169 NumTombstones++; in erase_imp()
DDenseMap.h723 unsigned NumTombstones; variable
762 std::swap(NumTombstones, RHS.NumTombstones); in swap()
787 NumTombstones = 0; in copyFrom()
797 NumTombstones = 0; in init()
848 return NumTombstones; in getNumTombstones()
852 NumTombstones = Num; in setNumTombstones()
894 unsigned NumTombstones; variable
935 std::swap(NumTombstones, RHS.NumTombstones); in swap()
1123 return NumTombstones; in getNumTombstones()
1127 NumTombstones = Num; in setNumTombstones()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h57 unsigned NumTombstones = 0; variable
65 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
70 RHS.NumTombstones = 0; in StringMapImpl()
117 std::swap(NumTombstones, Other.NumTombstones); in swap()
283 NumTombstones = RHS.NumTombstones; in StringMap()
400 --NumTombstones; in insert()
403 assert(NumItems + NumTombstones <= NumBuckets); in insert()
440 --NumTombstones; in try_emplace()
443 assert(NumItems + NumTombstones <= NumBuckets); in try_emplace()
464 NumTombstones = 0; in clear()
DSmallPtrSet.h66 unsigned NumTombstones; variable
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
92 size_type size() const { return NumNonEmpty - NumTombstones; } in size()
106 NumTombstones = 0; in clear()
141 --NumTombstones; in insert_imp()
169 NumTombstones++; in erase_imp()
DDenseMap.h694 unsigned NumTombstones; variable
733 std::swap(NumTombstones, RHS.NumTombstones); in swap()
758 NumTombstones = 0; in copyFrom()
768 NumTombstones = 0; in init()
819 return NumTombstones; in getNumTombstones()
823 NumTombstones = Num; in setNumTombstones()
865 unsigned NumTombstones; variable
906 std::swap(NumTombstones, RHS.NumTombstones); in swap()
1094 return NumTombstones; in getNumTombstones()
1098 NumTombstones = Num; in setNumTombstones()