MLIR
20.0.0git
|
This statement represents the replace
statement in PDLL.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
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 225 of file Nodes.cpp.
References mlir::pdll::ast::Context::getAllocator(), and getReplExprs().
|
inline |
Return the replacement values of this statement.
Definition at line 275 of file Nodes.h.
Referenced by create(), and getReplExprs().
Definition at line 278 of file Nodes.h.
References getReplExprs().
|
friend |