Searched refs:NumItems (Results 1 – 4 of 4) sorted by relevance
49 unsigned NumItems; variable57 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()60 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()64 RHS.NumItems = 0; in StringMapImpl()100 unsigned getNumItems() const { return NumItems; } in getNumItems()102 bool empty() const { return NumItems == 0; } in empty()103 unsigned size() const { return NumItems; } in size()108 std::swap(NumItems, Other.NumItems); in swap()319 ++NumItems; in insert()320 assert(NumItems + NumTombstones <= NumBuckets); in insert()[all …]
32 NumItems = 0; in StringMapImpl()40 NumItems = 0; in init()173 --NumItems; in RemoveKey()175 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()191 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()193 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
1484 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local1497 llvm::APInt(32, NumItems), in EmitObjCForCollectionStmt()1533 llvm::Constant *Count = llvm::ConstantInt::get(UnsignedLongLTy, NumItems); in EmitObjCForCollectionStmt()
4561 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local4562 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()