CIRCT  20.0.0git
Classes | Namespaces | Macros
FIRRTLVisitors.h File Reference
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "mlir/IR/BuiltinOps.h"
#include "llvm/ADT/TypeSwitch.h"
Include dependency graph for FIRRTLVisitors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::firrtl::ExprVisitor< ConcreteType, ResultType, ExtraArgs >
 ExprVisitor is a visitor for FIRRTL expression nodes. More...
 
class  circt::firrtl::StmtVisitor< ConcreteType, ResultType, ExtraArgs >
 ExprVisitor is a visitor for FIRRTL statement nodes. More...
 
class  circt::firrtl::DeclVisitor< ConcreteType, ResultType, ExtraArgs >
 ExprVisitor is a visitor for FIRRTL declaration nodes. More...
 
class  circt::firrtl::StmtExprVisitor< ConcreteType, ResultType, ExtraArgs >
 StmtExprVisitor is a visitor for FIRRTL operation that has an optional result. More...
 
class  circt::firrtl::FIRRTLVisitor< ConcreteType, ResultType, ExtraArgs >
 FIRRTLVisitor allows you to visit all of the expr/stmt/decls with one class declaration. More...
 

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::firrtl
 

Macros

#define HANDLE(OPTYPE, OPKIND)
 
#define HANDLE(OPTYPE)
 
#define HANDLE(OPTYPE)
 
#define HANDLE(OPTYPE, OPKIND)
 

Macro Definition Documentation

◆ HANDLE [1/4]

#define HANDLE (   OPTYPE)
Value:
ResultType visitStmt(OPTYPE op, ExtraArgs... args) { \
return static_cast<ConcreteType *>(this)->visitUnhandledStmt(op, args...); \
}

Definition at line 376 of file FIRRTLVisitors.h.

◆ HANDLE [2/4]

#define HANDLE (   OPTYPE)
Value:
ResultType visitDecl(OPTYPE op, ExtraArgs... args) { \
return static_cast<ConcreteType *>(this)->visitUnhandledDecl(op, args...); \
}

Definition at line 376 of file FIRRTLVisitors.h.

◆ HANDLE [3/4]

#define HANDLE (   OPTYPE,
  OPKIND 
)
Value:
ResultType visitExpr(OPTYPE op, ExtraArgs... args) { \
return static_cast<ConcreteType *>(this)->visit##OPKIND##Expr(op, \
args...); \
}

Definition at line 376 of file FIRRTLVisitors.h.

◆ HANDLE [4/4]

#define HANDLE (   OPTYPE,
  OPKIND 
)
Value:
ResultType visitStmtExpr(OPTYPE op, ExtraArgs... args) { \
return static_cast<ConcreteType *>(this)->visit##OPKIND##StmtExpr( \
op, args...); \
}

Definition at line 376 of file FIRRTLVisitors.h.