Home
last modified time | relevance | path

Searched refs:StringMapEntry (Results 1 – 25 of 112) sorted by relevance

12345

/external/llvm-project/llvm/include/llvm/ADT/
DStringMapEntry.h69 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
91 static StringMapEntry *Create(StringRef key, AllocatorTy &allocator, in Create()
97 size_t allocSize = sizeof(StringMapEntry) + keyLength + 1; in Create()
98 size_t alignment = alignof(StringMapEntry); in Create()
100 StringMapEntry *newItem = in Create()
101 static_cast<StringMapEntry *>(allocator.Allocate(allocSize, alignment)); in Create()
105 new (newItem) StringMapEntry(keyLength, std::forward<InitTy>(initVals)...); in Create()
117 static StringMapEntry &GetStringMapEntryFromKeyData(const char *keyData) { in GetStringMapEntryFromKeyData()
118 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
119 return *reinterpret_cast<StringMapEntry *>(ptr); in GetStringMapEntryFromKeyData()
[all …]
DStringMap.h112 using MapEntryTy = StringMapEntry<ValueTy>;
198 using value_type = StringMapEntry<ValueTy>;
249 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count()
416 const StringMapEntry<ValueTy>> {
418 const StringMapEntry<ValueTy>>;
426 const StringMapEntry<ValueTy> &operator*() const {
427 return *static_cast<const StringMapEntry<ValueTy> *>(*this->Ptr);
433 StringMapEntry<ValueTy>> {
435 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
443 StringMapEntry<ValueTy> &operator*() const {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h36 class StringMapEntry; variable
128 class StringMapEntry : public StringMapEntryBase {
132 explicit StringMapEntry(unsigned strLen) in StringMapEntry() function
135 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry() function
137 StringMapEntry(StringMapEntry &E) = delete;
158 static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator, in Create()
164 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ in Create()
166 unsigned Alignment = alignof(StringMapEntry); in Create()
168 StringMapEntry *NewItem = in Create()
169 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h29 class StringMapEntry; variable
121 class StringMapEntry : public StringMapEntryBase {
122 StringMapEntry(StringMapEntry &E) = delete;
127 explicit StringMapEntry(unsigned strLen) in StringMapEntry() function
130 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry() function
152 static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator, in Create()
158 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ in Create()
160 unsigned Alignment = alignOf<StringMapEntry>(); in Create()
162 StringMapEntry *NewItem = in Create()
163 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h158 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
178 static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator, in Create()
184 size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1; in Create()
185 size_t Alignment = alignof(StringMapEntry); in Create()
187 StringMapEntry *NewItem = in Create()
188 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create()
192 new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...); in Create()
204 static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) { in Create()
209 static StringMapEntry *Create(StringRef Key) { in Create()
215 static StringMapEntry &GetStringMapEntryFromKeyData(const char *KeyData) { in GetStringMapEntryFromKeyData()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDwarfStringPoolEntry.h32 PointerIntPair<const StringMapEntry<DwarfStringPoolEntry> *, 1, bool>
35 const StringMapEntry<DwarfStringPoolEntry> *getMapEntry() const { in getMapEntry()
41 DwarfStringPoolEntryRef(const StringMapEntry<DwarfStringPoolEntry> &Entry, in DwarfStringPoolEntryRef()
/external/llvm-project/llvm/include/llvm/CodeGen/
DDwarfStringPoolEntry.h32 PointerIntPair<const StringMapEntry<DwarfStringPoolEntry> *, 1, bool>
35 const StringMapEntry<DwarfStringPoolEntry> *getMapEntry() const { in getMapEntry()
41 DwarfStringPoolEntryRef(const StringMapEntry<DwarfStringPoolEntry> &Entry, in DwarfStringPoolEntryRef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp26 StringMapEntry<DwarfStringPool::EntryTy> &
86 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries; in emit()
92 llvm::sort(Entries, [](const StringMapEntry<EntryTy> *A, in emit()
93 const StringMapEntry<EntryTy> *B) { in emit()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp25 StringMapEntry<DwarfStringPool::EntryTy> &
84 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries; in emit()
90 llvm::sort(Entries, [](const StringMapEntry<EntryTy> *A, in emit()
91 const StringMapEntry<EntryTy> *B) { in emit()
/external/llvm/test/Transforms/GVN/
Dnonescaping-malloc.ll16 %"struct.llvm::StringMapEntry<void*>" = type { %"struct.llvm::StringMapEntryBase", i8* }
22 define %"struct.llvm::StringMapEntry<void*>"* @_Z3fooRN4llvm9StringMapIPvNS_15MallocAllocatorEEEPKc…
30 …%tmp1 = call %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocatorEE16…
31 ret %"struct.llvm::StringMapEntry<void*>"* %tmp1
40 define linkonce_odr %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocat…
68 %tmp10.i.i = bitcast i8* %tmp.i20.i.i to %"struct.llvm::StringMapEntry<void*>"*
95 …%tmp16.i = bitcast %"struct.llvm::StringMapEntryBase"* %tmp8.i to %"struct.llvm::StringMapEntry<vo…
96 ret %"struct.llvm::StringMapEntry<void*>"* %tmp16.i
103 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
106 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
/external/llvm-project/llvm/test/Transforms/NewGVN/
Dnonescaping-malloc-xfail.ll19 %"struct.llvm::StringMapEntry<void*>" = type { %"struct.llvm::StringMapEntryBase", i8* }
25 define %"struct.llvm::StringMapEntry<void*>"* @_Z3fooRN4llvm9StringMapIPvNS_15MallocAllocatorEEEPKc…
33 …%tmp1 = call %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocatorEE16…
34 ret %"struct.llvm::StringMapEntry<void*>"* %tmp1
43 define linkonce_odr %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocat…
71 %tmp10.i.i = bitcast i8* %tmp.i20.i.i to %"struct.llvm::StringMapEntry<void*>"*
98 …%tmp16.i = bitcast %"struct.llvm::StringMapEntryBase"* %tmp8.i to %"struct.llvm::StringMapEntry<vo…
99 ret %"struct.llvm::StringMapEntry<void*>"* %tmp16.i
106 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
109 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
/external/llvm-project/llvm/test/Transforms/GVN/
Dnonescaping-malloc.ll18 %"struct.llvm::StringMapEntry<void*>" = type { %"struct.llvm::StringMapEntryBase", i8* }
24 define %"struct.llvm::StringMapEntry<void*>"* @_Z3fooRN4llvm9StringMapIPvNS_15MallocAllocatorEEEPKc…
32 …%tmp1 = call %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocatorEE16…
33 ret %"struct.llvm::StringMapEntry<void*>"* %tmp1
42 define linkonce_odr %"struct.llvm::StringMapEntry<void*>"* @_ZN4llvm9StringMapIPvNS_15MallocAllocat…
70 %tmp10.i.i = bitcast i8* %tmp.i20.i.i to %"struct.llvm::StringMapEntry<void*>"*
97 …%tmp16.i = bitcast %"struct.llvm::StringMapEntryBase"* %tmp8.i to %"struct.llvm::StringMapEntry<vo…
98 ret %"struct.llvm::StringMapEntry<void*>"* %tmp16.i
105 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
108 ret %"struct.llvm::StringMapEntry<void*>"* %tmp10.i.i
/external/llvm-project/llvm/include/llvm/MC/
DMCSymbol.h150 const StringMapEntry<bool> *NameEntry;
154 MCSymbol(SymbolKind Kind, const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbol()
167 void *operator new(size_t s, const StringMapEntry<bool> *Name,
182 const StringMapEntry<bool> *&getNameEntryPtr() { in getNameEntryPtr()
187 const StringMapEntry<bool> *&getNameEntryPtr() const { in getNameEntryPtr()
DMCSymbolELF.h20 MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolELF()
/external/llvm/include/llvm/MC/
DMCSymbol.h145 const StringMapEntry<bool> *NameEntry;
149 MCSymbol(SymbolKind Kind, const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbol()
162 void *operator new(size_t s, const StringMapEntry<bool> *Name,
188 const StringMapEntry<bool> *&getNameEntryPtr() { in getNameEntryPtr()
193 const StringMapEntry<bool> *&getNameEntryPtr() const { in getNameEntryPtr()
DMCSymbolELF.h21 MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolELF()
DMCSymbolCOFF.h29 MCSymbolCOFF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolCOFF()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSymbol.h150 const StringMapEntry<bool> *NameEntry;
154 MCSymbol(SymbolKind Kind, const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbol()
167 void *operator new(size_t s, const StringMapEntry<bool> *Name,
182 const StringMapEntry<bool> *&getNameEntryPtr() { in getNameEntryPtr()
187 const StringMapEntry<bool> *&getNameEntryPtr() const { in getNameEntryPtr()
DMCSymbolELF.h20 MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolELF()
/external/llvm/include/llvm/IR/
DComdat.h23 template <typename ValueTy> class StringMapEntry; variable
52 StringMapEntry<Comdat> *Name;
/external/llvm/include/llvm/CodeGen/
DDwarfStringPoolEntry.h28 const StringMapEntry<DwarfStringPoolEntry> *I = nullptr;
33 const StringMapEntry<DwarfStringPoolEntry> &I) in DwarfStringPoolEntryRef()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DComdat.h25 template <typename ValueTy> class StringMapEntry; variable
56 StringMapEntry<Comdat> *Name = nullptr;
/external/llvm-project/llvm/include/llvm/IR/
DComdat.h25 template <typename ValueTy> class StringMapEntry; variable
56 StringMapEntry<Comdat> *Name = nullptr;
DLLVMContext.h34 template <typename T> class StringMapEntry; variable
114 StringMapEntry<uint32_t> *getOrInsertBundleTag(StringRef TagName) const;
/external/llvm-project/llvm/unittests/ADT/
DStringSetTest.cpp36 StringMapEntry<StringRef> *Element = in TEST_F()
37 StringMapEntry<StringRef>::Create("A", Set.getAllocator()); in TEST_F()

12345