| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | DwarfStringPoolEntry.h | 60 : MapEntry(&Entry) {} in DwarfStringPoolEntryRef() 65 : MapEntry(&Entry) { in DwarfStringPoolEntryRef() 69 explicit operator bool() const { return !MapEntry.isNull(); } 88 if (MapEntry.is<ByValStringEntryPtr>()) in getString() 89 return MapEntry.get<ByValStringEntryPtr>()->first(); in getString() 91 return MapEntry.get<ByPtrStringEntryPtr>()->first(); in getString() 96 if (MapEntry.is<ByValStringEntryPtr>()) in getEntry() 97 return MapEntry.get<ByValStringEntryPtr>()->second; in getEntry() 99 return *MapEntry.get<ByPtrStringEntryPtr>()->second; in getEntry() 103 return MapEntry.getOpaqueValue() == X.MapEntry.getOpaqueValue(); [all …]
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | BoltDiff.cpp | 343 for (const auto &MapEntry : FuncMap) { in matchBasicBlocks() local 408 for (const auto &MapEntry : BBMap) { in reportHottestBBDiffs() local 409 const BinaryBasicBlock *BB2 = MapEntry.first; in reportHottestBBDiffs() 410 const BinaryBasicBlock *BB1 = MapEntry.second; in reportHottestBBDiffs() 526 for (const auto &MapEntry : FuncMap) { in reportHottestFuncDiffs() local 552 &MapEntry = I->second; in reportHottestFuncDiffs() local 559 if (MapEntry.first->getDemangledName() != in reportHottestFuncDiffs() 560 MapEntry.second->getDemangledName()) in reportHottestFuncDiffs() 573 MapEntry.second->dump(); in reportHottestFuncDiffs() 577 MapEntry.first->dump(); in reportHottestFuncDiffs() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibCxxMap.cpp | 25 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 …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | MsgPackDocument.cpp | 107 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()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DirectoryEntry.h | 62 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>; variable 64 const MapEntry &getMapEntry() const { return *ME; } in getMapEntry() 70 DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef() 105 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {} 107 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {} 113 const MapEntry *ME;
|
| H A D | FileEntry.h | 105 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>; variable 124 MapValue(MapEntry &ME) : V(&ME) {} in MapValue() 150 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) { in FileEntryRef() 158 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; } in getMapEntry() 174 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {} 176 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {} 182 const MapEntry *ME;
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | instr.cpp | 267 using MapEntry = T; typedef in __anon09dfe8530211::SimpleHashTable 304 MapEntry *TableRoot{nullptr}; 305 MapEntry NoEntry; 312 MapEntry &Entry = Entries[I]; in forEachElement() 333 MapEntry &getEntry(MapEntry *Entries, uint64_t Key, uint64_t Selector, in getEntry() 338 MapEntry &Entry = Entries[Selector]; in getEntry() 359 MapEntry *NextLevelTbl = new (Alloc, 0) MapEntry[IncSize]; in getEntry() 979 struct MapEntry { struct 983 MapEntry *Entries; 990 Entries = new (Alloc, 0) MapEntry[NumNodes]; in NodeToCallsMap() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 135 for (auto MapEntry : ConstGEPCandMap) in cleanup() local 136 MapEntry.second.clear(); in cleanup() 139 for (auto MapEntry : ConstGEPInfoMap) in cleanup() local 140 MapEntry.second.clear(); in cleanup()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ExpectedTypeTest.cpp | 53 using MapEntry = std::map<std::string, EquivClass>::value_type; in classesAre() typedef 55 std::vector<Matcher<MapEntry>> Elements; in classesAre() 58 Elements.push_back(Field(&MapEntry::second, Cls)); in classesAre()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 279 for (const auto &MapEntry : CacheMap) { in fixCacheAfterWrite() local 282 if (Offset + Data.size() < MapEntry.first) in fixCacheAfterWrite() 284 for (const auto &Alloc : MapEntry.second) { in fixCacheAfterWrite() 287 if (MapEntry.first + Alloc.size() < Offset) in fixCacheAfterWrite() 293 std::make_pair(MapEntry.first, MapEntry.first + Alloc.size()); in fixCacheAfterWrite()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | BoltAddressTranslation.cpp | 99 for (auto &MapEntry : Maps) { in write() local 100 const uint64_t Address = MapEntry.first; in write() 101 MapTy &Map = MapEntry.second; in write()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | RegAnalysis.cpp | 78 for (auto &MapEntry : *BFs) { in RegAnalysis() 79 BinaryFunction *Func = &MapEntry.second; in RegAnalysis()
|
| H A D | FrameAnalysis.cpp | 313 for (auto &MapEntry : ArgsTouchedMap) { in traverseCG() 314 const BinaryFunction *Func = MapEntry.first; in traverseCG() 315 const auto &Set = MapEntry.second; in traverseCG()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 968 for (const auto &MapEntry : ConstGEPCandMap) in runImpl() local 969 if (!MapEntry.second.empty()) in runImpl() 970 findBaseConstants(MapEntry.first); in runImpl() 977 for (const auto &MapEntry : ConstGEPInfoMap) in runImpl() local 978 if (!MapEntry.second.empty()) in runImpl() 979 MadeChange |= emitBaseConstants(MapEntry.first); in runImpl()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 2222 uint8_t MapEntry = FixupMap[i * 8 + 0]; in AddEncodingComment() local 2224 if (FixupMap[i * 8 + j] == MapEntry) in AddEncodingComment() 2227 MapEntry = uint8_t(~0U); in AddEncodingComment() 2231 if (MapEntry != uint8_t(~0U)) { in AddEncodingComment() 2232 if (MapEntry == 0) { in AddEncodingComment() 2238 << char('A' + MapEntry - 1) << '\''; in AddEncodingComment() 2240 OS << char('A' + MapEntry - 1); in AddEncodingComment() 2254 if (uint8_t MapEntry = FixupMap[FixupBit]) { in AddEncodingComment() local 2256 OS << char('A' + MapEntry - 1); in AddEncodingComment()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 248 size_type count(const StringMapEntry<InputTy> &MapEntry) const { in count() argument 249 return count(MapEntry.getKey()); in count()
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ModuleFile.h | 71 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val;
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | GlobalModuleIndex.cpp | 759 for (auto MapEntry : ImportedModuleFiles) { in writeIndex() local 760 auto *File = MapEntry.first; in writeIndex() 761 ImportedModuleFileInfo &Info = MapEntry.second; in writeIndex()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | FileManager.cpp | 220 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getFileRef() 430 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getVirtualFileRef()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Metadata.cpp | 500 auto &MapEntry = I.first->getValue(); in get() local 502 return &MapEntry; in get() 503 MapEntry.Entry = &*I.first; in get() 504 return &MapEntry; in get()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 246 auto MapEntry = FrameIndices.find(&AI); in getOrCreateFrameIndex() local 247 if (MapEntry != FrameIndices.end()) in getOrCreateFrameIndex() 248 return MapEntry->second; in getOrCreateFrameIndex()
|