Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp25 class MapEntry { class
27 MapEntry() = default;
29 explicit MapEntry(ValueObject *entry) in MapEntry() function in MapEntry
132 m_entry = MapEntry(); in next()
140 MapEntry tree_min(MapEntry x) { in tree_min()
142 return MapEntry(); in tree_min()
143 MapEntry left(x.left()); in tree_min()
148 return MapEntry(); in tree_min()
154 return MapEntry(); in tree_min()
162 MapEntry rhs(x.parent()); in is_left_child()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp41 auto &MapEntry = getEntryImpl(Asm, Str); in getEntry() local
42 return EntryRef(MapEntry, false); 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, true); in getIndexedEntry()
/freebsd-13.1/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp107 DocNode *MapEntry = nullptr) in StackLevel()
109 MapEntry(MapEntry) {} in StackLevel()
114 DocNode *MapEntry; member
190 if (!Stack.back().MapEntry) { in readFromBlob()
193 Stack.back().MapEntry = &Map[Node]; in readFromBlob()
197 DestNode = Stack.back().MapEntry; in readFromBlob()
198 Stack.back().MapEntry = nullptr; in readFromBlob()
229 if (Stack.back().MapEntry) in readFromBlob()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h57 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>; variable
59 const MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
65 DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef()
100 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
102 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
108 const MapEntry *ME;
H A DFileEntry.h106 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>; variable
125 MapValue(MapEntry &ME) : V(&ME) {} in MapValue()
151 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) { in FileEntryRef()
159 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
175 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
177 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
183 const MapEntry *ME;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h136 for (auto MapEntry : ConstGEPCandMap) in cleanup() local
137 MapEntry.second.clear(); in cleanup()
140 for (auto MapEntry : ConstGEPInfoMap) in cleanup() local
141 MapEntry.second.clear(); in cleanup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp280 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite() local
283 if (Offset + Data.size() < MapEntry.first) in fixCacheAfterWrite()
285 for (const auto &Alloc : MapEntry.second) { in fixCacheAfterWrite()
288 if (MapEntry.first + Alloc.size() < Offset) in fixCacheAfterWrite()
294 std::make_pair(MapEntry.first, MapEntry.first + Alloc.size()); in fixCacheAfterWrite()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp961 for (const auto &MapEntry : ConstGEPCandMap) in runImpl() local
962 if (!MapEntry.second.empty()) in runImpl()
963 findBaseConstants(MapEntry.first); in runImpl()
970 for (const auto &MapEntry : ConstGEPInfoMap) in runImpl() local
971 if (!MapEntry.second.empty()) in runImpl()
972 MadeChange |= emitBaseConstants(MapEntry.first); in runImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp2181 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local
2183 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment()
2186 MapEntry = uint8_t(~0U); in AddEncodingComment()
2190 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment()
2191 if (MapEntry == 0) { in AddEncodingComment()
2197 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment()
2199 OS << char('A' + MapEntry - 1); in AddEncodingComment()
2213 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local
2215 OS << char('A' + MapEntry - 1); in AddEncodingComment()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h249 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count() argument
250 return count(MapEntry.getKey()); in count()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h70 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp759 for (auto MapEntry : ImportedModuleFiles) { in writeIndex() local
760 auto *File = MapEntry.first; in writeIndex()
761 ImportedModuleFileInfo &Info = MapEntry.second; in writeIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp476 auto &MapEntry = I.first->getValue(); in get() local
478 return &MapEntry; in get()
479 MapEntry.Entry = &*I.first; in get()
480 return &MapEntry; in get()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp219 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getFileRef()
376 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getVirtualFileRef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp241 auto MapEntry = FrameIndices.find(&AI); in getOrCreateFrameIndex() local
242 if (MapEntry != FrameIndices.end()) in getOrCreateFrameIndex()
243 return MapEntry->second; in getOrCreateFrameIndex()