Home
last modified time | relevance | path

Searched refs:OpRewriteStmt (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h230 class OpRewriteStmt : public Stmt {
239 OpRewriteStmt(TypeID typeID, SMRange loc, Expr *rootOp) in OpRewriteStmt() function
253 class EraseStmt final : public Node::NodeBase<EraseStmt, OpRewriteStmt> {
267 class ReplaceStmt final : public Node::NodeBase<ReplaceStmt, OpRewriteStmt>,
298 class RewriteStmt final : public Node::NodeBase<RewriteStmt, OpRewriteStmt> {
1007 const OpRewriteStmt *getRootRewriteStmt() const { in getRootRewriteStmt()
1008 return cast<OpRewriteStmt>(patternBody->getChildren().back()); in getRootRewriteStmt()
1290 inline bool OpRewriteStmt::classof(const Node *node) { in classof()
1295 return isa<CompoundStmt, LetStmt, OpRewriteStmt, Expr>(node); in classof()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp1219 if (isa<ast::OpRewriteStmt>(statement)) in parseUserPDLLRewriteDecl()
1425 if (isa<ast::OpRewriteStmt>(statement)) in parsePatternLambdaBody()
1478 if (isa<ast::OpRewriteStmt>(*bodyIt)) in parsePatternDecl()