CIRCT  20.0.0git
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for circt::ExportSystemC::PatternBase:
Collaboration graph
[legend]

Public Member Functions

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

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()

circt::ExportSystemC::PatternBase::PatternBase ( const void *  rootValue)
inlineexplicit

Definition at line 96 of file EmissionPattern.h.

Member Function Documentation

◆ create()

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

Definition at line 99 of file EmissionPattern.h.

References pattern.

◆ 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().


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