Home
last modified time | relevance | path

Searched refs:getNumRows (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DMatrixTest.cpp72 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
80 EXPECT_EQ(mat.getNumRows(), 3u); in TEST()
88 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
97 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
105 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
125 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
135 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
163 EXPECT_EQ(mat.getNumRows(), 6u); in TEST()
172 EXPECT_EQ(mat.getNumRows(), 5u); in TEST()
180 EXPECT_EQ(mat.getNumRows(), 3u); in TEST()
[all …]
H A DLinearTransformTest.cpp25 for (unsigned row = 0, nRows = m.getNumRows(); row < nRows; ++row) { in testColumnEchelonForm()
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DMatrix.cpp70 assert((row < getNumRows() && otherRow < getNumRows()) && in swapRows()
205 for (unsigned row = 0, e = getNumRows(); row < e; ++row) in addToColumn()
210 for (unsigned row = 0, e = getNumRows(); row < e; ++row) in negateColumn()
229 assert(rowVec.size() == getNumRows() && "Invalid row vector dimension!"); in preMultiplyWithRow()
233 for (unsigned i = 0, e = getNumRows(); i < e; ++i) in preMultiplyWithRow()
243 SmallVector<int64_t, 8> result(getNumRows(), 0); in postMultiplyWithColumn()
244 for (unsigned row = 0, e = getNumRows(); row < e; row++) in postMultiplyWithColumn()
H A DSimplex.cpp70 assert(row < getNumRows() && "Invalid row"); in unknownFromRow()
85 assert(row < getNumRows() && "Invalid row"); in unknownFromRow()
92 assert(getNumRows() == getNumRows() && "Inconsistent tableau size"); in addZeroRow()
569 if (splitRow < getNumRows()) { in computeSymbolicIntegerLexMin()
1124 swapRows(con.back().pos, getNumRows() - 1); in removeLastConstraintRowOrientation()
1128 tableau.resizeVertically(getNumRows() - 1); in removeLastConstraintRowOrientation()
1793 if (level == basis.getNumRows() - 1) in reduceBasis()
1877 while (i < basis.getNumRows() - 1) { in reduceBasis()
1972 snapshotStack.reserve(basis.getNumRows()); in findIntegerSample()
1974 nextValueStack.reserve(basis.getNumRows()); in findIntegerSample()
[all …]
H A DLinearTransform.cpp46 for (unsigned row = 0; row < m.getNumRows(); ++row) { in makeTransformToColumnEchelon()
H A DPWMAFunction.cpp107 assert(count <= output.getNumRows()); in truncateOutput()
H A DIntegerRelation.cpp57 inequalities.reserveRows(inequalities.getNumRows() + in append()
59 equalities.reserveRows(equalities.getNumRows() + other.getNumEqualities()); in append()
1305 inequalities(inequalities.getNumRows() - 1, getNumCols() - 1) += in addBound()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DSimplex.h324 unsigned getNumRows() const { return tableau.getNumRows(); } in getNumRows() function
H A DMatrix.h75 unsigned getNumRows() const { return nRows; } in getNumRows() function
H A DIntegerRelation.h163 inline unsigned getNumEqualities() const { return equalities.getNumRows(); } in getNumEqualities()
166 return inequalities.getNumRows(); in getNumInequalities()
H A DPWMAFunction.h53 unsigned getNumOutputs() const { return output.getNumRows(); } in getNumOutputs()
H A DUtils.h124 unsigned getNumDivs() const { return dividends.getNumRows(); } in getNumDivs()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp253 return getNumRows(); in getNumVectors()
264 unsigned getNumRows() const { in getNumRows() function in __anon8ba1aee70111::LowerMatrixIntrinsics::MatrixTy
331 return getNumRows(); in getStride()
468 if (SI.NumRows == M.getNumRows() && SI.NumColumns == M.getNumColumns()) in getMatrix()
1054 auto *TileTy = FixedVectorType::get(EltTy, StoreVal.getNumRows() * in storeMatrix()
1205 unsigned R = Result.getNumRows(); in emitMatrixMultiply()
1886 SS << M->second.getNumRows(); in prettyPrintMatrixType()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h443 unsigned getNumRows() const;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp96 MT->getNumRows() * MT->getNumColumns()); in ConvertTypeForMem()
724 MT->getNumRows() * MT->getNumColumns()); in ConvertType()
H A DCGExprScalar.cpp741 return MB.CreateMatrixMultiply(Ops.LHS, Ops.RHS, LHSMatTy->getNumRows(), in EmitMul()
1795 unsigned NumRows = MatrixTy->getNumRows(); in VisitMatrixSubscriptExpr()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp3867 if (inputMatrix.getNumRows() != resultMatrix.getNumRows()) in verify()
3981 if (inputMatrix.getNumRows() != resultMatrix.getNumColumns()) in verify()
3985 if (inputMatrix.getNumColumns() != resultMatrix.getNumRows()) in verify()
4007 if (leftMatrix.getNumColumns() != rightMatrix.getNumRows()) in verify()
4027 if (leftMatrix.getNumRows() != resultMatrix.getNumRows()) in verify()
H A DSPIRVTypes.cpp1145 unsigned MatrixType::getNumRows() const { in getNumRows() function in MatrixType
1150 return (getImpl()->columnCount) * getNumRows(); in getNumElements()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp871 Mat1->getNumRows() != Mat2->getNumRows() || in IsStructurallyEquivalent()
H A DTypePrinter.cpp788 OS << T->getNumRows() << ", " << T->getNumColumns(); in printConstantMatrixBefore()
H A DASTContext.cpp2024 Width = ElementInfo.Width * MT->getNumRows() * MT->getNumColumns(); in getTypeInfoImpl()
9275 LHS->getNumRows() == RHS->getNumRows() && in areCompatMatrixTypes()
H A DType.cpp1024 return Ctx.getConstantMatrixType(elementType, T->getNumRows(), in VisitConstantMatrixType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td235 let Read = [{ node->getNumRows() }];
H A DType.h3545 unsigned getNumRows() const { return NumRows; }
3552 return getNumRows() * getNumColumns();
3566 Profile(ID, getElementType(), getNumRows(), getNumColumns(),
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2021 if (MP->getNumRows() != MA->getNumRows() || in DeduceTemplateArgumentsByTypeMatch()
2091 &ConstantMatrixType::getNumRows, in DeduceTemplateArgumentsByTypeMatch()

12