CIRCT  19.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::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)
 

Macro Definition Documentation

◆ HANDLE [1/3]

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

Definition at line 317 of file FIRRTLVisitors.h.

◆ HANDLE [2/3]

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

Definition at line 317 of file FIRRTLVisitors.h.

◆ HANDLE [3/3]

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

Definition at line 317 of file FIRRTLVisitors.h.