Home
last modified time | relevance | path

Searched refs:Rows (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
134 : Rows(Rows), Cols(Cols), in Matrix()
141 : Rows(M.Rows), Cols(M.Cols), in Matrix()
148 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix()
149 M.Rows = M.Cols = 0; in Matrix()
155 if (Rows != M.Rows || Cols != M.Cols)
163 return Rows; in getRows()
198 Vector V(Rows); in getColAsVector()
207 Matrix M(Cols, Rows); in transpose()
217 assert(Rows == M.Rows && Cols == M.Cols &&
[all …]
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugFrameTest.cpp750 EXPECT_EQ(Rows.size(), 1u); in TEST()
822 EXPECT_EQ(Rows.size(), 6u); in TEST()
897 EXPECT_EQ(Rows.size(), 2u); in TEST()
960 EXPECT_EQ(Rows.size(), 2u); in TEST()
1021 EXPECT_EQ(Rows.size(), 1u); in TEST()
1073 EXPECT_EQ(Rows.size(), 1u); in TEST()
1520 Rows[0].getCFAValue(), in TEST()
1527 Rows[1].getCFAValue(), in TEST()
1534 Rows[2].getCFAValue(), in TEST()
1541 Rows[3].getCFAValue(), in TEST()
[all …]
H A DDWARFDebugLineTest.cpp634 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u);
636 EXPECT_EQ((*ExpectedLineTable)->Rows[1].IsStmt, 0u);
668 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 4u);
703 EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 2u);
734 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 2u);
766 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 2u);
804 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u);
874 ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u);
908 EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6u);
1054 ASSERT_EQ((*ExpectedSpecial)->Rows.size(), 3u);
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnitIndex.cpp126 Rows.reset(); in parse()
145 Rows = std::make_unique<Entry[]>(Header.NumBuckets); in parseImpl()
153 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl()
160 Rows[i].Index = this; in parseImpl()
161 Rows[i].Contributions = in parseImpl()
234 auto &Row = Rows[i]; in dump()
265 if (Rows[i].Contributions) in getFromOffset()
266 OffsetLookup.push_back(&Rows[i]); in getFromOffset()
292 while (Rows[H].getSignature() != S && Rows[H].Index != nullptr) in getFromHash()
297 if (Rows[H].Index == nullptr) in getFromHash()
[all …]
H A DDWARFDebugLine.cpp520 if (!Rows.empty()) { in dump()
523 for (const Row &R : Rows) { in dump()
535 Rows.clear(); in clear()
552 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
810 size_t RowCount = Rows.size(); in parse()
1174 if (Verbose && Rows.size() == RowCount) in parse()
1230 RowIter FirstRow = Rows.begin() + Seq.FirstRowIndex; in findRowInSeq()
1231 RowIter LastRow = Rows.begin() + Seq.LastRowIndex; in findRowInSeq()
1238 return RowPos - Rows.begin(); in findRowInSeq()
1412 const auto &Row = Rows[RowIndex]; in getFileLineInfoForAddress()
H A DDWARFDebugFrame.cpp194 for (const UnwindRow &Row : Rows) in dump()
198 raw_ostream &llvm::dwarf::operator<<(raw_ostream &OS, const UnwindTable &Rows) { in operator <<() argument
199 Rows.dump(OS, nullptr, false, 0); in operator <<()
229 UT.Rows.push_back(Row); in create()
246 UT.Rows.push_back(Row); in create()
537 Rows.push_back(Row); in parseRows()
552 Rows.push_back(Row); in parseRows()
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/resources/
H A Dselectable.js2 var Rows = document.getElementsByTagName("tr");
3 for (var i = 0; i < Rows.length; ++i) {
4 if (Rows[i].className == RowClass) {
5 Rows[i].style.display = DisplayVal;
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmatrix-type-operators.cpp7 template <typename EltTy, unsigned Rows, unsigned Columns>
9 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
200 template <typename EltTy, unsigned Rows, unsigned Columns>
201 void insert(MyMatrix<EltTy, Rows, Columns> &Mat, EltTy e, unsigned i, unsigned j) { in insert() argument
259 template <typename EltTy, unsigned Rows, unsigned Columns>
260 EltTy extract(MyMatrix<EltTy, Rows, Columns> &Mat) { in extract() argument
H A Dmatrix-type.cpp126 template <typename Ty, unsigned Rows, unsigned Cols>
129 using MatrixTy = Ty __attribute__((matrix_type(Rows, Cols)));
135 template <typename Ty, unsigned Rows, unsigned Cols>
136 void matrix_template_reference(MatrixClassTemplate<Ty, Rows, Cols> &a, MatrixClassTemplate<Ty, Rows in matrix_template_reference() argument
H A Dmatrix-type-builtins.cpp5 template <typename EltTy, unsigned Rows, unsigned Columns>
6 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
8 template <typename EltTy, unsigned Rows, unsigned Columns>
10 matrix_t<EltTy, Rows, Columns> value;
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMatrixBuilder.h67 Value *Stride, bool IsVolatile, unsigned Rows,
69 auto *RetType = FixedVectorType::get(EltTy, Rows * Columns);
71 Value *Ops[] = {DataPtr, Stride, B.getInt1(IsVolatile), B.getInt32(Rows),
91 unsigned Rows, unsigned Columns,
95 B.getInt32(Rows), B.getInt32(Columns)};
110 CallInst *CreateMatrixTranspose(Value *Matrix, unsigned Rows,
114 FixedVectorType::get(OpType->getElementType(), Rows * Columns);
117 Value *Ops[] = {Matrix, B.getInt32(Rows), B.getInt32(Columns)};
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dmatrix-type.cpp13 template <unsigned Rows, unsigned Cols>
15 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{zero matrix s… in matrix_template_3()
23 template <int Rows, unsigned Cols>
25 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{matrix row si… in matrix_template_4()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmatrix-type.cpp7 void matrix_var_dimensions(int Rows, unsigned Columns, char C) { in matrix_var_dimensions() argument
8 …using matrix1_t = int __attribute__((matrix_type(Rows, 1))); // expected-error{{matrix_type att… in matrix_var_dimensions()
H A Dmatrix-type-builtins.cpp3 template <typename EltTy, unsigned Rows, unsigned Columns>
5 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
H A Dmatrix-type-operators.cpp5 template <typename EltTy, unsigned Rows, unsigned Columns>
7 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h325 size_t size() const { return Rows.size(); } in size()
326 iterator begin() { return Rows.begin(); } in begin()
327 const_iterator begin() const { return Rows.begin(); } in begin()
328 iterator end() { return Rows.end(); } in end()
329 const_iterator end() const { return Rows.end(); } in end()
332 return Rows[Index];
373 RowContainer Rows;
397 raw_ostream &operator<<(raw_ostream &OS, const UnwindTable &Rows);
H A DDWARFUnitIndex.h145 std::unique_ptr<Entry[]> Rows; variable
171 return makeArrayRef(Rows.get(), Header.NumBuckets); in getRows()
H A DDWARFDebugLine.h232 void appendRow(const DWARFDebugLine::Row &R) { Rows.push_back(R); } in appendRow()
286 RowVector Rows; member
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DRegisterInfoEmitter.cpp718 for (unsigned r = 0, re = Rows.size(); r != re; ++r) { in emitComposeSubRegIndices()
719 if (combine(&Idx, Rows[r])) { in emitComposeSubRegIndices()
725 Found = Rows.size(); in emitComposeSubRegIndices()
726 Rows.resize(Found + 1); in emitComposeSubRegIndices()
727 Rows.back().resize(SubRegIndicesSize); in emitComposeSubRegIndices()
728 combine(&Idx, Rows.back()); in emitComposeSubRegIndices()
734 if (Rows.size() > 1) { in emitComposeSubRegIndices()
745 for (unsigned r = 0, re = Rows.size(); r != re; ++r) { in emitComposeSubRegIndices()
748 if (Rows[r][i]) in emitComposeSubRegIndices()
749 OS << Rows[r][i]->getQualifiedName() << ", "; in emitComposeSubRegIndices()
[all …]
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp1638 std::vector<DWARFDebugLine::Row> &Rows) { in insertLineSequence() argument
1642 if (!Rows.empty() && Rows.back().Address < Seq.front().Address) { in insertLineSequence()
1643 llvm::append_range(Rows, Seq); in insertLineSequence()
1650 Rows, [=](const DWARFDebugLine::Row &O) { return O.Address < Front; }); in insertLineSequence()
1656 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence()
1659 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
1661 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
1711 NewRows.reserve(LineTable.Rows.size()); in patchLineTableForUnit()
1730 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit()
H A DDWARFStreamer.cpp510 std::vector<DWARFDebugLine::Row> &Rows, in emitLineTableForUnit() argument
528 if (Rows.empty()) { in emitLineTableForUnit()
549 for (DWARFDebugLine::Row &Row : Rows) { in emitLineTableForUnit()
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h121 std::vector<DWARFDebugLine::Row> &Rows,
/llvm-project-15.0.7/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp483 LLVM_ATTRIBUTE_UNUSED static std::size_t Rows = in nearestMatchesForCodepointName() local
491 assert(Row < Rows); in nearestMatchesForCodepointName()
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp281 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable()
321 CUI.LineTable->Rows[RowIndex2].dump(Log); in convertFunctionLineTable()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp661 CurrentLineTable->Rows[RowReference.RowIndex - 1].File); in emitLineInfo()
665 CurrentLineTable->Rows[RowReference.RowIndex - 1]; in emitLineInfo()
1058 const DWARFDebugLine::Row &PrevRow = LineTable->Rows[FirstRow - 1]; in emitDebugLineInfoForOriginalFunctions()

12