Home
last modified time | relevance | path

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

123

/llvm-project/llvm/include/llvm/ADT/
H A DStringMapEntry.h1 //===- StringMapEntry.h - String Hash table map interface -------*- C++ -*-===//
10 /// This file defines the StringMapEntry class - it is intended to be a low
24 /// StringMapEntryBase - Shared base class of StringMapEntry instances.
63 /// StringMapEntryStorage - Holds the value in a StringMapEntry.
98 /// StringMapEntry - This is used to represent one value that is inserted into
102 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
114 /// StringMapEntry object.
121 /// Create a StringMapEntry for the specified key construct the value using in first()
124 static StringMapEntry *create(StringRef key, AllocatorTy &allocator,
127 sizeof(StringMapEntry), aligno in create()
[all...]
H A DStringMap.h132 using MapEntryTy = StringMapEntry<ValueTy>;
213 using value_type = StringMapEntry<ValueTy>;
279 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count()
479 const StringMapEntry<ValueTy>> {
481 const StringMapEntry<ValueTy>>;
489 const StringMapEntry<ValueTy> &operator*() const {
490 return *static_cast<const StringMapEntry<ValueTy> *>(*this->Ptr);
496 StringMapEntry<ValueTy>> {
498 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
506 StringMapEntry<ValueTy> &operator*() const {
[all …]
H A DStringSet.h50 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/llvm-project/llvm/unittests/CodeGen/
H A DDwarfStringPoolEntryRefTest.cpp20 StringMapEntry<DwarfStringPoolEntry> *StringEntry1 = in TEST()
21 StringMapEntry<DwarfStringPoolEntry>::create( in TEST()
41 StringMapEntry<DwarfStringPoolEntry> *StringEntry2 = in TEST()
42 StringMapEntry<DwarfStringPoolEntry>::create( in TEST()
95 StringMapEntry<DwarfStringPoolEntry> *StringEntry2 = in TEST()
96 StringMapEntry<DwarfStringPoolEntry>::create( in TEST()
/llvm-project/llvm/unittests/Testing/ADT/
H A DStringMapEntryTest.cpp58 Matcher<llvm::StringMapEntry<int>> M = IsStringMapEntry("A", 1); in TEST()
69 Matcher<llvm::StringMapEntry<int>> M = IsStringMapEntry("A", 1); in TEST()
75 Matcher<llvm::StringMapEntry<int>> M = IsStringMapEntry("A", 1); in TEST()
82 Matcher<llvm::StringMapEntry<int>> M = IsStringMapEntry("A", 1); in TEST()
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A 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()
H A DDwarfStringPool.h35 StringMapEntry<EntryTy> &getEntryImpl(AsmPrinter &Asm, StringRef Str);
/llvm-project/llvm/include/llvm/IR/
H A DComdat.h27 template <typename ValueTy> class StringMapEntry; variable
62 StringMapEntry<Comdat> *Name = nullptr;
H A DLLVMContext.h35 template <typename T> class StringMapEntry; variable
117 StringMapEntry<uint32_t> *getOrInsertBundleTag(StringRef TagName) const;
/llvm-project/llvm/include/llvm/CodeGen/
H A DDwarfStringPoolEntry.h51 using ByValStringEntryPtr = const StringMapEntry<DwarfStringPoolEntry> *;
64 DwarfStringPoolEntryRef(const StringMapEntry<DwarfStringPoolEntry> &Entry) in DwarfStringPoolEntryRef()
/llvm-project/llvm/unittests/ADT/
H A DStringSetTest.cpp37 StringMapEntry<StringRef> *Element = in TEST_F()
38 StringMapEntry<StringRef>::create("A", Set.getAllocator()); in TEST_F()
H A DStringMapTest.cpp249 // Test StringMapEntry::Create() method.
396 StringMapEntry<MoveOnly>::create(Key, t.getAllocator(), MoveOnly(42))
403 StringMapEntry<MoveOnly>::create(Key, Allocator, Immovable())
676 // Test that StringMapEntry can handle size_t wide sizes.
685 StringMapEntry<int> LargeEntry(LargeValue);
691 StringMapEntry<int> LargerEntry(LargeValue);
/llvm-project/mlir/lib/Debug/
H A DDebugCounter.cpp93 SmallVector<const llvm::StringMapEntry<Counter> *, 16> sortedCounters( in print()
102 for (const llvm::StringMapEntry<Counter> *counter : sortedCounters) { in print()
/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolTableEntry.h41 using MCSymbolTableEntry = StringMapEntry<MCSymbolTableValue>;
/llvm-project/clang/lib/InstallAPI/
H A DDiagnosticBuilderWrappers.h45 const StringMapEntry<ArchitectureSet> &LibAttr);
H A DDiagnosticBuilderWrappers.cpp100 const StringMapEntry<ArchitectureSet> &LibAttr) { in operator <<()
/llvm-project/llvm/include/llvm/DWARFLinker/
H A DStringPool.h23 using StringEntry = StringMapEntry<std::nullopt_t>;
/llvm-project/bolt/tools/merge-fdata/
H A Dmerge-fdata.cpp482 const StringMapEntry<BinaryFunctionProfile> &)>;
484 [](const StringMapEntry<BinaryFunctionProfile> &V) {
488 [](const StringMapEntry<BinaryFunctionProfile> &V) {
/llvm-project/clang/include/clang/Basic/
H A DSourceManagerInternals.h88 std::vector<llvm::StringMapEntry<unsigned>*> FilenamesByID;
H A DDirectoryEntry.h60 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>;
/llvm-project/llvm/include/llvm/Testing/ADT/
H A DStringMapEntry.h33 std::ostream &operator<<(std::ostream &OS, const StringMapEntry<T> &E) {
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DTypePool.h27 using TypeEntry = StringMapEntry<std::atomic<TypeEntryBody *>>;
/llvm-project/clang/tools/clang-installapi/
H A DOptions.cpp730 for (StringMapEntry<ArchitectureSet> &Entry : Attrs) in Options()
800 for (const StringMapEntry<ArchitectureSet> &Lib : in getReexportedLibraries()
816 for (const StringMapEntry<ArchitectureSet> &Lib : in getReexportedLibraries()
830 for (const StringMapEntry<ArchitectureSet> &Lib : in getReexportedLibraries()
/llvm-project/llvm/tools/dsymutil/
H A DDebugMap.h141 using DebugMapEntry = StringMapEntry<SymbolMapping>;
/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp16 #include "llvm/ADT/StringMapEntry.h"
213 StringMapEntry<uint32_t> *LLVMContextImpl::getOrInsertBundleTag(StringRef Tag) { in calculateHash()

123