Searched refs:NumItems (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 39 unsigned NumItems = 0; variable 47 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl() 51 RHS.NumItems = 0; in StringMapImpl() 101 unsigned getNumItems() const { return NumItems; } in getNumItems() 103 bool empty() const { return NumItems == 0; } in empty() 104 unsigned size() const { return NumItems; } in size() 116 std::swap(NumItems, Other.NumItems); in swap() 166 NumItems = RHS.NumItems; in StringMap() 317 ++NumItems; in insert() 318 assert(NumItems + NumTombstones <= NumBuckets); in insert() [all …]
|
H A D | SmallVector.h | 682 void pop_back_n(size_type NumItems) { in pop_back_n() argument 683 assert(this->size() >= NumItems); in pop_back_n() 684 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 | 206 auto NumItems = End - Begin; in parallelFor() local 209 auto TaskSize = NumItems / parallel::detail::MaxTasksPerGroup; in parallelFor()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamReader.h | 217 /// Read a FixedStreamArray of \p NumItems elements and store the result into 226 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { 227 if (NumItems == 0) { 232 if (NumItems > UINT32_MAX / sizeof(T)) in readArray() 237 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray() 228 readArray(FixedStreamArray<T> & Array,uint32_t NumItems) readArray() argument
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 1789 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local 1800 getContext().getObjCIdType(), llvm::APInt(32, NumItems), nullptr, in EmitObjCForCollectionStmt() 1834 llvm::Constant *Count = llvm::ConstantInt::get(NSUIntegerTy, NumItems); in EmitObjCForCollectionStmt()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 5646 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local 5647 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()
|