MimIR
0.6-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
autogen.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/axm.h
>
4
#include <
mim/plugin.h
>
5
6
/// @namespace mim::plug::arm_isel @ref arm_isel
7
namespace
mim
{
8
namespace
plug::arm_isel
{
9
10
static
constexpr
plugin_t
Plugin_Id
= 0x9338129418d0000;
11
12
/// @name `arm_isel.zx`
13
///@{
14
enum class
zx
:
flags_t
{
15
};
16
17
///@}
18
19
/// @name `arm_isel.commutes`
20
///@{
21
enum class
commutes
:
flags_t
{
22
};
23
24
///@}
25
26
/// @name `arm_isel.alu`
27
///@{
28
enum class
alu
:
flags_t
{
29
};
30
31
///@}
32
33
/// @name `arm_isel.shift`
34
///@{
35
enum class
shift
:
flags_t
{
36
};
37
38
///@}
39
40
/// @name `arm_isel.neg`
41
///@{
42
enum class
neg
:
flags_t
{
43
};
44
45
///@}
46
47
/// @name `arm_isel.arithmetic`
48
///@{
49
enum class
arithmetic
:
flags_t
{
50
};
51
52
///@}
53
54
/// @name `arm_isel.madd`
55
///@{
56
enum class
madd
:
flags_t
{
57
};
58
59
///@}
60
61
/// @name `arm_isel.quot`
62
///@{
63
enum class
quot
:
flags_t
{
64
};
65
66
///@}
67
68
/// @name `arm_isel.remainder`
69
///@{
70
enum class
remainder
:
flags_t
{
71
};
72
73
///@}
74
75
/// @name `arm_isel.modulo`
76
///@{
77
enum class
modulo
:
flags_t
{
78
};
79
80
///@}
81
82
/// @name `arm_isel.division`
83
///@{
84
enum class
division
:
flags_t
{
85
};
86
87
///@}
88
89
/// @name `arm_isel.trunc`
90
///@{
91
enum class
trunc
:
flags_t
{
92
};
93
94
///@}
95
96
/// @name `arm_isel.strunc`
97
///@{
98
enum class
strunc
:
flags_t
{
99
};
100
101
///@}
102
103
/// @name `arm_isel.zext`
104
///@{
105
enum class
zext
:
flags_t
{
106
};
107
108
///@}
109
110
/// @name `arm_isel.sext`
111
///@{
112
enum class
sext
:
flags_t
{
113
};
114
115
///@}
116
117
/// @name `arm_isel.cast_trunc`
118
///@{
119
enum class
cast_trunc
:
flags_t
{
120
};
121
122
///@}
123
124
/// @name `arm_isel.cast_zext`
125
///@{
126
enum class
cast_zext
:
flags_t
{
127
};
128
129
///@}
130
131
/// @name `arm_isel.icmp`
132
///@{
133
enum class
icmp
:
flags_t
{
134
};
135
136
///@}
137
138
/// @name `arm_isel.icmp_zx`
139
///@{
140
enum class
icmp_zx
:
flags_t
{
141
};
142
143
///@}
144
145
/// @name `arm_isel.icmp_sx`
146
///@{
147
enum class
icmp_sx
:
flags_t
{
148
};
149
150
///@}
151
152
/// @name `arm_isel.compares`
153
///@{
154
enum class
compares
:
flags_t
{
155
};
156
157
///@}
158
159
/// @name `arm_isel.select`
160
///@{
161
enum class
select
:
flags_t
{
162
};
163
164
///@}
165
166
/// @name `arm_isel.load`
167
///@{
168
enum class
load
:
flags_t
{
169
};
170
171
///@}
172
173
/// @name `arm_isel.store`
174
///@{
175
enum class
store
:
flags_t
{
176
};
177
178
///@}
179
180
/// @name `arm_isel.float`
181
///@{
182
enum class
float_
:
flags_t
{
183
arithmetic
= 0x9338129418d1800,
184
cmp = 0x9338129418d1801,
185
cmp2
= 0x9338129418d1802,
186
comparisons
= 0x9338129418d1803,
187
select
= 0x9338129418d1804,
188
load
= 0x9338129418d1805,
189
store
= 0x9338129418d1806,
190
s2f
= 0x9338129418d1807,
191
u2f = 0x9338129418d1808,
192
f2s
= 0x9338129418d1809,
193
f2u = 0x9338129418d180a,
194
f2f = 0x9338129418d180b,
195
s2f_ext
= 0x9338129418d180c,
196
u2f_ext
= 0x9338129418d180d,
197
f2s_trunc
= 0x9338129418d180e,
198
f2u_trunc
= 0x9338129418d180f,
199
conversions = 0x9338129418d1810,
200
};
201
202
///@}
203
204
/// @name `arm_isel.fmov`
205
///@{
206
enum class
fmov
:
flags_t
{
207
};
208
209
///@}
210
211
/// @name `arm_isel.mov`
212
///@{
213
enum class
mov
:
flags_t
{
214
};
215
216
///@}
217
218
/// @name `arm_isel.zero`
219
///@{
220
enum class
zero
:
flags_t
{
221
};
222
223
///@}
224
225
/// @name `arm_isel.unzx`
226
///@{
227
enum class
unzx
:
flags_t
{
228
};
229
230
///@}
231
232
/// @name `arm_isel.nonterminals`
233
///@{
234
enum class
nonterminals
:
flags_t
{
235
};
236
237
///@}
238
239
/// @name `arm_isel.sizes`
240
///@{
241
enum class
sizes
:
flags_t
{
242
};
243
244
///@}
245
246
/// @name `arm_isel.formats`
247
///@{
248
enum class
formats
:
flags_t
{
249
};
250
251
///@}
252
253
/// @name `arm_isel.gen`
254
///@{
255
enum class
gen
:
flags_t
{
256
};
257
258
///@}
259
260
}
// namespace plug::arm_isel
261
262
#ifndef DOXYGEN
// don't include in Doxygen documentation
263
264
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::zx>
= 0x9338129418d0000;
265
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::zx>
= 0;
266
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::commutes>
= 0x9338129418d0100;
267
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::commutes>
= 0;
268
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::alu>
= 0x9338129418d0200;
269
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::alu>
= 0;
270
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::shift>
= 0x9338129418d0300;
271
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::shift>
= 0;
272
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::neg>
= 0x9338129418d0400;
273
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::neg>
= 0;
274
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::arithmetic>
= 0x9338129418d0500;
275
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::arithmetic>
= 0;
276
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::madd>
= 0x9338129418d0600;
277
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::madd>
= 0;
278
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::quot>
= 0x9338129418d0700;
279
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::quot>
= 0;
280
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::remainder>
= 0x9338129418d0800;
281
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::remainder>
= 0;
282
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::modulo>
= 0x9338129418d0900;
283
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::modulo>
= 0;
284
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::division>
= 0x9338129418d0a00;
285
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::division>
= 0;
286
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::trunc>
= 0x9338129418d0b00;
287
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::trunc>
= 0;
288
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::strunc>
= 0x9338129418d0c00;
289
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::strunc>
= 0;
290
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::zext>
= 0x9338129418d0d00;
291
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::zext>
= 0;
292
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::sext>
= 0x9338129418d0e00;
293
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::sext>
= 0;
294
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::cast_trunc>
= 0x9338129418d0f00;
295
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::cast_trunc>
= 0;
296
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::cast_zext>
= 0x9338129418d1000;
297
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::cast_zext>
= 0;
298
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::icmp>
= 0x9338129418d1100;
299
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::icmp>
= 0;
300
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::icmp_zx>
= 0x9338129418d1200;
301
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::icmp_zx>
= 0;
302
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::icmp_sx>
= 0x9338129418d1300;
303
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::icmp_sx>
= 0;
304
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::compares>
= 0x9338129418d1400;
305
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::compares>
= 0;
306
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::select>
= 0x9338129418d1500;
307
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::select>
= 0;
308
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::load>
= 0x9338129418d1600;
309
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::load>
= 0;
310
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::store>
= 0x9338129418d1700;
311
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::store>
= 0;
312
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::float_>
= 0x9338129418d1800;
313
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::float_>
= 17;
314
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::fmov>
= 0x9338129418d1900;
315
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::fmov>
= 0;
316
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::mov>
= 0x9338129418d1a00;
317
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::mov>
= 0;
318
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::zero>
= 0x9338129418d1b00;
319
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::zero>
= 0;
320
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::unzx>
= 0x9338129418d1c00;
321
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::unzx>
= 0;
322
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::nonterminals>
= 0x9338129418d1d00;
323
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::nonterminals>
= 0;
324
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::sizes>
= 0x9338129418d1e00;
325
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::sizes>
= 0;
326
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::formats>
= 0x9338129418d1f00;
327
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::formats>
= 0;
328
template
<>
constexpr
flags_t
Annex::Base<plug::arm_isel::gen>
= 0x9338129418d2000;
329
template
<>
constexpr
size_t
Annex::Num<plug::arm_isel::gen>
= 0;
330
331
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::commutes> {
using
type
=
Axm
; };
332
template
<>
struct
Axm::IsANode<plug::arm_isel::alu> {
using
type
= Axm; };
333
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::shift> {
using
type
=
Axm
; };
334
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::neg> {
using
type
=
Axm
; };
335
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::arithmetic> {
using
type
=
Axm
; };
336
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::madd> {
using
type
=
Axm
; };
337
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::quot> {
using
type
=
Axm
; };
338
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::remainder> {
using
type
=
Axm
; };
339
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::modulo> {
using
type
=
Axm
; };
340
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::division> {
using
type
=
Axm
; };
341
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::trunc> {
using
type
=
Axm
; };
342
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::strunc> {
using
type
=
Axm
; };
343
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::zext> {
using
type
=
Axm
; };
344
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::sext> {
using
type
=
Axm
; };
345
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::cast_trunc> {
using
type
=
Axm
; };
346
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::cast_zext> {
using
type
=
Axm
; };
347
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::icmp> {
using
type
=
Axm
; };
348
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::icmp_zx> {
using
type
=
Axm
; };
349
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::icmp_sx> {
using
type
=
Axm
; };
350
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::compares> {
using
type
=
Axm
; };
351
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::select> {
using
type
=
Axm
; };
352
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::load> {
using
type
=
Axm
; };
353
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::store> {
using
type
=
Axm
; };
354
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::float_> {
using
type
=
Axm
; };
355
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::fmov> {
using
type
=
Axm
; };
356
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::mov> {
using
type
=
Axm
; };
357
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::zero> {
using
type
=
Axm
; };
358
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::unzx> {
using
type
=
Axm
; };
359
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::nonterminals> {
using
type
=
Axm
; };
360
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::sizes> {
using
type
=
Axm
; };
361
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::formats> {
using
type
=
Axm
; };
362
template
<>
struct
Axm::IsANode
<
plug
::arm_isel::gen> {
using
type
=
Axm
; };
363
364
#endif
365
}
// namespace mim
366
367
#ifndef DOXYGEN
// don't include in Doxygen documentation
368
369
template
<>
struct
fe::is_bit_enum<
mim
::plug::arm_isel::float_> : std::true_type {};
370
371
#endif
axm.h
mim::Axm
Definition
axm.h:9
mim::Axm::IsANode::type
App type
Definition
axm.h:70
mim::Axm::IsANode
Definition
axm.h:69
mim::plug::arm_isel
The arm_isel Plugin
Definition
gen.h:5
mim::plug::arm_isel::strunc
strunc
Definition
autogen.h:98
mim::plug::arm_isel::remainder
remainder
Definition
autogen.h:70
mim::plug::arm_isel::compares
compares
Definition
autogen.h:154
mim::plug::arm_isel::unzx
unzx
Definition
autogen.h:227
mim::plug::arm_isel::arithmetic
arithmetic
Definition
autogen.h:49
mim::plug::arm_isel::formats
formats
Definition
autogen.h:248
mim::plug::arm_isel::fmov
fmov
Definition
autogen.h:206
mim::plug::arm_isel::icmp
icmp
Definition
autogen.h:133
mim::plug::arm_isel::commutes
commutes
Definition
autogen.h:21
mim::plug::arm_isel::sizes
sizes
Definition
autogen.h:241
mim::plug::arm_isel::neg
neg
Definition
autogen.h:42
mim::plug::arm_isel::zext
zext
Definition
autogen.h:105
mim::plug::arm_isel::trunc
trunc
Definition
autogen.h:91
mim::plug::arm_isel::quot
quot
Definition
autogen.h:63
mim::plug::arm_isel::float_
float_
Definition
autogen.h:182
mim::plug::arm_isel::float_::cmp2
@ cmp2
Definition
autogen.h:185
mim::plug::arm_isel::float_::f2s
@ f2s
Definition
autogen.h:192
mim::plug::arm_isel::float_::f2s_trunc
@ f2s_trunc
Definition
autogen.h:197
mim::plug::arm_isel::float_::s2f_ext
@ s2f_ext
Definition
autogen.h:195
mim::plug::arm_isel::float_::u2f_ext
@ u2f_ext
Definition
autogen.h:196
mim::plug::arm_isel::float_::f2u_trunc
@ f2u_trunc
Definition
autogen.h:198
mim::plug::arm_isel::float_::s2f
@ s2f
Definition
autogen.h:190
mim::plug::arm_isel::float_::comparisons
@ comparisons
Definition
autogen.h:186
mim::plug::arm_isel::load
load
Definition
autogen.h:168
mim::plug::arm_isel::select
select
Definition
autogen.h:161
mim::plug::arm_isel::alu
alu
Definition
autogen.h:28
mim::plug::arm_isel::division
division
Definition
autogen.h:84
mim::plug::arm_isel::zero
zero
Definition
autogen.h:220
mim::plug::arm_isel::gen
gen
Definition
autogen.h:255
mim::plug::arm_isel::zx
zx
Definition
autogen.h:14
mim::plug::arm_isel::Plugin_Id
static constexpr plugin_t Plugin_Id
Definition
autogen.h:10
mim::plug::arm_isel::store
store
Definition
autogen.h:175
mim::plug::arm_isel::icmp_zx
icmp_zx
Definition
autogen.h:140
mim::plug::arm_isel::cast_zext
cast_zext
Definition
autogen.h:126
mim::plug::arm_isel::shift
shift
Definition
autogen.h:35
mim::plug::arm_isel::cast_trunc
cast_trunc
Definition
autogen.h:119
mim::plug::arm_isel::nonterminals
nonterminals
Definition
autogen.h:234
mim::plug::arm_isel::icmp_sx
icmp_sx
Definition
autogen.h:147
mim::plug::arm_isel::modulo
modulo
Definition
autogen.h:77
mim::plug::arm_isel::madd
madd
Definition
autogen.h:56
mim::plug::arm_isel::mov
mov
Definition
autogen.h:213
mim::plug::arm_isel::sext
sext
Definition
autogen.h:112
mim::plug
Definition
affine.h:10
mim
Definition
ast.h:16
mim::flags_t
u64 flags_t
Definition
types.h:39
mim::plugin_t
u64 plugin_t
Definition
types.h:40
mim::Node::Axm
@ Axm
Definition
def.h:123
plugin.h
mim::Annex::Num
static constexpr size_t Num
Number of Axm::subtags.
Definition
plugin.h:275
mim::Annex::Base
static constexpr flags_t Base
Definition
plugin.h:276
build-docs
include
mim
plug
arm_isel
autogen.h
Generated by
1.18.0