CIRCT 20.0.0git
Loading...
Searching...
No Matches
RTGTest.h
Go to the documentation of this file.
1//===- RTGTest.h - C interface for the for RTGTest dialect --------*- 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_C_DIALECT_RTGTEST_H
10#define CIRCT_C_DIALECT_RTGTEST_H
11
12#include "mlir-c/IR.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18//===----------------------------------------------------------------------===//
19// Dialect API.
20//===----------------------------------------------------------------------===//
21
23
24//===----------------------------------------------------------------------===//
25// Type API.
26//===----------------------------------------------------------------------===//
27
28/// If the type is an RTGTest CPUType.
29MLIR_CAPI_EXPORTED bool rtgtestTypeIsACPU(MlirType type);
30
31/// Creates an RTGTest CPU type in the context.
32MLIR_CAPI_EXPORTED MlirType rtgtestCPUTypeGet(MlirContext ctxt);
33
34// Immediates.
35//===----------------------------------------------------------------------===//
36
37/// If the type is an RTGTest Imm12Type.
38MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm12(MlirType type);
39
40/// Creates an RTGTest Imm12 type in the context.
41MLIR_CAPI_EXPORTED MlirType rtgtestImm12TypeGet(MlirContext ctxt);
42
43/// If the type is an RTGTest Imm13Type.
44MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm13(MlirType type);
45
46/// Creates an RTGTest Imm13 type in the context.
47MLIR_CAPI_EXPORTED MlirType rtgtestImm13TypeGet(MlirContext ctxt);
48
49/// If the type is an RTGTest Imm21Type.
50MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm21(MlirType type);
51
52/// Creates an RTGTest Imm21 type in the context.
53MLIR_CAPI_EXPORTED MlirType rtgtestImm21TypeGet(MlirContext ctxt);
54
55/// If the type is an RTGTest Imm32Type.
56MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm32(MlirType type);
57
58/// Creates an RTGTest Imm32 type in the context.
59MLIR_CAPI_EXPORTED MlirType rtgtestImm32TypeGet(MlirContext ctxt);
60
61//===----------------------------------------------------------------------===//
62// Attribute API.
63//===----------------------------------------------------------------------===//
64
65/// If the type is an RTGTest CPUAttr.
66MLIR_CAPI_EXPORTED bool rtgtestAttrIsACPU(MlirAttribute attr);
67
68/// Creates an RTGTest CPU attribute in the context.
69MLIR_CAPI_EXPORTED MlirAttribute rtgtestCPUAttrGet(MlirContext ctxt,
70 unsigned id);
71
72/// Returns the core ID represented by the CPU attribute.
73MLIR_CAPI_EXPORTED unsigned rtgtestCPUAttrGetId(MlirAttribute attr);
74
75// Registers.
76//===----------------------------------------------------------------------===//
77
78/// If the type is an RTGTest RegZeroAttr.
79MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegZero(MlirAttribute attr);
80
81/// Creates an RTGTest RegZero attribute in the context.
82MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegZeroAttrGet(MlirContext ctxt);
83
84/// If the attribute is an RTGTest RegRaAttr.
85MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegRa(MlirAttribute attr);
86
87/// Creates an RTGTest RegRa attribute in the context.
88MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegRaAttrGet(MlirContext ctxt);
89
90/// If the attribute is an RTGTest RegSpAttr.
91MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegSp(MlirAttribute attr);
92
93/// Creates an RTGTest RegSp attribute in the context.
94MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegSpAttrGet(MlirContext ctxt);
95
96/// If the attribute is an RTGTest RegGpAttr.
97MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegGp(MlirAttribute attr);
98
99/// Creates an RTGTest RegGp attribute in the context.
100MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegGpAttrGet(MlirContext ctxt);
101
102/// If the attribute is an RTGTest RegTpAttr.
103MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegTp(MlirAttribute attr);
104
105/// Creates an RTGTest RegTp attribute in the context.
106MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegTpAttrGet(MlirContext ctxt);
107
108/// If the attribute is an RTGTest RegT0Attr.
109MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT0(MlirAttribute attr);
110
111/// Creates an RTGTest RegT0 attribute in the context.
112MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT0AttrGet(MlirContext ctxt);
113
114/// If the attribute is an RTGTest RegT1Attr.
115MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT1(MlirAttribute attr);
116
117/// Creates an RTGTest RegT1 attribute in the context.
118MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT1AttrGet(MlirContext ctxt);
119
120/// If the attribute is an RTGTest RegT2Attr.
121MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT2(MlirAttribute attr);
122
123/// Creates an RTGTest RegT2 attribute in the context.
124MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT2AttrGet(MlirContext ctxt);
125
126/// If the attribute is an RTGTest RegS0Attr.
127MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS0(MlirAttribute attr);
128
129/// Creates an RTGTest RegS0 attribute in the context.
130MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS0AttrGet(MlirContext ctxt);
131
132/// If the attribute is an RTGTest RegS1Attr.
133MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS1(MlirAttribute attr);
134
135/// Creates an RTGTest RegS1 attribute in the context.
136MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS1AttrGet(MlirContext ctxt);
137
138/// If the attribute is an RTGTest RegA0Attr.
139MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA0(MlirAttribute attr);
140
141/// Creates an RTGTest RegA0 attribute in the context.
142MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA0AttrGet(MlirContext ctxt);
143
144/// If the attribute is an RTGTest RegA1Attr.
145MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA1(MlirAttribute attr);
146
147/// Creates an RTGTest RegA1 attribute in the context.
148MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA1AttrGet(MlirContext ctxt);
149
150/// If the attribute is an RTGTest RegA2Attr.
151MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA2(MlirAttribute attr);
152
153/// Creates an RTGTest RegA2 attribute in the context.
154MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA2AttrGet(MlirContext ctxt);
155
156/// If the attribute is an RTGTest RegA3Attr.
157MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA3(MlirAttribute attr);
158
159/// Creates an RTGTest RegA3 attribute in the context.
160MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA3AttrGet(MlirContext ctxt);
161
162/// If the attribute is an RTGTest RegA4Attr.
163MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA4(MlirAttribute attr);
164
165/// Creates an RTGTest RegA4 attribute in the context.
166MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA4AttrGet(MlirContext ctxt);
167
168/// If the attribute is an RTGTest RegA5Attr.
169MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA5(MlirAttribute attr);
170
171/// Creates an RTGTest RegA5 attribute in the context.
172MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA5AttrGet(MlirContext ctxt);
173
174/// If the attribute is an RTGTest RegA6Attr.
175MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA6(MlirAttribute attr);
176
177/// Creates an RTGTest RegA6 attribute in the context.
178MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA6AttrGet(MlirContext ctxt);
179
180/// If the attribute is an RTGTest RegA7Attr.
181MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA7(MlirAttribute attr);
182
183/// Creates an RTGTest RegA7 attribute in the context.
184MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA7AttrGet(MlirContext ctxt);
185
186/// If the attribute is an RTGTest RegS2Attr.
187MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS2(MlirAttribute attr);
188
189/// Creates an RTGTest RegS2 attribute in the context.
190MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS2AttrGet(MlirContext ctxt);
191
192/// If the attribute is an RTGTest RegS3Attr.
193MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS3(MlirAttribute attr);
194
195/// Creates an RTGTest RegS3 attribute in the context.
196MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS3AttrGet(MlirContext ctxt);
197
198/// If the attribute is an RTGTest RegS4Attr.
199MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS4(MlirAttribute attr);
200
201/// Creates an RTGTest RegS4 attribute in the context.
202MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS4AttrGet(MlirContext ctxt);
203
204/// If the attribute is an RTGTest RegS5Attr.
205MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS5(MlirAttribute attr);
206
207/// Creates an RTGTest RegS5 attribute in the context.
208MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS5AttrGet(MlirContext ctxt);
209
210/// If the attribute is an RTGTest RegS6Attr.
211MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS6(MlirAttribute attr);
212
213/// Creates an RTGTest RegS6 attribute in the context.
214MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS6AttrGet(MlirContext ctxt);
215
216/// If the attribute is an RTGTest RegS7Attr.
217MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS7(MlirAttribute attr);
218
219/// Creates an RTGTest RegS7 attribute in the context.
220MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS7AttrGet(MlirContext ctxt);
221
222/// If the attribute is an RTGTest RegS8Attr.
223MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS8(MlirAttribute attr);
224
225/// Creates an RTGTest RegS8 attribute in the context.
226MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS8AttrGet(MlirContext ctxt);
227
228/// If the attribute is an RTGTest RegS9Attr.
229MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS9(MlirAttribute attr);
230
231/// Creates an RTGTest RegS9 attribute in the context.
232MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS9AttrGet(MlirContext ctxt);
233
234/// If the attribute is an RTGTest RegS10Attr.
235MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS10(MlirAttribute attr);
236
237/// Creates an RTGTest RegS10 attribute in the context.
238MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS10AttrGet(MlirContext ctxt);
239
240/// If the attribute is an RTGTest RegS11Attr.
241MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS11(MlirAttribute attr);
242
243/// Creates an RTGTest RegS11 attribute in the context.
244MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS11AttrGet(MlirContext ctxt);
245
246/// If the attribute is an RTGTest RegT3Attr.
247MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT3(MlirAttribute attr);
248
249/// Creates an RTGTest RegT3 attribute in the context.
250MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT3AttrGet(MlirContext ctxt);
251
252/// If the attribute is an RTGTest RegT4Attr.
253MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT4(MlirAttribute attr);
254
255/// Creates an RTGTest RegT4 attribute in the context.
256MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT4AttrGet(MlirContext ctxt);
257
258/// If the attribute is an RTGTest RegT5Attr.
259MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT5(MlirAttribute attr);
260
261/// Creates an RTGTest RegT5 attribute in the context.
262MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT5AttrGet(MlirContext ctxt);
263
264/// If the attribute is an RTGTest RegT6Attr.
265MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT6(MlirAttribute attr);
266
267/// Creates an RTGTest RegT6 attribute in the context.
268MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT6AttrGet(MlirContext ctxt);
269
270// Immediates.
271//===----------------------------------------------------------------------===//
272
273/// If the attribute is an RTGTest Imm12Attr.
274MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm12(MlirAttribute attr);
275
276/// Creates an RTGTest Imm12 attribute in the context.
277MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm12AttrGet(MlirContext ctxt,
278 unsigned value);
279
280/// Returns the value represented by the Imm12 attribute.
281MLIR_CAPI_EXPORTED unsigned rtgtestImm12AttrGetValue(MlirAttribute attr);
282
283/// If the attribute is an RTGTest Imm13Attr.
284MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm13(MlirAttribute attr);
285
286/// Creates an RTGTest Imm13 attribute in the context.
287MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm13AttrGet(MlirContext ctxt,
288 unsigned value);
289
290/// Returns the value represented by the Imm13 attribute.
291MLIR_CAPI_EXPORTED unsigned rtgtestImm13AttrGetValue(MlirAttribute attr);
292
293/// If the attribute is an RTGTest Imm21Attr.
294MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm21(MlirAttribute attr);
295
296/// Creates an RTGTest Imm21 attribute in the context.
297MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm21AttrGet(MlirContext ctxt,
298 unsigned value);
299
300/// Returns the value represented by the Imm21 attribute.
301MLIR_CAPI_EXPORTED unsigned rtgtestImm21AttrGetValue(MlirAttribute attr);
302
303/// If the attribute is an RTGTest Imm32Attr.
304MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm32(MlirAttribute attr);
305
306/// Creates an RTGTest Imm32 attribute in the context.
307MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm32AttrGet(MlirContext ctxt,
308 unsigned value);
309
310/// Returns the value represented by the Imm32 attribute.
311MLIR_CAPI_EXPORTED unsigned rtgtestImm32AttrGetValue(MlirAttribute attr);
312
313#ifdef __cplusplus
314}
315#endif
316
317#endif // CIRCT_C_DIALECT_RTGTEST_H
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegGpAttrGet(MlirContext ctxt)
Creates an RTGTest RegGp attribute in the context.
Definition RTGTest.cpp:109
MLIR_CAPI_EXPORTED MlirType rtgtestImm13TypeGet(MlirContext ctxt)
Creates an RTGTest Imm13 type in the context.
Definition RTGTest.cpp:46
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT5AttrGet(MlirContext ctxt)
Creates an RTGTest RegT5 attribute in the context.
Definition RTGTest.cpp:325
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA2AttrGet(MlirContext ctxt)
Creates an RTGTest RegA2 attribute in the context.
Definition RTGTest.cpp:181
MLIR_CAPI_EXPORTED MlirType rtgtestImm32TypeGet(MlirContext ctxt)
Creates an RTGTest Imm32 type in the context.
Definition RTGTest.cpp:58
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT2AttrGet(MlirContext ctxt)
Creates an RTGTest RegT2 attribute in the context.
Definition RTGTest.cpp:141
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS10AttrGet(MlirContext ctxt)
Creates an RTGTest RegS10 attribute in the context.
Definition RTGTest.cpp:293
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT4AttrGet(MlirContext ctxt)
Creates an RTGTest RegT4 attribute in the context.
Definition RTGTest.cpp:317
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS11AttrGet(MlirContext ctxt)
Creates an RTGTest RegS11 attribute in the context.
Definition RTGTest.cpp:301
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS4(MlirAttribute attr)
If the attribute is an RTGTest RegS4Attr.
Definition RTGTest.cpp:241
MLIR_CAPI_EXPORTED MlirType rtgtestImm12TypeGet(MlirContext ctxt)
Creates an RTGTest Imm12 type in the context.
Definition RTGTest.cpp:40
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT1(MlirAttribute attr)
If the attribute is an RTGTest RegT1Attr.
Definition RTGTest.cpp:129
MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm13(MlirType type)
If the type is an RTGTest Imm13Type.
Definition RTGTest.cpp:44
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS0AttrGet(MlirContext ctxt)
Creates an RTGTest RegS0 attribute in the context.
Definition RTGTest.cpp:149
MLIR_CAPI_EXPORTED unsigned rtgtestImm12AttrGetValue(MlirAttribute attr)
Returns the value represented by the Imm12 attribute.
Definition RTGTest.cpp:348
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegSpAttrGet(MlirContext ctxt)
Creates an RTGTest RegSp attribute in the context.
Definition RTGTest.cpp:101
MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm12(MlirAttribute attr)
If the attribute is an RTGTest Imm12Attr.
Definition RTGTest.cpp:340
MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm13AttrGet(MlirContext ctxt, unsigned value)
Creates an RTGTest Imm13 attribute in the context.
Definition RTGTest.cpp:356
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS8(MlirAttribute attr)
If the attribute is an RTGTest RegS8Attr.
Definition RTGTest.cpp:273
MLIR_CAPI_EXPORTED bool rtgtestAttrIsACPU(MlirAttribute attr)
If the type is an RTGTest CPUAttr.
Definition RTGTest.cpp:66
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA0(MlirAttribute attr)
If the attribute is an RTGTest RegA0Attr.
Definition RTGTest.cpp:161
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS10(MlirAttribute attr)
If the attribute is an RTGTest RegS10Attr.
Definition RTGTest.cpp:289
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT3(MlirAttribute attr)
If the attribute is an RTGTest RegT3Attr.
Definition RTGTest.cpp:305
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA3(MlirAttribute attr)
If the attribute is an RTGTest RegA3Attr.
Definition RTGTest.cpp:185
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT0AttrGet(MlirContext ctxt)
Creates an RTGTest RegT0 attribute in the context.
Definition RTGTest.cpp:125
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS2AttrGet(MlirContext ctxt)
Creates an RTGTest RegS2 attribute in the context.
Definition RTGTest.cpp:229
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS0(MlirAttribute attr)
If the attribute is an RTGTest RegS0Attr.
Definition RTGTest.cpp:145
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS3(MlirAttribute attr)
If the attribute is an RTGTest RegS3Attr.
Definition RTGTest.cpp:233
MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm32AttrGet(MlirContext ctxt, unsigned value)
Creates an RTGTest Imm32 attribute in the context.
Definition RTGTest.cpp:380
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA7(MlirAttribute attr)
If the attribute is an RTGTest RegA7Attr.
Definition RTGTest.cpp:217
MLIR_CAPI_EXPORTED MlirType rtgtestImm21TypeGet(MlirContext ctxt)
Creates an RTGTest Imm21 type in the context.
Definition RTGTest.cpp:52
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegGp(MlirAttribute attr)
If the attribute is an RTGTest RegGpAttr.
Definition RTGTest.cpp:105
MLIR_CAPI_EXPORTED unsigned rtgtestImm32AttrGetValue(MlirAttribute attr)
Returns the value represented by the Imm32 attribute.
Definition RTGTest.cpp:384
MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm21(MlirType type)
If the type is an RTGTest Imm21Type.
Definition RTGTest.cpp:50
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS1AttrGet(MlirContext ctxt)
Creates an RTGTest RegS1 attribute in the context.
Definition RTGTest.cpp:157
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA1(MlirAttribute attr)
If the attribute is an RTGTest RegA1Attr.
Definition RTGTest.cpp:169
MLIR_CAPI_EXPORTED unsigned rtgtestCPUAttrGetId(MlirAttribute attr)
Returns the core ID represented by the CPU attribute.
Definition RTGTest.cpp:74
MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm21AttrGet(MlirContext ctxt, unsigned value)
Creates an RTGTest Imm21 attribute in the context.
Definition RTGTest.cpp:368
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegZero(MlirAttribute attr)
If the type is an RTGTest RegZeroAttr.
Definition RTGTest.cpp:81
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT1AttrGet(MlirContext ctxt)
Creates an RTGTest RegT1 attribute in the context.
Definition RTGTest.cpp:133
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA7AttrGet(MlirContext ctxt)
Creates an RTGTest RegA7 attribute in the context.
Definition RTGTest.cpp:221
MLIR_CAPI_EXPORTED MlirAttribute rtgtestImm12AttrGet(MlirContext ctxt, unsigned value)
Creates an RTGTest Imm12 attribute in the context.
Definition RTGTest.cpp:344
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS8AttrGet(MlirContext ctxt)
Creates an RTGTest RegS8 attribute in the context.
Definition RTGTest.cpp:277
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegTp(MlirAttribute attr)
If the attribute is an RTGTest RegTpAttr.
Definition RTGTest.cpp:113
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA3AttrGet(MlirContext ctxt)
Creates an RTGTest RegA3 attribute in the context.
Definition RTGTest.cpp:189
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS1(MlirAttribute attr)
If the attribute is an RTGTest RegS1Attr.
Definition RTGTest.cpp:153
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA6(MlirAttribute attr)
If the attribute is an RTGTest RegA6Attr.
Definition RTGTest.cpp:209
MLIR_CAPI_EXPORTED MlirAttribute rtgtestCPUAttrGet(MlirContext ctxt, unsigned id)
Creates an RTGTest CPU attribute in the context.
Definition RTGTest.cpp:70
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA5(MlirAttribute attr)
If the attribute is an RTGTest RegA5Attr.
Definition RTGTest.cpp:201
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS7(MlirAttribute attr)
If the attribute is an RTGTest RegS7Attr.
Definition RTGTest.cpp:265
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT2(MlirAttribute attr)
If the attribute is an RTGTest RegT2Attr.
Definition RTGTest.cpp:137
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA4AttrGet(MlirContext ctxt)
Creates an RTGTest RegA4 attribute in the context.
Definition RTGTest.cpp:197
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:257
MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm21(MlirAttribute attr)
If the attribute is an RTGTest Imm21Attr.
Definition RTGTest.cpp:364
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT3AttrGet(MlirContext ctxt)
Creates an RTGTest RegT3 attribute in the context.
Definition RTGTest.cpp:309
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegTpAttrGet(MlirContext ctxt)
Creates an RTGTest RegTp attribute in the context.
Definition RTGTest.cpp:117
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA2(MlirAttribute attr)
If the attribute is an RTGTest RegA2Attr.
Definition RTGTest.cpp:177
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT4(MlirAttribute attr)
If the attribute is an RTGTest RegT4Attr.
Definition RTGTest.cpp:313
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT5(MlirAttribute attr)
If the attribute is an RTGTest RegT5Attr.
Definition RTGTest.cpp:321
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS5(MlirAttribute attr)
If the attribute is an RTGTest RegS5Attr.
Definition RTGTest.cpp:249
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS6AttrGet(MlirContext ctxt)
Creates an RTGTest RegS6 attribute in the context.
Definition RTGTest.cpp:261
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS3AttrGet(MlirContext ctxt)
Creates an RTGTest RegS3 attribute in the context.
Definition RTGTest.cpp:237
MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm12(MlirType type)
If the type is an RTGTest Imm12Type.
Definition RTGTest.cpp:38
MLIR_CAPI_EXPORTED unsigned rtgtestImm13AttrGetValue(MlirAttribute attr)
Returns the value represented by the Imm13 attribute.
Definition RTGTest.cpp:360
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(RTGTest, rtgtest)
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegRaAttrGet(MlirContext ctxt)
Creates an RTGTest RegRa attribute in the context.
Definition RTGTest.cpp:93
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT0(MlirAttribute attr)
If the attribute is an RTGTest RegT0Attr.
Definition RTGTest.cpp:121
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS5AttrGet(MlirContext ctxt)
Creates an RTGTest RegS5 attribute in the context.
Definition RTGTest.cpp:253
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegSp(MlirAttribute attr)
If the attribute is an RTGTest RegSpAttr.
Definition RTGTest.cpp:97
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA0AttrGet(MlirContext ctxt)
Creates an RTGTest RegA0 attribute in the context.
Definition RTGTest.cpp:165
MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm13(MlirAttribute attr)
If the attribute is an RTGTest Imm13Attr.
Definition RTGTest.cpp:352
MLIR_CAPI_EXPORTED bool rtgtestTypeIsAImm32(MlirType type)
If the type is an RTGTest Imm32Type.
Definition RTGTest.cpp:56
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS11(MlirAttribute attr)
If the attribute is an RTGTest RegS11Attr.
Definition RTGTest.cpp:297
MLIR_CAPI_EXPORTED unsigned rtgtestImm21AttrGetValue(MlirAttribute attr)
Returns the value represented by the Imm21 attribute.
Definition RTGTest.cpp:372
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS2(MlirAttribute attr)
If the attribute is an RTGTest RegS2Attr.
Definition RTGTest.cpp:225
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegS9(MlirAttribute attr)
If the attribute is an RTGTest RegS9Attr.
Definition RTGTest.cpp:281
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA6AttrGet(MlirContext ctxt)
Creates an RTGTest RegA6 attribute in the context.
Definition RTGTest.cpp:213
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA1AttrGet(MlirContext ctxt)
Creates an RTGTest RegA1 attribute in the context.
Definition RTGTest.cpp:173
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS4AttrGet(MlirContext ctxt)
Creates an RTGTest RegS4 attribute in the context.
Definition RTGTest.cpp:245
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegRa(MlirAttribute attr)
If the attribute is an RTGTest RegRaAttr.
Definition RTGTest.cpp:89
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegT6AttrGet(MlirContext ctxt)
Creates an RTGTest RegT6 attribute in the context.
Definition RTGTest.cpp:333
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS9AttrGet(MlirContext ctxt)
Creates an RTGTest RegS9 attribute in the context.
Definition RTGTest.cpp:285
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegA4(MlirAttribute attr)
If the attribute is an RTGTest RegA4Attr.
Definition RTGTest.cpp:193
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegA5AttrGet(MlirContext ctxt)
Creates an RTGTest RegA5 attribute in the context.
Definition RTGTest.cpp:205
MLIR_CAPI_EXPORTED bool rtgtestAttrIsARegT6(MlirAttribute attr)
If the attribute is an RTGTest RegT6Attr.
Definition RTGTest.cpp:329
MLIR_CAPI_EXPORTED bool rtgtestAttrIsAImm32(MlirAttribute attr)
If the attribute is an RTGTest Imm32Attr.
Definition RTGTest.cpp:376
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegZeroAttrGet(MlirContext ctxt)
Creates an RTGTest RegZero attribute in the context.
Definition RTGTest.cpp:85
MLIR_CAPI_EXPORTED MlirAttribute rtgtestRegS7AttrGet(MlirContext ctxt)
Creates an RTGTest RegS7 attribute in the context.
Definition RTGTest.cpp:269