Lines Matching refs:rootOp

446   FailureOr<ast::EraseStmt *> createEraseStmt(SMRange loc, ast::Expr *rootOp);
448 createReplaceStmt(SMRange loc, ast::Expr *rootOp,
451 createRewriteStmt(SMRange loc, ast::Expr *rootOp,
2273 FailureOr<ast::Expr *> rootOp = parseExpr(); in parseEraseStmt() local
2274 if (failed(rootOp)) in parseEraseStmt()
2277 return createEraseStmt(loc, *rootOp); in parseEraseStmt()
2347 FailureOr<ast::Expr *> rootOp = parseExpr(); in parseReplaceStmt() local
2348 if (failed(rootOp)) in parseReplaceStmt()
2391 return createReplaceStmt(loc, *rootOp, replValues); in parseReplaceStmt()
2413 FailureOr<ast::Expr *> rootOp = parseExpr(); in parseRewriteStmt() local
2414 if (failed(rootOp)) in parseRewriteStmt()
2440 return createRewriteStmt(loc, *rootOp, *rewriteBody); in parseRewriteStmt()
2987 ast::Expr *rootOp) { in createEraseStmt() argument
2989 ast::Type rootType = rootOp->getType(); in createEraseStmt()
2991 return emitError(rootOp->getLoc(), "expected `Op` expression"); in createEraseStmt()
2993 return ast::EraseStmt::create(ctx, loc, rootOp); in createEraseStmt()
2997 Parser::createReplaceStmt(SMRange loc, ast::Expr *rootOp, in createReplaceStmt() argument
3000 ast::Type rootType = rootOp->getType(); in createReplaceStmt()
3003 rootOp->getLoc(), in createReplaceStmt()
3028 return ast::ReplaceStmt::create(ctx, loc, rootOp, replValues); in createReplaceStmt()
3032 Parser::createRewriteStmt(SMRange loc, ast::Expr *rootOp, in createRewriteStmt() argument
3035 ast::Type rootType = rootOp->getType(); in createRewriteStmt()
3038 rootOp->getLoc(), in createRewriteStmt()
3042 return ast::RewriteStmt::create(ctx, loc, rootOp, rewriteBody); in createRewriteStmt()