| /llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/ |
| H A D | MatrixTest.cpp | 73 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 D | LinearTransformTest.cpp | 28 for (unsigned col = lastAllowedNonZeroCol + 1, nCols = m.getNumColumns(); in testColumnEchelonForm()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/Presburger/ |
| H A D | Matrix.cpp | 79 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 D | LinearTransform.cpp | 39 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 D | Simplex.cpp | 65 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 D | Simplex.h | 325 unsigned getNumColumns() const { return tableau.getNumColumns(); } in getNumColumns() function
|
| H A D | Matrix.h | 77 unsigned getNumColumns() const { return nColumns; } in getNumColumns() function
|
| H A D | PWMAFunction.h | 55 return output.getNumColumns() == domainSet.getNumVars() + 1; in isConsistent()
|
| H A D | Utils.h | 123 unsigned getNumVars() const { return dividends.getNumColumns() - 1; } in getNumVars()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 252 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 D | SPIRVTypes.h | 446 unsigned getNumColumns() const;
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.cpp | 96 MT->getNumRows() * MT->getNumColumns()); in ConvertTypeForMem() 724 MT->getNumRows() * MT->getNumColumns()); in ConvertType()
|
| H A D | CGExprScalar.cpp | 742 LHSMatTy->getNumColumns(), in EmitMul() 743 RHSMatTy->getNumColumns()); in EmitMul()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 3862 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 D | SPIRVTypes.cpp | 126 return matrixType.getNumColumns(); in getNumElements() 1143 unsigned MatrixType::getNumColumns() const { return getImpl()->columnCount; } in getNumColumns() function in MatrixType
|
| H A D | SPIRVDialect.cpp | 863 os << "matrix<" << type.getNumColumns() << " x " << type.getColumnType(); in print()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 872 Mat1->getNumColumns() != Mat2->getNumColumns()) in IsStructurallyEquivalent()
|
| H A D | TypePrinter.cpp | 788 OS << T->getNumRows() << ", " << T->getNumColumns(); in printConstantMatrixBefore()
|
| H A D | ASTContext.cpp | 2024 Width = ElementInfo.Width * MT->getNumRows() * MT->getNumColumns(); in getTypeInfoImpl() 9276 LHS->getNumColumns() == RHS->getNumColumns(); in areCompatMatrixTypes()
|
| H A D | Type.cpp | 1025 T->getNumColumns()); in VisitConstantMatrixType()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 238 let Read = [{ node->getNumColumns() }];
|
| H A D | Type.h | 3548 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 D | Serializer.cpp | 604 operands.push_back(matrixType.getNumColumns()); in prepareBasicType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 2022 MP->getNumColumns() != MA->getNumColumns()) { in DeduceTemplateArgumentsByTypeMatch() 2096 &ConstantMatrixType::getNumColumns, in DeduceTemplateArgumentsByTypeMatch()
|
| H A D | SemaExpr.cpp | 5032 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()
|