Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-nqueens.cpp19 constexpr bool ok(int Row, int Col) const { in ok()
20 return okRecurse(Row, Col, 0); in ok()
27 okRecurse(Row, Col, CheckCol + 1); in okRecurse()
29 constexpr bool at(int Row, int Col) const { in at()
30 return getQueenRow(Col) == Row; in at()
42 return Row == N ? Board(0, true) : in buildBoardScan()
43 B.ok(Row, Col) ? in buildBoardScan()
45 N, Col, Row+1, B) : in buildBoardScan()
59 *p == '\n' ? check(p+1, Row+1, 0) : in check()
60 *p == 'o' ? at(Row, Col) && check(p+1, Row, Col+1) : in check()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A Dedit_distance.h76 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];
95 std::min(Row[x - 1], Row[x]) + 1);
99 Row[x] = Previous;
100 else Row[x] = std::min(Row[x-1], Row[x]) + 1;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h32 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
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-account.cpp320 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 …]
/llvm-project-15.0.7/lldb/source/Symbol/
H A DUnwindPlan.cpp24 bool UnwindPlan::Row::RegisterLocation::
92 void UnwindPlan::Row::RegisterLocation::Dump(Stream &s, in Dump()
167 bool UnwindPlan::Row::FAValue::
168 operator==(const UnwindPlan::Row::FAValue &rhs) const { in operator ==()
217 void UnwindPlan::Row::Clear() { in Clear()
249 UnwindPlan::Row::Row() : m_cfa_value(), m_afa_value(), m_register_locations() {} in Row() function in UnwindPlan::Row
251 bool UnwindPlan::Row::GetRegisterInfo( in GetRegisterInfo()
273 void UnwindPlan::Row::SetRegisterInfo( in SetRegisterInfo()
303 bool UnwindPlan::Row::SetRegisterLocationToUndefined( in SetRegisterLocationToUndefined()
354 bool UnwindPlan::Row::operator==(const UnwindPlan::Row &rhs) const { in operator ==()
[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()
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 …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp188 Row.dump(OS, nullptr, false, 0); in operator <<()
215 UnwindRow Row; in create() local
229 UT.Rows.push_back(Row); in create()
239 UnwindRow Row; in create() local
246 UT.Rows.push_back(Row); in create()
536 Row.getAddress()); in parseRows()
537 Rows.push_back(Row); in parseRows()
552 Rows.push_back(Row); in parseRows()
732 Row.getCFAValue() = in parseRows()
762 Row.getCFAValue() = in parseRows()
[all …]
H A DDWARFDebugLine.cpp462 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()
713 Row.Line += LineOffset; in handleSpecialOpcode()
798 State.Row.dump(*OS); in parse()
1055 State.Row.IsStmt = !State.Row.IsStmt; in parse()
1228 DWARFDebugLine::Row Row; in findRowInSeq() local
1229 Row.Address = Address; in findRowInSeq()
1415 Result.Line = Row.Line; in getFileLineInfoForAddress()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp70 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 DDwarfTransformer.cpp278 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()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp126 Row = II->getArgOperand(0); in getShape()
139 Row = II->getArgOperand(0); in getShape()
143 Row = II->getArgOperand(0); in getShape()
148 Row = Builder.getInt16( in getShape()
180 return std::make_pair(Row, Col); in getShape()
266 Value *Row = II->getOperand(0); in combineBitcastStore() local
339 Value *Row = II->getOperand(0); in transformBitcast() local
465 Value *Row = II->getOperand(0); in createTileStore() local
491 Value *Row = II->getOperand(0); in replaceWithTileLoad() local
786 if (!Row || !Col || !isa<Constant>(Row) || !isa<Constant>(Col)) in optimizeAMXCastFromPhi()
[all …]
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestDWARFCallFrameInfo.cpp44 static std::ostream &operator<<(std::ostream &OS, const UnwindPlan::Row &row) { in operator <<()
51 static UnwindPlan::Row GetExpectedRow0() { in GetExpectedRow0()
52 UnwindPlan::Row row; in GetExpectedRow0()
59 static UnwindPlan::Row GetExpectedRow1() { in GetExpectedRow1()
60 UnwindPlan::Row row; in GetExpectedRow1()
68 static UnwindPlan::Row GetExpectedRow2() { in GetExpectedRow2()
69 UnwindPlan::Row row; in GetExpectedRow2()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstraintSystem.cpp113 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()
/llvm-project-15.0.7/lldb/unittests/UnwindAssembly/x86/
H A DTestx86AssemblyInspectionEngine.cpp171 UnwindPlan::Row::RegisterLocation regloc; in TEST_F()
247 UnwindPlan::Row::RegisterLocation regloc; in TEST_F()
384 UnwindPlan::Row::RegisterLocation regloc; in TEST_F()
653 UnwindPlan::Row::RegisterLocation regloc; in TEST_F()
805 UnwindPlan::Row::RegisterLocation regloc; in TEST_F()
2244 UnwindPlan::Row *new_row = new UnwindPlan::Row; in TEST_F()
2256 new_row = new UnwindPlan::Row; in TEST_F()
2331 UnwindPlan::Row *new_row = new UnwindPlan::Row; in TEST_F()
2343 new_row = new UnwindPlan::Row; in TEST_F()
2409 UnwindPlan::Row *new_row = new UnwindPlan::Row; in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.cpp930 UnwindPlan::Row::RegisterLocation initial_regloc; in GetNonCallSiteUnwindPlanFromAssembly()
931 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly()
953 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1066 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly()
1157 UnwindPlan::Row::RegisterLocation regloc; in GetNonCallSiteUnwindPlanFromAssembly()
1249 UnwindPlan::Row::RegisterLocation sp, pc; in GetNonCallSiteUnwindPlanFromAssembly()
1261 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1298 newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1306 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
1398 UnwindPlan::RowSP new_row(new UnwindPlan::Row()); in AugmentUnwindPlanFromCallSite()
[all …]
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp549 for (DWARFDebugLine::Row &Row : Rows) { in emitLineTableForUnit()
567 if (FileNum != Row.File) { in emitLineTableForUnit()
568 FileNum = Row.File; in emitLineTableForUnit()
574 Column = Row.Column; in emitLineTableForUnit()
583 if (Isa != Row.Isa) { in emitLineTableForUnit()
584 Isa = Row.Isa; in emitLineTableForUnit()
594 if (Row.BasicBlock) { in emitLineTableForUnit()
599 if (Row.PrologueEnd) { in emitLineTableForUnit()
604 if (Row.EpilogueBegin) { in emitLineTableForUnit()
610 if (!Row.EndSequence) { in emitLineTableForUnit()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp489 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName() argument
491 assert(Row < Rows); in nearestMatchesForCodepointName()
492 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName()
502 auto VisitNode = [&](const Node &N, std::size_t Row, in nearestMatchesForCodepointName()
509 Get(0, Row) = Row; in nearestMatchesForCodepointName()
512 const int Delete = Get(I - 1, Row) + 1; in nearestMatchesForCodepointName()
513 const int Insert = Get(I, Row - 1) + 1; in nearestMatchesForCodepointName()
518 Get(I, Row) = std::min(Insert, std::min(Delete, Replace)); in nearestMatchesForCodepointName()
521 Row++; in nearestMatchesForCodepointName()
524 unsigned Cost = Get(Columns - 1, Row - 1); in nearestMatchesForCodepointName()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h133 struct Row { struct
134 explicit Row(bool DefaultIsStmt = false);
143 static bool orderByAddress(const Row &LHS, const Row &RHS) { in orderByAddress() argument
232 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); } in appendRow()
280 using RowVector = std::vector<Row>;
397 struct Row Row; member
/llvm-project-15.0.7/llvm/test/tools/llvm-dwp/X86/
H A Dincompatible_tu_index_version.s49 ## Row 0:
52 ## Row 1:
73 ## Row 0:
76 ## Row 1:
H A Dunknown-section-id.s95 ## Row 0:
100 ## Row 1:
124 ## Row 0:
129 ## Row 1:
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddwarfdump-str-offsets-v4-dwarf64-dwp.s120 ## Row 0:
124 ## Row 1, offsets of contributions of CU0:
128 ## Row 2, offsets of contributions of CU1:
133 ## Row 1, sizes of contributions of CU0:
137 ## Row 2, sizes of contributions of CU1:
H A Ddwarfdump-str-offsets-v4-invalid.s52 ## Row 0:
56 ## Row 1, offsets of the contribution
61 ## Row 1, sizes of the contribution
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp80 for (auto &Row : DepMatrix) { in printDepMatrix() local
81 for (auto D : Row) in printDepMatrix()
196 if (DepMatrix[Row][i] == '<') in isOuterMostDepPositive()
198 if (DepMatrix[Row][i] == '>') in isOuterMostDepPositive()
209 if (DepMatrix[Row][i] != '=' && DepMatrix[Row][i] != 'S' && in containsNoDependence()
210 DepMatrix[Row][i] != 'I') in containsNoDependence()
259 for (unsigned Row = 0; Row < NumRows; ++Row) { in isLegalToInterChangeLoops() local
260 char InnerDep = DepMatrix[Row][InnerLoopId]; in isLegalToInterChangeLoops()
1146 for (auto &Row : DepMatrix) { in isProfitableForVectorization() local
1147 if (Row[InnerLoopId] != 'S' && Row[InnerLoopId] != 'I') in isProfitableForVectorization()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp122 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
162 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
197 std::make_shared<UnwindPlan::Row>(*m_curr_row.get()); in GetNonCallSiteUnwindPlanFromAssembly()
210 std::make_shared<UnwindPlan::Row>(*saved_state.first); in GetNonCallSiteUnwindPlanFromAssembly()
235 std::make_shared<UnwindPlan::Row>(*m_curr_row), in GetNonCallSiteUnwindPlanFromAssembly()
264 std::make_shared<UnwindPlan::Row>(*m_curr_row.get()); in GetNonCallSiteUnwindPlanFromAssembly()
288 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly()
/llvm-project-15.0.7/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()

12345