/openbsd/gnu/llvm/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 __anon3e7039a80111::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 …]
|
/openbsd/gnu/llvm/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 …]
|
H A D | DbgEntityHistoryCalculator.cpp | 97 Entries.emplace_back(&MI, Entry::Clobber); in startClobber() 248 for (auto &Entry : HistoryMapEntries) in trimLocationRanges() local 249 if (Entry.isClosed()) in trimLocationRanges() 250 Entry.EndIndex -= Offsets[Entry.EndIndex]; in trimLocationRanges() 260 for (const auto &Entry : Entries) { in hasNonEmptyLocation() local 261 if (!Entry.isDbgValue()) in hasNonEmptyLocation() 342 Entry.endEntry(ClobberIndex); in clobberRegEntries() 382 Entry.endEntry(NewIndex); in handleNewDebugValue() 578 const auto &Entry = E.value(); in dump() local 580 if (Entry.isDbgValue()) in dump() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 46 if (Entry.isError() || Entry.isDirectory() || Disable || in scanForDirectivesIfNecessary() 48 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 55 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 61 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 72 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 81 return EntryRef(Filename, Entry); in scanForDirectivesIfNecessary() 206 return Entry; in findEntryByFilenameWithWriteThrough() 219 const auto &Entry = in computeAndStoreResult() local 297 DepScanFile::create(EntryRef Entry) { in create() argument 300 if (Entry.isDirectory()) in create() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | RangeMap.h | 140 typedef Range<B, S> Entry; typedef 241 m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) { in CombineConsecutiveRanges() 312 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 321 Entry entry(addr, 1); in FindEntryIndexThatContains() 361 const Entry *FindEntryThatContains(const Entry &range) const { in FindEntryThatContains() 463 [&compare = m_compare](const Entry &a, const Entry &b) { in Sort() 541 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 573 const Entry *FindEntryThatContains(const Entry &range) const { in FindEntryThatContains() 782 static bool BaseLessThan(const Entry &lhs, const Entry &rhs) { in BaseLessThan() 791 Entry entry; in FindEntry() [all …]
|
/openbsd/gnu/llvm/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 1143 case Entry::Type::Invalid: in Format() 1161 case Entry::Type::Root: in Format() 1170 case Entry::Type::String: in Format() 1174 case Entry::Type::Scope: { in Format() 1436 case Entry::Type::File: in Format() 1446 case Entry::Type::Lang: in Format() 2020 Entry scope_entry(Entry::Type::Scope); in ParseInternal() [all …]
|
/openbsd/gnu/llvm/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() argument 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 …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | Thumb2SizeReduction.cpp | 412 unsigned Opc = Entry.NarrowOpc1; in ReduceLoadStore() 414 uint8_t ImmLimit = Entry.Imm1Limit; in ReduceLoadStore() 416 switch (Entry.WideOpc) { in ReduceLoadStore() 422 Opc = Entry.NarrowOpc2; in ReduceLoadStore() 423 ImmLimit = Entry.Imm2Limit; in ReduceLoadStore() 594 if (Entry.WideOpc == ARM::t2STMIA) in ReduceLoadStore() 787 if (Entry.Imm2Limit) { in ReduceTo2Addr() 870 if (Entry.Imm1Limit) in ReduceToNarrow() 1024 if (Entry.Special) in ReduceMI() 1028 if (Entry.NarrowOpc2 && in ReduceMI() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 38 const SrcHeaderBlockEntry &Entry; member in llvm::pdb::__anone114ce000111::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 …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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() function 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 { 79 typedef std::vector<Entry> collection;
|
/openbsd/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreSelectionDAGInfo.cpp | 28 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy() local 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy() 30 Entry.Node = Dst; Args.push_back(Entry); in EmitTargetCodeForMemcpy() 31 Entry.Node = Src; Args.push_back(Entry); in EmitTargetCodeForMemcpy() 32 Entry.Node = Size; Args.push_back(Entry); in EmitTargetCodeForMemcpy()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ArrayRecycler.h | 46 FreeList *Entry = Bucket[Idx]; in pop() local 47 if (!Entry) in pop() 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop() 50 Bucket[Idx] = Entry->Next; in pop() 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop() 52 return reinterpret_cast<T*>(Entry); in pop() 58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push() local 61 Entry->Next = Bucket[Idx]; in push() 62 Bucket[Idx] = Entry; in push()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonSelectionDAGInfo.cpp | 35 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy() local 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy() 37 Entry.Node = Dst; in EmitTargetCodeForMemcpy() 38 Args.push_back(Entry); in EmitTargetCodeForMemcpy() 39 Entry.Node = Src; in EmitTargetCodeForMemcpy() 40 Args.push_back(Entry); in EmitTargetCodeForMemcpy() 41 Entry.Node = Size; in EmitTargetCodeForMemcpy() 42 Args.push_back(Entry); in EmitTargetCodeForMemcpy()
|
/openbsd/gnu/llvm/lldb/include/lldb/Interpreter/ |
H A D | OptionValueFormatEntity.h | 44 FormatEntity::Entry &GetCurrentValue() { return m_current_entry; } in GetCurrentValue() 46 const FormatEntity::Entry &GetCurrentValue() const { return m_current_entry; } in GetCurrentValue() 48 void SetCurrentValue(const FormatEntity::Entry &value) { in SetCurrentValue() 52 FormatEntity::Entry &GetDefaultValue() { return m_default_entry; } in GetDefaultValue() 54 const FormatEntity::Entry &GetDefaultValue() const { return m_default_entry; } in GetDefaultValue() 59 FormatEntity::Entry m_current_entry; 60 FormatEntity::Entry m_default_entry;
|
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFAcceleratorTable.h | 38 class Entry { 42 Entry() = default; 45 Entry(const Entry &) = default; 46 Entry(Entry &&) = default; 47 Entry &operator=(const Entry &) = default; 48 Entry &operator=(Entry &&) = default; 49 ~Entry() = default; 117 class Entry final : public DWARFAcceleratorTable::Entry { 121 Entry() = default; 156 using value_type = Entry; [all …]
|
/openbsd/gnu/llvm/llvm/lib/XRay/ |
H A D | InstrumentationMap.cpp | 173 auto &Entry = Sleds.back(); in loadObj() local 194 Entry.Kind = Kinds[Kind]; in loadObj() 196 Entry.Version = Extractor.getU8(&OffsetPtr); in loadObj() 197 if (Entry.Version >= 2) { in loadObj() 206 CurFn = Entry.Function; in loadObj() 207 FunctionAddresses[FuncId] = Entry.Function; in loadObj() 208 FunctionIds[Entry.Function] = FuncId; in loadObj() 210 if (Entry.Function != CurFn) { in loadObj() 212 CurFn = Entry.Function; in loadObj() 213 FunctionAddresses[FuncId] = Entry.Function; in loadObj() [all …]
|