Searched refs:EraseStmt (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | stmt.pdll | 4 // EraseStmt 7 // CHECK: pdl.pattern @EraseStmt 11 Pattern EraseStmt => erase op<>;
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | pattern.pdll | 6 // CHECK: `-EraseStmt 32 // CHECK: `-EraseStmt
|
| H A D | stmt.pdll | 10 // CHECK: `-EraseStmt 19 // EraseStmt 23 // CHECK: EraseStmt
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 55 const CompoundStmt, const EraseStmt, const LetStmt, in visit() 82 void visitImpl(const EraseStmt *stmt) { visit(stmt->getRootOpExpr()); } in visitImpl() 213 EraseStmt *EraseStmt::create(Context &ctx, SMRange loc, Expr *rootOp) { in create() 214 return new (ctx.getAllocator().Allocate<EraseStmt>()) EraseStmt(loc, rootOp); in create()
|
| H A D | NodePrinter.cpp | 76 void printImpl(const EraseStmt *stmt); 167 const CompoundStmt, const EraseStmt, const LetStmt, const ReplaceStmt, in print() 193 void NodePrinter::printImpl(const EraseStmt *stmt) { in printImpl()
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 253 class EraseStmt final : public Node::NodeBase<EraseStmt, OpRewriteStmt> { 255 static EraseStmt *create(Context &ctx, SMRange loc, Expr *rootOp); 258 EraseStmt(SMRange loc, Expr *rootOp) : Base(loc, rootOp) {} in EraseStmt() function 1291 return isa<EraseStmt, ReplaceStmt, RewriteStmt>(node); in classof()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 62 void genImpl(const ast::EraseStmt *stmt); 179 .Case<const ast::CompoundStmt, const ast::EraseStmt, const ast::LetStmt, in gen() 210 void CodeGen::genImpl(const ast::EraseStmt *stmt) { in genImpl()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 333 FailureOr<ast::EraseStmt *> parseEraseStmt(); 446 FailureOr<ast::EraseStmt *> createEraseStmt(SMRange loc, ast::Expr *rootOp); 2266 FailureOr<ast::EraseStmt *> Parser::parseEraseStmt() { in parseEraseStmt() 2986 FailureOr<ast::EraseStmt *> Parser::createEraseStmt(SMRange loc, in createEraseStmt() 2993 return ast::EraseStmt::create(ctx, loc, rootOp); in createEraseStmt()
|