|
MLIR
22.0.0git
|
This statement represents the replace statement in PDLL.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
Inheritance diagram for mlir::pdll::ast::ReplaceStmt:Public Member Functions | |
| MutableArrayRef< Expr * > | getReplExprs () |
| Return the replacement values of this statement. More... | |
| ArrayRef< Expr * > | getReplExprs () const |
Static Public Member Functions | |
| static ReplaceStmt * | create (Context &ctx, SMRange loc, Expr *rootOp, ArrayRef< Expr * > replExprs) |
Static Public Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
| static bool | classof (const Node *node) |
| Provide type casting support. More... | |
Friends | |
| class | llvm::TrailingObjects< ReplaceStmt, Expr * > |
| TrailingObject utilities. 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) | |
This statement represents the replace statement in PDLL.
This statement replace the given root operation with a set of values, corresponding roughly to the PatternRewriter::replaceOp API.
|
static |
Definition at line 226 of file Nodes.cpp.
References mlir::pdll::ast::Context::getAllocator(), and getReplExprs().
|
inline |
|
friend |