| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | edit_distance.h | 76 unsigned *Row = SmallBuffer; variable 78 Row = new unsigned[n + 1]; 79 Allocated.reset(Row); 83 Row[i] = i; 86 Row[0] = y; 87 unsigned BestThisRow = Row[0]; 92 int OldRow = Row[x]; 94 Row[x] = std::min(Previous + (CurItem == Map(ToArray[x - 1]) ? 0u : 1u), 95 std::min(Row[x - 1], Row[x]) + 1); 99 Row[x] = Previous; [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TileShapeInfo.h | 32 ShapeT(MachineOperand *Row, MachineOperand *Col, 34 : Row(Row), Col(Col) { in Row() function 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
|
| /openbsd-src/gnu/llvm/lldb/source/Symbol/ |
| H A D | UnwindPlan.cpp | 25 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 D | DWARFCallFrameInfo.cpp | 628 UnwindPlan::Row *cie_initial_row = new UnwindPlan::Row; in FDEToUnwindPlan() 637 UnwindPlan::Row::RegisterLocation reg_location; in FDEToUnwindPlan() 655 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 690 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 704 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 717 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 730 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 760 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() 820 UnwindPlan::Row &row) { in HandleCommonDwarfOpcode() 821 UnwindPlan::Row::RegisterLocation reg_location; in HandleCommonDwarfOpcode() [all …]
|
| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 186 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 …]
|
| H A D | DWARFDebugLine.cpp | 462 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } in Row() function in DWARFDebugLine::Row 464 void DWARFDebugLine::Row::postAppend() { in postAppend() 471 void DWARFDebugLine::Row::reset(bool DefaultIsStmt) { in reset() 486 void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) { in dumpTableHeader() 494 void DWARFDebugLine::Row::dump(raw_ostream &OS) const { in dump() 522 Row::dumpTableHeader(OS, 0); in dump() 523 for (const Row &R : Rows) { in dump() 547 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence() 556 Sequence.LowPC = Row.Address.Address; in appendRowToMatrix() 559 LineTable->appendRow(Row); in appendRowToMatrix() [all …]
|
| /openbsd-src/gnu/llvm/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) -> bool { in decode() argument [all …]
|
| H A D | DwarfTransformer.cpp | 278 DWARFDebugLine::Row PrevRow; in convertFunctionLineTable() 281 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable() local 282 const uint32_t FileIdx = CUI.DWARFToGSYMFileIndex(Gsym, Row.File); in convertFunctionLineTable() 283 uint64_t RowAddress = Row.Address.Address; in convertFunctionLineTable() 302 LineEntry LE(RowAddress, FileIdx, Row.Line); in convertFunctionLineTable() 303 if (RowIndex != RowVector[0] && Row.Address < PrevRow.Address) { in convertFunctionLineTable() 330 if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line) in convertFunctionLineTable() 335 if (Row.EndSequence) { in convertFunctionLineTable() 340 PrevRow = DWARFDebugLine::Row(); in convertFunctionLineTable() 343 PrevRow = Row; in convertFunctionLineTable()
|
| /openbsd-src/gnu/llvm/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() 140 Row = II->getArgOperand(0); in getShape() 144 Row = II->getArgOperand(0); in getShape() 149 Row = Builder.getInt16( in getShape() 165 Row = Builder.CreateUDiv(II->getOperand(2), Builder.getInt16(4)); in getShape() 166 cast<Instruction>(Row)->moveAfter(cast<Instruction>(II->getOperand(2))); in getShape() 172 Row = NewBuilder.CreateUDiv(II->getOperand(2), NewBuilder.getInt16(4)); in getShape() 181 return std::make_pair(Row, Col); in getShape() 237 Value *Row = nullptr, *Col = nullptr; in combineLoadBitcast() local [all …]
|
| H A D | X86PreAMXConfig.cpp | 175 Value *Row = Shapes[I * 2]; in preWriteTileCfg() local 177 Row = Builder.CreateTrunc(Row, I8Ty); in preWriteTileCfg() 178 Builder.CreateStore(Row, RowPos); in preWriteTileCfg()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ConstraintSystem.cpp | 113 for (const auto &Row : Constraints) { in dump() local 115 for (unsigned I = 1, S = Row.size(); I < S; ++I) { in dump() 116 if (Row[I] == 0) in dump() 119 if (Row[I] != 1) in dump() 120 Coefficient = std::to_string(Row[I]) + " * "; in dump() 125 << " <= " << std::to_string(Row[0]) << "\n"); in dump()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | x86AssemblyInspectionEngine.cpp | 927 UnwindPlan::Row::RegisterLocation initial_regloc; in GetNonCallSiteUnwindPlanFromAssembly() 928 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly() 950 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1063 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly() 1154 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly() 1246 UnwindPlan::Row::RegisterLocation sp, pc; in GetNonCallSiteUnwindPlanFromAssembly() 1258 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1295 newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1303 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 1371 UnwindPlan::RowSP row(new UnwindPlan::Row(*first_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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | UnicodeNameToCodepoint.cpp | 488 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName() argument 490 assert(Row < Rows); in nearestMatchesForCodepointName() 491 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName() 501 auto VisitNode = [&](const Node &N, std::size_t Row, in nearestMatchesForCodepointName() 508 Get(0, Row) = Row; in nearestMatchesForCodepointName() 511 const int Delete = Get(I - 1, Row) + 1; in nearestMatchesForCodepointName() 512 const int Insert = Get(I, Row - 1) + 1; in nearestMatchesForCodepointName() 515 Get(I - 1, Row - 1) + (NormalizedName[I - 1] != N.Name[J] ? 1 : 0); in nearestMatchesForCodepointName() 517 Get(I, Row) = std::min(Insert, std::min(Delete, Replace)); in nearestMatchesForCodepointName() 520 Row++; in nearestMatchesForCodepointName() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 132 struct Row { struct 133 explicit Row(bool DefaultIsStmt = false); 142 static bool orderByAddress(const Row &LHS, const Row &RHS) { in orderByAddress() argument 231 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); } in appendRow() 284 using RowVector = std::vector<Row>; 401 struct Row Row; member
|
| /openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 489 std::vector<DWARFDebugLine::Row> &Rows, in emitLineTableForUnit() 528 for (DWARFDebugLine::Row &Row : Rows) { in emitLineTableForUnit() 534 MS->emitIntValue(Row.Address.Address, PointerSize); in emitLineTableForUnit() 538 AddressDelta = (Row.Address.Address - Address) / MinInstLength; in emitLineTableForUnit() 546 if (FileNum != Row.File) { in emitLineTableForUnit() 547 FileNum = Row.File; in emitLineTableForUnit() 552 if (Column != Row.Column) { in emitLineTableForUnit() 553 Column = Row.Column; in emitLineTableForUnit() 562 if (Isa != Row.Isa) { in emitLineTableForUnit() 563 Isa = Row.Isa; in emitLineTableForUnit() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 120 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()
|
| /openbsd-src/gnu/usr.bin/perl/t/mro/ |
| H A D | dbic_dfs.t | 25 xx::DBIx::Class::Row 31 our @ISA = qw/ xx::DBIx::Class::Row /; 33 package xx::DBIx::Class::Row; use mro 'dfs'; 70 our @ISA = qw/ xx::DBIx::Class::Row /; 99 xx::DBIx::Class::Row
|
| H A D | dbic_c3.t | 25 xx::DBIx::Class::Row 31 our @ISA = qw/ xx::DBIx::Class::Row /; 33 package xx::DBIx::Class::Row; use mro 'c3'; 70 our @ISA = qw/ xx::DBIx::Class::Row /; 111 xx::DBIx::Class::Row
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
| H A D | synth10.C | 25 struct Row struct 45 const AttrTable::Row* attr;
|
| /openbsd-src/gnu/llvm/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; 417 m_row_list.emplace_back(new Row(*row_sp)); in UnwindPlan()
|
| /openbsd-src/gnu/llvm/clang/tools/scan-build/bin/ |
| H A D | scan-build | 334 my $Row = { 344 push @$Stats, $Row; 488 foreach my $Row (@$Stats) { 489 $FilesHash->{$Row->{Filename}} = 1; 490 $TotalBlocks += $Row->{Total}; 491 $UnreachedBlocks += $Row->{Unreachable}; 492 $BlockAborted++ if $Row->{Aborted} eq 'yes'; 493 $WorkListAborted++ if $Row->{Empty} eq 'no'; 494 $Aborted++ if $Row->{Aborted} eq 'yes' || $Row->{Empty} eq 'no';
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVELFReader.cpp | 731 for (const DWARFDebugLine::Row &Row : Lines->Rows) { in createLineAndFileRecords() local 738 Line->setAddress(Row.Address.Address); in createLineAndFileRecords() 740 CompileUnit->getFilename(IncrementIndex ? Row.File + 1 : Row.File)); in createLineAndFileRecords() 741 Line->setLineNumber(Row.Line); in createLineAndFileRecords() 742 if (Row.Discriminator) in createLineAndFileRecords() 743 Line->setDiscriminator(Row.Discriminator); in createLineAndFileRecords() 744 if (Row.IsStmt) in createLineAndFileRecords() 746 if (Row.BasicBlock) in createLineAndFileRecords() 748 if (Row.EndSequence) in createLineAndFileRecords() 750 if (Row.EpilogueBegin) in createLineAndFileRecords() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 589 SNodeId LastRow, LastCol, FirstRow, FirstCol, Row, Col; in getMatchingNodes() local 602 Row = LastRow; in getMatchingNodes() 605 while (Row > FirstRow || Col > FirstCol) { in getMatchingNodes() 606 if (Row > FirstRow && in getMatchingNodes() 607 ForestDist[Row - 1][Col] + 1 == ForestDist[Row][Col]) { in getMatchingNodes() 608 --Row; in getMatchingNodes() 610 ForestDist[Row][Col - 1] + 1 == ForestDist[Row][Col]) { in getMatchingNodes() 613 SNodeId LMD1 = S1.getLeftMostDescendant(Row); in getMatchingNodes() 617 NodeId Id1 = S1.getIdInRoot(Row); in getMatchingNodes() 622 --Row; in getMatchingNodes() [all …]
|