ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Visitor.h File Reference
#include "mir/Operations.inc"

Go to the source code of this file.

Data Structures

class  mir::IVisitor
 Interface for visitors Use in MIR component if you want to enforce to implement visits for all operations. More...
 
class  mir::Visitor
 Base visitor with empty fallback function. More...
 

Namespaces

namespace  mir
 
namespace  mir::ops
 

Macros

#define HANDLE_OP(OpType, OpClass)   class OpClass;
 
#define HANDLE_OP(OpType, OpClass)   virtual void visit(ops::OpClass &) = 0;
 
#define HANDLE_OP(OpType, OpClass)   void visit(ops::OpClass &) override;
 

Macro Definition Documentation

◆ HANDLE_OP [1/3]

#define HANDLE_OP (   OpType,
  OpClass 
)    class OpClass;

Definition at line 26 of file Visitor.h.

◆ HANDLE_OP [2/3]

#define HANDLE_OP (   OpType,
  OpClass 
)    virtual void visit(ops::OpClass &) = 0;

Definition at line 26 of file Visitor.h.

◆ HANDLE_OP [3/3]

#define HANDLE_OP (   OpType,
  OpClass 
)    void visit(ops::OpClass &) override;

Definition at line 26 of file Visitor.h.