|
CIRCT 24.0.0git
|
FIRRTLVisitor allows you to visit all of the expr/stmt/decls with one class declaration. More...
#include <FIRRTLVisitors.h>


Public Member Functions | |
| ResultType | dispatchVisitor (Operation *op, ExtraArgs... args) |
| This is the main entrypoint for the FIRRTLVisitor. | |
| ResultType | visitInvalidExpr (Operation *op, ExtraArgs... args) |
| ResultType | visitInvalidStmt (Operation *op, ExtraArgs... args) |
| ResultType | visitInvalidDecl (Operation *op, ExtraArgs... args) |
| ResultType | visitInvalidStmtExpr (Operation *op, ExtraArgs... args) |
| ResultType | visitUnhandledExpr (Operation *op, ExtraArgs... args) |
| ResultType | visitUnhandledStmt (Operation *op, ExtraArgs... args) |
| ResultType | visitUnhandledDecl (Operation *op, ExtraArgs... args) |
| ResultType | visitUnhandledStmtExpr (Operation *op, ExtraArgs... args) |
| ResultType | visitInvalidOp (Operation *op, ExtraArgs... args) |
| visitInvalidOp is an override point for non-FIRRTL dialect operations. | |
| ResultType | visitUnhandledOp (Operation *op, ExtraArgs... args) |
| visitUnhandledOp is an override point for FIRRTL dialect ops that the concrete visitor didn't bother to implement. | |
| Public Member Functions inherited from circt::firrtl::ExprVisitor< ConcreteType, void, ExtraArgs... > | |
| void | dispatchExprVisitor (Operation *op, ExtraArgs... args) |
| void | visitInvalidExpr (Operation *op, ExtraArgs... args) |
| This callback is invoked on any non-expression operations. | |
| void | visitUnhandledExpr (Operation *op, ExtraArgs... args) |
| This callback is invoked on any expression operations that are not handled by the concrete visitor. | |
| void | visitUnaryExpr (Operation *op, ExtraArgs... args) |
| This fallback is invoked on any unary expr that isn't explicitly handled. | |
| void | visitBinaryExpr (Operation *op, ExtraArgs... args) |
| This fallback is invoked on any binary expr that isn't explicitly handled. | |
| HANDLE (ConstantOp, Unhandled) | |
| Public Member Functions inherited from circt::firrtl::StmtVisitor< ConcreteType, void, ExtraArgs... > | |
| void | dispatchStmtVisitor (Operation *op, ExtraArgs... args) |
| void | visitInvalidStmt (Operation *op, ExtraArgs... args) |
| This callback is invoked on any non-Stmt operations. | |
| void | visitUnhandledStmt (Operation *op, ExtraArgs... args) |
| This callback is invoked on any Stmt operations that are not handled by the concrete visitor. | |
| HANDLE (AttachOp) | |
| Public Member Functions inherited from circt::firrtl::DeclVisitor< ConcreteType, void, ExtraArgs... > | |
| void | dispatchDeclVisitor (Operation *op, ExtraArgs... args) |
| void | visitInvalidDecl (Operation *op, ExtraArgs... args) |
| This callback is invoked on any non-Decl operations. | |
| void | visitUnhandledDecl (Operation *op, ExtraArgs... args) |
| This callback is invoked on any Decl operations that are not handled by the concrete visitor. | |
| HANDLE (InstanceOp) | |
| Public Member Functions inherited from circt::firrtl::StmtExprVisitor< ConcreteType, void, ExtraArgs... > | |
| void | dispatchStmtExprVisitor (Operation *op, ExtraArgs... args) |
| void | visitInvalidStmtExpr (Operation *op, ExtraArgs... args) |
| This callback is invoked on any non-StmtExpr operations. | |
| void | visitUnhandledStmtExpr (Operation *op, ExtraArgs... args) |
| This callback is invoked on any StmtExpr operations that are not handled by the concrete visitor. | |
| HANDLE (DPICallIntrinsicOp, Unhandled) | |
FIRRTLVisitor allows you to visit all of the expr/stmt/decls with one class declaration.
Clients call dispatchVisitor to invoke the dispatch, and may implement visitInvalidOp() to get notified about non-FIRRTL dialect nodes and visitUnhandledOp() to get notified about FIRRTL dialect ops that are not handled specifically.
Definition at line 436 of file FIRRTLVisitors.h.
|
inline |
This is the main entrypoint for the FIRRTLVisitor.
Definition at line 443 of file FIRRTLVisitors.h.
References circt::firrtl::ExprVisitor< ConcreteType, void, ExtraArgs... >::dispatchExprVisitor().
|
inline |
Definition at line 454 of file FIRRTLVisitors.h.
References circt::firrtl::StmtExprVisitor< ConcreteType, void, ExtraArgs... >::dispatchStmtExprVisitor().
|
inline |
Definition at line 448 of file FIRRTLVisitors.h.
References circt::firrtl::StmtVisitor< ConcreteType, void, ExtraArgs... >::dispatchStmtVisitor().
|
inline |
visitInvalidOp is an override point for non-FIRRTL dialect operations.
Definition at line 476 of file FIRRTLVisitors.h.
Referenced by visitInvalidStmtExpr().
|
inline |
Definition at line 451 of file FIRRTLVisitors.h.
References circt::firrtl::DeclVisitor< ConcreteType, void, ExtraArgs... >::dispatchDeclVisitor().
|
inline |
Definition at line 457 of file FIRRTLVisitors.h.
References visitInvalidOp().
|
inline |
Definition at line 468 of file FIRRTLVisitors.h.
References visitUnhandledOp().
|
inline |
Definition at line 462 of file FIRRTLVisitors.h.
References visitUnhandledOp().
|
inline |
visitUnhandledOp is an override point for FIRRTL dialect ops that the concrete visitor didn't bother to implement.
Definition at line 482 of file FIRRTLVisitors.h.
Referenced by visitUnhandledDecl(), visitUnhandledExpr(), visitUnhandledStmt(), and visitUnhandledStmtExpr().
|
inline |
Definition at line 465 of file FIRRTLVisitors.h.
References visitUnhandledOp().
|
inline |
Definition at line 471 of file FIRRTLVisitors.h.
References visitUnhandledOp().