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