CIRCT 20.0.0git
Loading...
Searching...
No Matches
RTGDialect.cpp
Go to the documentation of this file.
1//===- RTGDialect.cpp - Implement the RTG dialect -------------------------===//
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 implements the RTG dialect.
10//
11//===----------------------------------------------------------------------===//
12
16#include "mlir/IR/Builders.h"
17#include "mlir/IR/BuiltinTypes.h"
18#include "mlir/IR/DialectImplementation.h"
19
20using namespace circt;
21using namespace rtg;
22
23//===----------------------------------------------------------------------===//
24// Dialect specification.
25//===----------------------------------------------------------------------===//
26
27void RTGDialect::initialize() {
28 registerTypes();
29 // Register operations.
30 addOperations<
31#define GET_OP_LIST
32#include "circt/Dialect/RTG/IR/RTG.cpp.inc"
33 >();
34}
35
36#include "circt/Dialect/RTG/IR/RTGEnums.cpp.inc"
37
38#include "circt/Dialect/RTG/IR/RTGDialect.cpp.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition rtg.py:1