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