CIRCT  19.0.0git
RegisterAllEmitters.h
Go to the documentation of this file.
1 //===- RegisterAllEmitters.h - Register all emitters to ExportSystemC -----===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This registers the all the emitters of various dialects to the
10 // ExportSystemC pass.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 // NOLINTNEXTLINE(llvm-header-guard)
15 #ifndef CIRCT_TARGET_EXPORTSYSTEMC_REGISTERALLEMITTERS_H
16 #define CIRCT_TARGET_EXPORTSYSTEMC_REGISTERALLEMITTERS_H
17 
22 
23 namespace circt {
24 namespace ExportSystemC {
25 
26 /// Collects the operation emission patterns of all supported dialects.
28  MLIRContext *context) {
30  populateHWEmitters(patterns, context);
33 }
34 
35 /// Collects the type emission patterns of all supported dialects.
40 }
41 
45 }
46 
47 } // namespace ExportSystemC
48 } // namespace circt
49 
50 #endif // CIRCT_TARGET_EXPORTSYSTEMC_REGISTERALLEMITTERS_H
This class collects a set of emission patterns with base type 'PatternTy'.
void populateSystemCOpEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
Register SystemC operation emission patterns.
void populateEmitCOpEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
Register EmitC operation emission patterns.
void populateEmitCTypeEmitters(TypeEmissionPatternSet &patterns)
Register EmitC type emission patterns.
void populateSystemCTypeEmitters(TypeEmissionPatternSet &patterns)
Register SystemC type emission patterns.
void registerAllTypeEmitters(TypeEmissionPatternSet &patterns)
Collects the type emission patterns of all supported dialects.
void populateEmitCAttrEmitters(AttrEmissionPatternSet &patterns)
Register EmitC attribute emission patterns.
void populateBuiltinOpEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
Register Builtin operation emission patterns.
void populateBuiltinAttrEmitters(AttrEmissionPatternSet &patterns)
Register Builtin attribute emission patterns.
void populateHWEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
void registerAllOpEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
Collects the operation emission patterns of all supported dialects.
void populateBuiltinTypeEmitters(TypeEmissionPatternSet &patterns)
Register Builtin type emission patterns.
void registerAllAttrEmitters(AttrEmissionPatternSet &patterns)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21