reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
64 : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets), 67 RHS.TheTable = nullptr; 114 std::swap(TheTable, Other.TheTable); 114 std::swap(TheTable, Other.TheTable); 279 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1), 280 *RHSHashTable = (unsigned *)(RHS.TheTable + NumBuckets + 1); 285 StringMapEntryBase *Bucket = RHS.TheTable[I]; 287 TheTable[I] = Bucket; 291 TheTable[I] = MapEntryTy::Create( 317 StringMapEntryBase *Bucket = TheTable[I]; 323 free(TheTable); 338 return iterator(TheTable, NumBuckets == 0); 341 return iterator(TheTable+NumBuckets, true); 344 return const_iterator(TheTable, NumBuckets == 0); 347 return const_iterator(TheTable+NumBuckets, true); 358 return iterator(TheTable+Bucket, true); 364 return const_iterator(TheTable+Bucket, true); 395 StringMapEntryBase *&Bucket = TheTable[BucketNo]; 434 StringMapEntryBase *&Bucket = TheTable[BucketNo]; 436 return std::make_pair(iterator(TheTable + BucketNo, false), 446 return std::make_pair(iterator(TheTable + BucketNo, false), true); 456 StringMapEntryBase *&Bucket = TheTable[I];lib/Support/StringMap.cpp
46 TheTable = nullptr; 60 TheTable = static_cast<StringMapEntryBase **>( 69 TheTable[NumBuckets] = (StringMapEntryBase*)2; 85 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); 90 StringMapEntryBase *BucketItem = TheTable[BucketNo]; 139 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); 143 StringMapEntryBase *BucketItem = TheTable[BucketNo]; 189 StringMapEntryBase *Result = TheTable[Bucket]; 190 TheTable[Bucket] = getTombstoneVal(); 202 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); 228 StringMapEntryBase *Bucket = TheTable[I]; 255 free(TheTable); 257 TheTable = NewTableArray;