Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDwarfStringPoolEntry.h65 : MapEntry(&Entry) {} in DwarfStringPoolEntryRef()
70 : MapEntry(&Entry) {} in DwarfStringPoolEntryRef()
72 explicit operator bool() const { return !MapEntry.isNull(); }
91 if (isa<ByValStringEntryPtr>(MapEntry)) in getString()
92 return cast<ByValStringEntryPtr>(MapEntry)->first(); in getString()
94 return cast<ExtStringEntryPtr>(MapEntry)->String; in getString()
99 if (isa<ByValStringEntryPtr>(MapEntry)) in getEntry()
100 return cast<ByValStringEntryPtr>(MapEntry)->second; in getEntry()
102 return *cast<ExtStringEntryPtr>(MapEntry); in getEntry()
106 return MapEntry.getOpaqueValue() == X.MapEntry.getOpaqueValue();
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h67 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>; variable
69 const MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
75 explicit DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef()
110 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
112 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
118 const MapEntry *ME;
203 return const_cast<clang::DirectoryEntryRef::MapEntry *>(&Dir.getMapEntry());
208 *reinterpret_cast<const clang::DirectoryEntryRef::MapEntry *>(Ptr));
212 const clang::DirectoryEntryRef::MapEntry *>::NumLowBitsAvailable;
H A DFileEntry.h112 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>; variable
121 llvm::PointerUnion<FileEntry *, const MapEntry *> V;
128 MapValue(MapEntry &ME, DirectoryEntryRef Dir) : V(&ME), Dir(Dir) {} in MapValue()
154 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) { in FileEntryRef()
161 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; } in getMapEntry()
164 const MapEntry &getBaseMapEntry() const { in getBaseMapEntry()
165 const MapEntry *Base = ME; in getBaseMapEntry()
166 while (const auto *Next = Base->second->V.dyn_cast<const MapEntry *>()) in getBaseMapEntry()
185 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
187 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
[all …]
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp276 AliasSet *&MapEntry = PointerMap[MemLoc.Ptr]; in getAliasSetFor() local
277 if (MapEntry) { in getAliasSetFor()
278 collapseForwardingIn(MapEntry); in getAliasSetFor()
279 if (is_contained(MapEntry->MemoryLocs, MemLoc)) in getAliasSetFor()
280 return *MapEntry; in getAliasSetFor()
293 MemLoc, MapEntry, MustAliasAll)) { in getAliasSetFor()
306 if (MapEntry) { in getAliasSetFor()
307 collapseForwardingIn(MapEntry); in getAliasSetFor()
308 assert(MapEntry == AS && "Memory locations with same pointer value cannot " in getAliasSetFor()
312 MapEntry = AS; in getAliasSetFor()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp278 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite() local
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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp959 for (const auto &MapEntry : ConstGEPCandMap) in runImpl() local
960 if (!MapEntry.second.empty()) in runImpl()
961 findBaseConstants(MapEntry.first); in runImpl()
968 for (const auto &MapEntry : ConstGEPInfoMap) in runImpl() local
969 if (!MapEntry.second.empty()) in runImpl()
970 MadeChange |= emitBaseConstants(MapEntry.first); in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp2324 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local
2326 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment()
2329 MapEntry = uint8_t(~0U); in AddEncodingComment()
2333 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment()
2334 if (MapEntry == 0) { in AddEncodingComment()
2340 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment()
2342 OS << char('A' + MapEntry - 1); in AddEncodingComment()
2356 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local
2358 OS << char('A' + MapEntry - 1); in AddEncodingComment()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h260 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count() argument
261 return count(MapEntry.getKey()); in count()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h84 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp594 auto &MapEntry = I.first->getValue(); in get() local
596 return &MapEntry; in get()
597 MapEntry.Entry = &*I.first; in get()
598 return &MapEntry; in get()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp406 return FileEntryRef(*Value.V.get<const FileEntryRef::MapEntry *>()); in getVirtualFileRef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp255 auto MapEntry = FrameIndices.find(&AI); in getOrCreateFrameIndex() local
256 if (MapEntry != FrameIndices.end()) in getOrCreateFrameIndex()
257 return MapEntry->second; in getOrCreateFrameIndex()