MLIR  20.0.0git
Static Public Member Functions | List of all members
mlir::pdll::ast::EraseStmt Class Referencefinal

This statement represents the erase statement in PDLL. More...

#include "mlir/Tools/PDLL/AST/Nodes.h"

+ Inheritance diagram for mlir::pdll::ast::EraseStmt:

Static Public Member Functions

static EraseStmtcreate (Context &ctx, SMRange loc, Expr *rootOp)
 
- Static Public Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT >
static bool classof (const Node *node)
 Provide type casting support. More...
 

Additional Inherited Members

- Public Types inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT >
using Base = NodeBase< T, BaseT >
 
- Protected Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT >
template<typename... Args>
 NodeBase (SMRange loc, Args &&...args)
 

Detailed Description

This statement represents the erase statement in PDLL.

This statement erases the given root operation, corresponding roughly to the PatternRewriter::eraseOp API.

Definition at line 254 of file Nodes.h.

Member Function Documentation

◆ create()

EraseStmt * EraseStmt::create ( Context ctx,
SMRange  loc,
Expr rootOp 
)
static

Definition at line 218 of file Nodes.cpp.

References mlir::pdll::ast::Context::getAllocator().


The documentation for this class was generated from the following files: