Loading [MathJax]/extensions/tex2jax.js
CIRCT
21.0.0git
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
i
k
l
m
n
o
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
w
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
f
i
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Variables
c
e
g
i
l
m
n
p
r
s
t
w
Typedefs
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
u
v
Enumerations
Enumerator
a
c
d
f
h
i
n
o
r
Macros
a
c
d
e
g
h
i
r
s
t
v
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
include
circt
Dialect
RTG
IR
RTGTypes.h
Go to the documentation of this file.
1
//===- RTGTypes.h - RTG dialect types ---------------------------*- C++ -*-===//
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
#ifndef CIRCT_DIALECT_RTG_IR_RTGTYPES_H
10
#define CIRCT_DIALECT_RTG_IR_RTGTYPES_H
11
12
#include "mlir/IR/BuiltinAttributes.h"
13
#include "mlir/IR/BuiltinTypes.h"
14
#include "mlir/IR/Types.h"
15
16
namespace
circt
{
17
namespace
rtg
{
18
19
/// Defines an entry in an `!rtg.dict`.
20
struct
DictEntry
{
21
mlir::StringAttr
name
;
22
mlir::Type
type
;
23
};
20
struct
DictEntry
{
…
};
24
25
inline
bool
operator<
(
const
DictEntry
&entry,
const
DictEntry
&other) {
26
return
entry.
name
.getValue() < other.
name
.getValue();
27
}
25
inline
bool
operator<
(
const
DictEntry
&entry,
const
DictEntry
&other) {
…
}
28
29
inline
bool
operator==
(
const
DictEntry
&entry,
const
DictEntry
&other) {
30
return
entry.
name
== other.
name
&& entry.
type
== other.
type
;
31
}
29
inline
bool
operator==
(
const
DictEntry
&entry,
const
DictEntry
&other) {
…
}
32
33
inline
llvm::hash_code
hash_value
(
const
DictEntry
&entry) {
34
return
llvm::hash_combine(entry.
name
, entry.
type
);
35
}
33
inline
llvm::hash_code
hash_value
(
const
DictEntry
&entry) {
…
}
36
37
}
// namespace rtg
38
}
// namespace circt
39
40
#define GET_TYPEDEF_CLASSES
41
#include "circt/Dialect/RTG/IR/RTGTypes.h.inc"
42
43
#endif
// CIRCT_DIALECT_RTG_IR_RTGTYPES_H
circt::rtg::operator==
bool operator==(const DictEntry &entry, const DictEntry &other)
Definition
RTGTypes.h:29
circt::rtg::operator<
bool operator<(const DictEntry &entry, const DictEntry &other)
Definition
RTGTypes.h:25
circt::rtg::hash_value
llvm::hash_code hash_value(const DictEntry &entry)
Definition
RTGTypes.h:33
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
rtg
Definition
rtg.py:1
circt::rtg::DictEntry
Defines an entry in an !rtg.dict.
Definition
RTGTypes.h:20
circt::rtg::DictEntry::type
mlir::Type type
Definition
RTGTypes.h:22
circt::rtg::DictEntry::name
mlir::StringAttr name
Definition
RTGTypes.h:21
Generated on Tue Apr 29 2025 00:09:53 for CIRCT by
1.9.8