Searched refs:NumItems (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 40 unsigned NumItems = 0; variable 48 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl() 52 RHS.NumItems = 0; in StringMapImpl() 102 unsigned getNumItems() const { return NumItems; } in getNumItems() 104 bool empty() const { return NumItems == 0; } in empty() 105 unsigned size() const { return NumItems; } in size() 117 std::swap(NumItems, Other.NumItems); in swap() 167 NumItems = RHS.NumItems; in StringMap() 318 ++NumItems; in insert() 319 assert(NumItems + NumTombstones <= NumBuckets); in insert() [all …]
|
| H A D | SmallVector.h | 669 void pop_back_n(size_type NumItems) { in pop_back_n() argument 670 assert(this->size() >= NumItems); in pop_back_n() 671 truncate(this->size() - NumItems); in pop_back_n()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringMap.cpp | 63 NumItems = 0; in StringMapImpl() 72 NumItems = 0; in init() 209 --NumItems; in RemoveKey() 211 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey() 223 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable() 225 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
|
| H A D | Parallel.cpp | 215 auto NumItems = End - Begin; in parallelFor() local 218 auto TaskSize = NumItems / parallel::detail::MaxTasksPerGroup; in parallelFor()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamReader.h | 228 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument 229 if (NumItems == 0) { in readArray() 234 if (NumItems > UINT32_MAX / sizeof(T)) in readArray() 239 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 1833 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local 1844 getContext().getObjCIdType(), llvm::APInt(32, NumItems), nullptr, in EmitObjCForCollectionStmt() 1878 llvm::Constant *Count = llvm::ConstantInt::get(NSUIntegerTy, NumItems); in EmitObjCForCollectionStmt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5738 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local 5739 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()
|