Searched refs:SDBMNegExpr (Results 1 – 4 of 4) sorted by relevance
177 void visitNeg(SDBMNegExpr expr) { in print()204 SDBMExpr visitDirect(SDBMDirectExpr expr) { return SDBMNegExpr::get(expr); } in visitDirect()207 SDBMExpr visitNeg(SDBMNegExpr expr) { return expr.getVar(); } in visitNeg()286 AffineExpr visitNeg(SDBMNegExpr expr) { in getAsAffineExpr()339 if (auto lhsNeg = lhs.dyn_cast<SDBMNegExpr>()) in addConstant()342 [](SDBMDirectExpr e) { return SDBMNegExpr::get(e); }); in addConstant()354 static SDBMExpr buildDiffExpr(SDBMDirectExpr lhs, SDBMNegExpr rhs) { in buildDiffExpr()374 auto lhsNeg = lhs.dyn_cast<SDBMNegExpr>(); in foldSumDiff()375 auto rhsNeg = rhs.dyn_cast<SDBMNegExpr>(); in foldSumDiff()395 return SDBMNegExpr::get( in foldSumDiff()[all …]
152 SDBMBuilderResult visitNeg(SDBMNegExpr expr) { in visitNeg()
64 expr = dim(0) + SDBMNegExpr::get(SDBMDimExpr::get(dialect(), 1)); in TEST()70 auto inverted = SDBMNegExpr::get(SDBMDimExpr::get(dialect(), 1)) + dim(0); in TEST()81 auto negatedSum = (expr + 10).dyn_cast<SDBMNegExpr>(); in TEST()167 auto negated = (-sum).dyn_cast<SDBMNegExpr>(); in TEST()313 auto expr = SDBMNegExpr::get(var); in TEST()315 auto expr2 = SDBMNegExpr::get(stripe); in TEST()319 EXPECT_EQ(expr, SDBMNegExpr::get(var)); in TEST()323 EXPECT_TRUE(generic.isa<SDBMNegExpr>()); in TEST()
340 class SDBMNegExpr : public SDBMVaryingExpr {346 static SDBMNegExpr get(SDBMDirectExpr var);392 void visitNeg(SDBMNegExpr) {} in visitNeg() argument434 else if (auto neg = expr.dyn_cast<SDBMNegExpr>()) in visitVarying()454 } else if (auto negExpr = expr.dyn_cast<SDBMNegExpr>()) { in walk()