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