Home
last modified time | relevance | path

Searched refs:NumItems (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/ADT/
DStringMap.h48 unsigned NumItems; variable
55 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 …]
/external/llvm/lib/Support/
DStringMap.cpp32 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()
/external/clang/lib/CodeGen/
DCGObjC.cpp1438 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local
1451 llvm::APInt(32, NumItems), in EmitObjCForCollectionStmt()
1485 llvm::Constant *Count = llvm::ConstantInt::get(UnsignedLongLTy, NumItems); in EmitObjCForCollectionStmt()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3755 unsigned NumItems = Record[CurIdx++]; in ParseFunctionBody() local
3756 for (unsigned ci = 0; ci != NumItems; ++ci) { in ParseFunctionBody()