Searched refs:flatExprs (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/mlir/lib/IR/ |
D | AffineExpr.cpp | 826 AffineExpr mlir::getAffineExprFromFlatForm(ArrayRef<int64_t> flatExprs, in getAffineExprFromFlatForm() argument 832 assert(flatExprs.size() - numDims - numSymbols - 1 == localExprs.size() && in getAffineExprFromFlatForm() 838 if (flatExprs[j] == 0) in getAffineExprFromFlatForm() 842 expr = expr + id * flatExprs[j]; in getAffineExprFromFlatForm() 846 for (unsigned j = numDims + numSymbols, e = flatExprs.size() - 1; j < e; in getAffineExprFromFlatForm() 848 if (flatExprs[j] == 0) in getAffineExprFromFlatForm() 850 auto term = localExprs[j - numDims - numSymbols] * flatExprs[j]; in getAffineExprFromFlatForm() 855 int64_t constTerm = flatExprs[flatExprs.size() - 1]; in getAffineExprFromFlatForm()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | AffineStructures.cpp | 185 std::vector<SmallVector<int64_t, 8>> flatExprs; in FlatAffineConstraints() local 187 if (failed(getFlattenedAffineExprs(set, &flatExprs, &localVarCst))) { in FlatAffineConstraints() 191 assert(flatExprs.size() == set.getNumConstraints()); in FlatAffineConstraints() 196 for (unsigned i = 0, e = flatExprs.size(); i < e; ++i) { in FlatAffineConstraints() 197 const auto &flatExpr = flatExprs[i]; in FlatAffineConstraints() 465 std::vector<SmallVector<int64_t, 8>> flatExprs; in composeMap() local 467 if (failed(getFlattenedAffineExprs(vMap->getAffineMap(), &flatExprs, in composeMap() 473 assert(flatExprs.size() == vMap->getNumResults()); in composeMap() 497 for (unsigned r = 0, e = flatExprs.size(); r < e; r++) { in composeMap() 498 const auto &flatExpr = flatExprs[r]; in composeMap() [all …]
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | AffineExpr.h | 241 AffineExpr getAffineExprFromFlatForm(ArrayRef<int64_t> flatExprs,
|