Searched refs:SDBMSumExpr (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/SDBM/ |
D | SDBMExpr.cpp | 154 void visitSum(SDBMSumExpr expr) { in print() 178 bool isSum = expr.getVar().isa<SDBMSumExpr>(); in print() 222 auto sum = expr.getLHS().cast<SDBMSumExpr>(); in visitDiff() 224 return SDBMDiffExpr::get(SDBMSumExpr::get(expr.getRHS(), cst), in visitDiff() 236 SDBMSumExpr SDBMSumExpr::get(SDBMTermExpr lhs, SDBMConstantExpr rhs) { in get() 241 if (auto lhsSum = lhs.dyn_cast<SDBMSumExpr>()) { in get() 252 SDBMTermExpr SDBMSumExpr::getLHS() const { in getLHS() 256 SDBMConstantExpr SDBMSumExpr::getRHS() const { in getRHS() 262 AffineExpr visitSum(SDBMSumExpr expr) { in getAsAffineExpr() 308 if (auto sumExpr = expr.dyn_cast<SDBMSumExpr>()) { in addConstantAndSink() [all …]
|
D | SDBM.cpp | 162 SDBMBuilderResult visitSum(SDBMSumExpr expr) { in visitSum()
|
/external/llvm-project/mlir/unittests/SDBM/ |
D | SDBMTest.cpp | 47 auto sumExpr = expr.dyn_cast<SDBMSumExpr>(); in TEST() 60 auto sumExpr = expr.dyn_cast<SDBMSumExpr>(); in TEST() 83 auto sum = negatedSum.getVar().dyn_cast<SDBMSumExpr>(); in TEST() 125 auto sumExpr = expr.dyn_cast<SDBMSumExpr>(); in TEST() 138 auto lhs = diffOfSums.getLHS().dyn_cast<SDBMSumExpr>(); in TEST() 297 SDBMStripeExpr::get(SDBMSumExpr::get(var, cst2), cst2); in TEST() 333 auto expr = SDBMSumExpr::get(var, cst2); in TEST() 336 auto expr2 = SDBMSumExpr::get(stripe, cst2); in TEST() 341 EXPECT_EQ(expr, SDBMSumExpr::get(var, cst2)); in TEST() 345 EXPECT_TRUE(generic.isa<SDBMSumExpr>()); in TEST() [all …]
|
/external/llvm-project/mlir/include/mlir/Dialect/SDBM/ |
D | SDBMExpr.h | 233 class SDBMSumExpr : public SDBMDirectExpr { 239 static SDBMSumExpr get(SDBMTermExpr lhs, SDBMConstantExpr rhs); 387 void visitSum(SDBMSumExpr) {} in visitSum() argument 400 if (auto sum = expr.dyn_cast<SDBMSumExpr>()) in visitDirect() 445 if (auto sumExpr = expr.dyn_cast<SDBMSumExpr>()) { in walk()
|