Searched refs:CachedHashStringRef (Results 1 - 15 of 15) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | StringTableBuilder.h | 28 DenseMap<CachedHashStringRef, size_t> StringIndexMap; 44 size_t add(CachedHashStringRef S); 45 size_t add(StringRef S) { return add(CachedHashStringRef(S)); } 57 size_t getOffset(CachedHashStringRef S) const; 59 return getOffset(CachedHashStringRef(S)); 66 return contains(CachedHashStringRef(S)); 68 bool contains(CachedHashStringRef S) const {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | CachedHashString.h | 9 // This file defines CachedHashString and CachedHashStringRef. These are owning 28 class CachedHashStringRef { class in namespace:llvm 35 explicit CachedHashStringRef(StringRef S) function in class:llvm::CachedHashStringRef 36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 38 CachedHashStringRef(StringRef S, uint32_t Hash) function in class:llvm::CachedHashStringRef 49 template <> struct DenseMapInfo<CachedHashStringRef> { 50 static CachedHashStringRef getEmptyKey() { 51 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0); 53 static CachedHashStringRef getTombstoneKey() { 54 return CachedHashStringRef(DenseMapInf [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | SymbolTable.h | 64 llvm::DenseMap<llvm::CachedHashStringRef, const InputFile *> comdatGroups; 82 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
H A D | SymbolTable.cpp | 36 int &idx1 = symMap[CachedHashStringRef(sym->getName())]; 37 int &idx2 = symMap[CachedHashStringRef(real->getName())]; 38 int &idx3 = symMap[CachedHashStringRef(wrap->getName())]; 69 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()}); 103 auto it = symMap.find(CachedHashStringRef(name));
|
H A D | InputSection.h | 292 llvm::CachedHashStringRef getData(size_t i) const {
|
H A D | SyntheticSections.h | 740 llvm::CachedHashStringRef name; 751 llvm::CachedHashStringRef name;
|
H A D | InputFiles.cpp | 612 symtab->comdatGroups.try_emplace(CachedHashStringRef(signature), this) 1611 symtab->comdatGroups.try_emplace(CachedHashStringRef(s), this).second);
|
H A D | Relocations.cpp | 698 symtab->comdatGroups.lookup(CachedHashStringRef(signature)))
|
H A D | SyntheticSections.cpp | 2754 std::vector<DenseMap<CachedHashStringRef, size_t>> map(numShards);
|
/freebsd-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | SymbolTable.h | 41 llvm::DenseMap<llvm::CachedHashStringRef, int> symMap;
|
H A D | SymbolTable.cpp | 20 auto it = symMap.find(llvm::CachedHashStringRef(name)); 27 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()});
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 62 using StringPair = std::pair<CachedHashStringRef, size_t>; 172 StringIndexMap[CachedHashStringRef("")] = 0; 180 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { 187 size_t StringTableBuilder::add(CachedHashStringRef S) {
|
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | SymbolTable.h | 129 llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> symMap;
|
H A D | SymbolTable.cpp | 480 Symbol *&sym = symMap[CachedHashStringRef(name)]; 749 return symMap.lookup(CachedHashStringRef(name));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | GsymCreator.cpp | 275 CachedHashStringRef CHStr(S);
|
Completed in 110 milliseconds