MLIR
20.0.0git
|
This statement represents a return from a "callable" like decl, e.g. More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
Public Member Functions | |
Expr * | getResultExpr () |
Return the result expression of this statement. More... | |
const Expr * | getResultExpr () const |
void | setResultExpr (Expr *expr) |
Set the result expression of this statement. More... | |
Static Public Member Functions | |
static ReturnStmt * | create (Context &ctx, SMRange loc, Expr *resultExpr) |
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) | |
This statement represents a return from a "callable" like decl, e.g.
a Constraint or a Rewrite.
|
static |
Definition at line 249 of file Nodes.cpp.
References mlir::pdll::ast::Context::getAllocator().
|
inline |
|
inline |
|
inline |