Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RTGTestModule.cpp
Go to the documentation of this file.
1//===- RTGTestModule.cpp - RTGTest API nanobind module --------------------===//
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 "CIRCTModules.h"
10
12
13#include "mlir/Bindings/Python/NanobindAdaptors.h"
14
15#include <nanobind/nanobind.h>
16namespace nb = nanobind;
17
18using namespace circt;
19using namespace mlir::python::nanobind_adaptors;
20
21/// Populate the rtgtest python module.
22void circt::python::populateDialectRTGTestSubmodule(nb::module_ &m) {
23 m.doc() = "RTGTest dialect Python native extension";
24
25 mlir_type_subclass(m, "CPUType", rtgtestTypeIsACPU)
26 .def_classmethod(
27 "get",
28 [](nb::object cls, MlirContext ctxt) {
29 return cls(rtgtestCPUTypeGet(ctxt));
30 },
31 nb::arg("self"), nb::arg("ctxt") = nullptr);
32
33 mlir_type_subclass(m, "IntegerRegisterType", rtgtestTypeIsAIntegerRegister)
34 .def_classmethod(
35 "get",
36 [](nb::object cls, MlirContext ctxt) {
37 return cls(rtgtestIntegerRegisterTypeGet(ctxt));
38 },
39 nb::arg("self"), nb::arg("ctxt") = nullptr);
40
41 mlir_attribute_subclass(m, "CPUAttr", rtgtestAttrIsACPU)
42 .def_classmethod(
43 "get",
44 [](nb::object cls, unsigned id, MlirContext ctxt) {
45 return cls(rtgtestCPUAttrGet(ctxt, id));
46 },
47 nb::arg("self"), nb::arg("id"), nb::arg("ctxt") = nullptr)
48 .def_property_readonly(
49 "id", [](MlirAttribute self) { return rtgtestCPUAttrGetId(self); });
50
51 mlir_attribute_subclass(m, "RegZeroAttr", rtgtestAttrIsARegZero)
52 .def_classmethod(
53 "get",
54 [](nb::object cls, MlirContext ctxt) {
55 return cls(rtgtestRegZeroAttrGet(ctxt));
56 },
57 nb::arg("self"), nb::arg("ctxt") = nullptr);
58
59 mlir_attribute_subclass(m, "RegRaAttr", rtgtestAttrIsARegRa)
60 .def_classmethod(
61 "get",
62 [](nb::object cls, MlirContext ctxt) {
63 return cls(rtgtestRegRaAttrGet(ctxt));
64 },
65 nb::arg("self"), nb::arg("ctxt") = nullptr);
66
67 mlir_attribute_subclass(m, "RegSpAttr", rtgtestAttrIsARegSp)
68 .def_classmethod(
69 "get",
70 [](nb::object cls, MlirContext ctxt) {
71 return cls(rtgtestRegSpAttrGet(ctxt));
72 },
73 nb::arg("self"), nb::arg("ctxt") = nullptr);
74
75 mlir_attribute_subclass(m, "RegGpAttr", rtgtestAttrIsARegGp)
76 .def_classmethod(
77 "get",
78 [](nb::object cls, MlirContext ctxt) {
79 return cls(rtgtestRegGpAttrGet(ctxt));
80 },
81 nb::arg("self"), nb::arg("ctxt") = nullptr);
82
83 mlir_attribute_subclass(m, "RegTpAttr", rtgtestAttrIsARegTp)
84 .def_classmethod(
85 "get",
86 [](nb::object cls, MlirContext ctxt) {
87 return cls(rtgtestRegTpAttrGet(ctxt));
88 },
89 nb::arg("self"), nb::arg("ctxt") = nullptr);
90
91 mlir_attribute_subclass(m, "RegT0Attr", rtgtestAttrIsARegT0)
92 .def_classmethod(
93 "get",
94 [](nb::object cls, MlirContext ctxt) {
95 return cls(rtgtestRegT0AttrGet(ctxt));
96 },
97 nb::arg("self"), nb::arg("ctxt") = nullptr);
98
99 mlir_attribute_subclass(m, "RegT1Attr", rtgtestAttrIsARegT1)
100 .def_classmethod(
101 "get",
102 [](nb::object cls, MlirContext ctxt) {
103 return cls(rtgtestRegT1AttrGet(ctxt));
104 },
105 nb::arg("self"), nb::arg("ctxt") = nullptr);
106
107 mlir_attribute_subclass(m, "RegT2Attr", rtgtestAttrIsARegT2)
108 .def_classmethod(
109 "get",
110 [](nb::object cls, MlirContext ctxt) {
111 return cls(rtgtestRegT2AttrGet(ctxt));
112 },
113 nb::arg("self"), nb::arg("ctxt") = nullptr);
114
115 mlir_attribute_subclass(m, "RegS0Attr", rtgtestAttrIsARegS0)
116 .def_classmethod(
117 "get",
118 [](nb::object cls, MlirContext ctxt) {
119 return cls(rtgtestRegS0AttrGet(ctxt));
120 },
121 nb::arg("self"), nb::arg("ctxt") = nullptr);
122
123 mlir_attribute_subclass(m, "RegS1Attr", rtgtestAttrIsARegS1)
124 .def_classmethod(
125 "get",
126 [](nb::object cls, MlirContext ctxt) {
127 return cls(rtgtestRegS1AttrGet(ctxt));
128 },
129 nb::arg("self"), nb::arg("ctxt") = nullptr);
130
131 mlir_attribute_subclass(m, "RegA0Attr", rtgtestAttrIsARegA0)
132 .def_classmethod(
133 "get",
134 [](nb::object cls, MlirContext ctxt) {
135 return cls(rtgtestRegA0AttrGet(ctxt));
136 },
137 nb::arg("self"), nb::arg("ctxt") = nullptr);
138
139 mlir_attribute_subclass(m, "RegA1Attr", rtgtestAttrIsARegA1)
140 .def_classmethod(
141 "get",
142 [](nb::object cls, MlirContext ctxt) {
143 return cls(rtgtestRegA1AttrGet(ctxt));
144 },
145 nb::arg("self"), nb::arg("ctxt") = nullptr);
146
147 mlir_attribute_subclass(m, "RegA2Attr", rtgtestAttrIsARegA2)
148 .def_classmethod(
149 "get",
150 [](nb::object cls, MlirContext ctxt) {
151 return cls(rtgtestRegA2AttrGet(ctxt));
152 },
153 nb::arg("self"), nb::arg("ctxt") = nullptr);
154
155 mlir_attribute_subclass(m, "RegA3Attr", rtgtestAttrIsARegA3)
156 .def_classmethod(
157 "get",
158 [](nb::object cls, MlirContext ctxt) {
159 return cls(rtgtestRegA3AttrGet(ctxt));
160 },
161 nb::arg("self"), nb::arg("ctxt") = nullptr);
162
163 mlir_attribute_subclass(m, "RegA4Attr", rtgtestAttrIsARegA4)
164 .def_classmethod(
165 "get",
166 [](nb::object cls, MlirContext ctxt) {
167 return cls(rtgtestRegA4AttrGet(ctxt));
168 },
169 nb::arg("self"), nb::arg("ctxt") = nullptr);
170
171 mlir_attribute_subclass(m, "RegA5Attr", rtgtestAttrIsARegA5)
172 .def_classmethod(
173 "get",
174 [](nb::object cls, MlirContext ctxt) {
175 return cls(rtgtestRegA5AttrGet(ctxt));
176 },
177 nb::arg("self"), nb::arg("ctxt") = nullptr);
178
179 mlir_attribute_subclass(m, "RegA6Attr", rtgtestAttrIsARegA6)
180 .def_classmethod(
181 "get",
182 [](nb::object cls, MlirContext ctxt) {
183 return cls(rtgtestRegA6AttrGet(ctxt));
184 },
185 nb::arg("self"), nb::arg("ctxt") = nullptr);
186
187 mlir_attribute_subclass(m, "RegA7Attr", rtgtestAttrIsARegA7)
188 .def_classmethod(
189 "get",
190 [](nb::object cls, MlirContext ctxt) {
191 return cls(rtgtestRegA7AttrGet(ctxt));
192 },
193 nb::arg("self"), nb::arg("ctxt") = nullptr);
194
195 mlir_attribute_subclass(m, "RegS2Attr", rtgtestAttrIsARegS2)
196 .def_classmethod(
197 "get",
198 [](nb::object cls, MlirContext ctxt) {
199 return cls(rtgtestRegS2AttrGet(ctxt));
200 },
201 nb::arg("self"), nb::arg("ctxt") = nullptr);
202
203 mlir_attribute_subclass(m, "RegS3Attr", rtgtestAttrIsARegS3)
204 .def_classmethod(
205 "get",
206 [](nb::object cls, MlirContext ctxt) {
207 return cls(rtgtestRegS3AttrGet(ctxt));
208 },
209 nb::arg("self"), nb::arg("ctxt") = nullptr);
210
211 mlir_attribute_subclass(m, "RegS4Attr", rtgtestAttrIsARegS4)
212 .def_classmethod(
213 "get",
214 [](nb::object cls, MlirContext ctxt) {
215 return cls(rtgtestRegS4AttrGet(ctxt));
216 },
217 nb::arg("self"), nb::arg("ctxt") = nullptr);
218
219 mlir_attribute_subclass(m, "RegS5Attr", rtgtestAttrIsARegS5)
220 .def_classmethod(
221 "get",
222 [](nb::object cls, MlirContext ctxt) {
223 return cls(rtgtestRegS5AttrGet(ctxt));
224 },
225 nb::arg("self"), nb::arg("ctxt") = nullptr);
226
227 mlir_attribute_subclass(m, "RegS6Attr", rtgtestAttrIsARegS6)
228 .def_classmethod(
229 "get",
230 [](nb::object cls, MlirContext ctxt) {
231 return cls(rtgtestRegS6AttrGet(ctxt));
232 },
233 nb::arg("self"), nb::arg("ctxt") = nullptr);
234
235 mlir_attribute_subclass(m, "RegS7Attr", rtgtestAttrIsARegS7)
236 .def_classmethod(
237 "get",
238 [](nb::object cls, MlirContext ctxt) {
239 return cls(rtgtestRegS7AttrGet(ctxt));
240 },
241 nb::arg("self"), nb::arg("ctxt") = nullptr);
242
243 mlir_attribute_subclass(m, "RegS8Attr", rtgtestAttrIsARegS8)
244 .def_classmethod(
245 "get",
246 [](nb::object cls, MlirContext ctxt) {
247 return cls(rtgtestRegS8AttrGet(ctxt));
248 },
249 nb::arg("self"), nb::arg("ctxt") = nullptr);
250
251 mlir_attribute_subclass(m, "RegS9Attr", rtgtestAttrIsARegS9)
252 .def_classmethod(
253 "get",
254 [](nb::object cls, MlirContext ctxt) {
255 return cls(rtgtestRegS9AttrGet(ctxt));
256 },
257 nb::arg("self"), nb::arg("ctxt") = nullptr);
258
259 mlir_attribute_subclass(m, "RegS10Attr", rtgtestAttrIsARegS10)
260 .def_classmethod(
261 "get",
262 [](nb::object cls, MlirContext ctxt) {
263 return cls(rtgtestRegS10AttrGet(ctxt));
264 },
265 nb::arg("self"), nb::arg("ctxt") = nullptr);
266
267 mlir_attribute_subclass(m, "RegS11Attr", rtgtestAttrIsARegS11)
268 .def_classmethod(
269 "get",
270 [](nb::object cls, MlirContext ctxt) {
271 return cls(rtgtestRegS11AttrGet(ctxt));
272 },
273 nb::arg("self"), nb::arg("ctxt") = nullptr);
274
275 mlir_attribute_subclass(m, "RegT3Attr", rtgtestAttrIsARegT3)
276 .def_classmethod(
277 "get",
278 [](nb::object cls, MlirContext ctxt) {
279 return cls(rtgtestRegT3AttrGet(ctxt));
280 },
281 nb::arg("self"), nb::arg("ctxt") = nullptr);
282
283 mlir_attribute_subclass(m, "RegT4Attr", rtgtestAttrIsARegT4)
284 .def_classmethod(
285 "get",
286 [](nb::object cls, MlirContext ctxt) {
287 return cls(rtgtestRegT4AttrGet(ctxt));
288 },
289 nb::arg("self"), nb::arg("ctxt") = nullptr);
290
291 mlir_attribute_subclass(m, "RegT5Attr", rtgtestAttrIsARegT5)
292 .def_classmethod(
293 "get",
294 [](nb::object cls, MlirContext ctxt) {
295 return cls(rtgtestRegT5AttrGet(ctxt));
296 },
297 nb::arg("self"), nb::arg("ctxt") = nullptr);
298
299 mlir_attribute_subclass(m, "RegT6Attr", rtgtestAttrIsARegT6)
300 .def_classmethod(
301 "get",
302 [](nb::object cls, MlirContext ctxt) {
303 return cls(rtgtestRegT6AttrGet(ctxt));
304 },
305 nb::arg("self"), nb::arg("ctxt") = nullptr);
306}
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegGpAttrGet(MlirContext ctxt)
Creates an RTGTest RegGp attribute in the context.
Definition RTGTest.cpp:90
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT5AttrGet(MlirContext ctxt)
Creates an RTGTest RegT5 attribute in the context.
Definition RTGTest.cpp:306
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA2AttrGet(MlirContext ctxt)
Creates an RTGTest RegA2 attribute in the context.
Definition RTGTest.cpp:162
MLIR_CAPI_EXPORTED bool rtgtestTypeIsAIntegerRegister(MlirType type)
If the type is an RTGTest IntegerRegisterType.
Definition RTGTest.cpp:35
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT2AttrGet(MlirContext ctxt)
Creates an RTGTest RegT2 attribute in the context.
Definition RTGTest.cpp:122
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS10AttrGet(MlirContext ctxt)
Creates an RTGTest RegS10 attribute in the context.
Definition RTGTest.cpp:274
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT4AttrGet(MlirContext ctxt)
Creates an RTGTest RegT4 attribute in the context.
Definition RTGTest.cpp:298
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS11AttrGet(MlirContext ctxt)
Creates an RTGTest RegS11 attribute in the context.
Definition RTGTest.cpp:282
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS4(MlirAttribute attr)
If the attribute is an RTGTest RegS4Attr.
Definition RTGTest.cpp:222
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT1(MlirAttribute attr)
If the attribute is an RTGTest RegT1Attr.
Definition RTGTest.cpp:110
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS0AttrGet(MlirContext ctxt)
Creates an RTGTest RegS0 attribute in the context.
Definition RTGTest.cpp:130
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegSpAttrGet(MlirContext ctxt)
Creates an RTGTest RegSp attribute in the context.
Definition RTGTest.cpp:82
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS8(MlirAttribute attr)
If the attribute is an RTGTest RegS8Attr.
Definition RTGTest.cpp:254
MLIR_CAPI_EXPORTED bool rtgtestAttrIsACPU(MlirAttribute attr)
If the type is an RTGTest CPUAttr.
Definition RTGTest.cpp:47
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA0(MlirAttribute attr)
If the attribute is an RTGTest RegA0Attr.
Definition RTGTest.cpp:142
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS10(MlirAttribute attr)
If the attribute is an RTGTest RegS10Attr.
Definition RTGTest.cpp:270
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT3(MlirAttribute attr)
If the attribute is an RTGTest RegT3Attr.
Definition RTGTest.cpp:286
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA3(MlirAttribute attr)
If the attribute is an RTGTest RegA3Attr.
Definition RTGTest.cpp:166
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT0AttrGet(MlirContext ctxt)
Creates an RTGTest RegT0 attribute in the context.
Definition RTGTest.cpp:106
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS2AttrGet(MlirContext ctxt)
Creates an RTGTest RegS2 attribute in the context.
Definition RTGTest.cpp:210
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS0(MlirAttribute attr)
If the attribute is an RTGTest RegS0Attr.
Definition RTGTest.cpp:126
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS3(MlirAttribute attr)
If the attribute is an RTGTest RegS3Attr.
Definition RTGTest.cpp:214
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA7(MlirAttribute attr)
If the attribute is an RTGTest RegA7Attr.
Definition RTGTest.cpp:198
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegGp(MlirAttribute attr)
If the attribute is an RTGTest RegGpAttr.
Definition RTGTest.cpp:86
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS1AttrGet(MlirContext ctxt)
Creates an RTGTest RegS1 attribute in the context.
Definition RTGTest.cpp:138
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA1(MlirAttribute attr)
If the attribute is an RTGTest RegA1Attr.
Definition RTGTest.cpp:150
MLIR_CAPI_EXPORTED unsigned rtgtestCPUAttrGetId(MlirAttribute attr)
Returns the core ID represented by the CPU attribute.
Definition RTGTest.cpp:55
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegZero(MlirAttribute attr)
If the type is an RTGTest RegZeroAttr.
Definition RTGTest.cpp:62
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT1AttrGet(MlirContext ctxt)
Creates an RTGTest RegT1 attribute in the context.
Definition RTGTest.cpp:114
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA7AttrGet(MlirContext ctxt)
Creates an RTGTest RegA7 attribute in the context.
Definition RTGTest.cpp:202
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS8AttrGet(MlirContext ctxt)
Creates an RTGTest RegS8 attribute in the context.
Definition RTGTest.cpp:258
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegTp(MlirAttribute attr)
If the attribute is an RTGTest RegTpAttr.
Definition RTGTest.cpp:94
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA3AttrGet(MlirContext ctxt)
Creates an RTGTest RegA3 attribute in the context.
Definition RTGTest.cpp:170
MLIR_CAPI_EXPORTED MlirType rtgtestIntegerRegisterTypeGet(MlirContext ctxt)
Creates an RTGTest IntegerRegisterType in the context.
Definition RTGTest.cpp:39
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS1(MlirAttribute attr)
If the attribute is an RTGTest RegS1Attr.
Definition RTGTest.cpp:134
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA6(MlirAttribute attr)
If the attribute is an RTGTest RegA6Attr.
Definition RTGTest.cpp:190
MLIR_CAPI_EXPORTED MlirAttribute rtgtestCPUAttrGet(MlirContext ctxt, unsigned id)
Creates an RTGTest CPU attribute in the context.
Definition RTGTest.cpp:51
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA5(MlirAttribute attr)
If the attribute is an RTGTest RegA5Attr.
Definition RTGTest.cpp:182
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS7(MlirAttribute attr)
If the attribute is an RTGTest RegS7Attr.
Definition RTGTest.cpp:246
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT2(MlirAttribute attr)
If the attribute is an RTGTest RegT2Attr.
Definition RTGTest.cpp:118
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA4AttrGet(MlirContext ctxt)
Creates an RTGTest RegA4 attribute in the context.
Definition RTGTest.cpp:178
MLIR_CAPI_EXPORTED MlirType rtgtestCPUTypeGet(MlirContext ctxt)
Creates an RTGTest CPU type in the context.
Definition RTGTest.cpp:31
MLIR_CAPI_EXPORTED bool rtgtestTypeIsACPU(MlirType type)
If the type is an RTGTest CPUType.
Definition RTGTest.cpp:29
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS6(MlirAttribute attr)
If the attribute is an RTGTest RegS6Attr.
Definition RTGTest.cpp:238
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT3AttrGet(MlirContext ctxt)
Creates an RTGTest RegT3 attribute in the context.
Definition RTGTest.cpp:290
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegTpAttrGet(MlirContext ctxt)
Creates an RTGTest RegTp attribute in the context.
Definition RTGTest.cpp:98
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA2(MlirAttribute attr)
If the attribute is an RTGTest RegA2Attr.
Definition RTGTest.cpp:158
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT4(MlirAttribute attr)
If the attribute is an RTGTest RegT4Attr.
Definition RTGTest.cpp:294
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT5(MlirAttribute attr)
If the attribute is an RTGTest RegT5Attr.
Definition RTGTest.cpp:302
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS5(MlirAttribute attr)
If the attribute is an RTGTest RegS5Attr.
Definition RTGTest.cpp:230
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS6AttrGet(MlirContext ctxt)
Creates an RTGTest RegS6 attribute in the context.
Definition RTGTest.cpp:242
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS3AttrGet(MlirContext ctxt)
Creates an RTGTest RegS3 attribute in the context.
Definition RTGTest.cpp:218
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegRaAttrGet(MlirContext ctxt)
Creates an RTGTest RegRa attribute in the context.
Definition RTGTest.cpp:74
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT0(MlirAttribute attr)
If the attribute is an RTGTest RegT0Attr.
Definition RTGTest.cpp:102
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS5AttrGet(MlirContext ctxt)
Creates an RTGTest RegS5 attribute in the context.
Definition RTGTest.cpp:234
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegSp(MlirAttribute attr)
If the attribute is an RTGTest RegSpAttr.
Definition RTGTest.cpp:78
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA0AttrGet(MlirContext ctxt)
Creates an RTGTest RegA0 attribute in the context.
Definition RTGTest.cpp:146
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS11(MlirAttribute attr)
If the attribute is an RTGTest RegS11Attr.
Definition RTGTest.cpp:278
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS2(MlirAttribute attr)
If the attribute is an RTGTest RegS2Attr.
Definition RTGTest.cpp:206
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS9(MlirAttribute attr)
If the attribute is an RTGTest RegS9Attr.
Definition RTGTest.cpp:262
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA6AttrGet(MlirContext ctxt)
Creates an RTGTest RegA6 attribute in the context.
Definition RTGTest.cpp:194
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA1AttrGet(MlirContext ctxt)
Creates an RTGTest RegA1 attribute in the context.
Definition RTGTest.cpp:154
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS4AttrGet(MlirContext ctxt)
Creates an RTGTest RegS4 attribute in the context.
Definition RTGTest.cpp:226
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegRa(MlirAttribute attr)
If the attribute is an RTGTest RegRaAttr.
Definition RTGTest.cpp:70
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT6AttrGet(MlirContext ctxt)
Creates an RTGTest RegT6 attribute in the context.
Definition RTGTest.cpp:314
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS9AttrGet(MlirContext ctxt)
Creates an RTGTest RegS9 attribute in the context.
Definition RTGTest.cpp:266
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA4(MlirAttribute attr)
If the attribute is an RTGTest RegA4Attr.
Definition RTGTest.cpp:174
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA5AttrGet(MlirContext ctxt)
Creates an RTGTest RegA5 attribute in the context.
Definition RTGTest.cpp:186
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT6(MlirAttribute attr)
If the attribute is an RTGTest RegT6Attr.
Definition RTGTest.cpp:310
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegZeroAttrGet(MlirContext ctxt)
Creates an RTGTest RegZero attribute in the context.
Definition RTGTest.cpp:66
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS7AttrGet(MlirContext ctxt)
Creates an RTGTest RegS7 attribute in the context.
Definition RTGTest.cpp:250
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.