Home
last modified time | relevance | path

Searched refs:SDBMExprKind (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/include/mlir/Dialect/SDBM/
DSDBMExpr.h26 enum class SDBMExprKind { Add, Stripe, Diff, Constant, DimId, SymbolId, Neg }; enum
131 SDBMExprKind getKind() const;
166 return expr.getKind() == SDBMExprKind::Constant; in isClassFor()
184 return expr.getKind() == SDBMExprKind::DimId || in isClassFor()
185 expr.getKind() == SDBMExprKind::SymbolId || in isClassFor()
186 expr.getKind() == SDBMExprKind::Neg || in isClassFor()
187 expr.getKind() == SDBMExprKind::Stripe || in isClassFor()
188 expr.getKind() == SDBMExprKind::Add || in isClassFor()
189 expr.getKind() == SDBMExprKind::Diff; in isClassFor()
209 return expr.getKind() == SDBMExprKind::DimId || in isClassFor()
[all …]
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMExprDetail.h28 SDBMExprKind getKind() { return kind; } in getKind()
31 SDBMExprKind kind;
39 return static_cast<SDBMExprKind>(std::get<0>(key)) == kind &&
49 result->kind = static_cast<SDBMExprKind>(std::get<0>(key)); in construct()
71 result->kind = SDBMExprKind::Diff; in construct()
89 result->kind = SDBMExprKind::Constant; in construct()
101 return kind == static_cast<SDBMExprKind>(key.first) &&
108 result->kind = static_cast<SDBMExprKind>(key.first); in construct()
127 result->kind = SDBMExprKind::Neg; in construct()
DSDBMExpr.cpp142 SDBMExprKind SDBMExpr::getKind() const { return impl->getKind(); } in getKind()
249 /*initFn=*/{}, static_cast<unsigned>(SDBMExprKind::Add), lhs, rhs); in get()
575 /*initFn=*/{}, static_cast<unsigned>(SDBMExprKind::Stripe), var, in get()
610 assignDialect, static_cast<unsigned>(SDBMExprKind::DimId), position); in get()
626 assignDialect, static_cast<unsigned>(SDBMExprKind::SymbolId), position); in get()