Searched refs:Row (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dedit_distance.h58 // entry is in Row[x-1], the top entry is what's in Row[x] from the last
72 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[
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h31 ShapeT(MachineOperand *Row, MachineOperand *Col, argument
33 : Row(Row), Col(Col) {
38 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape),
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
87 MachineOperand *Row; member in class:llvm::ShapeT
[all...]
/freebsd-current/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);
86 Row.File = (uint32_t)Data.getULEB128(&Offset);
93 Row.Addr += Data.getULEB128(&Offset);
95 if (Callback(Row) == false)
103 Row.Line += Data.getSLEB128(&Offset);
110 Row.Line += LineDelta;
111 Row.Addr += AddrDelta;
113 if (Callback(Row) == false)
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row)
[all...]
H A DDwarfTransformer.cpp343 DWARFDebugLine::Row PrevRow;
346 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; local
348 CUI.DWARFToGSYMFileIndex(Gsym, Row.File);
354 Row.dumpTableHeader(*Log, /*Indent=*/0);
355 Row.dump(*Log);
361 uint64_t RowAddress = Row.Address.Address;
372 "line table Row[" << RowIndex << "] with address "
382 LineEntry LE(RowAddress, FileIdx, Row.Line);
383 if (RowIndex != RowVector[0] && Row
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h324 for (const DWARFDebugLine::Row &Row : LineTable.Rows) {
330 Section.emitIntVal(Row.Address.Address,
335 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength;
343 if (FileNum != Row.File) {
344 FileNum = Row.File;
348 if (Column != Row.Column) {
349 Column = Row.Column;
357 if (Isa != Row.Isa) {
358 Isa = Row
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Symbol/
H A DUnwindPlan.cpp25 bool UnwindPlan::Row::RegisterLocation::
26 operator==(const UnwindPlan::Row::RegisterLocation &rhs) const {
56 void UnwindPlan::Row::RegisterLocation::SetAtDWARFExpression(
65 void UnwindPlan::Row::RegisterLocation::SetIsDWARFExpression(
93 void UnwindPlan::Row::RegisterLocation::Dump(Stream &s,
95 const UnwindPlan::Row *row,
168 bool UnwindPlan::Row::FAValue::
169 operator==(const UnwindPlan::Row::FAValue &rhs) const {
192 void UnwindPlan::Row::FAValue::Dump(Stream &s, const UnwindPlan *unwind_plan,
217 void UnwindPlan::Row
249 UnwindPlan::Row::Row() : m_cfa_value(), m_afa_value(), m_register_locations() {} function in class:UnwindPlan::Row
[all...]
H A DDWARFCallFrameInfo.cpp628 UnwindPlan::Row *cie_initial_row = new UnwindPlan::Row;
637 UnwindPlan::Row::RegisterLocation reg_location;
647 case DW_CFA_advance_loc: // (Row Creation Instruction)
655 UnwindPlan::Row *newrow = new UnwindPlan::Row;
687 case DW_CFA_set_loc: // 0x1 (Row Creation Instruction)
695 UnwindPlan::Row *newrow = new UnwindPlan::Row;
703 case DW_CFA_advance_loc1: // 0x2 (Row Creatio
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-account.cpp319 auto &Row = std::get<2>(Results.back()); local
322 Row.Min /= CycleFrequency;
323 Row.Median /= CycleFrequency;
324 Row.Pct90 /= CycleFrequency;
325 Row.Pct99 /= CycleFrequency;
326 Row.Max /= CycleFrequency;
327 Row.Sum /= CycleFrequency;
330 Row.Function = FuncIdHelper.SymbolOrNumber(FuncId);
331 Row.DebugInfo = FuncIdHelper.FileLineAndColumn(FuncId);
403 exportStats(Header, [&](int32_t FuncId, size_t Count, const ResultRow &Row) {
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp186 raw_ostream &llvm::dwarf::operator<<(raw_ostream &OS, const UnwindRow &Row) { argument
188 Row.dump(OS, DumpOpts, 0);
194 for (const UnwindRow &Row : Rows)
195 Row.dump(OS, DumpOpts, IndentLevel);
216 UnwindRow Row; local
217 Row.setAddress(Fde->getInitialLocation());
219 if (Error CieError = UT.parseRows(Cie->cfis(), Row, nullptr))
223 const RegisterLocations InitialLocs = Row.getRegisterLocations();
224 if (Error FdeError = UT.parseRows(Fde->cfis(), Row, &InitialLocs))
226 // May be all the CFI instructions were DW_CFA_nop amd Row become
240 UnwindRow Row; local
515 parseRows(const CFIProgram &CFIP, UnwindRow &Row, const RegisterLocations *InitialLocs) argument
[all...]
H A DDWARFDebugLine.cpp467 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } function in class:DWARFDebugLine::Row
469 void DWARFDebugLine::Row::postAppend() {
476 void DWARFDebugLine::Row::reset(bool DefaultIsStmt) {
492 void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) {
501 void DWARFDebugLine::Row::dump(raw_ostream &OS) const {
529 Row::dumpTableHeader(OS, 0);
530 for (const Row &R : Rows) {
554 Row.reset(LineTable->Prologue.DefaultIsStmt);
563 Sequence.LowPC = Row
1286 DWARFDebugLine::Row Row; local
1471 const auto &Row = Rows[RowIndex]; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp164 for (const auto &Row : Constraints) {
166 for (unsigned I = 0, S = Row.size(); I < S; ++I) {
167 if (Row[I].Id >= NumVariables)
169 if (Row[I].Id == 0)
172 if (Row[I].Coefficient != 1)
173 Coefficient = std::to_string(Row[I].Coefficient) + " * ";
174 Parts.push_back(Coefficient + Names[Row[I].Id - 1]);
178 if (Row[0].Id == 0)
179 ConstPart = Row[0].Coefficient;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstraintSystem.h38 static int64_t getLastCoefficient(ArrayRef<Entry> Row, uint16_t Id) { argument
39 if (Row.empty())
41 if (Row.back().Id == Id)
42 return Row.back().Coefficient;
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp119 Value *Row = nullptr, *Col = nullptr; local
126 Row = II->getArgOperand(0);
142 Row = II->getArgOperand(0);
146 Row = II->getArgOperand(0);
151 Row = Builder.getInt16(
155 // create Row after the definition of II->getOperand(2) instead of
167 Row = Builder.CreateUDiv(II->getOperand(2), Builder.getInt16(4));
168 cast<Instruction>(Row)->moveAfter(cast<Instruction>(II->getOperand(2)));
171 // Row at the entry bb.
174 Row
239 Value *Row = nullptr, *Col = nullptr; local
268 Value *Row = II->getOperand(0); local
323 Value *Row = nullptr, *Col = nullptr; local
341 Value *Row = II->getOperand(0); local
468 Value *Row = II->getOperand(0); local
494 Value *Row = II->getOperand(0); local
932 Value *Row = II->getOperand(0); local
951 Value *Row = nullptr, *Col = nullptr; local
1168 Value *Row = nullptr, *Col = nullptr; local
1188 Value *Row = II->getOperand(0); local
[all...]
H A DX86FastTileConfig.cpp117 MachineOperand &Row = MI.getOperand(1); local
120 ShapeInfos.push_back({TMMIdx, ShapeT(&Row, &Col)});
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h132 struct Row { struct in class:llvm::DWARFDebugLine
133 explicit Row(bool DefaultIsStmt = false);
142 static bool orderByAddress(const Row &LHS, const Row &RHS) {
235 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); }
288 using RowVector = std::vector<Row>;
414 struct Row Row; member in struct:llvm::DWARFDebugLine::ParsingState
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp485 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & {
487 assert(Row < Rows);
488 return Distances[Row * Columns + Column];
498 auto VisitNode = [&](const Node &N, std::size_t Row,
505 Get(0, Row) = Row;
508 const int Delete = Get(I - 1, Row) + 1;
509 const int Insert = Get(I, Row - 1) + 1;
512 Get(I - 1, Row - 1) + (NormalizedName[I - 1] != N.Name[J] ? 1 : 0);
514 Get(I, Row)
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.cpp915 UnwindPlan::Row::RegisterLocation initial_regloc;
916 UnwindPlan::RowSP row(new UnwindPlan::Row);
937 // Allocate a new Row, populate it with the existing Row contents.
938 UnwindPlan::Row *newrow = new UnwindPlan::Row;
966 bool row_updated = false; // The UnwindPlan::Row 'row' has been updated
1051 UnwindPlan::Row::RegisterLocation regloc;
1142 UnwindPlan::Row::RegisterLocation regloc;
1144 // stack_offset for 'movq %r15, -80(%rbp)' will be 80. In the Row, w
[all...]
H A DUnwindAssembly-x86.cpp93 UnwindPlan::Row::FAValue::isRegisterPlusOffset ||
100 UnwindPlan::Row::RegisterLocation first_row_pc_loc;
129 UnwindPlan::Row::RegisterLocation last_row_pc_loc;
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DDWARFCallFrameInfo.h105 lldb_private::UnwindPlan::Row initial_row;
145 UnwindPlan::Row &row);
H A DUnwindPlan.h55 class Row { class in class:lldb_private::UnwindPlan
181 const UnwindPlan::Row *row, Thread *thread, bool verbose) const;
323 Row();
325 bool operator==(const Row &rhs) const;
362 // set, any register that is not specified by this Row will
393 }; // class Row
395 typedef std::shared_ptr<Row> RowSP;
417 m_row_list.emplace_back(new Row(*row_sp));
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp117 // Make a copy of the current instruction Row and save it in m_curr_row
120 UnwindPlan::Row *newrow = new UnwindPlan::Row;
159 UnwindPlan::Row *newrow = new UnwindPlan::Row;
194 std::make_shared<UnwindPlan::Row>(*m_curr_row.get());
207 std::make_shared<UnwindPlan::Row>(*saved_state.first);
232 std::make_shared<UnwindPlan::Row>(*m_curr_row),
261 std::make_shared<UnwindPlan::Row>(*m_curr_row.get());
283 // Allocate a new Row fo
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp731 for (const DWARFDebugLine::Row &Row : Lines->Rows) {
738 Line->setAddress(Row.Address.Address);
740 CompileUnit->getFilename(IncrementIndex ? Row.File + 1 : Row.File));
741 Line->setLineNumber(Row.Line);
742 if (Row.Discriminator)
743 Line->setDiscriminator(Row.Discriminator);
744 if (Row.IsStmt)
746 if (Row
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.h46 lldb_private::UnwindPlan::Row::RegisterLocation &unwind_regloc) override;
/freebsd-current/sys/contrib/dev/acpica/common/
H A Ddmtbdump3.c203 UINT8 *Row; local
221 Row = (UINT8 *) ACPI_CAST_PTR (ACPI_TABLE_SLIT, Table)->Entry;
239 AcpiOsPrintf ("%2.2X", Row[j]);
259 Row += Localities;
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp589 SNodeId LastRow, LastCol, FirstRow, FirstCol, Row, Col; local
602 Row = LastRow;
605 while (Row > FirstRow || Col > FirstCol) {
606 if (Row > FirstRow &&
607 ForestDist[Row - 1][Col] + 1 == ForestDist[Row][Col]) {
608 --Row;
610 ForestDist[Row][Col - 1] + 1 == ForestDist[Row][Col]) {
613 SNodeId LMD1 = S1.getLeftMostDescendant(Row);
[all...]

Completed in 175 milliseconds

1234