/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DwarfStringPoolEntry.h | 57 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 D | LibCxxMap.cpp | 47 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 D | DirectoryEntry.h | 60 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 D | FileEntry.h | 112 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/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfStringPool.cpp | 41 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 D | MsgPackDocument.cpp | 111 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 D | AliasSetTracker.cpp | 276 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/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | ConstantHoisting.h | 138 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 D | MappedBlockStream.cpp | 278 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 D | ConstantHoisting.cpp | 967 for (const auto &MapEntry : ConstGEPCandMap) in runImpl() local 968 if (!MapEntry.second.empty()) in runImpl() 969 findBaseConstants(MapEntry.first); in runImpl() 976 for (const auto &MapEntry : ConstGEPInfoMap) in runImpl() local 977 if (!MapEntry.second.empty()) in runImpl() 978 MadeChange |= emitBaseConstants(MapEntry.first); in runImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAsmStreamer.cpp | 2350 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local 2352 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment() 2355 MapEntry = uint8_t(~0U); in AddEncodingComment() 2359 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment() 2360 if (MapEntry == 0) { in AddEncodingComment() 2366 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment() 2368 OS << char('A' + MapEntry - 1); in AddEncodingComment() 2382 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local 2384 OS << char('A' + MapEntry - 1); in AddEncodingComment()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 279 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count() argument 280 return count(MapEntry.getKey()); in count()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | GlobalModuleIndex.cpp | 755 for (auto MapEntry : ImportedModuleFiles) { in writeIndex() local 756 auto File = MapEntry.first; in writeIndex() 757 ImportedModuleFileInfo &Info = MapEntry.second; in writeIndex()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleFile.h | 84 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Metadata.cpp | 603 auto &MapEntry = I.first->getValue(); in get() local 605 return &MapEntry; in get() 606 MapEntry.Entry = &*I.first; in get() 607 return &MapEntry; in get()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | FileManager.cpp | 401 return FileEntryRef(*Value.V.get<const FileEntryRef::MapEntry *>()); in getVirtualFileRef()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 257 auto MapEntry = FrameIndices.find(&AI); in getOrCreateFrameIndex() local 258 if (MapEntry != FrameIndices.end()) in getOrCreateFrameIndex() 259 return MapEntry->second; in getOrCreateFrameIndex()
|