CIRCT
20.0.0git
lib
Dialect
SystemC
SystemCAttributes.cpp
Go to the documentation of this file.
1
//===- SystemCAttributes.cpp - SystemC attribute code defs ----------------===//
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
// Implementation for SystemC attributes.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "
circt/Dialect/SystemC/SystemCAttributes.h
"
14
#include "
circt/Dialect/SystemC/SystemCDialect.h
"
15
#include "mlir/IR/Builders.h"
16
#include "mlir/IR/DialectImplementation.h"
17
#include "llvm/ADT/TypeSwitch.h"
18
19
using namespace
circt::systemc
;
20
using namespace
mlir
;
21
22
//===----------------------------------------------------------------------===//
23
// Generated logic
24
//===----------------------------------------------------------------------===//
25
26
#define GET_ATTRDEF_CLASSES
27
#include "circt/Dialect/SystemC/SystemCAttributes.cpp.inc"
28
#include "circt/Dialect/SystemC/SystemCEnums.cpp.inc"
29
30
void
SystemCDialect::registerAttributes() {
31
addAttributes<
32
#define GET_ATTRDEF_LIST
33
#include "circt/Dialect/SystemC/SystemCAttributes.cpp.inc"
34
>();
35
}
SystemCAttributes.h
SystemCDialect.h
circt::systemc
Definition:
SystemCPasses.h:26
mlir
Definition:
DebugAnalysis.h:16
Generated on Mon Dec 23 2024 00:07:26 for CIRCT by
1.9.1