Home
last modified time | relevance | path

Searched refs:MapEntry (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDwarfStringPoolEntry.h57 PointerUnion<ByValStringEntryPtr, ExtStringEntryPtr> MapEntry = nullptr;
65 : MapEntry(&Entry) {} in DwarfStringPoolEntryRef()
70 : MapEntry(&Entry) {}
72 explicit operator bool() const { return !MapEntry.isNull(); } in getSymbol()
91 if (isa<ByValStringEntryPtr>(MapEntry)) in getString()
92 return cast<ByValStringEntryPtr>(MapEntry)->first(); in getString()
94 return cast<ExtStringEntryPtr>(MapEntry)->String;
99 if (isa<ByValStringEntryPtr>(MapEntry)) in getEntry()
100 return cast<ByValStringEntryPtr>(MapEntry)->second; in getEntry()
102 return *cast<ExtStringEntryPtr>(MapEntry);
52 PointerUnion<ByValStringEntryPtr, ByPtrStringEntryPtr> MapEntry = nullptr; global() variable
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp47 class MapEntry { class
49 MapEntry() = default;
50 explicit MapEntry(ValueObjectSP entry_sp) : m_entry_sp(entry_sp) {} in MapEntry() function in MapEntry
51 explicit MapEntry(ValueObject *entry) in MapEntry() function in MapEntry
95 bool operator==(const MapEntry &rhs) const { in operator ==()
132 MapEntry right(m_entry.right()); in next()
146 m_entry = MapEntry(); in next()
150 m_entry = MapEntry(m_entry.parent()); in next()
154 MapEntry tree_min(MapEntry x) { in tree_min()
156 return MapEntry(); in tree_min()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h60 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>; variable
62 const MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
68 explicit DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef()
103 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
105 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
111 const MapEntry *ME;
196 return const_cast<clang::DirectoryEntryRef::MapEntry *>(&Dir.getMapEntry());
201 *reinterpret_cast<const clang::DirectoryEntryRef::MapEntry *>(Ptr));
205 const clang::DirectoryEntryRef::MapEntry *>::NumLowBitsAvailable;
H A DFileEntry.h118 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>; variable
127 llvm::PointerUnion<FileEntry *, const MapEntry *> V;
134 MapValue(MapEntry &ME, DirectoryEntryRef Dir) : V(&ME), Dir(Dir) {} in MapValue()
160 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) { in FileEntryRef()
167 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
170 const MapEntry &getBaseMapEntry() const { in getBaseMapEntry()
171 const MapEntry *Base = ME; in getBaseMapEntry()
172 while (const auto *Next = Base->second->V.dyn_cast<const MapEntry *>()) in getBaseMapEntry()
191 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
193 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp41 auto &MapEntry = getEntryImpl(Asm, Str); in getEntry() local
42 return EntryRef(MapEntry); in getEntry()
47 auto &MapEntry = getEntryImpl(Asm, Str); in getIndexedEntry() local
48 if (!MapEntry.getValue().isIndexed()) in getIndexedEntry()
49 MapEntry.getValue().Index = NumIndexedStrings++; in getIndexedEntry()
50 return EntryRef(MapEntry); in getIndexedEntry()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp111 DocNode *MapEntry = nullptr) in StackLevel()
113 MapEntry(MapEntry) {} in StackLevel()
118 DocNode *MapEntry; member
203 if (!Stack.back().MapEntry) { in readFromBlob()
206 Stack.back().MapEntry = &Map[Node]; in readFromBlob()
210 DestNode = Stack.back().MapEntry; in readFromBlob()
211 Stack.back().MapEntry = nullptr; in readFromBlob()
242 if (Stack.back().MapEntry) in readFromBlob()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp275 AliasSet *&MapEntry = PointerMap[MemLoc.Ptr]; in getAliasSetFor() local
276 if (MapEntry) { in getAliasSetFor()
277 collapseForwardingIn(MapEntry); in getAliasSetFor()
278 if (is_contained(MapEntry->MemoryLocs, MemLoc)) in getAliasSetFor()
279 return *MapEntry; in getAliasSetFor()
292 MemLoc, MapEntry, MustAliasAll)) { in getAliasSetFor()
305 if (MapEntry) { in getAliasSetFor()
306 collapseForwardingIn(MapEntry); in getAliasSetFor()
307 assert(MapEntry == AS && "Memory locations with same pointer value cannot " in getAliasSetFor()
311 MapEntry = AS; in getAliasSetFor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h138 for (auto MapEntry : ConstGEPCandMap) in cleanup() local
139 MapEntry.second.clear(); in cleanup()
142 for (auto MapEntry : ConstGEPInfoMap) in cleanup() local
143 MapEntry.second.clear(); in cleanup()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp278 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite()
281 if (Offset + Data.size() < MapEntry.first) in fixCacheAfterWrite()
283 for (const auto &Alloc : MapEntry.second) { in fixCacheAfterWrite()
286 if (MapEntry.first + Alloc.size() < Offset) in fixCacheAfterWrite()
292 std::make_pair(MapEntry.first, MapEntry.first + Alloc.size()); in fixCacheAfterWrite()
279 for (const auto &MapEntry : CacheMap) { fixCacheAfterWrite() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp939 for (const auto &MapEntry : ConstGEPCandMap) in runImpl() local
940 if (!MapEntry.second.empty()) in runImpl()
941 findBaseConstants(MapEntry.first); in runImpl()
948 for (const auto &MapEntry : ConstGEPInfoMap) in runImpl() local
949 if (!MapEntry.second.empty()) in runImpl()
950 MadeChange |= emitBaseConstants(MapEntry.first); in runImpl()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp522 auto &MapEntry = ColFieldValueMap[ColName]; in emitEnums() local
524 MapEntry.insert(List->getElement(J)); in emitEnums()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp2366 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local
2368 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment()
2371 MapEntry = uint8_t(~0U); in AddEncodingComment()
2375 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment()
2376 if (MapEntry == 0) { in AddEncodingComment()
2382 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment()
2384 OS << char('A' + MapEntry - 1); in AddEncodingComment()
2398 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local
2400 OS << char('A' + MapEntry - 1); in AddEncodingComment()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h280 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count() argument
281 return count(MapEntry.getKey()); in count()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h90 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp750 for (auto MapEntry : ImportedModuleFiles) { in writeIndex() local
751 auto File = MapEntry.first; in writeIndex()
752 ImportedModuleFileInfo &Info = MapEntry.second; in writeIndex()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp610 auto &MapEntry = I.first->getValue(); in get() local
612 return &MapEntry; in get()
613 MapEntry.Entry = &*I.first; in get()
614 return &MapEntry; in get()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSink.cpp1782 SinkItem MapEntry(&I, SinkBlock); in aggressivelySinkIntoCycle() local
1784 auto SI = SunkInstrs.find(MapEntry); in aggressivelySinkIntoCycle()
1808 SunkInstrs.insert({MapEntry, NewMI}); in aggressivelySinkIntoCycle()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp387 return FileEntryRef(*cast<const FileEntryRef::MapEntry *>(Value.V)); in getVirtualFileRef()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp255 auto [MapEntry, Inserted] = FrameIndices.try_emplace(&AI); in getOrCreateFrameIndex()
257 return MapEntry->second; in getOrCreateFrameIndex()
266 int &FI = MapEntry->second; in getOrCreateFrameIndex()