CIRCT
20.0.0git
Loading...
Searching...
No Matches
lib
Dialect
RTGTest
IR
RTGTestAttributes.cpp
Go to the documentation of this file.
1
//===- RTGTestAttributes.cpp ----------------------------------------------===//
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
#include "
circt/Dialect/RTGTest/IR/RTGTestAttributes.h
"
10
#include "
circt/Dialect/RTGTest/IR/RTGTestDialect.h
"
11
#include "mlir/IR/Builders.h"
12
#include "mlir/IR/DialectImplementation.h"
13
#include "llvm/ADT/TypeSwitch.h"
14
15
using namespace
circt
;
16
using namespace
rtgtest
;
17
18
//===----------------------------------------------------------------------===//
19
// CPUAttr
20
//===----------------------------------------------------------------------===//
21
22
Type CPUAttr::getType()
const
{
return
rtgtest::CPUType::get(getContext()); }
23
24
//===----------------------------------------------------------------------===//
25
// TableGen generated logic.
26
//===----------------------------------------------------------------------===//
27
28
void
RTGTestDialect::registerAttributes() {
29
addAttributes<
30
#define GET_ATTRDEF_LIST
31
#include "circt/Dialect/RTGTest/IR/RTGTestAttributes.cpp.inc"
32
>();
33
}
34
35
#define GET_ATTRDEF_CLASSES
36
#include "circt/Dialect/RTGTest/IR/RTGTestAttributes.cpp.inc"
RTGTestAttributes.h
RTGTestDialect.h
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
rtgtest
Definition
rtgtest.py:1
Generated on Fri Feb 7 2025 00:08:55 for CIRCT by
1.9.8