| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | edit_distance.h | 63 unsigned *Row = SmallBuffer; variable 65 Row = new unsigned[n + 1]; 66 Allocated.reset(Row); 70 Row[i] = i; 73 Row[0] = y; 74 unsigned BestThisRow = Row[0]; 78 int OldRow = Row[x]; 80 Row[x] = std::min( 82 std::min(Row[x-1], Row[x])+1); 86 else Row[x] = std::min(Row[x-1], Row[x]) + 1; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TileShapeInfo.h | 32 ShapeT(MachineOperand *Row, MachineOperand *Col, 34 : Row(Row), Col(Col) { in Row() argument 39 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT() 42 MachineOperand *R = Shape.Row; 46 if (!Row || !Col) 48 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg()) 57 MachineOperand *getRow() const { return Row; } in getRow() 65 bool isValid() { return (Row != nullptr) && (Col != nullptr); } in isValid() 82 RowImm = GetImm(Row->getReg()); in deduceImm() 88 MachineOperand *Row; variable
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | UnwindPlan.cpp | 23 bool UnwindPlan::Row::RegisterLocation:: 91 void UnwindPlan::Row::RegisterLocation::Dump(Stream &s, in Dump() 166 bool UnwindPlan::Row::FAValue:: 167 operator==(const UnwindPlan::Row::FAValue &rhs) const { in operator ==() 216 void UnwindPlan::Row::Clear() { in Clear() 248 UnwindPlan::Row::Row() : m_cfa_value(), m_afa_value(), m_register_locations() {} in Row() function in UnwindPlan::Row 250 bool UnwindPlan::Row::GetRegisterInfo( in GetRegisterInfo() 272 void UnwindPlan::Row::SetRegisterInfo( in SetRegisterInfo() 302 bool UnwindPlan::Row::SetRegisterLocationToUndefined( in SetRegisterLocationToUndefined() 353 bool UnwindPlan::Row::operator==(const UnwindPlan::Row &rhs) const { in operator ==() [all …]
|
| H A D | DWARFCallFrameInfo.cpp | 627 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() 689 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 703 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 716 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 729 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 759 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 820 UnwindPlan::Row::RegisterLocation reg_location; in HandleCommonDwarfOpcode() 850 UnwindPlan::Row::RegisterLocation reg_location; in HandleCommonDwarfOpcode() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | xray-account.cpp | 320 Row.Min /= CycleFrequency; in exportStats() 322 Row.Pct90 /= CycleFrequency; in exportStats() 323 Row.Pct99 /= CycleFrequency; in exportStats() 324 Row.Max /= CycleFrequency; in exportStats() 325 Row.Sum /= CycleFrequency; in exportStats() 402 OS << llvm::formatv(StatsFormat, FuncId, Count, Row.Min, Row.Median, in exportStatsAsText() 403 Row.Pct90, Row.Pct99, Row.Max, Row.Sum) in exportStatsAsText() 404 << " " << Row.DebugInfo << ": " << Row.Function << "\n"; in exportStatsAsText() 412 OS << FuncId << ',' << Count << ',' << Row.Min << ',' << Row.Median << ',' in exportStatsAsCSV() 413 << Row.Pct90 << ',' << Row.Pct99 << ',' << Row.Max << "," << Row.Sum in exportStatsAsCSV() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 187 Row.dump(OS, nullptr, false, 0); in operator <<() 214 UnwindRow Row; in create() local 228 UT.Rows.push_back(Row); in create() 238 UnwindRow Row; in create() local 245 UT.Rows.push_back(Row); in create() 535 Row.getAddress()); in parseRows() 536 Rows.push_back(Row); in parseRows() 551 Rows.push_back(Row); in parseRows() 731 Row.getCFAValue() = in parseRows() 761 Row.getCFAValue() = in parseRows() [all …]
|
| H A D | DWARFDebugLine.cpp | 462 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } in Row() function in DWARFDebugLine::Row 559 LineTable->appendRow(Row); in appendRowToMatrix() 560 if (Row.EndSequence) { in appendRowToMatrix() 569 Row.postAppend(); in appendRowToMatrix() 709 Row.Line += LineOffset; in handleSpecialOpcode() 794 State.Row.dump(*OS); in parse() 1051 State.Row.IsStmt = !State.Row.IsStmt; in parse() 1224 DWARFDebugLine::Row Row; in findRowInSeq() local 1225 Row.Address = Address; in findRowInSeq() 1410 Result.Line = Row.Line; in getFileLineInfoForAddress() [all …]
|
| H A D | DWARFUnitIndex.cpp | 233 auto &Row = Rows[i]; in dump() local 234 if (auto *Contribs = Row.Contributions.get()) { in dump() 235 OS << format("%5u 0x%016" PRIx64 " ", i + 1, Row.Signature); in dump()
|
| H A D | DWARFVerifier.cpp | 808 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows() local 810 if (Row.Address.Address < PrevAddress) { in verifyDebugLineRows() 818 DWARFDebugLine::Row::dumpTableHeader(OS, 0); in verifyDebugLineRows() 821 Row.dump(OS); in verifyDebugLineRows() 826 if (!LineTable->hasFileAtIndex(Row.File)) { in verifyDebugLineRows() 832 << "][" << RowIndex << "] has invalid file index " << Row.File in verifyDebugLineRows() 836 DWARFDebugLine::Row::dumpTableHeader(OS, 0); in verifyDebugLineRows() 837 Row.dump(OS); in verifyDebugLineRows() 840 if (Row.EndSequence) in verifyDebugLineRows() 843 PrevAddress = Row.Address.Address; in verifyDebugLineRows()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | LineTable.cpp | 70 LineEntry Row(BaseAddr, 1, FirstLine); in parse() local 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() 255 LT.Lines.push_back(Row); in decode() 270 if (Addr < Row.Addr) in lookup() 272 Result = Row; in lookup() [all …]
|
| H A D | DwarfTransformer.cpp | 279 DWARFDebugLine::Row PrevRow; in convertFunctionLineTable() 282 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable() local 283 const uint32_t FileIdx = CUI.DWARFToGSYMFileIndex(Gsym, Row.File); in convertFunctionLineTable() 284 uint64_t RowAddress = Row.Address.Address; in convertFunctionLineTable() 303 LineEntry LE(RowAddress, FileIdx, Row.Line); in convertFunctionLineTable() 304 if (RowIndex != RowVector[0] && Row.Address < PrevRow.Address) { in convertFunctionLineTable() 331 if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line) in convertFunctionLineTable() 336 if (Row.EndSequence) { in convertFunctionLineTable() 341 PrevRow = DWARFDebugLine::Row(); in convertFunctionLineTable() 344 PrevRow = Row; in convertFunctionLineTable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXType.cpp | 119 Value *Row = nullptr, *Col = nullptr; in getShape() local 126 Row = II->getArgOperand(0); in getShape() 139 Row = II->getArgOperand(0); in getShape() 143 Row = II->getArgOperand(0); in getShape() 147 Row = II->getArgOperand(2); in getShape() 154 Row = getRowFromCol(II, Row, 4); in getShape() 162 return std::make_pair(Row, Col); in getShape() 201 Value *Row = II->getOperand(0); in combineBitcastStore() local 274 Value *Row = II->getOperand(0); in transformBitcast() local 404 Value *Row = II->getOperand(0); in createTileStore() local [all …]
|
| H A D | X86PreAMXConfig.cpp | 176 Value *Row = Shapes[I * 2]; in preWriteTileCfg() local 178 Row = new TruncInst(Row, I8Ty, "", Pos); in preWriteTileCfg() 179 new StoreInst(Row, RowPos, Pos); in preWriteTileCfg()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstraintSystem.cpp | 114 for (auto &Row : Constraints) { in dump() local 116 for (unsigned I = 1, S = Row.size(); I < S; ++I) { in dump() 117 if (Row[I] == 0) in dump() 120 if (Row[I] != 1) in dump() 121 Coefficient = std::to_string(Row[I]) + " * "; in dump() 126 << " <= " << std::to_string(Row[0]) << "\n"); in dump()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | x86AssemblyInspectionEngine.cpp | 929 UnwindPlan::Row::RegisterLocation initial_regloc; in GetNonCallSiteUnwindPlanFromAssembly() 930 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly() 952 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1065 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly() 1156 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly() 1248 UnwindPlan::Row::RegisterLocation sp, pc; in GetNonCallSiteUnwindPlanFromAssembly() 1260 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1297 newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1305 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1397 UnwindPlan::RowSP new_row(new UnwindPlan::Row()); in AugmentUnwindPlanFromCallSite() [all …]
|
| H A D | UnwindAssembly-x86.cpp | 93 UnwindPlan::Row::FAValue::isRegisterPlusOffset || in AugmentUnwindPlanFromCallSite() 100 UnwindPlan::Row::RegisterLocation first_row_pc_loc; in AugmentUnwindPlanFromCallSite() 129 UnwindPlan::Row::RegisterLocation last_row_pc_loc; in AugmentUnwindPlanFromCallSite()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 535 auto &Row = Rows[Idx]; in emitLineTableForUnit() local 554 if (FileNum != Row.File) { in emitLineTableForUnit() 555 FileNum = Row.File; in emitLineTableForUnit() 561 Column = Row.Column; in emitLineTableForUnit() 570 if (Isa != Row.Isa) { in emitLineTableForUnit() 571 Isa = Row.Isa; in emitLineTableForUnit() 581 if (Row.BasicBlock) { in emitLineTableForUnit() 586 if (Row.PrologueEnd) { in emitLineTableForUnit() 591 if (Row.EpilogueBegin) { in emitLineTableForUnit() 597 if (!Row.EndSequence) { in emitLineTableForUnit() [all …]
|
| H A D | DWARFLinker.cpp | 1670 std::vector<DWARFDebugLine::Row> NewRows; in patchLineTableForUnit() 1675 std::vector<DWARFDebugLine::Row> Seq; in patchLineTableForUnit() 1690 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit() local 1697 Row.Address.Address > CurrRange.stop() || in patchLineTableForUnit() 1698 (Row.Address.Address == CurrRange.stop() && !Row.EndSequence)) { in patchLineTableForUnit() 1704 CurrRange = FunctionRanges.find(Row.Address.Address); in patchLineTableForUnit() 1721 Range->second.HighPC >= Row.Address.Address) { in patchLineTableForUnit() 1744 if (Row.EndSequence && Seq.empty()) in patchLineTableForUnit() 1748 Row.Address.Address += CurrRange.value(); in patchLineTableForUnit() 1749 Seq.emplace_back(Row); in patchLineTableForUnit() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 140 struct Row { struct 141 explicit Row(bool DefaultIsStmt = false); 150 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() 287 using RowVector = std::vector<Row>; 403 struct Row Row; member
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopInterchange.cpp | 81 for (auto &Row : DepMatrix) { in printDepMatrix() local 82 for (auto D : Row) in printDepMatrix() 199 if (DepMatrix[Row][i] == '<') in isOuterMostDepPositive() 201 if (DepMatrix[Row][i] == '>') in isOuterMostDepPositive() 212 if (DepMatrix[Row][i] != '=' && DepMatrix[Row][i] != 'S' && in containsNoDependence() 213 DepMatrix[Row][i] != 'I') in containsNoDependence() 262 for (unsigned Row = 0; Row < NumRows; ++Row) { in isLegalToInterChangeLoops() local 263 char InnerDep = DepMatrix[Row][InnerLoopId]; in isLegalToInterChangeLoops() 1212 for (auto &Row : DepMatrix) { in isProfitableForVectorization() local 1213 if (Row[InnerLoopId] != 'S' && Row[InnerLoopId] != 'I') in isProfitableForVectorization() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 120 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 160 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 195 std::make_shared<UnwindPlan::Row>(*m_curr_row.get()); in GetNonCallSiteUnwindPlanFromAssembly() 208 std::make_shared<UnwindPlan::Row>(*saved_state.first); in GetNonCallSiteUnwindPlanFromAssembly() 233 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-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | UnwindPlan.h | 55 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; 419 m_row_list.emplace_back(new Row(*row_sp)); in UnwindPlan()
|
| H A D | DWARFCallFrameInfo.h | 104 lldb_private::UnwindPlan::Row initial_row; 143 UnwindPlan::Row &row);
|
| /freebsd-13.1/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump3.c | 203 UINT8 *Row; in AcpiDmDumpSlit() local 221 Row = (UINT8 *) ACPI_CAST_PTR (ACPI_TABLE_SLIT, Table)->Entry; in AcpiDmDumpSlit() 239 AcpiOsPrintf ("%2.2X", Row[j]); in AcpiDmDumpSlit() 259 Row += Localities; in AcpiDmDumpSlit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 603 Row = LastRow; in getMatchingNodes() 606 while (Row > FirstRow || Col > FirstCol) { in getMatchingNodes() 607 if (Row > FirstRow && in getMatchingNodes() 608 ForestDist[Row - 1][Col] + 1 == ForestDist[Row][Col]) { in getMatchingNodes() 609 --Row; in getMatchingNodes() 611 ForestDist[Row][Col - 1] + 1 == ForestDist[Row][Col]) { in getMatchingNodes() 614 SNodeId LMD1 = S1.getLeftMostDescendant(Row); in getMatchingNodes() 618 NodeId Id1 = S1.getIdInRoot(Row); in getMatchingNodes() 623 --Row; in getMatchingNodes() 626 TreePairs.emplace_back(Row, Col); in getMatchingNodes() [all …]
|