Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCAsmStreamer.cpp2139 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local
2141 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment()
2144 MapEntry = uint8_t(~0U); in AddEncodingComment()
2148 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment()
2149 if (MapEntry == 0) { in AddEncodingComment()
2155 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment()
2157 OS << char('A' + MapEntry - 1); in AddEncodingComment()
2171 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local
2173 OS << char('A' + MapEntry - 1); in AddEncodingComment()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DModuleFile.h70 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DMetadata.cpp470 auto &MapEntry = I.first->getValue(); in get() local
472 return &MapEntry; in get()
473 MapEntry.Entry = &*I.first; in get()
474 return &MapEntry; in get()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp237 auto MapEntry = FrameIndices.find(&AI); in getOrCreateFrameIndex() local
238 if (MapEntry != FrameIndices.end()) in getOrCreateFrameIndex()
239 return MapEntry->second; in getOrCreateFrameIndex()