Home
last modified time | relevance | path

Searched refs:addBound (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DAffineCanonicalizationUtils.cpp53 return constraints.addBound(type, pos, alignedMap); in alignAndAddBound()
139 if (failed(constraints.addBound(IntegerPolyhedron::EQ, dimOpBound, in canonicalizeMinMaxOp()
224 constraints.addBound(IntegerPolyhedron::EQ, dimLb, *lbInt); in addLoopRangeConstraints()
226 constraints.addBound(IntegerPolyhedron::EQ, dimUb, *ubInt); in addLoopRangeConstraints()
255 return constraints.addBound(IntegerPolyhedron::UB, dimIv, map); in addLoopRangeConstraints()
328 constraints.addBound(IntegerPolyhedron::EQ, 1, *constUb); in rewritePeeledMinMaxOp()
330 constraints.addBound(IntegerPolyhedron::EQ, 2, *constStep); in rewritePeeledMinMaxOp()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DAffineStructures.cpp217 if (failed(res.addBound(BoundType::LB, ivIdx, lb))) in getHyperrectangular()
222 if (failed(res.addBound(BoundType::UB, ivIdx, ub))) in getHyperrectangular()
589 addBound(BoundType::EQ, val, constOp.value()); in addInductionVarOrTerminalSymbol()
627 addBound(BoundType::LB, pos, forOp.getConstantLowerBound()); in addAffineForOpDomain()
636 addBound(BoundType::UB, pos, forOp.getConstantUpperBound() - 1); in addAffineForOpDomain()
640 return addBound(BoundType::UB, pos, forOp.getUpperBoundMap(), in addAffineForOpDomain()
1274 return addBound(type, pos, computeAlignedMap(map, operands)); in addBound()
1306 if (failed(addBound(BoundType::EQ, pos, lbMap, operands))) in addSliceBounds()
1316 if (failed(addBound(BoundType::LB, pos, lbMap, operands))) in addSliceBounds()
1318 if (failed(addBound(BoundType::UB, pos, ubMap, operands))) in addSliceBounds()
[all …]
H A DUtils.cpp103 cst->addBound(FlatAffineValueConstraints::EQ, value, cOp.value()); in getAsConstraints()
362 cstWithShapeBounds.addBound(FlatAffineValueConstraints::LB, r, 0); in getConstantBoundingSizeAndShape()
366 cstWithShapeBounds.addBound(FlatAffineValueConstraints::UB, r, dimSize - 1); in getConstantBoundingSizeAndShape()
523 cst.addBound(FlatAffineValueConstraints::EQ, symbol, constOp.value()); in compute()
588 cst.addBound(FlatAffineValueConstraints::LB, /*pos=*/r, /*value=*/0); in compute()
591 cst.addBound(FlatAffineValueConstraints::UB, /*pos=*/r, in compute()
692 ucst.addBound(FlatAffineValueConstraints::LB, r, dimSize); in boundCheckLoadOrStoreOp()
703 lcst.addBound(FlatAffineValueConstraints::UB, r, -1); in boundCheckLoadOrStoreOp()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/Analysis/
H A DAffineStructures.h177 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap,
188 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap);
195 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap,
199 void addBound(BoundType type, Value val, int64_t value);
203 using IntegerPolyhedron::addBound;
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DPWMAFunction.cpp329 levelSet.addBound(IntegerPolyhedron::BoundType::UB, subExpr, -1); in tiebreakLex()
335 levelSet.addBound(IntegerPolyhedron::BoundType::LB, subExpr, 1); in tiebreakLex()
H A DIntegerRelation.cpp1284 void IntegerRelation::addBound(BoundType type, unsigned pos, int64_t value) { in addBound() function in IntegerRelation
1298 void IntegerRelation::addBound(BoundType type, ArrayRef<int64_t> expr, in addBound() function in IntegerRelation
/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DIntegerRelation.h370 void addBound(BoundType type, unsigned pos, int64_t value);
373 void addBound(BoundType type, ArrayRef<int64_t> expr, int64_t value);
/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DIntegerPolyhedronTest.cpp578 poly.addBound(IntegerPolyhedron::UB, 0, 1); in TEST()
583 poly.addBound(IntegerPolyhedron::UB, {1, 2, 3}, 1); in TEST()
591 poly.addBound(IntegerPolyhedron::LB, 0, 1); in TEST()
596 poly.addBound(IntegerPolyhedron::LB, {1, 2, 3}, 1); in TEST()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/
H A DUtils.cpp271 if (failed(constraints.addBound(IntegerPolyhedron::EQ, in getUpperBoundForIndex()
280 if (failed(constraints.addBound(IntegerPolyhedron::UB, in getUpperBoundForIndex()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp1768 fac.addBound(IntegerPolyhedron::LB, d, 0); in normalizeMemRefType()
1769 fac.addBound(IntegerPolyhedron::UB, d, shape[d] - 1); in normalizeMemRefType()
H A DLoopUtils.cpp2362 regionCst->addBound(IntegerPolyhedron::LB, d, 0); in getFullMemRefAsRegion()
2363 regionCst->addBound(IntegerPolyhedron::UB, d, dimSize - 1); in getFullMemRefAsRegion()