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

This helps visit TypeOp nodes. More...

#include <RTGVisitors.h>

Public Member Functions

ResultType dispatchTypeVisitor (Type type, ExtraArgs... args)
 
ResultType visitInvalidType (Type type, ExtraArgs... args)
 This callback is invoked on any RTG types not handled properly by the TypeSwitch. More...
 
ResultType visitUnhandledType (Type type, ExtraArgs... args)
 This callback is invoked on any types that are not handled by the concrete visitor. More...
 
ResultType visitContextResourceType (ContextResourceTypeInterface type, ExtraArgs... args)
 
ResultType visitExternalType (Type type, ExtraArgs... args)
 
 HANDLE (SequenceType, Unhandled)
 
 HANDLE (SetType, Unhandled)
 
 HANDLE (BagType, Unhandled)
 
 HANDLE (DictType, Unhandled)
 
 HANDLE (IndexType, Unhandled)
 
 HANDLE (IntegerType, Unhandled)
 
 HANDLE (LabelType, Unhandled)
 

Detailed Description

template<typename ConcreteType, typename ResultType = void, typename... ExtraArgs>
class circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >

This helps visit TypeOp nodes.

Definition at line 112 of file RTGVisitors.h.

Member Function Documentation

◆ dispatchTypeVisitor()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::dispatchTypeVisitor ( Type  type,
ExtraArgs...  args 
)
inline

◆ HANDLE() [1/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( BagType  ,
Unhandled   
)

◆ HANDLE() [2/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( DictType  ,
Unhandled   
)

◆ HANDLE() [3/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( IndexType  ,
Unhandled   
)

◆ HANDLE() [4/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( IntegerType  ,
Unhandled   
)

◆ HANDLE() [5/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( LabelType  ,
Unhandled   
)

◆ HANDLE() [6/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( SequenceType  ,
Unhandled   
)

◆ HANDLE() [7/7]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( SetType  ,
Unhandled   
)

◆ visitContextResourceType()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::visitContextResourceType ( ContextResourceTypeInterface  type,
ExtraArgs...  args 
)
inline

◆ visitExternalType()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::visitExternalType ( Type  type,
ExtraArgs...  args 
)
inline

Definition at line 150 of file RTGVisitors.h.

◆ visitInvalidType()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::visitInvalidType ( Type  type,
ExtraArgs...  args 
)
inline

This callback is invoked on any RTG types not handled properly by the TypeSwitch.

Definition at line 136 of file RTGVisitors.h.

Referenced by circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::dispatchTypeVisitor().

◆ visitUnhandledType()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::visitUnhandledType ( Type  type,
ExtraArgs...  args 
)

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

Referenced by circt::rtg::RTGTypeVisitor< ConcreteType, ResultType, ExtraArgs >::visitContextResourceType().


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