Home
last modified time | relevance | path

Searched refs:SDBMDimExpr (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/unittests/SDBM/
DSDBMTest.cpp35 static SDBMExpr dim(unsigned pos) { return SDBMDimExpr::get(dialect(), pos); } in dim()
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()
99 auto x = SDBMDimExpr::get(dialect(), 0); in TEST()
100 auto y = SDBMDimExpr::get(dialect(), 1); in TEST()
230 auto expr = SDBMDimExpr::get(dialect(), 0); in TEST()
235 auto expr2 = SDBMDimExpr::get(dialect(), 0); in TEST()
240 EXPECT_TRUE(generic.isa<SDBMDimExpr>()); in TEST()
270 auto symbol = SDBMDimExpr::get(dialect(), 0); in TEST()
272 EXPECT_FALSE(expr.isa<SDBMDimExpr>()); in TEST()
/external/llvm-project/mlir/include/mlir/Dialect/SDBM/
DSDBMExpr.h39 class SDBMDimExpr; variable
308 class SDBMDimExpr : public SDBMInputExpr {
315 static SDBMDimExpr get(SDBMDialect *dialect, unsigned position);
390 void visitDim(SDBMDimExpr) {} in visitDim() argument
422 return derived->visitDim(expr.cast<SDBMDimExpr>()); in visitInput()
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMExpr.cpp164 void visitDim(SDBMDimExpr expr) { prn << 'd' << expr.getPosition(); } in print()
278 AffineExpr visitDim(SDBMDimExpr expr) { in getAsAffineExpr()
511 return SDBMDimExpr::get(dialect, expr.getPosition()); in tryConvertAffineExpr()
601 SDBMDimExpr SDBMDimExpr::get(SDBMDialect *dialect, unsigned position) { in get()
DSDBM.cpp32 void visitDim(SDBMDimExpr dimExpr) { in collectSDBMBuildInfo()
219 if (expr.isa<SDBMDimExpr>()) in get()
431 return SDBMDimExpr::get(dialect, matrixPos); in getSDBMExpressions()
/external/llvm-project/mlir/test/SDBM/
Dsdbm-api-test.cpp39 static SDBMExpr dim(unsigned pos) { return SDBMDimExpr::get(dialect(), pos); } in dim()