Searched refs:NumTombstones (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 31 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 …]
|
H A D | StringMap.cpp | 64 NumTombstones = 0; in StringMapImpl() 73 NumTombstones = 0; in init() 210 ++NumTombstones; in RemoveKey() 211 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey() 225 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable() 264 NumTombstones = 0; in RehashTable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 40 unsigned NumTombstones = 0; variable 47 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl() 52 RHS.NumTombstones = 0; in StringMapImpl() 117 std::swap(NumTombstones, Other.NumTombstones); in swap() 167 NumTombstones = RHS.NumTombstones; in StringMap() 315 --NumTombstones; in insert() 318 assert(NumItems + NumTombstones <= NumBuckets); in insert() 383 --NumTombstones; in try_emplace_with_hash() 387 assert(NumItems + NumTombstones <= NumBuckets); in try_emplace_with_hash() 409 NumTombstones = 0; in clear()
|
H A D | SmallPtrSet.h | 68 unsigned NumTombstones; variable 78 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase() 94 size_type size() const { return NumNonEmpty - NumTombstones; } in size() 108 NumTombstones = 0; in clear() 170 NumTombstones++; in erase_imp() 403 ++NumTombstones; in remove_if()
|
H A D | DenseMap.h | 767 unsigned NumTombstones; variable 806 std::swap(NumTombstones, RHS.NumTombstones); in swap() 831 NumTombstones = 0; in copyFrom() 841 NumTombstones = 0; in init() 892 return NumTombstones; in getNumTombstones() 896 NumTombstones = Num; in setNumTombstones() 938 unsigned NumTombstones; variable 984 std::swap(NumTombstones, RHS.NumTombstones); in swap() 1172 return NumTombstones; in getNumTombstones() 1176 NumTombstones = Num; in setNumTombstones()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map.h | 578 unsigned NumTombstones = 0; variable 605 Swap(NumTombstones, RHS.NumTombstones); in swap() 630 NumTombstones = 0; in copyFrom() 640 NumTombstones = 0; in init() 666 unsigned getNumTombstones() const { return NumTombstones; } in getNumTombstones() 668 void setNumTombstones(unsigned Num) { NumTombstones = Num; } in setNumTombstones()
|