CIRCT 24.0.0git
Loading...
Searching...
No Matches
PIRDialect.cpp
Go to the documentation of this file.
1//===- PIRDialect.cpp - PIR dialect implementation ------------------------===//
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
12#include "mlir/IR/Dialect.h"
13#include "mlir/IR/DialectImplementation.h"
14
15using namespace circt;
16using namespace pir;
17
18void PIRDialect::initialize() {
19 addTypes<
20#define GET_TYPEDEF_LIST
21#include "circt/Dialect/PIR/PIRTypes.cpp.inc"
22 >();
23 addOperations<
24#define GET_OP_LIST
25#include "circt/Dialect/PIR/PIR.cpp.inc"
26 >();
27}
28
29#include "circt/Dialect/PIR/PIRDialect.cpp.inc"
30#include "circt/Dialect/PIR/PIREnums.cpp.inc"
31
32#define GET_TYPEDEF_CLASSES
33#include "circt/Dialect/PIR/PIRTypes.cpp.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.