Home
last modified time | relevance | path

Searched refs:SDBMStripeExpr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/unittests/SDBM/
DSDBMTest.cpp174 auto stripeExpr = expr.dyn_cast<SDBMStripeExpr>(); in TEST()
281 auto expr = SDBMStripeExpr::get(var, cst2); in TEST()
287 auto expr2 = SDBMStripeExpr::get(SDBMSymbolExpr::get(dialect(), 0), cst2); in TEST()
291 SDBMStripeExpr::get(expr, SDBMConstantExpr::get(dialect(), 4)); in TEST()
294 EXPECT_DEATH(SDBMStripeExpr::get(var, cst0), "non-positive"); in TEST()
297 SDBMStripeExpr::get(SDBMSumExpr::get(var, cst2), cst2); in TEST()
301 EXPECT_TRUE(generic.isa<SDBMStripeExpr>()); in TEST()
310 auto stripe = SDBMStripeExpr::get(var, cst2); in TEST()
330 auto stripe = SDBMStripeExpr::get(var, cst2); in TEST()
353 auto stripe = SDBMStripeExpr::get(var, cst2); in TEST()
[all …]
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBM.cpp42 void visitStripe(SDBMStripeExpr stripeExpr) { stripes.insert(stripeExpr); } in collectSDBMBuildInfo()
133 SDBMBuilderResult visitStripe(SDBMStripeExpr expr) { in visitStripe()
321 auto stripe = pair.second.cast<SDBMStripeExpr>(); in get()
380 auto stripe = stripeToPoint[x0].cast<SDBMStripeExpr>(); in convertDBMElement()
386 auto stripe = stripeToPoint[x1].cast<SDBMStripeExpr>(); in convertDBMElement()
488 convertDBMElement(i, 1 + j, stripeToPoint[i].cast<SDBMStripeExpr>(), in getSDBMExpressions()
494 convertDBMElement(i, j, stripeToPoint[i].cast<SDBMStripeExpr>(), in getSDBMExpressions()
495 stripeToPoint[j].cast<SDBMStripeExpr>(), inequalities, in getSDBMExpressions()
500 convertDBMDiagonalElement(i, stripeToPoint[i].cast<SDBMStripeExpr>(), in getSDBMExpressions()
DSDBMExpr.cpp166 void visitStripe(SDBMStripeExpr expr) { in print()
267 AffineExpr visitStripe(SDBMStripeExpr expr) { in getAsAffineExpr()
455 return SDBMStripeExpr::get( in tryConvertAffineExpr()
499 SDBMStripeExpr::get(lhsVar, rhsConstant)); in tryConvertAffineExpr()
566 SDBMStripeExpr SDBMStripeExpr::get(SDBMDirectExpr var, in get()
579 SDBMDirectExpr SDBMStripeExpr::getLHS() const { in getLHS()
585 SDBMConstantExpr SDBMStripeExpr::getStripeFactor() const { in getStripeFactor()
731 return SDBMStripeExpr::get(expr.cast<SDBMDirectExpr>(), constantFactor); in stripe()
/external/llvm-project/mlir/include/mlir/Dialect/SDBM/
DSDBMExpr.h274 class SDBMStripeExpr : public SDBMTermExpr {
283 static SDBMStripeExpr get(SDBMDirectExpr var, SDBMConstantExpr stripeFactor);
389 void visitStripe(SDBMStripeExpr) {} in visitStripe() argument
411 return derived->visitStripe(expr.cast<SDBMStripeExpr>()); in visitTerm()
451 } else if (auto stripeExpr = expr.dyn_cast<SDBMStripeExpr>()) { in walk()