Searched refs:CachedHashStringRef (Results 1 - 12 of 12) sorted by relevance
/freebsd-11-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));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | CachedHashString.h | 9 // This file defines CachedHashString and CachedHashStringRef. These are owning 29 class CachedHashStringRef { class in namespace:llvm 36 explicit CachedHashStringRef(StringRef S) function in class:llvm::CachedHashStringRef 37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} 39 CachedHashStringRef(StringRef S, uint32_t Hash) function in class:llvm::CachedHashStringRef 50 template <> struct DenseMapInfo<CachedHashStringRef> { 51 static CachedHashStringRef getEmptyKey() { 52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0); 54 static CachedHashStringRef getTombstoneKey() { 55 return CachedHashStringRef(DenseMapInf [all...] |
/freebsd-11-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())]; 63 auto p = symMap.insert({CachedHashStringRef(name), (int)symVector.size()}); 97 auto it = symMap.find(CachedHashStringRef(name));
|
H A D | InputSection.h | 259 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 | 602 symtab->comdatGroups.try_emplace(CachedHashStringRef(signature), this) 1480 symtab->comdatGroups.try_emplace(CachedHashStringRef(s), this).second);
|
H A D | Relocations.cpp | 678 symtab->comdatGroups.lookup(CachedHashStringRef(signature)))
|
H A D | SyntheticSections.cpp | 2760 std::vector<DenseMap<CachedHashStringRef, size_t>> map(numShards);
|
/freebsd-11-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-11-stable/contrib/llvm-project/lld/COFF/ |
H A D | SymbolTable.h | 130 llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> symMap;
|
H A D | SymbolTable.cpp | 458 Symbol *&sym = symMap[CachedHashStringRef(name)]; 727 return symMap.lookup(CachedHashStringRef(name));
|
Completed in 131 milliseconds