Searched refs:StringMapEntryBase (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Support/ |
D | StringMap.cpp | 43 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() 201 StringMapEntryBase **NewTableArray = in RehashTable() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 43 class StringMapEntryBase { 46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() function 58 StringMapEntryBase **TheTable; 88 void RemoveKey(StringMapEntryBase *V); 92 StringMapEntryBase *RemoveKey(StringRef Key); 96 static StringMapEntryBase *getTombstoneVal() { in getTombstoneVal() 97 return (StringMapEntryBase*)-1; in getTombstoneVal() 111 class StringMapEntry : public StringMapEntryBase { 116 : StringMapEntryBase(strLen), second() {} in StringMapEntry() 118 : StringMapEntryBase(strLen), second(V) {} in StringMapEntry() [all …]
|
/external/llvm/test/Transforms/GVN/ |
D | nonescaping-malloc.ll | 16 %"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"** %tmp7.i, align 8 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"** %tmp7.i, align 8 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/PowerPC/ |
D | pr15031.ll | 107 %"class.llvm::StringMapImpl" = type { %"class.llvm::StringMapEntryBase"**, i32, i32, i32, i32 } 108 %"class.llvm::StringMapEntryBase" = type { i32 }
|