| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CachedHashString.h | 29 class CachedHashStringRef { 36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function 39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function 50 template <> struct DenseMapInfo<CachedHashStringRef> { 51 static CachedHashStringRef getEmptyKey() { 54 static CachedHashStringRef getTombstoneKey() { 57 static unsigned getHashValue(const CachedHashStringRef &S) { 62 static bool isEqual(const CachedHashStringRef &LHS, 63 const CachedHashStringRef &RHS) { 141 operator CachedHashStringRef() const { [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | StringTableBuilder.h | 40 DenseMap<CachedHashStringRef, size_t> StringIndexMap; 56 size_t add(CachedHashStringRef S); 57 size_t add(StringRef S) { return add(CachedHashStringRef(S)); } in add() 69 size_t getOffset(CachedHashStringRef S) const; 71 return getOffset(CachedHashStringRef(S)); in getOffset() 78 return contains(CachedHashStringRef(S)); in contains() 80 bool contains(CachedHashStringRef S) const { in contains()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 69 using StringPair = std::pair<CachedHashStringRef, size_t>; 180 StringIndexMap[CachedHashStringRef(" ")] = 0; in finalizeStringTable() 187 StringIndexMap[CachedHashStringRef("")] = 0; in finalizeStringTable() 195 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { in getOffset() 202 size_t StringTableBuilder::add(CachedHashStringRef S) { in add()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | SymbolTable.h | 61 llvm::DenseMap<llvm::CachedHashStringRef, SharedFile *> soNames; 66 llvm::DenseMap<llvm::CachedHashStringRef, const InputFile *> comdatGroups; 94 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
| H A D | SymbolTable.cpp | 36 int &idx1 = symMap[CachedHashStringRef(sym->getName())]; in wrap() 37 int &idx2 = symMap[CachedHashStringRef(real->getName())]; in wrap() 38 int &idx3 = symMap[CachedHashStringRef(wrap->getName())]; in wrap() 78 auto p = symMap.insert({CachedHashStringRef(stem), (int)symVector.size()}); in insert() 113 auto it = symMap.find(CachedHashStringRef(name)); in find()
|
| H A D | LinkerScript.cpp | 134 OutputDesc *&secRef = nameToOutputSection[CachedHashStringRef(name)]; in createOutputSection() 149 OutputDesc *&cmdRef = nameToOutputSection[CachedHashStringRef(name)]; in getOrCreateOutputSection() 655 DenseMap<CachedHashStringRef, OutputDesc *> map; in processSectionCommands() 660 !map.try_emplace(CachedHashStringRef(osec->name), osd).second) in processSectionCommands() 666 if (OutputDesc *overwrite = map.lookup(CachedHashStringRef(osec->name))) { in processSectionCommands()
|
| H A D | InputFiles.cpp | 652 symtab.comdatGroups.try_emplace(CachedHashStringRef(signature), this) in parse() 790 symtab.comdatGroups.find(CachedHashStringRef(signature))->second == in initializeSections() 1453 DenseMap<CachedHashStringRef, SharedFile *>::iterator it; in parse() 1456 symtab.soNames.try_emplace(CachedHashStringRef(soName), this); in parse() 1719 symtab.comdatGroups.try_emplace(CachedHashStringRef(s.first), this) in parse()
|
| H A D | LinkerScript.h | 279 llvm::DenseMap<llvm::CachedHashStringRef, OutputDesc *> nameToOutputSection;
|
| H A D | SyntheticSections.h | 400 llvm::DenseMap<llvm::CachedHashStringRef, unsigned> stringMap; 806 llvm::CachedHashStringRef name; 817 llvm::CachedHashStringRef name;
|
| H A D | InputSection.h | 314 llvm::CachedHashStringRef getData(size_t i) const { in getData()
|
| H A D | Writer.cpp | 1333 DenseMap<CachedHashStringRef, SymbolOrderEntry> symbolOrder; in buildSectionOrder() 1336 symbolOrder.insert({CachedHashStringRef(s), {priority++, false}}); in buildSectionOrder() 1340 auto it = symbolOrder.find(CachedHashStringRef(sym.getName())); in buildSectionOrder() 2039 return symtab.soNames.count(CachedHashStringRef(needed)); in finalizeSections()
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | SymbolTable.h | 64 Symbol *find(llvm::CachedHashStringRef name); 65 Symbol *find(StringRef name) { return find(llvm::CachedHashStringRef(name)); } in find() 69 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
| H A D | ObjC.cpp | 147 DenseMap<CachedHashStringRef, MethodContainer> instanceMethods; 148 DenseMap<CachedHashStringRef, MethodContainer> classMethods; 199 CachedHashStringRef methodName(getReferentString(r)); in parseMethods()
|
| H A D | DriverUtils.cpp | 212 static DenseMap<CachedHashStringRef, DylibFile *> loadedDylibs; 216 CachedHashStringRef path(mbref.getBufferIdentifier()); in loadDylib()
|
| H A D | InputFiles.h | 282 llvm::DenseSet<llvm::CachedHashStringRef> hiddenSymbols; 323 extern llvm::DenseMap<llvm::CachedHashStringRef, MemoryBufferRef> cachedReads;
|
| H A D | Driver.cpp | 85 static DenseMap<CachedHashStringRef, StringRef> resolvedLibraries; 87 CachedHashStringRef key(name); in findLibrary() 116 static DenseMap<CachedHashStringRef, StringRef> resolvedFrameworks; 118 CachedHashStringRef key(name); in findFramework() 1089 literals.insert(CachedHashStringRef(symbolName)); in insert() 1097 return literals.contains(CachedHashStringRef(symbolName)); in matchLiteral() 1840 for (const CachedHashStringRef &cachedName : config->exportedSymbols.literals) in link()
|
| H A D | Config.h | 95 llvm::DenseSet<llvm::CachedHashStringRef> literals;
|
| H A D | SymbolTable.cpp | 24 Symbol *SymbolTable::find(CachedHashStringRef cachedName) { in find() 33 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()}); in insert()
|
| H A D | InputSection.h | 230 llvm::CachedHashStringRef getCachedHashStringRef(size_t i) const { in getCachedHashStringRef()
|
| H A D | InputFiles.cpp | 214 DenseMap<CachedHashStringRef, MemoryBufferRef> macho::cachedReads; 217 CachedHashStringRef key(path); in readFile() 1768 if (exportingFile->hiddenSymbols.contains(CachedHashStringRef(entry.name))) in parseExportedSymbols() 1890 if (exportingFile->hiddenSymbols.contains(CachedHashStringRef(savedName))) in DylibFile() 2120 exportingFile->hiddenSymbols.insert(CachedHashStringRef(symbolName)); in handleLDHideSymbol()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
| H A D | CommonConfig.h | 133 DenseSet<CachedHashStringRef> PosNames; 143 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher() 152 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | GsymCreator.h | 141 DenseMap<uint64_t, CachedHashStringRef> StringOffsetMap;
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | SymbolTable.h | 134 llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> symMap;
|
| H A D | SymbolTable.cpp | 547 Symbol *&sym = symMap[CachedHashStringRef(name)]; in insert() 811 return symMap.lookup(CachedHashStringRef(name)); in find()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymCreator.cpp | 311 CachedHashStringRef CHStr(S); in insertString() 321 CHStr = CachedHashStringRef{StringStorage.insert(S).first->getKey(), in insertString()
|