Home
last modified time | relevance | path

Searched refs:StringMapEntryBase (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/Support/
DStringMap.cpp57 TheTable = (StringMapEntryBase **)calloc(NumBuckets+1, in init()
58 sizeof(StringMapEntryBase **) + in init()
63 TheTable[NumBuckets] = (StringMapEntryBase*)2; in init()
85 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in LookupBucketFor()
139 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in FindKey()
172 void StringMapImpl::RemoveKey(StringMapEntryBase *V) { in RemoveKey()
174 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey()
181 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) { in RemoveKey()
185 StringMapEntryBase *Result = TheTable[Bucket]; in RemoveKey()
217 StringMapEntryBase **NewTableArray = in RehashTable()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp59 TheTable = (StringMapEntryBase **)calloc(NumBuckets+1, in init()
60 sizeof(StringMapEntryBase **) + in init()
65 TheTable[NumBuckets] = (StringMapEntryBase*)2; in init()
86 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in LookupBucketFor()
139 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in FindKey()
172 void StringMapImpl::RemoveKey(StringMapEntryBase *V) { in RemoveKey()
174 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey()
181 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) { in RemoveKey()
185 StringMapEntryBase *Result = TheTable[Bucket]; in RemoveKey()
215 StringMapEntryBase **NewTableArray = in RehashTable()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h39 class StringMapEntryBase {
43 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() function
55 StringMapEntryBase **TheTable;
93 void RemoveKey(StringMapEntryBase *V);
97 StringMapEntryBase *RemoveKey(StringRef Key);
104 static StringMapEntryBase *getTombstoneVal() { in getTombstoneVal()
106 Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable; in getTombstoneVal()
107 return reinterpret_cast<StringMapEntryBase *>(Val); in getTombstoneVal()
128 class StringMapEntry : public StringMapEntryBase {
133 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h32 class StringMapEntryBase {
36 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() function
48 StringMapEntryBase **TheTable;
86 void RemoveKey(StringMapEntryBase *V);
90 StringMapEntryBase *RemoveKey(StringRef Key);
97 static StringMapEntryBase *getTombstoneVal() { in getTombstoneVal()
99 Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable; in getTombstoneVal()
100 return reinterpret_cast<StringMapEntryBase *>(Val); in getTombstoneVal()
121 class StringMapEntry : public StringMapEntryBase {
128 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DStringMap.cpp46 TheTable[NumBuckets].Item = (StringMapEntryBase*)2; in init()
68 StringMapEntryBase *BucketItem = Bucket.Item; in LookupBucketFor()
122 StringMapEntryBase *BucketItem = Bucket.Item; in FindKey()
155 void StringMapImpl::RemoveKey(StringMapEntryBase *V) { in RemoveKey()
157 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey()
164 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) { in RemoveKey()
168 StringMapEntryBase *Result = TheTable[Bucket].Item; in RemoveKey()
198 NewTableArray[NewSize].Item = (StringMapEntryBase*)2; in RehashTable()
/external/llvm/test/Transforms/GVN/
Dnonescaping-malloc.ll16 %"struct.llvm::StringMapEntry<void*>" = type { %"struct.llvm::StringMapEntryBase", i8* }
17 %"struct.llvm::StringMapEntryBase" = type { i32 }
19 %"struct.llvm::StringMapImpl::ItemBucket" = type { i32, %"struct.llvm::StringMapEntryBase"* }
52 …%tmp8.i = load %"struct.llvm::StringMapEntryBase"*, %"struct.llvm::StringMapEntryBase"** %tmp7.i, …
53 %tmp9.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp8.i, null
54 …%tmp13.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp8.i, inttoptr (i64 -1 to %"struct.llvm:…
90 …%tmp22.i = load %"struct.llvm::StringMapEntryBase"*, %"struct.llvm::StringMapEntryBase"** %tmp7.i,…
91 …%tmp24.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp22.i, inttoptr (i64 -1 to %"struct.llvm…
95 …%tmp16.i = bitcast %"struct.llvm::StringMapEntryBase"* %tmp8.i to %"struct.llvm::StringMapEntry<vo…
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h43 class StringMapEntryBase {
46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() function
63 StringMapEntryBase *Item;
97 void RemoveKey(StringMapEntryBase *V);
101 StringMapEntryBase *RemoveKey(StringRef Key);
105 static StringMapEntryBase *getTombstoneVal() { in getTombstoneVal()
106 return (StringMapEntryBase*)-1; in getTombstoneVal()
120 class StringMapEntry : public StringMapEntryBase {
125 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
127 : StringMapEntryBase(strLen), second(V) {} in StringMapEntry()
/external/swiftshader/third_party/LLVM/test/Transforms/GVN/
Dnonescaping-malloc.ll15 %"struct.llvm::StringMapEntry<void*>" = type { %"struct.llvm::StringMapEntryBase", i8* }
16 %"struct.llvm::StringMapEntryBase" = type { i32 }
18 %"struct.llvm::StringMapImpl::ItemBucket" = type { i32, %"struct.llvm::StringMapEntryBase"* }
51 %tmp8.i = load %"struct.llvm::StringMapEntryBase"** %tmp7.i, align 8
52 %tmp9.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp8.i, null
53 …%tmp13.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp8.i, inttoptr (i64 -1 to %"struct.llvm:…
89 %tmp22.i = load %"struct.llvm::StringMapEntryBase"** %tmp7.i, align 8
90 …%tmp24.i = icmp eq %"struct.llvm::StringMapEntryBase"* %tmp22.i, inttoptr (i64 -1 to %"struct.llvm…
94 …%tmp16.i = bitcast %"struct.llvm::StringMapEntryBase"* %tmp8.i to %"struct.llvm::StringMapEntry<vo…
/external/llvm/tools/dsymutil/
DNonRelocatableStringpool.h28 typedef StringMap<std::pair<uint32_t, StringMapEntryBase *>, BumpPtrAllocator>
DDwarfLinker.cpp3511 std::pair<uint32_t, StringMapEntryBase *> Entry(0, nullptr); in getStringOffset()
3533 std::pair<uint32_t, StringMapEntryBase *> Entry(0, nullptr); in internString()
/external/llvm/test/CodeGen/X86/
Dmisched-aa-colored.ll106 …ingMapImpl.98.698.1058.2018.2138.2378.4178" = type { %"class.llvm::StringMapEntryBase.97.697.1057.…
107 %"class.llvm::StringMapEntryBase.97.697.1057.2017.2137.2377.4177" = type { i32 }
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll106 %"class.llvm::StringMapImpl" = type { %"class.llvm::StringMapEntryBase"**, i32, i32, i32, i32 }
107 %"class.llvm::StringMapEntryBase" = type { i32 }
Dpr15031.ll107 %"class.llvm::StringMapImpl" = type { %"class.llvm::StringMapEntryBase"**, i32, i32, i32, i32 }
108 %"class.llvm::StringMapEntryBase" = type { i32 }
Dtoc-load-sched-bug.ll65 %"class.llvm::StringMapImpl" = type { %"class.llvm::StringMapEntryBase"**, i32, i32, i32, i32 }
66 %"class.llvm::StringMapEntryBase" = type { i32 }