CIRCT  20.0.0git
EmitCEmissionPatterns.h
Go to the documentation of this file.
1 //===- EmitCEmissionPatterns.h - EmitC Dialect Emission Patterns ----------===//
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 exposes the emission patterns of the emitc dialect for registration.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 // NOLINTNEXTLINE(llvm-header-guard)
14 #ifndef CIRCT_TARGET_EXPORTSYSTEMC_PATTERNS_EMITCEMISSIONPATTERNS_H
15 #define CIRCT_TARGET_EXPORTSYSTEMC_PATTERNS_EMITCEMISSIONPATTERNS_H
16 
17 #include "../EmissionPatternSupport.h"
18 
19 namespace circt {
20 namespace ExportSystemC {
21 
22 /// Register EmitC operation emission patterns.
24  MLIRContext *context);
25 
26 /// Register EmitC type emission patterns.
28 
29 /// Register EmitC attribute emission patterns.
31 
32 } // namespace ExportSystemC
33 } // namespace circt
34 
35 #endif // CIRCT_TARGET_EXPORTSYSTEMC_PATTERNS_EMITCEMISSIONPATTERNS_H
void populateEmitCOpEmitters(OpEmissionPatternSet &patterns, MLIRContext *context)
Register EmitC operation emission patterns.
void populateEmitCTypeEmitters(TypeEmissionPatternSet &patterns)
Register EmitC type emission patterns.
void populateEmitCAttrEmitters(AttrEmissionPatternSet &patterns)
Register EmitC attribute emission patterns.
EmissionPatternSet< TypeEmissionPatternBase > TypeEmissionPatternSet
EmissionPatternSet< OpEmissionPatternBase > OpEmissionPatternSet
EmissionPatternSet< AttrEmissionPatternBase > AttrEmissionPatternSet
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21