Home
last modified time | relevance | path

Searched refs:Row (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dedit_distance.h72 SmallVector<unsigned, 64> Row(n + 1);
73 for (unsigned i = 1; i < Row.size(); ++i)
74 Row[i] = i;
77 Row[0] = y;
78 unsigned BestThisRow = Row[0];
83 int OldRow = Row[x];
85 Row[x] = std::min(Previous + (CurItem == Map(ToArray[x - 1]) ? 0u : 1u),
86 std::min(Row[x - 1], Row[x]) + 1);
90 Row[x] = Previous;
91 else Row[x] = std::min(Row[x-1], Row[x]) + 1;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h31 ShapeT(MachineOperand *Row, MachineOperand *Col,
33 : Row(Row), Col(Col) {
38 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT()
41 MachineOperand *R = Shape.Row;
45 if (!Row || !Col)
47 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg())
56 MachineOperand *getRow() const { return Row; }
64 bool isValid() { return (Row != nullptr) && (Col != nullptr); }
81 RowImm = GetImm(Row in deduceImm()
34 Row(Row) Row() argument
88 MachineOperand *Row; global() variable
[all...]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp483 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } in Row() function in DWARFDebugLine::Row
485 void DWARFDebugLine::Row::postAppend() { in postAppend()
492 void DWARFDebugLine::Row::reset(bool DefaultIsStmt) { in reset()
508 void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) { in dumpTableHeader()
517 void DWARFDebugLine::Row::dump(raw_ostream &OS) const { in dump()
545 Row::dumpTableHeader(OS, 0); in dump()
546 for (const Row &R : Rows) { in dump()
570 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
579 Sequence.LowPC = Row.Address.Address; in appendRowToMatrix()
582 LineTable->appendRow(Row); in appendRowToMatrix()
[all …]
H A DDWARFDebugFrame.cpp186 raw_ostream &llvm::dwarf::operator<<(raw_ostream &OS, const UnwindRow &Row) { in operator <<() argument
188 Row.dump(OS, DumpOpts, 0); in operator <<()
194 for (const UnwindRow &Row : Rows) in dump() local
195 Row.dump(OS, DumpOpts, IndentLevel); in dump()
216 UnwindRow Row; in create() local
217 Row.setAddress(Fde->getInitialLocation()); in create()
219 if (Error CieError = UT.parseRows(Cie->cfis(), Row, nullptr)) in create()
223 const RegisterLocations InitialLocs = Row.getRegisterLocations(); in create()
224 if (Error FdeError = UT.parseRows(Fde->cfis(), Row, &InitialLocs)) in create()
228 if (Row.getRegisterLocations().hasLocations() || in create()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-account.cpp319 auto &Row = std::get<2>(Results.back()); in exportStats() local
322 Row.Min /= CycleFrequency; in exportStats()
323 Row.Median /= CycleFrequency; in exportStats()
324 Row.Pct90 /= CycleFrequency; in exportStats()
325 Row.Pct99 /= CycleFrequency; in exportStats()
326 Row.Max /= CycleFrequency; in exportStats()
327 Row.Sum /= CycleFrequency; in exportStats()
330 Row.Function = FuncIdHelper.SymbolOrNumber(FuncId); in exportStats()
331 Row.DebugInfo = FuncIdHelper.FileLineAndColumn(FuncId); in exportStats()
403 exportStats(Header, [&](int32_t FuncId, size_t Count, const ResultRow &Row) { in exportStatsAsText() argument
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DUnwindPlan.cpp25 bool UnwindPlan::Row::RegisterLocation::
26 operator==(const UnwindPlan::Row::RegisterLocation &rhs) const { in operator ==()
56 void UnwindPlan::Row::RegisterLocation::SetAtDWARFExpression( in SetAtDWARFExpression()
65 void UnwindPlan::Row::RegisterLocation::SetIsDWARFExpression( in SetIsDWARFExpression()
93 void UnwindPlan::Row::RegisterLocation::Dump(Stream &s, in Dump()
95 const UnwindPlan::Row *row, in Dump()
168 bool UnwindPlan::Row::FAValue::
169 operator==(const UnwindPlan::Row::FAValue &rhs) const { in operator ==()
192 void UnwindPlan::Row::FAValue::Dump(Stream &s, const UnwindPlan *unwind_plan, in Dump()
217 void UnwindPlan::Row::Clear() { in Clear()
[all …]
H A DDWARFCallFrameInfo.cpp627 UnwindPlan::Row *cie_initial_row = new UnwindPlan::Row; in FDEToUnwindPlan()
636 UnwindPlan::Row::RegisterLocation reg_location; in FDEToUnwindPlan()
654 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
694 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
708 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
721 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
734 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
764 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan()
824 UnwindPlan::Row &row) { in HandleCommonDwarfOpcode()
825 UnwindPlan::Row::RegisterLocation reg_location; in HandleCommonDwarfOpcode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h325 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows() local
331 Section.emitIntVal(Row.Address.Address, in emitLineTableRows()
336 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows()
344 if (FileNum != Row.File) { in emitLineTableRows()
345 FileNum = Row.File; in emitLineTableRows()
349 if (Column != Row.Column) { in emitLineTableRows()
350 Column = Row.Column; in emitLineTableRows()
354 if (Discriminator != Row.Discriminator && MC->getDwarfVersion() >= 4) { in emitLineTableRows()
355 Discriminator = Row.Discriminator; in emitLineTableRows()
364 if (Isa != Row.Isa) { in emitLineTableRows()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp52 typedef std::function<bool(const LineEntry &Row)> LineEntryCallback;
70 LineEntry Row(BaseAddr, 1, FirstLine); in parse() local
86 Row.File = (uint32_t)Data.getULEB128(&Offset); in parse()
93 Row.Addr += Data.getULEB128(&Offset); in parse()
95 if (Callback(Row) == false) in parse()
103 Row.Line += Data.getSLEB128(&Offset); in parse()
110 Row.Line += LineDelta; in parse()
111 Row.Addr += AddrDelta; in parse()
113 if (Callback(Row) == false) in parse()
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) in decode() argument
269 __anona32c1b310202(const LineEntry &Row) lookup() argument
[all...]
H A DDwarfTransformer.cpp353 DWARFDebugLine::Row PrevRow; in convertFunctionLineTable()
356 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable() local
358 CUI.DWARFToGSYMFileIndex(Gsym, Row.File); in convertFunctionLineTable()
365 Row.dumpTableHeader(OS, /*Indent=*/0); in convertFunctionLineTable()
366 Row.dump(OS); in convertFunctionLineTable()
372 uint64_t RowAddress = Row.Address.Address; in convertFunctionLineTable()
396 LineEntry LE(RowAddress, FileIdx, Row.Line); in convertFunctionLineTable()
397 if (RowIndex != RowVector[0] && Row.Address < PrevRow.Address) { in convertFunctionLineTable()
425 if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line) in convertFunctionLineTable()
430 if (Row.EndSequence) { in convertFunctionLineTable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp126 Value *Row = nullptr, *Col = nullptr; in getShape() local
133 Row = II->getArgOperand(0); in getShape()
149 Row = II->getArgOperand(0); in getShape()
153 Row = II->getArgOperand(0); in getShape()
158 Row = Builder.getInt16( in getShape()
174 Row = Builder.CreateUDiv(II->getOperand(2), Builder.getInt16(4)); in getShape()
175 cast<Instruction>(Row)->moveAfter(cast<Instruction>(II->getOperand(2))); in getShape()
181 Row = NewBuilder.CreateUDiv(II->getOperand(2), NewBuilder.getInt16(4)); in getShape()
190 return std::make_pair(Row, Col); in getShape()
246 Value *Row = nullptr, *Col = nullptr; in combineLoadBitcast() local
[all …]
H A DX86PreAMXConfig.cpp
/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.cpp918 UnwindPlan::Row::RegisterLocation initial_regloc; in GetNonCallSiteUnwindPlanFromAssembly()
919 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly()
941 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1054 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly()
1145 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly()
1237 UnwindPlan::Row::RegisterLocation sp, pc; in GetNonCallSiteUnwindPlanFromAssembly()
1249 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1286 newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1294 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1362 UnwindPlan::RowSP row(new UnwindPlan::Row(*first_row)); in AugmentUnwindPlanFromCallSite()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp485 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName()
487 assert(Row < Rows); in nearestMatchesForCodepointName()
488 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName() argument
498 auto VisitNode = [&](const Node &N, std::size_t Row, in nearestMatchesForCodepointName()
505 Get(0, Row) = Row; in nearestMatchesForCodepointName()
508 const int Delete = Get(I - 1, Row) + 1; in nearestMatchesForCodepointName()
509 const int Insert = Get(I, Row - 1) + 1; in nearestMatchesForCodepointName()
512 Get(I - 1, Row - 1) + (NormalizedName[I - 1] != N.Name[J] ? 1 : 0); in nearestMatchesForCodepointName()
514 Get(I, Row) in nearestMatchesForCodepointName()
502 __anonef2277cc0802(const Node &N, std::size_t Row, auto &VisitNode) nearestMatchesForCodepointName() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMP.cpp81 const auto *Row = LeafConstructTable[LeafConstructTableOrdering[Idx]]; in getLeafConstructs() local
82 return ArrayRef(&Row[2], static_cast<int>(Row[1])); in getLeafConstructs()
90 const auto *Row = LeafConstructTable[LeafConstructTableOrdering[Idx]]; in getLeafConstructsOrSelf() local
92 return ArrayRef(&Row[0], &Row[0] + 1); in getLeafConstructsOrSelf()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h132 struct Row { struct
133 explicit Row(bool DefaultIsStmt = false);
142 static bool orderByAddress(const Row &LHS, const Row &RHS) { in orderByAddress() argument
235 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); } in appendRow()
288 using RowVector = std::vector<Row>;
414 struct Row Row; member
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap4-droid4-xt894.dts53 /* Row 1 */
65 /* Row 2 */
79 /* Row 3 */
92 /* Row 4 */
106 /* Row 5 */
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstraintSystem.h38 static int64_t getLastCoefficient(ArrayRef<Entry> Row, uint16_t Id) { in getLastCoefficient() argument
39 if (Row.empty()) in getLastCoefficient()
41 if (Row.back().Id == Id) in getLastCoefficient()
42 return Row.back().Coefficient; in getLastCoefficient()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp1071 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows() local
1077 MS->emitIntValue(Row.Address.Address, AddressByteSize); in emitLineTableRows()
1083 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows()
1091 if (FileNum != Row.File) { in emitLineTableRows()
1092 FileNum = Row.File; in emitLineTableRows()
1097 if (Column != Row.Column) { in emitLineTableRows()
1098 Column = Row.Column; in emitLineTableRows()
1103 if (Discriminator != Row.Discriminator && in emitLineTableRows()
1105 Discriminator = Row.Discriminator; in emitLineTableRows()
1116 if (Isa != Row.Isa) { in emitLineTableRows()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp120 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
159 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
194 std::make_shared<UnwindPlan::Row>(*m_curr_row.get()); in GetNonCallSiteUnwindPlanFromAssembly()
207 std::make_shared<UnwindPlan::Row>(*saved_state.first); in GetNonCallSiteUnwindPlanFromAssembly()
232 std::make_shared<UnwindPlan::Row>(*m_curr_row), in GetNonCallSiteUnwindPlanFromAssembly()
261 std::make_shared<UnwindPlan::Row>(*m_curr_row.get()); in GetNonCallSiteUnwindPlanFromAssembly()
285 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp164 for (const auto &Row : Constraints) { in dump() local
166 for (const Entry &E : Row) { in dump()
178 if (Row[0].Id == 0) in dump()
179 ConstPart = Row[0].Coefficient; in dump()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DUnwindPlan.h55 class Row {
181 const UnwindPlan::Row *row, Thread *thread, bool verbose) const;
323 Row();
325 bool operator==(const Row &rhs) const;
395 typedef std::shared_ptr<Row> RowSP;
417 m_row_list.emplace_back(new Row(*row_sp)); in UnwindPlan()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp744 for (const DWARFDebugLine::Row &Row : Lines->Rows) { in createLineAndFileRecords() local
752 Line->setAddress(Row.Address.Address + WasmCodeSectionOffset); in createLineAndFileRecords()
754 CompileUnit->getFilename(IncrementIndex ? Row.File + 1 : Row.File)); in createLineAndFileRecords()
755 Line->setLineNumber(Row.Line); in createLineAndFileRecords()
756 if (Row.Discriminator) in createLineAndFileRecords()
757 Line->setDiscriminator(Row.Discriminator); in createLineAndFileRecords()
758 if (Row.IsStmt) in createLineAndFileRecords()
760 if (Row.BasicBlock) in createLineAndFileRecords()
762 if (Row.EndSequence) in createLineAndFileRecords()
764 if (Row.EpilogueBegin) in createLineAndFileRecords()
[all …]
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbdump3.c204 UINT8 *Row; in AcpiDmDumpSlit() local
222 Row = (UINT8 *) ACPI_CAST_PTR (ACPI_TABLE_SLIT, Table)->Entry; in AcpiDmDumpSlit()
240 AcpiOsPrintf ("%2.2X", Row[j]); in AcpiDmDumpSlit()
260 Row += Localities; in AcpiDmDumpSlit()

1234