CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::ExportSystemC::PatternBase Class Reference

This is indented to be the base class for all emission patterns. More...

#include <EmissionPattern.h>

Inheritance diagram for circt::ExportSystemC::PatternBase:
Collaboration diagram for circt::ExportSystemC::PatternBase:

Public Member Functions

 PatternBase (const void *rootValue)
const void * getRootValue () const
 Get a unique identifier for the C++ type the pattern is matching on.

Static Public Member Functions

template<typename E, typename... Args>
static std::unique_ptr< E > create (Args &&...args)

Private Attributes

const void * rootValue

Detailed Description

This is indented to be the base class for all emission patterns.

Definition at line 94 of file EmissionPattern.h.

Constructor & Destructor Documentation

◆ PatternBase()

Member Function Documentation

◆ create()

template<typename E, typename... Args>
std::unique_ptr< E > circt::ExportSystemC::PatternBase::create ( Args &&... args)
inlinestatic

◆ getRootValue()

const void * circt::ExportSystemC::PatternBase::getRootValue ( ) const
inline

Get a unique identifier for the C++ type the pattern is matching on.

This could be a specific MLIR type or operation.

Definition at line 107 of file EmissionPattern.h.

References rootValue.

Member Data Documentation

◆ rootValue

const void* circt::ExportSystemC::PatternBase::rootValue
private

Definition at line 110 of file EmissionPattern.h.

Referenced by getRootValue(), and PatternBase().


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