Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h301 CompoundStmt *rewriteBody);
304 CompoundStmt *getRewriteBody() const { return rewriteBody; } in getRewriteBody()
307 RewriteStmt(SMRange loc, Expr *rootOp, CompoundStmt *rewriteBody) in RewriteStmt() argument
308 : Base(loc, rootOp), rewriteBody(rewriteBody) {} in RewriteStmt()
311 CompoundStmt *rewriteBody; variable
1092 const CompoundStmt *getBody() const { return rewriteBody; } in getBody()
1098 bool isExternal() const { return !rewriteBody && !codeBlock; } in isExternal()
1113 numResults(numResults), codeBlock(codeBlock), rewriteBody(body), in UserRewriteDecl()
1126 const CompoundStmt *rewriteBody; variable
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp235 CompoundStmt *rewriteBody) { in create() argument
237 RewriteStmt(loc, rootOp, rewriteBody); in create()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp452 ast::CompoundStmt *rewriteBody);
2427 FailureOr<ast::CompoundStmt *> rewriteBody = parseCompoundStmt(); in parseRewriteStmt() local
2428 if (failed(rewriteBody)) in parseRewriteStmt()
2432 for (const ast::Stmt *stmt : (*rewriteBody)->getChildren()) { in parseRewriteStmt()
2440 return createRewriteStmt(loc, *rootOp, *rewriteBody); in parseRewriteStmt()
3033 ast::CompoundStmt *rewriteBody) { in createRewriteStmt() argument
3042 return ast::RewriteStmt::create(ctx, loc, rootOp, rewriteBody); in createRewriteStmt()