| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | edit_distance.h | 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[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/lib/DebugInfo/DWARF/LowLevel/ |
| H A D | DWARFUnwindTable.cpp | 81 llvm::dwarf::parseRows(const CFIProgram &CFIP, UnwindRow &Row, in parseRows() argument 101 if (*NewAddress <= Row.getAddress()) in parseRows() 107 Row.getAddress()); in parseRows() 108 Rows.push_back(Row); in parseRows() 109 Row.setAddress(*NewAddress); in parseRows() 123 Rows.push_back(Row); in parseRows() 127 Row.slideAddress(*Offset); in parseRows() 146 Row.getRegisterLocations().setRegisterLocation(*RegNum, *O); in parseRows() 148 Row.getRegisterLocations().removeRegisterLocation(*RegNum); in parseRows() 161 Row.getRegisterLocations().setRegisterLocation( in parseRows() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | UnwindPlan.cpp | 27 bool UnwindPlan::Row::AbstractRegisterLocation::operator==( in operator ==() 28 const UnwindPlan::Row::AbstractRegisterLocation &rhs) const { in operator ==() 60 void UnwindPlan::Row::AbstractRegisterLocation::SetAtDWARFExpression( in SetAtDWARFExpression() 69 void UnwindPlan::Row::AbstractRegisterLocation::SetIsDWARFExpression( in SetIsDWARFExpression() 98 void UnwindPlan::Row::AbstractRegisterLocation::Dump( in Dump() 99 Stream &s, const UnwindPlan *unwind_plan, const UnwindPlan::Row *row, in Dump() 174 bool UnwindPlan::Row::FAValue:: 175 operator==(const UnwindPlan::Row::FAValue &rhs) const { in operator ==() 200 void UnwindPlan::Row::FAValue::Dump(Stream &s, const UnwindPlan *unwind_plan, in Dump() 227 void UnwindPlan::Row::Clear() { in Clear() [all …]
|
| H A D | DWARFCallFrameInfo.cpp | 196 for (UnwindPlan::Row &row : fde->rows) { in GetUnwindPlan() 617 UnwindPlan::Row row = cie->initial_row; in ParseFDE() 618 std::vector<UnwindPlan::Row> stack; in ParseFDE() 620 UnwindPlan::Row::AbstractRegisterLocation reg_location; in ParseFDE() 785 UnwindPlan::Row &row) { in HandleCommonDwarfOpcode() 786 UnwindPlan::Row::AbstractRegisterLocation reg_location; in HandleCommonDwarfOpcode() 816 UnwindPlan::Row::AbstractRegisterLocation reg_location; in HandleCommonDwarfOpcode() 828 UnwindPlan::Row::AbstractRegisterLocation reg_location; in HandleCommonDwarfOpcode() 840 UnwindPlan::Row::AbstractRegisterLocation reg_location; in HandleCommonDwarfOpcode() 853 UnwindPlan::Row::AbstractRegisterLocation reg_location; in HandleCommonDwarfOpcode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TileShapeInfo.h | 31 ShapeT(MachineOperand *Row, MachineOperand *Col, 33 : Row(Row), Col(Col) { in Row() function 47 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in Row() function 57 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT() 62 MachineOperand *R = Shape.Row; 66 if (!Row || !Col) 68 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg()) 79 return Row; 112 bool isValid() { return (Row != nullptr) && (Col != nullptr); } in isValid() 139 RowImm = GetImm(Row->getReg()); in deduceImm() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | xray-account.cpp | 319 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/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnwindTablePrinter.cpp | 155 static void printUnwindRow(const UnwindRow &Row, raw_ostream &OS, in printUnwindRow() argument 158 if (Row.hasAddress()) in printUnwindRow() 159 OS << format("0x%" PRIx64 ": ", Row.getAddress()); in printUnwindRow() 161 printUnwindLocation(Row.getCFAValue(), OS, DumpOpts); in printUnwindRow() 162 if (Row.getRegisterLocations().hasLocations()) { in printUnwindRow() 164 printRegisterLocations(Row.getRegisterLocations(), OS, DumpOpts); in printUnwindRow() 169 raw_ostream &llvm::dwarf::operator<<(raw_ostream &OS, const UnwindRow &Row) { in operator <<() argument 171 printUnwindRow(Row, OS, DumpOpts, 0); in operator <<() 178 for (const UnwindRow &Row : Rows) in printUnwindTable() local 179 printUnwindRow(Row, OS, DumpOpts, IndentLevel); in printUnwindTable()
|
| H A D | DWARFDebugLine.cpp | 482 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } in Row() function in DWARFDebugLine::Row 484 void DWARFDebugLine::Row::postAppend() { in postAppend() 491 void DWARFDebugLine::Row::reset(bool DefaultIsStmt) { in reset() 507 void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) { in dumpTableHeader() 516 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() 568 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence() 578 Sequence.LowPC = Row.Address.Address; in appendRowToMatrix() 581 LineTable->appendRow(Row); in appendRowToMatrix() [all …]
|
| H A D | DWARFDebugFrame.cpp | 48 UnwindRow Row; in createUnwindTable() local 49 Row.setAddress(Fde->getInitialLocation()); in createUnwindTable() 50 if (Error CieError = parseRows(Cie->cfis(), Row, nullptr).moveInto(CieRows)) in createUnwindTable() 55 const RegisterLocations InitialLocs = Row.getRegisterLocations(); in createUnwindTable() 57 parseRows(Fde->cfis(), Row, &InitialLocs).moveInto(FdeRows)) in createUnwindTable() 66 if (Row.getRegisterLocations().hasLocations() || in createUnwindTable() 67 Row.getCFAValue().getLocation() != UnwindLocation::Unspecified) in createUnwindTable() 68 AllRows.push_back(Row); in createUnwindTable() 78 UnwindRow Row; in createUnwindTable() local 79 if (Error CieError = parseRows(Cie->cfis(), Row, nullptr).moveInto(Rows)) in createUnwindTable() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DebugLineSectionEmitter.h | 325 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 D | LineTable.cpp | 52 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 D | DwarfTransformer.cpp | 362 DWARFDebugLine::Row PrevRow; in convertFunctionLineTable() 365 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable() local 367 CUI.DWARFToGSYMFileIndex(Gsym, Row.File); in convertFunctionLineTable() 374 Row.dumpTableHeader(OS, /*Indent=*/0); in convertFunctionLineTable() 375 Row.dump(OS); in convertFunctionLineTable() 381 uint64_t RowAddress = Row.Address.Address; in convertFunctionLineTable() 405 LineEntry LE(RowAddress, FileIdx, Row.Line); in convertFunctionLineTable() 406 if (RowIndex != RowVector[0] && Row.Address < PrevRow.Address) { in convertFunctionLineTable() 434 if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line) in convertFunctionLineTable() 439 if (Row.EndSequence) { in convertFunctionLineTable() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXType.cpp | 220 Value *Row = nullptr, *Col = nullptr; in getShape() local 237 Row = II->getArgOperand(0); in getShape() 258 Row = II->getArgOperand(0); in getShape() 262 Row = II->getArgOperand(0); in getShape() 266 Row = getRowFromCol(II, II->getArgOperand(2), 4); in getShape() 275 Row = getRowFromCol(II, II->getArgOperand(1), 4); in getShape() 286 Row = II->getArgOperand(0); in getShape() 298 Row = II->getArgOperand(0); in getShape() 302 Row = getRowFromCol(II, II->getArgOperand(2), 4); in getShape() 306 Row = getRowFromCol(II, II->getArgOperand(2), 4); in getShape() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | UnwindPlan.h | 55 class Row { 191 const UnwindPlan::Row *row, Thread *thread, bool verbose) const; 347 Row(); 349 bool operator==(const Row &rhs) const; 448 void AppendRow(Row row); 450 void InsertRow(Row row, bool replace_existing = false); 457 const UnwindPlan::Row * 487 const UnwindPlan::Row *GetRowAtIndex(uint32_t idx) const; 489 const UnwindPlan::Row *GetLastRow() const; 544 std::vector<Row> m_row_list;
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFCFIChecker/ |
| H A D | DWARFCFIState.cpp | 24 return Row; in getCurrentUnwindRow() 32 dwarf::UnwindRow NewRow = Row; in update() 58 Row = NewRow; in update() 115 Directive.getOffset() - Row.getCFAValue().getOffset()); in convert() 122 Directive.getOffset() + Row.getCFAValue().getOffset()); in convert()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | UnicodeNameToCodepoint.cpp | 485 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 D | OMP.cpp | 83 const auto *Row = LeafConstructTable[LeafConstructTableOrdering[Idx]]; in getLeafConstructs() local 84 return ArrayRef(&Row[2], static_cast<int>(Row[1])); in getLeafConstructs() 92 const auto *Row = LeafConstructTable[LeafConstructTableOrdering[Idx]]; in getLeafConstructsOrSelf() local 94 return ArrayRef(&Row[0], &Row[0] + 1); in getLeafConstructsOrSelf()
|
| /freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
| H A D | omap4-droid4-xt894.dts | 53 /* Row 1 */ 65 /* Row 2 */ 79 /* Row 3 */ 92 /* Row 4 */ 106 /* Row 5 */
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 133 struct Row { struct 134 LLVM_ABI explicit Row(bool DefaultIsStmt = false); 143 static bool orderByAddress(const Row &LHS, const Row &RHS) { in orderByAddress() argument 239 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); } in appendRow() 304 using RowVector = std::vector<Row>; 445 struct Row Row; member
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ConstraintSystem.h | 38 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/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | UnwindAssembly-x86.cpp | 71 const UnwindPlan::Row *first_row = unwind_plan.GetRowForFunctionOffset(0); in AugmentUnwindPlanFromCallSite() 72 const UnwindPlan::Row *last_row = unwind_plan.GetLastRow(); in AugmentUnwindPlanFromCallSite() 93 UnwindPlan::Row::FAValue::isRegisterPlusOffset || in AugmentUnwindPlanFromCallSite() 100 UnwindPlan::Row::AbstractRegisterLocation first_row_pc_loc; in AugmentUnwindPlanFromCallSite() 129 UnwindPlan::Row::AbstractRegisterLocation last_row_pc_loc; in AugmentUnwindPlanFromCallSite()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.cpp | 1071 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows() local 1082 MS->emitIntValue(Row.Address.Address, AddressByteSize); in emitLineTableRows() 1088 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows() 1096 if (FileNum != Row.File) { in emitLineTableRows() 1097 FileNum = Row.File; in emitLineTableRows() 1102 if (Column != Row.Column) { in emitLineTableRows() 1103 Column = Row.Column; in emitLineTableRows() 1108 if (Discriminator != Row.Discriminator && in emitLineTableRows() 1110 Discriminator = Row.Discriminator; in emitLineTableRows() 1121 if (Isa != Row.Isa) { in emitLineTableRows() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstraintSystem.cpp | 185 for (const auto &Row : Constraints) { in dump() local 187 for (const Entry &E : Row) { in dump() 199 if (Row[0].Id == 0) in dump() 200 ConstPart = Row[0].Coefficient; in dump()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVDWARFReader.cpp | 543 for (const DWARFDebugLine::Row &Row : Lines->Rows) { in createLineAndFileRecords() local 551 Line->setAddress(Row.Address.Address + WasmCodeSectionOffset); in createLineAndFileRecords() 553 CompileUnit->getFilename(IncrementIndex ? Row.File + 1 : Row.File)); in createLineAndFileRecords() 554 Line->setLineNumber(Row.Line); in createLineAndFileRecords() 555 if (Row.Discriminator) in createLineAndFileRecords() 556 Line->setDiscriminator(Row.Discriminator); in createLineAndFileRecords() 557 if (Row.IsStmt) in createLineAndFileRecords() 559 if (Row.BasicBlock) in createLineAndFileRecords() 561 if (Row.EndSequence) in createLineAndFileRecords() 563 if (Row.EpilogueBegin) in createLineAndFileRecords() [all …]
|