Home
last modified time | relevance | path

Searched refs:CachedHashStringRef (Results 1 – 24 of 24) sorted by relevance

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/
DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/
DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
H A DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ADT/
DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/
DCachedHashString.h29 class CachedHashStringRef {
36 explicit CachedHashStringRef(StringRef S) in CachedHashStringRef() function
37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef() function
50 template <> struct DenseMapInfo<CachedHashStringRef> {
51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 static CachedHashStringRef getTombstoneKey() {
55 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1);
57 static unsigned getHashValue(const CachedHashStringRef &S) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/MC/
DStringTableBuilder.h40 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/MC/
H A DStringTableBuilder.h39 DenseMap<CachedHashStringRef, size_t> StringIndexMap;
55 size_t add(CachedHashStringRef S);
56 size_t add(StringRef S) { return add(CachedHashStringRef(S)); } in add()
68 size_t getOffset(CachedHashStringRef S) const;
70 return getOffset(CachedHashStringRef(S)); in getOffset()
77 return contains(CachedHashStringRef(S)); in contains()
79 bool contains(CachedHashStringRef S) const { in contains()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/MC/
DStringTableBuilder.h40 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()
77 bool contains(StringRef S) const { return contains(CachedHashStringRef(S)); } in contains()
78 bool contains(CachedHashStringRef S) const { return StringIndexMap.count(S); } in contains()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/MC/
DStringTableBuilder.h40 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/MC/
DStringTableBuilder.h40 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DStringTableBuilder.h28 DenseMap<CachedHashStringRef, size_t> StringIndexMap;
44 size_t add(CachedHashStringRef S);
45 size_t add(StringRef S) { return add(CachedHashStringRef(S)); } in add()
57 size_t getOffset(CachedHashStringRef S) const;
59 return getOffset(CachedHashStringRef(S)); in getOffset()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/
H A DStringTableBuilder.cpp68 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DStringTableBuilder.cpp62 using StringPair = std::pair<CachedHashStringRef, size_t>;
172 StringIndexMap[CachedHashStringRef("")] = 0; in finalizeStringTable()
180 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { in getOffset()
187 size_t StringTableBuilder::add(CachedHashStringRef S) { in add()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ObjCopy/
DCommonConfig.h133 DenseSet<CachedHashStringRef> PosNames;
143 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher()
152 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h132 DenseSet<CachedHashStringRef> PosNames;
142 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher()
151 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ObjCopy/
DCommonConfig.h126 DenseSet<CachedHashStringRef> PosNames;
136 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher()
145 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ObjCopy/
DCommonConfig.h126 DenseSet<CachedHashStringRef> PosNames;
136 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher()
145 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ObjCopy/
DCommonConfig.h126 DenseSet<CachedHashStringRef> PosNames;
136 PosNames.insert(CachedHashStringRef(*MaybeName)); in addMatcher()
145 return (PosNames.contains(CachedHashStringRef(S)) || in matches()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp308 CachedHashStringRef CHStr(S); in insertString()
318 CHStr = CachedHashStringRef{StringStorage.insert(S).first->getKey(), in insertString()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/DebugInfo/GSYM/
DGsymCreator.h142 DenseMap<uint64_t, CachedHashStringRef> StringOffsetMap;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/DebugInfo/GSYM/
DGsymCreator.h142 DenseMap<uint64_t, CachedHashStringRef> StringOffsetMap;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/DebugInfo/GSYM/
DGsymCreator.h142 DenseMap<uint64_t, CachedHashStringRef> StringOffsetMap;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/DebugInfo/GSYM/
DGsymCreator.h141 DenseMap<uint64_t, CachedHashStringRef> StringOffsetMap;