CIRCT
20.0.0git
Loading...
Searching...
No Matches
lib
Dialect
Seq
SeqAttributes.cpp
Go to the documentation of this file.
1
//===- SeqAttributes.cpp - Implement Seq attributes -----------------------===//
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/Seq/SeqAttributes.h
"
10
#include "
circt/Dialect/Seq/SeqDialect.h
"
11
#include "
circt/Dialect/Seq/SeqTypes.h
"
12
#include "mlir/IR/Builders.h"
13
#include "mlir/IR/DialectImplementation.h"
14
#include "llvm/ADT/TypeSwitch.h"
15
16
using namespace
circt
;
17
using namespace
seq
;
18
19
#include "circt/Dialect/Seq/SeqEnums.cpp.inc"
20
#define GET_ATTRDEF_CLASSES
21
#include "circt/Dialect/Seq/SeqAttributes.cpp.inc"
22
23
Type ClockConstAttr::getType() {
return
seq::ClockType::get(getContext()); }
24
25
void
SeqDialect::registerAttributes() {
26
addAttributes<
27
#define GET_ATTRDEF_LIST
28
#include "circt/Dialect/Seq/SeqAttributes.cpp.inc"
29
>();
30
}
SeqAttributes.h
SeqDialect.h
SeqTypes.h
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
seq
Definition
seq.py:1
Generated on Fri Jan 31 2025 00:07:29 for CIRCT by
1.9.8