Searched refs:NumItems (Results 1 – 4 of 4) sorted by relevance
48 unsigned NumItems; variable55 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()58 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()62 RHS.NumItems = 0; in StringMapImpl()96 unsigned getNumItems() const { return NumItems; } in getNumItems()98 bool empty() const { return NumItems == 0; } in empty()99 unsigned size() const { return NumItems; } in size()104 std::swap(NumItems, Other.NumItems); in swap()306 ++NumItems; in insert()307 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()
1438 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local1451 llvm::APInt(32, NumItems), in EmitObjCForCollectionStmt()1485 llvm::Constant *Count = llvm::ConstantInt::get(UnsignedLongLTy, NumItems); in EmitObjCForCollectionStmt()
3755 unsigned NumItems = Record[CurIdx++]; in ParseFunctionBody() local3756 for (unsigned ci = 0; ci != NumItems; ++ci) { in ParseFunctionBody()