| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CachedHashString.h | 28 class CachedHashStringRef { 35 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function 38 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function 49 template <> struct DenseMapInfo<CachedHashStringRef> { 50 static CachedHashStringRef getEmptyKey() { 53 static CachedHashStringRef getTombstoneKey() { 56 static unsigned getHashValue(const CachedHashStringRef &S) { 61 static bool isEqual(const CachedHashStringRef &LHS, 62 const CachedHashStringRef &RHS) { 140 operator CachedHashStringRef() const { [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | StringTableBuilder.h | 38 DenseMap<CachedHashStringRef, size_t> StringIndexMap; 54 size_t add(CachedHashStringRef S); 55 size_t add(StringRef S) { return add(CachedHashStringRef(S)); } in add() 67 size_t getOffset(CachedHashStringRef S) const; 69 return getOffset(CachedHashStringRef(S)); in getOffset() 76 return contains(CachedHashStringRef(S)); in contains() 78 bool contains(CachedHashStringRef S) const { in contains()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 68 using StringPair = std::pair<CachedHashStringRef, size_t>; 179 StringIndexMap[CachedHashStringRef(" ")] = 0; in finalizeStringTable() 186 StringIndexMap[CachedHashStringRef("")] = 0; in finalizeStringTable() 194 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { in getOffset() 201 size_t StringTableBuilder::add(CachedHashStringRef S) { in add()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | SymbolTable.h | 61 Symbol *find(llvm::CachedHashStringRef name); 62 Symbol *find(StringRef name) { return find(llvm::CachedHashStringRef(name)); } in find() 66 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
| H A D | SymbolTable.cpp | 22 Symbol *SymbolTable::find(CachedHashStringRef cachedName) { in find() 31 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()}); in insert()
|
| H A D | DriverUtils.cpp | 206 static DenseMap<CachedHashStringRef, DylibFile *> loadedDylibs; 210 CachedHashStringRef path(mbref.getBufferIdentifier()); in loadDylib()
|
| H A D | Config.h | 85 llvm::DenseSet<llvm::CachedHashStringRef> literals;
|
| H A D | InputSection.h | 217 llvm::CachedHashStringRef getCachedHashStringRef(size_t i) const { in getCachedHashStringRef()
|
| H A D | Driver.cpp | 940 literals.insert(CachedHashStringRef(symbolName)); in insert() 948 return literals.contains(CachedHashStringRef(symbolName)); in matchLiteral() 1345 for (const CachedHashStringRef &cachedName : config->exportedSymbols.literals) in link()
|
| H A D | Writer.cpp | 564 for (const CachedHashStringRef &cachedName : in treatSpecialUndefineds()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| 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() 71 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()}); in insert() 105 auto it = symMap.find(CachedHashStringRef(name)); in find()
|
| H A D | SymbolTable.h | 64 llvm::DenseMap<llvm::CachedHashStringRef, const InputFile *> comdatGroups; 84 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
| H A D | InputSection.h | 293 llvm::CachedHashStringRef getData(size_t i) const { in getData()
|
| H A D | SyntheticSections.h | 790 llvm::CachedHashStringRef name; 801 llvm::CachedHashStringRef name;
|
| H A D | InputFiles.cpp | 623 symtab->comdatGroups.try_emplace(CachedHashStringRef(signature), this) in initializeSections() 1750 symtab->comdatGroups.try_emplace(CachedHashStringRef(s.first), this) in parse()
|
| H A D | Relocations.cpp | 721 symtab->comdatGroups.lookup(CachedHashStringRef(signature))) in maybeReportDiscarded()
|
| H A D | SyntheticSections.cpp | 2860 std::vector<DenseMap<CachedHashStringRef, size_t>> map(numShards); in createSymbols()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | CommonConfig.h | 131 DenseSet<CachedHashStringRef> PosNames; 141 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher() 150 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymCreator.cpp | 308 CachedHashStringRef CHStr(S); in insertString() 318 CHStr = CachedHashStringRef{StringStorage.insert(S).first->getKey(), in insertString()
|
| /freebsd-13.1/contrib/llvm-project/lld/COFF/ |
| H A D | SymbolTable.h | 132 llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> symMap;
|
| H A D | SymbolTable.cpp | 524 Symbol *&sym = symMap[CachedHashStringRef(name)]; in insert() 810 return symMap.lookup(CachedHashStringRef(name)); in find()
|