Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMExpr.cpp159 void visitDiff(SDBMDiffExpr expr) { in print()
217 SDBMExpr visitDiff(SDBMDiffExpr expr) { in visitDiff()
220 return SDBMDiffExpr::get(expr.getRHS(), term); in visitDiff()
224 return SDBMDiffExpr::get(SDBMSumExpr::get(expr.getRHS(), cst), in visitDiff()
273 AffineExpr visitDiff(SDBMDiffExpr expr) { in getAsAffineExpr()
333 if (auto lhsDiff = lhs.dyn_cast<SDBMDiffExpr>()) in addConstant()
337 return SDBMDiffExpr::get(e, lhsDiff.getRHS()); in addConstant()
360 return SDBMDiffExpr::get( in buildDiffExpr()
385 auto lhsDiff = lhs.dyn_cast<SDBMDiffExpr>(); in foldSumDiff()
386 auto rhsDiff = rhs.dyn_cast<SDBMDiffExpr>(); in foldSumDiff()
[all …]
DSDBM.cpp105 SDBMBuilderResult visitDiff(SDBMDiffExpr diffExpr) { in visitDiff()
248 auto diffExpr = eq.dyn_cast<SDBMDiffExpr>(); in get()
/external/llvm-project/mlir/unittests/SDBM/
DSDBMTest.cpp65 auto diffExpr = expr.dyn_cast<SDBMDiffExpr>(); in TEST()
112 auto diffExpr = expr.dyn_cast<SDBMDiffExpr>(); in TEST()
136 auto diffOfSums = ((dim(0) - 3) - (dim(1) - 5)).dyn_cast<SDBMDiffExpr>(); in TEST()
356 auto expr = SDBMDiffExpr::get(var, stripe); in TEST()
359 auto expr2 = SDBMDiffExpr::get(stripe, var); in TEST()
364 EXPECT_EQ(expr, SDBMDiffExpr::get(var, stripe)); in TEST()
368 EXPECT_TRUE(generic.isa<SDBMDiffExpr>()); in TEST()
377 auto expr = SDBMDiffExpr::get(var, stripe); in TEST()
405 auto diff = SDBMDiffExpr::get(sum, stripe); in TEST()
414 diff = SDBMDiffExpr::get(nestedStripe, stripe); in TEST()
/external/llvm-project/mlir/include/mlir/Dialect/SDBM/
DSDBMExpr.h255 class SDBMDiffExpr : public SDBMVaryingExpr {
261 static SDBMDiffExpr get(SDBMDirectExpr lhs, SDBMTermExpr rhs);
388 void visitDiff(SDBMDiffExpr) {} in visitDiff() argument
436 else if (auto diff = expr.dyn_cast<SDBMDiffExpr>()) in visitVarying()
448 } else if (auto diffExpr = expr.dyn_cast<SDBMDiffExpr>()) { in walk()