| /llvm-project-15.0.7/openmp/libomptarget/plugins/remote/lib/ |
| H A D | Utils.cpp | 143 for (auto *Entry = Desc->HostEntriesBegin; Entry != Desc->HostEntriesEnd; in freeTargetBinaryDescription() local 144 Entry++) { in freeTargetBinaryDescription() 145 free(Entry->name); in freeTargetBinaryDescription() 146 free(Entry->addr); in freeTargetBinaryDescription() 153 for (auto *Entry = Table->EntriesBegin; Entry != Table->EntriesEnd; Entry++) in freeTargetTable() local 154 free(Entry->name); in freeTargetTable() 220 EntryResponse->set_data(Entry->addr, Entry->size); in copyOffloadEntry() 258 fprintf(stderr, " Name: %s (%p)\n", Entry->name, (void *)&Entry->name); in dump() 261 fprintf(stderr, " Flags: %d (%p)\n", Entry->flags, (void *)&Entry->flags); in dump() 291 for (auto Entry : Map) in dump() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 87 : Entry(Entry), Blocks(Blocks) { in ReachabilityGraph() 91 if (MBB != Entry) { in ReachabilityGraph() 125 MachineBasicBlock *Entry; member in __anon537f6e6b0111::ReachabilityGraph 156 if (MBB != Entry) { in calculate() 195 : Entry(Entry), Enterers(Enterers) { in LoopBlocks() 212 Blocks.insert(Entry); in calculate() 384 MIB.addMBB(Entry); in makeSingleEntryLoop() 421 if (Entries.count(Entry) && Pred->isLayoutSuccessor(Entry)) in makeSingleEntryLoop() 434 if (!Entries.count(Entry) || Map.count({Entry, PredInLoop})) in makeSingleEntryLoop() 519 BuildMI(Entry, Entry.begin(), DebugLoc(), in addImplicitDefs() [all …]
|
| /llvm-project-15.0.7/llvm/test/Object/ |
| H A D | coff-dwarf-debug-only.test | 6 CHECK-NEXT: Entry 2 0000000000000000 00000000 Resource Directory [.rsrc] 7 CHECK-NEXT: Entry 3 00000000006ac000 00000714 Exception Directory [.pdata] 8 CHECK-NEXT: Entry 4 0000000000000000 00000000 Security Directory 10 CHECK-NEXT: Entry 6 00000000006aa000 0000001c Debug Directory 11 CHECK-NEXT: Entry 7 0000000000000000 00000000 Description Directory 12 CHECK-NEXT: Entry 8 0000000000000000 00000000 Special Directory 14 CHECK-NEXT: Entry a 0000000000000000 00000000 Load Configuration Directory 15 CHECK-NEXT: Entry b 0000000000000000 00000000 Bound Import Directory 17 CHECK-NEXT: Entry d 0000000000000000 00000000 Delay Import Directory 18 CHECK-NEXT: Entry e 0000000000000000 00000000 CLR Runtime Header [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 28 auto &Entry = I.first->second; in getEntryImpl() local 30 Entry.Index = EntryTy::NotIndexed; in getEntryImpl() 31 Entry.Offset = NumBytes; in getEntryImpl() 95 for (const auto &Entry : Entries) { in emit() local 101 Asm.OutStreamer->emitLabel(Entry->getValue().Symbol); in emit() 107 StringRef(Entry->getKeyData(), Entry->getKeyLength() + 1)); in emit() 115 for (const auto &Entry : Pool) { in emit() local 116 if (Entry.getValue().isIndexed()) in emit() 117 Entries[Entry.getValue().Index] = &Entry; in emit() 122 for (const auto &Entry : Entries) in emit() local [all …]
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | FormatCache.cpp | 17 FormatCache::Entry::Entry() in Entry() function in FormatCache::Entry 21 bool FormatCache::Entry::IsFormatCached() { return m_format_cached; } in IsFormatCached() 23 bool FormatCache::Entry::IsSummaryCached() { return m_summary_cached; } in IsSummaryCached() 27 void FormatCache::Entry::Get(lldb::TypeFormatImplSP &retval) { in Get() 31 void FormatCache::Entry::Get(lldb::TypeSummaryImplSP &retval) { in Get() 35 void FormatCache::Entry::Get(lldb::SyntheticChildrenSP &retval) { in Get() 39 void FormatCache::Entry::Set(lldb::TypeFormatImplSP format_sp) { in Set() 44 void FormatCache::Entry::Set(lldb::TypeSummaryImplSP summary_sp) { in Set() 49 void FormatCache::Entry::Set(lldb::SyntheticChildrenSP synthetic_sp) { in Set() 54 FormatCache::Entry &FormatCache::GetEntry(ConstString type) { in GetEntry() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | secondary.h | 154 CachedBlock Entry; in store() local 161 Entry.Time = Time; in store() 169 mapSecondary<Config>(Options, Entry.CommitBase, Entry.CommitSize, in store() 170 Entry.CommitBase, MAP_NOACCESS, &Entry.Data); in store() 176 releasePagesToOS(Entry.CommitBase, 0, Entry.CommitSize, &Entry.Data); in store() 177 Entry.Time = 0; in store() 234 CachedBlock Entry; in retrieve() local 265 setMemoryPermission(Entry.CommitBase, Entry.CommitSize, 0, &Entry.Data); in retrieve() 379 if (!Entry.CommitBase || !Entry.Time) in releaseIfOlderThan() 386 releasePagesToOS(Entry.CommitBase, 0, Entry.CommitSize, &Entry.Data); in releaseIfOlderThan() [all …]
|
| /llvm-project-15.0.7/llvm/tools/lli/ |
| H A D | ExecutionUtils.cpp | 86 for (auto *Entry = Descriptor->first_entry; Entry; Entry = Entry->next_entry) in dumpDebugDescriptor() local 87 outsv("[{0,2}] {1:X16} {2:X16} {3,8:D} {4}\n", Idx++, Entry, in dumpDebugDescriptor() 88 reinterpret_cast<const void *>(Entry->symfile_addr), in dumpDebugDescriptor() 89 Entry->symfile_size, Entry->prev_entry); in dumpDebugDescriptor() 96 for (auto *Entry = Descriptor->first_entry; Entry; Entry = Entry->next_entry) in dumpDebugObjects() local 97 Generator->appendDebugObject(Entry->symfile_addr, Entry->symfile_size); in dumpDebugObjects()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MicroMipsSizeReduction.cpp | 344 if (!InRange(offset, Entry.Shift(), Entry.LBound(), Entry.HBound())) in ImmInRange() 432 Entry != Range.second; ++Entry) { in ReduceMI() 443 const ReduceEntry &Entry = Arguments->Entry; in ReduceXWtoXWSP() local 456 const ReduceEntry &Entry = Arguments->Entry; in ReduceXWtoXWP() local 498 const ReduceEntry &Entry = Arguments->Entry; in ReduceArithmeticInstructions() local 512 const ReduceEntry &Entry = Arguments->Entry; in ReduceADDIUToADDIUR1SP() local 526 const ReduceEntry &Entry = Arguments->Entry; in ReduceADDIUToADDIUSP() local 544 const ReduceEntry &Entry = Arguments->Entry; in ReduceLXUtoLXU16() local 559 const ReduceEntry &Entry = Arguments->Entry; in ReduceSXtoSX16() local 613 const ReduceEntry &Entry = Arguments->Entry; in ReduceMoveToMovep() local [all …]
|
| H A D | MipsOptimizePICCall.cpp | 105 unsigned getCount(ValueType Entry); 109 unsigned getReg(ValueType Entry); 234 ValueType Entry; in visitNode() local 237 if (!isCallViaRegister(*I, Reg, Entry)) in visitNode() 241 unsigned N = getCount(Entry); in visitNode() 256 if (Entry) in visitNode() 257 incCntAndSetReg(Entry, Reg); in visitNode() 303 return ScopedHT.lookup(Entry).first; in getCount() 306 unsigned OptimizePICCall::getReg(ValueType Entry) { in getReg() argument 307 unsigned Reg = ScopedHT.lookup(Entry).second; in getReg() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 45 if (Entry.isError() || Entry.isDirectory() || Disable || in scanForDirectivesIfNecessary() 47 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 54 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 60 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 71 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 80 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 205 return Entry; in findEntryByFilenameWithWriteThrough() 218 const auto &Entry = in computeAndStoreResult() local 296 DepScanFile::create(EntryRef Entry) { in create() argument 299 if (Entry.isDirectory()) in create() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 135 const WaitTimeEntry &Entry, in printWaitTimeEntry() argument 169 tryChangeColor(OS, Entry.CyclesSpentAfterWBAndBeforeRetire, in printWaitTimeEntry() 230 if (CycleDispatched != Entry.CycleExecuted) { in printTimelineViewEntry() 235 if (Entry.CycleIssued == Entry.CycleExecuted) in printTimelineViewEntry() 238 if (CycleDispatched != Entry.CycleIssued) in printTimelineViewEntry() 240 for (unsigned I = Entry.CycleIssued + 1, E = Entry.CycleExecuted; I < E; in printTimelineViewEntry() 247 for (unsigned I = Entry.CycleExecuted + 1, E = Entry.CycleRetired; I < E; ++I) in printTimelineViewEntry() 249 if (Entry.CycleExecuted < Entry.CycleRetired) in printTimelineViewEntry() 291 const TimelineViewEntry &Entry = Timeline[IID]; in printTimeline() local 299 if (Entry.CycleRetired == 0 && Entry.CycleExecuted != 0) { in printTimeline() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | RangeMap.h | 135 typedef Range<B, S> Entry; typedef 236 m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) { in CombineConsecutiveRanges() 307 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 316 Entry entry(addr, 1); in FindEntryIndexThatContains() 356 const Entry *FindEntryThatContains(const Entry &range) const { in FindEntryThatContains() 451 [&compare = m_compare](const Entry &a, const Entry &b) { in Sort() 529 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 561 const Entry *FindEntryThatContains(const Entry &range) const { in FindEntryThatContains() 760 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 769 Entry entry; in FindEntry() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | FormatEntityTest.cpp | 17 using Definition = FormatEntity::Entry::Definition; 18 using Entry = FormatEntity::Entry; typedef 21 Definition d("foo", FormatEntity::Entry::Type::Invalid); in TEST() 25 EXPECT_EQ(d.type, FormatEntity::Entry::Type::Invalid); in TEST() 37 EXPECT_EQ(d.type, FormatEntity::Entry::Type::EscapeCode); in TEST() 45 Definition d("foo", FormatEntity::Entry::Type::Invalid, 33); in TEST() 49 EXPECT_EQ(d.type, FormatEntity::Entry::Type::Invalid); in TEST() 57 Definition d("foo", FormatEntity::Entry::Type::Invalid, 33); in TEST() 58 Definition parent("parent", FormatEntity::Entry::Type::Invalid, 1, &d); in TEST() 61 EXPECT_EQ(parent.type, FormatEntity::Entry::Type::Invalid); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | FormatEntity.cpp | 82 using Entry = FormatEntity::Entry; typedef 264 FormatEntity::Entry::Entry(llvm::StringRef s) in Entry() function in FormatEntity::Entry 268 FormatEntity::Entry::Entry(char ch) in Entry() function in FormatEntity::Entry 1085 case Entry::Type::Invalid: in Format() 1103 case Entry::Type::Root: in Format() 1112 case Entry::Type::String: in Format() 1116 case Entry::Type::Scope: { in Format() 1377 case Entry::Type::File: in Format() 1387 case Entry::Type::Lang: in Format() 2054 Entry scope_entry(Entry::Type::Scope); in ParseInternal() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | UniqueCStringMap.h | 28 struct Entry { struct 29 Entry(ConstString cstr, const T &v) : cstring(cstr), value(v) {} in Entry() function 35 typedef std::vector<Entry> collection; argument 46 void Append(const Entry &e) { m_map.push_back(e); } in Append() 111 const Entry *FindNextValueForName(const Entry *entry_ptr) const { in FindNextValueForName() 113 const Entry *first_entry = &m_map[0]; in FindNextValueForName() 115 const Entry *next_entry = entry_ptr + 1; in FindNextValueForName() 176 llvm::sort(m_map, [&](const Entry &lhs, const Entry &rhs) -> bool { in Sort() 210 bool operator()(const Entry &lhs, const Entry &rhs) { in operator() 214 bool operator()(const Entry &lhs, ConstString rhs) { in operator() [all …]
|
| H A D | FormatEntity.h | 40 struct Entry { struct 112 const Entry::Type type; 127 : name(name), string(string), type(Entry::Type::EscapeCode) {} in Definition() 149 Entry(Type t = Type::Invalid, const char *s = nullptr, 153 Entry(llvm::StringRef s); 154 Entry(char ch); 162 void AppendEntry(const Entry &&entry) { children.push_back(entry); } in AppendEntry() argument 178 bool operator==(const Entry &rhs) const { argument 202 std::vector<Entry> children; argument 226 static Status Parse(const llvm::StringRef &format, Entry &entry); [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | Thumb2SizeReduction.cpp | 415 unsigned Opc = Entry.NarrowOpc1; in ReduceLoadStore() 417 uint8_t ImmLimit = Entry.Imm1Limit; in ReduceLoadStore() 419 switch (Entry.WideOpc) { in ReduceLoadStore() 425 Opc = Entry.NarrowOpc2; in ReduceLoadStore() 426 ImmLimit = Entry.Imm2Limit; in ReduceLoadStore() 597 if (Entry.WideOpc == ARM::t2STMIA) in ReduceLoadStore() 790 if (Entry.Imm2Limit) { in ReduceTo2Addr() 873 if (Entry.Imm1Limit) in ReduceToNarrow() 1028 if (Entry.Special) in ReduceMI() 1032 if (Entry.NarrowOpc2 && in ReduceMI() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 187 if (Entry.checkTypeString()) { in makeDuplicateResourceError() 196 if (Entry.checkNameString()) { in makeDuplicateResourceError() 316 Entry.getLanguage() == 0; in shouldIgnoreDuplicate() 400 if (Entry.Offset.isSubDir()) { in addChildren() 482 const ResourceEntryRef &Entry, in addTypeNode() argument 484 if (Entry.checkTypeString()) in addTypeNode() 493 if (Entry.checkNameString()) in addNameNode() 502 bool Added = addDataChild(Entry.getLanguage(), Entry.getMajorVersion(), in addLanguageNode() 503 Entry.getMinorVersion(), Entry.getCharacteristics(), in addLanguageNode() 947 Entry->Codepage = 0; in writeDirectoryTree() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumInjectedSources.cpp | 38 const SrcHeaderBlockEntry &Entry; member in llvm::pdb::__anon5c1a43630111::NativeInjectedSource 43 NativeInjectedSource(const SrcHeaderBlockEntry &Entry, in NativeInjectedSource() argument 45 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource() 47 uint32_t getCrc32() const override { return Entry.CRC; } in getCrc32() 48 uint64_t getCodeByteSize() const override { return Entry.FileSize; } in getCodeByteSize() 51 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() 57 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() 63 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() 68 uint32_t getCompression() const override { return Entry.Compression; } in getCompression() 73 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 226 const CachedFileSystemEntry &Entry) { in insertEntryForFilename() argument 241 const CachedFileSystemEntry &Entry; variable 244 EntryRef(StringRef Name, const CachedFileSystemEntry &Entry) in EntryRef() argument 245 : Filename(Name), Entry(Entry) {} in EntryRef() 248 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() 254 bool isError() const { return Entry.isError(); } in isError() 255 bool isDirectory() const { return Entry.isDirectory(); } in isDirectory() 260 return Entry.getError(); in unwrapError() 268 return Entry.getDirectiveTokens(); in getDirectiveTokens() 357 return LocalCache.insertEntryForFilename(Filename, Entry); in insertLocalEntryForFilename() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | device.cpp | 222 auto *Entry = LR.Entry; in getTargetPointer() local 230 auto &HT = *LR.Entry; in getTargetPointer() 261 Entry->HstPtrEnd - Entry->HstPtrBegin); in getTargetPointer() 292 Entry = HDTTMap in getTargetPointer() 303 Entry->dynRefCountToStr().c_str(), Entry->holdRefCountToStr().c_str(), in getTargetPointer() 313 std::lock_guard<decltype(*Entry)> LG(*Entry); in getTargetPointer() 338 std::lock_guard<decltype(*Entry)> LG(*Entry); in getTargetPointer() 374 auto &HT = *LR.Entry; in getTgtPtrBegin() 432 auto &HT = *LR.Entry; in getTgtPtrBegin() 451 auto &HT = *LR.Entry; in deallocTgtPtr() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | HeaderMapCollector.cpp | 19 for (const auto &Entry : *RegexHeaderMappingTable) { in HeaderMapCollector() 20 this->RegexHeaderMappingTable.emplace_back(llvm::Regex(Entry.first), in HeaderMapCollector() 21 Entry.second); in HeaderMapCollector() 32 for (auto &Entry : RegexHeaderMappingTable) { in getMappedHeader() local 35 assert(Entry.first.isValid(Dummy) && "Regex should never be invalid!"); in getMappedHeader() 37 if (Entry.first.match(Header)) in getMappedHeader() 38 return Entry.second; in getMappedHeader()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Ref.h | 143 struct Entry { struct 147 friend struct llvm::DenseMapInfo<Entry>; argument 151 llvm::DenseSet<Entry> Entries; 169 template <> struct DenseMapInfo<clang::clangd::RefSlab::Builder::Entry> { 170 using Entry = clang::clangd::RefSlab::Builder::Entry; 171 static inline Entry getEmptyKey() { 172 static Entry E{clang::clangd::SymbolID(""), {}}; 175 static inline Entry getTombstoneKey() { 176 static Entry E{clang::clangd::SymbolID("TOMBSTONE"), {}}; 179 static unsigned getHashValue(const Entry &Val) { [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/ |
| H A D | VPlanSlpTest.cpp | 101 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 173 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 245 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 309 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 446 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 518 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 590 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 666 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 727 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() 790 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDeclContext.h | 25 struct Entry { struct 26 Entry() = default; 27 Entry(dw_tag_t t, const char *n) : tag(t), name(n) {} in Entry() argument 29 bool NameMatches(const Entry &rhs) const { in NameMatches() argument 47 m_entries.push_back(Entry(tag, name)); in AppendDeclContext() argument 55 Entry &operator[](uint32_t idx) { 60 const Entry &operator[](uint32_t idx) const { 83 typedef std::vector<Entry> collection;
|