Lines Matching defs:rootOp
449 FailureOr<ast::EraseStmt *> createEraseStmt(SMRange loc, ast::Expr *rootOp);
451 createReplaceStmt(SMRange loc, ast::Expr *rootOp,
454 createRewriteStmt(SMRange loc, ast::Expr *rootOp,
2311 FailureOr<ast::Expr *> rootOp = parseExpr();
2312 if (failed(rootOp))
2315 return createEraseStmt(loc, *rootOp);
2385 FailureOr<ast::Expr *> rootOp = parseExpr();
2386 if (failed(rootOp))
2428 return createReplaceStmt(loc, *rootOp, replValues);
2450 FailureOr<ast::Expr *> rootOp = parseExpr();
2451 if (failed(rootOp))
2476 return createRewriteStmt(loc, *rootOp, *rewriteBody);
3062 ast::Expr *rootOp) {
3064 ast::Type rootType = rootOp->getType();
3066 return emitError(rootOp->getLoc(), "expected `Op` expression");
3068 return ast::EraseStmt::create(ctx, loc, rootOp);
3072 Parser::createReplaceStmt(SMRange loc, ast::Expr *rootOp,
3075 ast::Type rootType = rootOp->getType();
3078 rootOp->getLoc(),
3103 return ast::ReplaceStmt::create(ctx, loc, rootOp, replValues);
3107 Parser::createRewriteStmt(SMRange loc, ast::Expr *rootOp,
3110 ast::Type rootType = rootOp->getType();
3113 rootOp->getLoc(),
3117 return ast::RewriteStmt::create(ctx, loc, rootOp, rewriteBody);