Home
last modified time | relevance | path

Searched refs:getNumColumns (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DMatrixTest.cpp73 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
81 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
89 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
98 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
126 EXPECT_EQ(mat.getNumColumns(), 6u); in TEST()
136 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
144 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
164 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
173 EXPECT_EQ(mat.getNumColumns(), 5u); in TEST()
181 EXPECT_EQ(mat.getNumColumns(), 3u); in TEST()
[all …]
H A DLinearTransformTest.cpp28 for (unsigned col = lastAllowedNonZeroCol + 1, nCols = m.getNumColumns(); in testColumnEchelonForm()
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DMatrix.cpp79 assert((column < getNumColumns() && otherColumn < getNumColumns()) && in swapColumns()
96 assert(elems.size() == getNumColumns() && in setRow()
98 for (unsigned i = 0, e = getNumColumns(); i < e; ++i) in setRow()
215 for (unsigned column = 0, e = getNumColumns(); column < e; ++column) in negateRow()
224 return normalizeRow(row, getNumColumns()); in normalizeRow()
231 SmallVector<int64_t, 8> result(getNumColumns(), 0); in preMultiplyWithRow()
232 for (unsigned col = 0, e = getNumColumns(); col < e; ++col) in preMultiplyWithRow()
240 assert(getNumColumns() == colVec.size() && in postMultiplyWithColumn()
245 for (unsigned i = 0, e = getNumColumns(); i < e; i++) in postMultiplyWithColumn()
H A DLinearTransform.cpp39 Matrix resultMatrix = Matrix::identity(m.getNumColumns()); in makeTransformToColumnEchelon()
49 for (unsigned e = m.getNumColumns(); nonZeroCol < e; ++nonZeroCol) { in makeTransformToColumnEchelon()
57 if (nonZeroCol == m.getNumColumns()) in makeTransformToColumnEchelon()
74 for (unsigned i = echelonCol + 1, e = m.getNumColumns(); i < e; ++i) { in makeTransformToColumnEchelon()
H A DSimplex.cpp65 assert(col < getNumColumns() && "Invalid column"); in unknownFromColumn()
80 assert(col < getNumColumns() && "Invalid column"); in unknownFromColumn()
106 assert(var.size() + getNumFixedCols() == getNumColumns() && in addRow()
348 swapColumns(3 + nSymbol, getNumColumns() - 1); in appendSymbol()
858 for (unsigned j = 2, e = getNumColumns(); j < e; ++j) { in findPivot()
1051 assert(i < getNumColumns() && j < getNumColumns() && in swapColumns()
1218 swapColumns(var.back().pos, getNumColumns() - 1); in undo()
1219 tableau.resizeHorizontally(getNumColumns() - 1); in undo()
1294 /*pos=*/getNumColumns() + i); in appendVariable()
1297 tableau.resizeHorizontally(getNumColumns() + count); in appendVariable()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DSimplex.h325 unsigned getNumColumns() const { return tableau.getNumColumns(); } in getNumColumns() function
H A DMatrix.h77 unsigned getNumColumns() const { return nColumns; } in getNumColumns() function
H A DPWMAFunction.h55 return output.getNumColumns() == domainSet.getNumVars() + 1; in isConsistent()
H A DUtils.h123 unsigned getNumVars() const { return dividends.getNumColumns() - 1; } in getNumVars()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp252 return getNumColumns(); in getNumVectors()
256 unsigned getNumColumns() const { in getNumColumns() function in __anon8ba1aee70111::LowerMatrixIntrinsics::MatrixTy
332 return getNumColumns(); in getStride()
468 if (SI.NumRows == M.getNumRows() && SI.NumColumns == M.getNumColumns()) in getMatrix()
1055 StoreVal.getNumColumns()); in storeMatrix()
1206 unsigned C = Result.getNumColumns(); in emitMatrixMultiply()
1207 unsigned M = A.getNumColumns(); in emitMatrixMultiply()
1888 SS << M->second.getNumColumns(); in prettyPrintMatrixType()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h446 unsigned getNumColumns() 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.cpp742 LHSMatTy->getNumColumns(), in EmitMul()
743 RHSMatTy->getNumColumns()); in EmitMul()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp3862 if (inputMatrix.getNumColumns() != resultMatrix.getNumColumns()) 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()
4012 if (rightMatrix.getNumColumns() != resultMatrix.getNumColumns()) in verify()
H A DSPIRVTypes.cpp126 return matrixType.getNumColumns(); in getNumElements()
1143 unsigned MatrixType::getNumColumns() const { return getImpl()->columnCount; } in getNumColumns() function in MatrixType
H A DSPIRVDialect.cpp863 os << "matrix<" << type.getNumColumns() << " x " << type.getColumnType(); in print()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp872 Mat1->getNumColumns() != Mat2->getNumColumns()) 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()
9276 LHS->getNumColumns() == RHS->getNumColumns(); in areCompatMatrixTypes()
H A DType.cpp1025 T->getNumColumns()); in VisitConstantMatrixType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td238 let Read = [{ node->getNumColumns() }];
H A DType.h3548 unsigned getNumColumns() const { return NumColumns; }
3552 return getNumRows() * getNumColumns();
3566 Profile(ID, getElementType(), getNumRows(), getNumColumns(),
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp604 operands.push_back(matrixType.getNumColumns()); in prepareBasicType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2022 MP->getNumColumns() != MA->getNumColumns()) { in DeduceTemplateArgumentsByTypeMatch()
2096 &ConstantMatrixType::getNumColumns, in DeduceTemplateArgumentsByTypeMatch()
H A DSemaExpr.cpp5032 ColumnIdx = IsIndexValid(ColumnIdx, MTy->getNumColumns(), true); in CreateBuiltinMatrixSubscriptExpr()
7715 matSrcType->getNumColumns() == matDestType->getNumColumns(); in areMatrixTypesOfTheSameDimension()
13196 if (LHSMatType->getNumColumns() != RHSMatType->getNumRows()) in CheckMatrixMultiplyOperands()
13205 RHSMatType->getNumColumns()); in CheckMatrixMultiplyOperands()

12