|
CIRCT 24.0.0git
|
This class intends to collect a set of emission patterns in a way to provide fast lookups, but does not allow to add more patterns after construction. More...
#include <EmissionPattern.h>


Classes | |
| struct | Impl |
| The internal implementation of the frozen pattern set. More... | |
Public Types | |
| using | OpSpecificNativePatternListT |
| A map of type specific native patterns. | |
Public Member Functions | |
| FrozenEmissionPatternSet () | |
| FrozenEmissionPatternSet (EmissionPatternSet< PatternTy > &&patterns) | |
| Freeze the patterns held in patterns, and take ownership. | |
| const OpSpecificNativePatternListT & | getSpecificNativePatterns () const |
| Return the native patterns held by this set. | |
Private Types | |
| using | NativePatternListT = std::vector<std::unique_ptr<PatternTy>> |
Private Attributes | |
| std::shared_ptr< Impl > | impl |
| A pointer to the internal pattern list. | |
This class intends to collect a set of emission patterns in a way to provide fast lookups, but does not allow to add more patterns after construction.
Definition at line 278 of file EmissionPattern.h.
|
private |
Definition at line 279 of file EmissionPattern.h.
| using circt::ExportSystemC::FrozenEmissionPatternSet< PatternTy, KeyTy >::OpSpecificNativePatternListT |
A map of type specific native patterns.
Definition at line 283 of file EmissionPattern.h.
|
inline |
Definition at line 286 of file EmissionPattern.h.
|
inline |
Freeze the patterns held in patterns, and take ownership.
Definition at line 289 of file EmissionPattern.h.
|
inline |
Return the native patterns held by this set.
Definition at line 300 of file EmissionPattern.h.
|
private |
A pointer to the internal pattern list.
This uses a shared_ptr to avoid the need to compile the same pattern list multiple times. For example, during multi-threaded pass execution, all copies of a pass can share the same pattern list.
Definition at line 319 of file EmissionPattern.h.