/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 86 ReachabilityGraph(MachineBasicBlock *Entry, const BlockSet &Blocks) in ReachabilityGraph() argument 87 : Entry(Entry), Blocks(Blocks) { in ReachabilityGraph() 91 if (MBB != Entry) { in ReachabilityGraph() 125 MachineBasicBlock *Entry; member in __anon5f812d3b0111::ReachabilityGraph 145 if (Succ != Entry && inRegion(Succ)) { in calculate() 155 assert(inRegion(MBB) && Succ != Entry && inRegion(Succ)); in calculate() 156 if (MBB != Entry) { in calculate() 173 assert(!Loopers.count(Entry)); in calculate() 194 LoopBlocks(MachineBasicBlock *Entry, const BlockSet &Enterers) in LoopBlocks() argument 195 : Entry(Entry), Enterers(Enterers) { in LoopBlocks() [all …]
|
/freebsd/contrib/llvm-project/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() 32 Entry.Symbol = ShouldCreateSymbols ? Asm.createTempSymbol(Prefix) : nullptr; in getEntryImpl() 95 for (const auto &Entry : Entries) { in emit() local 96 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit() 101 Asm.OutStreamer->emitLabel(Entry->getValue().Symbol); in emit() 105 Twine(Entry->getValue().Offset)); in emit() 107 StringRef(Entry->getKeyData(), Entry->getKeyLength() + 1)); in emit() 115 for (const auto &Entry : Pool) { in emit() local [all …]
|
H A D | DbgEntityHistoryCalculator.cpp | 85 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue() 97 Entries.emplace_back(&MI, Entry::Clobber); in startClobber() 101 void DbgValueHistoryMap::Entry::endEntry(EntryIndex Index) { in endEntry() 253 for (auto &Entry : HistoryMapEntries) in trimLocationRanges() local 254 if (Entry.isClosed()) in trimLocationRanges() 255 Entry.EndIndex -= Offsets[Entry.EndIndex]; in trimLocationRanges() 267 for (const auto &Entry : Entries) { in hasNonEmptyLocation() local 268 if (!Entry.isDbgValue()) in hasNonEmptyLocation() 271 const MachineInstr *MI = Entry.getInstr(); in hasNonEmptyLocation() 343 auto &Entry = HistMap.getEntry(Var, Index); in clobberRegEntries() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MicroMipsSizeReduction.cpp | 124 const ReduceEntry &Entry; // Entry field member 130 : MI(argMI), Entry(argEntry), NextMII(argNextMII) {} in ReduceEntryFunArgs() 196 static bool ReplaceInstruction(MachineInstr *MI, const ReduceEntry &Entry, 337 static bool ImmInRange(MachineInstr *MI, const ReduceEntry &Entry) { in ImmInRange() argument 341 if (!GetImm(MI, Entry.ImmField(), offset)) in ImmInRange() 344 if (!InRange(offset, Entry.Shift(), Entry.LBound(), Entry.HBound())) in ImmInRange() 352 const ReduceEntry &Entry) { in CheckXWPInstr() argument 368 if (!ImmInRange(MI, Entry)) in CheckXWPInstr() 431 for (ReduceEntryVector::const_iterator Entry = Range.first; in ReduceMI() local 432 Entry != Range.second; ++Entry) { in ReduceMI() [all …]
|
H A D | MipsOptimizePICCall.cpp | 104 unsigned getCount(ValueType Entry); 108 unsigned getReg(ValueType Entry); 111 void incCntAndSetReg(ValueType Entry, unsigned Reg); 234 ValueType Entry; in visitNode() local 237 if (!isCallViaRegister(*I, Reg, Entry)) in visitNode() 241 unsigned N = getCount(Entry); in visitNode() 248 getCallTargetRegOpnd(*I)->setReg(getReg(Entry)); in visitNode() 256 if (Entry) in visitNode() 257 incCntAndSetReg(Entry, Reg); in visitNode() 302 unsigned OptimizePICCall::getCount(ValueType Entry) { in getCount() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/lli/ |
H A D | ExecutionUtils.cpp |
|
/freebsd/contrib/llvm-project/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() 25 bool FormatCache::Entry::IsSyntheticCached() { return m_synthetic_cached; } in IsSyntheticCached() 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() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | secondary.h | 191 for (CachedBlock Entry : Entries) { in getStats() local 192 if (!Entry.isValid()) in getStats() 196 Entry.CommitBase, Entry.CommitBase + Entry.CommitSize, in getStats() 197 Entry.CommitSize, Entry.Time == 0 ? "[R]" : ""); in getStats() 227 CachedBlock Entry; in store() local 228 Entry.CommitBase = H->CommitBase; in store() 229 Entry.CommitSize = H->CommitSize; in store() 230 Entry.BlockBegin = reinterpret_cast<uptr>(H + 1); in store() 231 Entry.MemMap = H->MemMap; in store() 232 Entry.Time = Time; in store() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | RangeMap.h | 140 typedef Range<B, S> Entry; typedef 141 typedef llvm::SmallVector<Entry, N> Collection; 158 Entry entry = pos1->Intersect(*pos2); in GetOverlaps() 179 void Append(const Entry &entry) { m_entries.push_back(entry); } in Append() 185 void Insert(const Entry &entry, bool combine) { in Insert() 225 // First we determine if we can combine any of the Entry objects so we in IsSorted() 241 m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) { in CombineConsecutiveRanges() 252 Entry &back = minimal_ranges.back(); in CombineConsecutiveRanges() 297 const Entry *GetEntryAtInde 443 typedef RangeData<B, S, T> Entry; global() typedef 740 typedef AddressData<B, T> Entry; global() typedef [all...] |
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | TimelineView.cpp | 135 const WaitTimeEntry &Entry, in printWaitTimeEntry() argument 148 (double)(Entry.CyclesSpentInSchedulerQueue * 10) / CumulativeExecutions; in printWaitTimeEntry() 150 (double)(Entry.CyclesSpentInSQWhileReady * 10) / CumulativeExecutions; in printWaitTimeEntry() 151 AverageTime3 = (double)(Entry.CyclesSpentAfterWBAndBeforeRetire * 10) / in printWaitTimeEntry() 159 tryChangeColor(OS, Entry.CyclesSpentInSchedulerQueue, CumulativeExecutions, in printWaitTimeEntry() 164 tryChangeColor(OS, Entry.CyclesSpentInSQWhileReady, CumulativeExecutions, in printWaitTimeEntry() 169 tryChangeColor(OS, Entry.CyclesSpentAfterWBAndBeforeRetire, in printWaitTimeEntry() 218 const TimelineViewEntry &Entry, in printTimelineViewEntry() argument 225 assert(Entry.CycleDispatched >= 0 && "Invalid TimelineViewEntry!"); in printTimelineViewEntry() 226 unsigned CycleDispatched = static_cast<unsigned>(Entry.CycleDispatched); in printTimelineViewEntry() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | FormatEntity.cpp | 82 using Definition = lldb_private::FormatEntity::Entry::Definition; 83 using Entry = FormatEntity::Entry; typedef 84 using EntryType = FormatEntity::Entry::Type; 107 Entry::DefinitionWithChildren("reg", EntryType::FrameRegisterByName, 128 Entry::DefinitionWithChildren("file", EntryType::LineEntryFile, 136 constexpr Definition g_module_child_entries[] = {Entry::DefinitionWithChildren( 142 Entry::DefinitionWithChildren("file", EntryType::ProcessFile, 155 Entry::DefinitionWithChildren("info", EntryType::ThreadInfo, 203 Entry::DefinitionWithChildren("fg", EntryType::Invalid, g_ansi_fg_entries), 204 Entry::DefinitionWithChildren("bg", EntryType::Invalid, g_ansi_bg_entries), [all …]
|
/freebsd/contrib/llvm-project/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 43 m_map.push_back(typename UniqueCStringMap<T>::Entry(unique_cstr, value)); in Append() 46 void Append(const Entry &e) { m_map.push_back(e); } in Append() 98 const Entry *FindFirstValueForName(ConstString unique_cstr) const { in FindFirstValueForName() 111 const Entry *FindNextValueForName(const Entry *entry_ptr) const { in FindNextValueForName() 113 const Entry *first_entry = &m_map[0]; in FindNextValueForName() 114 const Entry *after_last_entry = first_entry + m_map.size(); in FindNextValueForName() 115 const Entry *next_entry = entry_ptr + 1; in FindNextValueForName() [all …]
|
H A D | FormatEntity.h | 39 struct Entry { 110 /// Entry::Type corresponding to this definition. 111 const Entry::Type type; argument 122 constexpr Definition(const char *name, const FormatEntity::Entry::Type t) 126 : name(name), string(string), type(Entry::Type::EscapeCode) {} in Definition() 128 constexpr Definition(const char *name, const FormatEntity::Entry::Type t, 132 constexpr Definition(const char *name, const FormatEntity::Entry::Type t, 142 DefinitionWithChildren(const char *name, const FormatEntity::Entry::Type t, 148 Entry(Type t = Type::Invalid, const char *s = nullptr, 152 Entry(llv 40 struct Entry { global() struct 41 TypeEntry global() argument 162 AppendEntryEntry AppendEntry() argument 178 ClearEntry global() argument 202 childrenEntry global() argument 209 derefEntry global() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrFoldTables.cpp | 172 for (const X86FoldTableEntry &Entry : Table2Addr) in X86MemUnfoldTable() local 174 addTableEntry(Entry, TB_INDEX_0 | TB_FOLDED_LOAD | TB_FOLDED_STORE); in X86MemUnfoldTable() 176 for (const X86FoldTableEntry &Entry : Table0) in X86MemUnfoldTable() local 178 addTableEntry(Entry, TB_INDEX_0); in X86MemUnfoldTable() 180 for (const X86FoldTableEntry &Entry : Table1) in X86MemUnfoldTable() local 182 addTableEntry(Entry, TB_INDEX_1 | TB_FOLDED_LOAD); in X86MemUnfoldTable() 184 for (const X86FoldTableEntry &Entry : Table2) in X86MemUnfoldTable() local 186 addTableEntry(Entry, TB_INDEX_2 | TB_FOLDED_LOAD); in X86MemUnfoldTable() 188 for (const X86FoldTableEntry &Entry : Table3) in X86MemUnfoldTable() local 190 addTableEntry(Entry, TB_INDEX_3 | TB_FOLDED_LOAD); in X86MemUnfoldTable() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | Thumb2SizeReduction.cpp | 186 bool VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, 191 const ReduceEntry &Entry); 194 const ReduceEntry &Entry, bool LiveCPSR, bool IsSelfLoop); 199 const ReduceEntry &Entry, bool LiveCPSR, 205 const ReduceEntry &Entry, bool LiveCPSR, 330 Thumb2SizeReduce::VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, in VerifyPredAndCC() argument 333 if ((is2Addr && Entry.PredCC2 == 0) || in VerifyPredAndCC() 334 (!is2Addr && Entry.PredCC1 == 0)) { in VerifyPredAndCC() 353 } else if ((is2Addr && Entry.PredCC2 == 2) || in VerifyPredAndCC() 354 (!is2Addr && Entry.PredCC1 == 2)) { in VerifyPredAndCC() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 181 const ResourceEntryRef &Entry, StringRef File1, StringRef File2) { in makeDuplicateResourceError() argument 188 if (Entry.checkTypeString()) { in makeDuplicateResourceError() 190 if (!convertUTF16LEToUTF8String(Entry.getTypeString(), UTF8)) in makeDuplicateResourceError() 194 printResourceTypeName(Entry.getTypeID(), OS); in makeDuplicateResourceError() 197 if (Entry.checkNameString()) { in makeDuplicateResourceError() 199 if (!convertUTF16LEToUTF8String(Entry.getNameString(), UTF8)) in makeDuplicateResourceError() 203 OS << "ID " << Entry.getNameID(); in makeDuplicateResourceError() 206 OS << "/language " << Entry.getLanguage() << ", in " << File1 << " and in " in makeDuplicateResourceError() 312 const ResourceEntryRef &Entry) const { in shouldIgnoreDuplicate() 313 return MinGW && !Entry.checkTypeString() && in shouldIgnoreDuplicate() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDeclContext.h | 30 struct Entry { struct 31 Entry() = default; 32 Entry(dw_tag_t t, const char *n) : tag(t), name(n) {} in Entry() argument 34 bool NameMatches(const Entry &rhs) const { in NameMatches() argument 55 DWARFDeclContext(llvm::ArrayRef<Entry> entries) { in DWARFDeclContext() argument 60 m_entries.push_back(Entry(tag, name)); in AppendDeclContext() 68 Entry &operator[](uint32_t idx) { 73 const Entry &operator[](uint32_t idx) const { 95 for (const Entry &e : ctx.m_entries) { 103 typedef std::vector<Entry> collection;
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 39 const SrcHeaderBlockEntry &Entry; member in llvm::pdb::__anon054798330111::NativeInjectedSource 44 NativeInjectedSource(const SrcHeaderBlockEntry &Entry, in NativeInjectedSource() argument 46 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource() 48 uint32_t getCrc32() const override { return Entry.CRC; } in getCrc32() 49 uint64_t getCodeByteSize() const override { return Entry.FileSize; } in getCodeByteSize() 52 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() 58 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() 64 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() 69 uint32_t getCompression() const override { return Entry.Compression; } in getCompression() 74 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
H A D | HLSLResource.cpp | 23 cast<ConstantAsMetadata>(Entry->getOperand(0))->getValue()); in getGlobalVariable() 29 cast<ConstantAsMetadata>(Entry->getOperand(1))->getValue()) in getResourceKind() 35 cast<ConstantAsMetadata>(Entry->getOperand(2))->getValue()) in getElementType() 40 cast<ConstantAsMetadata>(Entry->getOperand(3))->getValue()) in getIsROV() 45 cast<ConstantAsMetadata>(Entry->getOperand(4))->getValue()) in getResourceIndex() 50 cast<ConstantAsMetadata>(Entry->getOperand(5))->getValue()) in getSpace() 54 FrontendResource::FrontendResource(MDNode *E) : Entry(E) { in FrontendResource() 55 assert(Entry->getNumOperands() == 6 && "Unexpected metadata shape"); in FrontendResource() 63 Entry = MDNode::get( in FrontendResource()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | InstrumentationMap.cpp | 174 auto &Entry = Sleds.back(); in loadObj() local 178 Entry.Address = RelocateOrElse(AddrOff, Extractor.getU32(&OffsetPtr)); in loadObj() 180 Entry.Address = RelocateOrElse(AddrOff, Extractor.getU64(&OffsetPtr)); in loadObj() 183 Entry.Function = RelocateOrElse(FuncOff, Extractor.getU32(&OffsetPtr)); in loadObj() 185 Entry.Function = RelocateOrElse(FuncOff, Extractor.getU64(&OffsetPtr)); in loadObj() 195 Entry.Kind = Kinds[Kind]; in loadObj() 196 Entry.AlwaysInstrument = Extractor.getU8(&OffsetPtr) != 0; in loadObj() 197 Entry.Version = Extractor.getU8(&OffsetPtr); in loadObj() 198 if (Entry.Version >= 2) { in loadObj() 199 Entry.Address += C - Contents.bytes_begin() + Address; in loadObj() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 203 const CachedFileSystemEntry &Entry); 248 const CachedFileSystemEntry &Entry) { in insertEntryForFilename() argument 250 auto [It, Inserted] = Cache.insert({Filename, {&Entry, nullptr}}); in insertEntryForFilename() 256 CachedEntry = &Entry; in insertEntryForFilename() 295 const CachedFileSystemEntry &Entry; variable 300 EntryRef(StringRef Name, const CachedFileSystemEntry &Entry) in EntryRef() argument 301 : Filename(Name), Entry(Entry) {} in EntryRef() 304 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() 310 bool isError() const { return Entry.isError(); } in isError() 311 bool isDirectory() const { return Entry.isDirectory(); } in isDirectory() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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;
|