CIRCT  20.0.0git
EmitOps.h
Go to the documentation of this file.
1 //===- EmitOps.h - Declare Emit dialect operations --------------*- C++ -*-===//
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 file declares the operation classes for the Emit dialect.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef CIRCT_DIALECT_EMIT_EMITOPS_H
14 #define CIRCT_DIALECT_EMIT_EMITOPS_H
15 
16 #include "mlir/Bytecode/BytecodeOpInterface.h"
17 #include "mlir/IR/OpImplementation.h"
18 #include "mlir/IR/SymbolTable.h"
19 
24 
25 #define GET_OP_CLASSES
26 #include "circt/Dialect/Emit/Emit.h.inc"
27 
28 namespace circt {
29 namespace emit {
30 
31 /// Return the name of the fragments array attribute.
32 inline StringRef getFragmentsAttrName() { return "emit.fragments"; }
33 
34 } // namespace emit
35 } // namespace circt
36 
37 #endif // CIRCT_DIALECT_EMIT_EMITOPS_H
StringRef getFragmentsAttrName()
Return the name of the fragments array attribute.
Definition: EmitOps.h:32
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
Definition: emit.py:1