Searched refs:TheTable (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringMap.cpp | 41 static inline unsigned *getHashTable(StringMapEntryBase **TheTable, in getHashTable() argument 43 return reinterpret_cast<unsigned *>(TheTable + NumBuckets + 1); in getHashTable() 61 TheTable = nullptr; in StringMapImpl() 75 TheTable = createTable(NewNumBuckets); in init() 97 unsigned *HashTable = getHashTable(TheTable, NumBuckets); in LookupBucketFor() 102 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in LookupBucketFor() 156 unsigned *HashTable = getHashTable(TheTable, NumBuckets); in FindKey() 160 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in FindKey() 207 StringMapEntryBase *Result = TheTable[Bucket]; in RemoveKey() 208 TheTable[Bucket] = getTombstoneVal(); in RemoveKey() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 38 StringMapEntryBase **TheTable = nullptr; 47 : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets), in StringMapImpl() 50 RHS.TheTable = nullptr; in StringMapImpl() 57 ~StringMapImpl() { free(TheTable); } in ~StringMapImpl() 115 std::swap(TheTable, Other.TheTable); in swap() 164 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1), in StringMap() 165 *RHSHashTable = (unsigned *)(RHS.TheTable + NumBuckets + 1); in StringMap() 170 StringMapEntryBase *Bucket = RHS.TheTable[I]; in StringMap() 172 TheTable[I] = Bucket; in StringMap() 176 TheTable[I] = MapEntryTy::create( in StringMap() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionImport.h | 127 auto InsertResult = TheTable.try_emplace(Key, TheTable.size()); in createImportIDs() 136 auto It = TheTable.find(Key); in getImportIDs() 137 if (It != TheTable.end()) in getImportIDs() 149 auto It = TheTable.begin() + (ImportID >> 1); in lookup() 169 MapVector<std::pair<StringRef, GlobalValue::GUID>, ImportIDTy> TheTable; variable
|