CIRCT  20.0.0git
Public Member Functions | List of all members
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs > Class Template Reference

This helps visit TypeOp nodes. More...

#include <HWVisitors.h>

Public Member Functions

ResultType dispatchTypeOpVisitor (Operation *op, ExtraArgs... args)
 
ResultType visitInvalidTypeOp (Operation *op, ExtraArgs... args)
 This callback is invoked on any non-expression operations. More...
 
ResultType visitUnhandledTypeOp (Operation *op, ExtraArgs... args)
 This callback is invoked on any combinational operations that are not handled by the concrete visitor. More...
 
 HANDLE (ConstantOp, Unhandled)
 
 HANDLE (AggregateConstantOp, Unhandled)
 
 HANDLE (BitcastOp, Unhandled)
 
 HANDLE (ParamValueOp, Unhandled)
 
 HANDLE (StructCreateOp, Unhandled)
 
 HANDLE (StructExtractOp, Unhandled)
 
 HANDLE (StructInjectOp, Unhandled)
 
 HANDLE (UnionCreateOp, Unhandled)
 
 HANDLE (UnionExtractOp, Unhandled)
 
 HANDLE (ArraySliceOp, Unhandled)
 
 HANDLE (ArrayGetOp, Unhandled)
 
 HANDLE (ArrayCreateOp, Unhandled)
 
 HANDLE (ArrayConcatOp, Unhandled)
 
 HANDLE (EnumCmpOp, Unhandled)
 
 HANDLE (EnumConstantOp, Unhandled)
 

Detailed Description

template<typename ConcreteType, typename ResultType = void, typename... ExtraArgs>
class circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >

This helps visit TypeOp nodes.

Definition at line 25 of file HWVisitors.h.

Member Function Documentation

◆ dispatchTypeOpVisitor()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::dispatchTypeOpVisitor ( Operation *  op,
ExtraArgs...  args 
)
inline

Definition at line 27 of file HWVisitors.h.

Referenced by circt::hw::isCombinational().

◆ HANDLE() [1/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( AggregateConstantOp  ,
Unhandled   
)

◆ HANDLE() [2/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ArrayConcatOp  ,
Unhandled   
)

◆ HANDLE() [3/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ArrayCreateOp  ,
Unhandled   
)

◆ HANDLE() [4/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ArrayGetOp  ,
Unhandled   
)

◆ HANDLE() [5/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ArraySliceOp  ,
Unhandled   
)

◆ HANDLE() [6/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( BitcastOp  ,
Unhandled   
)

◆ HANDLE() [7/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ConstantOp  ,
Unhandled   
)

◆ HANDLE() [8/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( EnumCmpOp  ,
Unhandled   
)

◆ HANDLE() [9/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( EnumConstantOp  ,
Unhandled   
)

◆ HANDLE() [10/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( ParamValueOp  ,
Unhandled   
)

◆ HANDLE() [11/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( StructCreateOp  ,
Unhandled   
)

◆ HANDLE() [12/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( StructExtractOp  ,
Unhandled   
)

◆ HANDLE() [13/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( StructInjectOp  ,
Unhandled   
)

◆ HANDLE() [14/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( UnionCreateOp  ,
Unhandled   
)

◆ HANDLE() [15/15]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( UnionExtractOp  ,
Unhandled   
)

◆ visitInvalidTypeOp()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::visitInvalidTypeOp ( Operation *  op,
ExtraArgs...  args 
)
inline

This callback is invoked on any non-expression operations.

Definition at line 49 of file HWVisitors.h.

◆ visitUnhandledTypeOp()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::hw::TypeOpVisitor< ConcreteType, ResultType, ExtraArgs >::visitUnhandledTypeOp ( Operation *  op,
ExtraArgs...  args 
)
inline

This callback is invoked on any combinational operations that are not handled by the concrete visitor.

Definition at line 56 of file HWVisitors.h.


The documentation for this class was generated from the following file: