Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DStringMap.cpp43 TheTable = (StringMapEntryBase **)calloc(NumBuckets+1, in init()
44 sizeof(StringMapEntryBase **) + in init()
49 TheTable[NumBuckets] = (StringMapEntryBase*)2; in init()
71 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in LookupBucketFor()
125 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in FindKey()
158 void StringMapImpl::RemoveKey(StringMapEntryBase *V) { in RemoveKey()
160 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey()
167 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) { in RemoveKey()
171 StringMapEntryBase *Result = TheTable[Bucket]; in RemoveKey()
203 StringMapEntryBase **NewTableArray = in RehashTable()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h31 class StringMapEntryBase {
34 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() function
46 StringMapEntryBase **TheTable;
83 void RemoveKey(StringMapEntryBase *V);
87 StringMapEntryBase *RemoveKey(StringRef Key);
91 static StringMapEntryBase *getTombstoneVal() { in getTombstoneVal()
92 return (StringMapEntryBase*)-1; in getTombstoneVal()
113 class StringMapEntry : public StringMapEntryBase {
119 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
122 : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {} in StringMapEntry()
[all …]
/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/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/tools/dsymutil/
DDwarfLinker.cpp289 typedef StringMap<std::pair<uint32_t, StringMapEntryBase *>, BumpPtrAllocator>
336 std::pair<uint32_t, StringMapEntryBase *> Entry(0, nullptr); in getStringOffset()
358 std::pair<uint32_t, StringMapEntryBase *> Entry(0, nullptr); in internString()
/external/llvm/test/CodeGen/PowerPC/
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 }