1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* AMDGPUPostLegalizerCombinerImpl Combiner Match Table *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9#ifdef GET_GICOMBINER_DEPS
10
11#include "llvm/ADT/SparseBitVector.h"
12namespace llvm {
13
14extern cl::OptionCategory GICombinerOptionCategory;
15
16} // namespace llvm
17
18#endif // GET_GICOMBINER_DEPS
19
20#ifdef GET_GICOMBINER_TYPES
21
22struct AMDGPUPostLegalizerCombinerImplRuleConfig {
23 SparseBitVector<> DisabledRules;
24
25 bool isRuleEnabled(unsigned RuleID) const;
26 bool parseCommandLineOption();
27 bool setRuleEnabled(StringRef RuleIdentifier);
28 bool setRuleDisabled(StringRef RuleIdentifier);
29};
30
31static std::optional<uint64_t> getRuleIdxForIdentifier(StringRef RuleIdentifier) {
32 uint64_t I;
33 // getAtInteger(...) returns false on success
34 bool Parsed = !RuleIdentifier.getAsInteger(Radix: 0, Result&: I);
35 if (Parsed)
36 return I;
37
38#ifndef NDEBUG
39 switch (RuleIdentifier.size()) {
40 default: break;
41 case 7: // 1 string to match.
42 if (memcmp(RuleIdentifier.data()+0, "smulu64", 7) != 0)
43 break;
44 return 279; // "smulu64"
45 case 9: // 7 strings to match.
46 switch (RuleIdentifier[0]) {
47 default: break;
48 case 'a': // 1 string to match.
49 if (memcmp(RuleIdentifier.data()+1, "dd_shift", 8) != 0)
50 break;
51 return 256; // "add_shift"
52 case 'c': // 1 string to match.
53 if (memcmp(RuleIdentifier.data()+1, "opy_prop", 8) != 0)
54 break;
55 return 19; // "copy_prop"
56 case 'm': // 3 strings to match.
57 switch (RuleIdentifier[1]) {
58 default: break;
59 case 'a': // 1 string to match.
60 if (memcmp(RuleIdentifier.data()+2, "tch_ors", 7) != 0)
61 break;
62 return 219; // "match_ors"
63 case 'u': // 2 strings to match.
64 if (memcmp(RuleIdentifier.data()+2, "lo_by_", 6) != 0)
65 break;
66 switch (RuleIdentifier[8]) {
67 default: break;
68 case '0': // 1 string to match.
69 return 163; // "mulo_by_0"
70 case '2': // 1 string to match.
71 return 162; // "mulo_by_2"
72 }
73 break;
74 }
75 break;
76 case 'n': // 1 string to match.
77 if (memcmp(RuleIdentifier.data()+1, "neg_zext", 8) != 0)
78 break;
79 return 230; // "nneg_zext"
80 case 'o': // 1 string to match.
81 if (memcmp(RuleIdentifier.data()+1, "r_xor_or", 8) != 0)
82 break;
83 return 224; // "or_xor_or"
84 }
85 break;
86 case 10: // 11 strings to match.
87 switch (RuleIdentifier[0]) {
88 default: break;
89 case 'S': // 2 strings to match.
90 if (memcmp(RuleIdentifier.data()+1, "ub", 2) != 0)
91 break;
92 switch (RuleIdentifier[3]) {
93 default: break;
94 case 'S': // 1 string to match.
95 if (memcmp(RuleIdentifier.data()+4, "maxSub", 6) != 0)
96 break;
97 return 261; // "SubSmaxSub"
98 case 'U': // 1 string to match.
99 if (memcmp(RuleIdentifier.data()+4, "maxSub", 6) != 0)
100 break;
101 return 262; // "SubUmaxSub"
102 }
103 break;
104 case 'i': // 1 string to match.
105 if (memcmp(RuleIdentifier.data()+1, "2p_to_p2i", 9) != 0)
106 break;
107 return 96; // "i2p_to_p2i"
108 case 'm': // 2 strings to match.
109 switch (RuleIdentifier[1]) {
110 default: break;
111 case 'a': // 1 string to match.
112 if (memcmp(RuleIdentifier.data()+2, "tch_ands", 8) != 0)
113 break;
114 return 218; // "match_ands"
115 case 'u': // 1 string to match.
116 if (memcmp(RuleIdentifier.data()+2, "l_to_shl", 8) != 0)
117 break;
118 return 20; // "mul_to_shl"
119 }
120 break;
121 case 'o': // 1 string to match.
122 if (memcmp(RuleIdentifier.data()+1, "r_xor_and", 9) != 0)
123 break;
124 return 225; // "or_xor_and"
125 case 'p': // 1 string to match.
126 if (memcmp(RuleIdentifier.data()+1, "2i_to_i2p", 9) != 0)
127 break;
128 return 95; // "p2i_to_i2p"
129 case 's': // 3 strings to match.
130 switch (RuleIdentifier[1]) {
131 default: break;
132 case 'e': // 2 strings to match.
133 switch (RuleIdentifier[2]) {
134 default: break;
135 case 'l': // 1 string to match.
136 if (memcmp(RuleIdentifier.data()+3, "ect_not", 7) != 0)
137 break;
138 return 135; // "select_not"
139 case 'x': // 1 string to match.
140 if (memcmp(RuleIdentifier.data()+3, "t_trunc", 7) != 0)
141 break;
142 return 228; // "sext_trunc"
143 }
144 break;
145 case 'u': // 1 string to match.
146 if (memcmp(RuleIdentifier.data()+2, "b_to_add", 8) != 0)
147 break;
148 return 21; // "sub_to_add"
149 }
150 break;
151 case 'z': // 1 string to match.
152 if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
153 break;
154 return 229; // "zext_trunc"
155 }
156 break;
157 case 11: // 8 strings to match.
158 switch (RuleIdentifier[0]) {
159 default: break;
160 case 'a': // 1 string to match.
161 if (memcmp(RuleIdentifier.data()+1, "dd_sub_reg", 10) != 0)
162 break;
163 return 101; // "add_sub_reg"
164 case 'm': // 1 string to match.
165 if (memcmp(RuleIdentifier.data()+1, "atch_addos", 10) != 0)
166 break;
167 return 245; // "match_addos"
168 case 's': // 1 string to match.
169 if (memcmp(RuleIdentifier.data()+1, "ub_add_reg", 10) != 0)
170 break;
171 return 213; // "sub_add_reg"
172 case 't': // 4 strings to match.
173 if (memcmp(RuleIdentifier.data()+1, "runc_", 5) != 0)
174 break;
175 switch (RuleIdentifier[6]) {
176 default: break;
177 case 's': // 3 strings to match.
178 switch (RuleIdentifier[7]) {
179 default: break;
180 case 'h': // 1 string to match.
181 if (memcmp(RuleIdentifier.data()+8, "ift", 3) != 0)
182 break;
183 return 142; // "trunc_shift"
184 case 's': // 2 strings to match.
185 if (memcmp(RuleIdentifier.data()+8, "at", 2) != 0)
186 break;
187 switch (RuleIdentifier[10]) {
188 default: break;
189 case 's': // 1 string to match.
190 return 247; // "trunc_ssats"
191 case 'u': // 1 string to match.
192 return 248; // "trunc_ssatu"
193 }
194 break;
195 }
196 break;
197 case 'u': // 1 string to match.
198 if (memcmp(RuleIdentifier.data()+7, "satu", 4) != 0)
199 break;
200 return 249; // "trunc_usatu"
201 }
202 break;
203 case 'u': // 1 string to match.
204 if (memcmp(RuleIdentifier.data()+1, "nmerge_cst", 10) != 0)
205 break;
206 return 238; // "unmerge_cst"
207 }
208 break;
209 case 12: // 12 strings to match.
210 switch (RuleIdentifier[0]) {
211 default: break;
212 case 'A': // 1 string to match.
213 if (memcmp(RuleIdentifier.data()+1, "PlusBMinusB", 11) != 0)
214 break;
215 return 4; // "APlusBMinusB"
216 case 'B': // 1 string to match.
217 if (memcmp(RuleIdentifier.data()+1, "MinusAPlusA", 11) != 0)
218 break;
219 return 5; // "BMinusAPlusA"
220 case 'a': // 1 string to match.
221 if (memcmp(RuleIdentifier.data()+1, "dde_to_addo", 11) != 0)
222 break;
223 return 164; // "adde_to_addo"
224 case 'c': // 1 string to match.
225 if (memcmp(RuleIdentifier.data()+1, "tlz_to_ctls", 11) != 0)
226 break;
227 return 252; // "ctlz_to_ctls"
228 case 'f': // 1 string to match.
229 if (memcmp(RuleIdentifier.data()+1, "sub_to_fneg", 11) != 0)
230 break;
231 return 215; // "fsub_to_fneg"
232 case 'm': // 1 string to match.
233 if (memcmp(RuleIdentifier.data()+1, "ulh_to_lshr", 11) != 0)
234 break;
235 return 193; // "mulh_to_lshr"
236 case 'n': // 1 string to match.
237 if (memcmp(RuleIdentifier.data()+1, "ot_cmp_fold", 11) != 0)
238 break;
239 return 143; // "not_cmp_fold"
240 case 'r': // 1 string to match.
241 if (memcmp(RuleIdentifier.data()+1, "edundant_or", 11) != 0)
242 break;
243 return 138; // "redundant_or"
244 case 's': // 2 strings to match.
245 switch (RuleIdentifier[1]) {
246 default: break;
247 case 'd': // 1 string to match.
248 if (memcmp(RuleIdentifier.data()+2, "iv_by_pow2", 10) != 0)
249 break;
250 return 209; // "sdiv_by_pow2"
251 case 'e': // 1 string to match.
252 if (memcmp(RuleIdentifier.data()+2, "xt_of_sext", 10) != 0)
253 break;
254 return 54; // "sext_of_sext"
255 }
256 break;
257 case 'u': // 1 string to match.
258 if (memcmp(RuleIdentifier.data()+1, "div_by_pow2", 11) != 0)
259 break;
260 return 208; // "udiv_by_pow2"
261 case 'z': // 1 string to match.
262 if (memcmp(RuleIdentifier.data()+1, "ext_of_zext", 11) != 0)
263 break;
264 return 52; // "zext_of_zext"
265 }
266 break;
267 case 13: // 20 strings to match.
268 switch (RuleIdentifier[0]) {
269 default: break;
270 case 'A': // 2 strings to match.
271 if (memcmp(RuleIdentifier.data()+1, "MinusBMinus", 11) != 0)
272 break;
273 switch (RuleIdentifier[12]) {
274 default: break;
275 case 'A': // 1 string to match.
276 return 12; // "AMinusBMinusA"
277 case 'C': // 1 string to match.
278 return 9; // "AMinusBMinusC"
279 }
280 break;
281 case 'a': // 1 string to match.
282 if (memcmp(RuleIdentifier.data()+1, "dd_of_vscale", 12) != 0)
283 break;
284 return 43; // "add_of_vscale"
285 case 'c': // 1 string to match.
286 if (memcmp(RuleIdentifier.data()+1, "ommute_shift", 12) != 0)
287 break;
288 return 182; // "commute_shift"
289 case 'f': // 1 string to match.
290 if (memcmp(RuleIdentifier.data()+1, "oldable_fneg", 12) != 0)
291 break;
292 return 274; // "foldable_fneg"
293 case 'l': // 1 string to match.
294 if (memcmp(RuleIdentifier.data()+1, "oad_and_mask", 12) != 0)
295 break;
296 return 75; // "load_and_mask"
297 case 'm': // 3 strings to match.
298 switch (RuleIdentifier[1]) {
299 default: break;
300 case 'a': // 1 string to match.
301 if (memcmp(RuleIdentifier.data()+2, "tch_selects", 11) != 0)
302 break;
303 return 133; // "match_selects"
304 case 'e': // 1 string to match.
305 if (memcmp(RuleIdentifier.data()+2, "rge_unmerge", 11) != 0)
306 break;
307 return 237; // "merge_unmerge"
308 case 'u': // 1 string to match.
309 if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
310 break;
311 return 44; // "mul_of_vscale"
312 }
313 break;
314 case 'r': // 1 string to match.
315 if (memcmp(RuleIdentifier.data()+1, "edundant_and", 12) != 0)
316 break;
317 return 136; // "redundant_and"
318 case 's': // 6 strings to match.
319 switch (RuleIdentifier[1]) {
320 default: break;
321 case 'a': // 1 string to match.
322 if (memcmp(RuleIdentifier.data()+2, "me_val_zero", 11) != 0)
323 break;
324 return 92; // "same_val_zero"
325 case 'd': // 1 string to match.
326 if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
327 break;
328 return 211; // "sdiv_by_const"
329 case 'h': // 1 string to match.
330 if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
331 break;
332 return 45; // "shl_of_vscale"
333 case 'r': // 1 string to match.
334 if (memcmp(RuleIdentifier.data()+2, "em_by_const", 11) != 0)
335 break;
336 return 207; // "srem_by_const"
337 case 'u': // 2 strings to match.
338 if (memcmp(RuleIdentifier.data()+2, "b_", 2) != 0)
339 break;
340 switch (RuleIdentifier[4]) {
341 default: break;
342 case 'm': // 1 string to match.
343 if (memcmp(RuleIdentifier.data()+5, "inus_one", 8) != 0)
344 break;
345 return 259; // "sub_minus_one"
346 case 'o': // 1 string to match.
347 if (memcmp(RuleIdentifier.data()+5, "f_vscale", 8) != 0)
348 break;
349 return 46; // "sub_of_vscale"
350 }
351 break;
352 }
353 break;
354 case 'u': // 4 strings to match.
355 switch (RuleIdentifier[1]) {
356 default: break;
357 case 'd': // 1 string to match.
358 if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
359 break;
360 return 210; // "udiv_by_const"
361 case 'n': // 2 strings to match.
362 if (memcmp(RuleIdentifier.data()+2, "merge_", 6) != 0)
363 break;
364 switch (RuleIdentifier[8]) {
365 default: break;
366 case 'm': // 1 string to match.
367 if (memcmp(RuleIdentifier.data()+9, "erge", 4) != 0)
368 break;
369 return 236; // "unmerge_merge"
370 case 'u': // 1 string to match.
371 if (memcmp(RuleIdentifier.data()+9, "ndef", 4) != 0)
372 break;
373 return 239; // "unmerge_undef"
374 }
375 break;
376 case 'r': // 1 string to match.
377 if (memcmp(RuleIdentifier.data()+2, "em_by_const", 11) != 0)
378 break;
379 return 206; // "urem_by_const"
380 }
381 break;
382 }
383 break;
384 case 14: // 19 strings to match.
385 switch (RuleIdentifier[0]) {
386 default: break;
387 case 'A': // 2 strings to match.
388 switch (RuleIdentifier[1]) {
389 default: break;
390 case 'M': // 1 string to match.
391 if (memcmp(RuleIdentifier.data()+2, "inusC1PlusC2", 12) != 0)
392 break;
393 return 18; // "AMinusC1PlusC2"
394 case 'P': // 1 string to match.
395 if (memcmp(RuleIdentifier.data()+2, "lusC1MinusC2", 12) != 0)
396 break;
397 return 14; // "APlusC1MinusC2"
398 }
399 break;
400 case 'C': // 1 string to match.
401 if (memcmp(RuleIdentifier.data()+1, "2MinusAPlusC1", 13) != 0)
402 break;
403 return 15; // "C2MinusAPlusC1"
404 case 'N': // 1 string to match.
405 if (memcmp(RuleIdentifier.data()+1, "otAPlusNegOne", 13) != 0)
406 break;
407 return 13; // "NotAPlusNegOne"
408 case 'a': // 2 strings to match.
409 if (memcmp(RuleIdentifier.data()+1, "nyext_of_", 9) != 0)
410 break;
411 switch (RuleIdentifier[10]) {
412 default: break;
413 case 's': // 1 string to match.
414 if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
415 break;
416 return 58; // "anyext_of_sext"
417 case 'z': // 1 string to match.
418 if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
419 break;
420 return 57; // "anyext_of_zext"
421 }
422 break;
423 case 'b': // 3 strings to match.
424 if (RuleIdentifier[1] != 'i')
425 break;
426 switch (RuleIdentifier[2]) {
427 default: break;
428 case 'n': // 2 strings to match.
429 if (memcmp(RuleIdentifier.data()+3, "op_", 3) != 0)
430 break;
431 switch (RuleIdentifier[6]) {
432 default: break;
433 case 's': // 1 string to match.
434 if (memcmp(RuleIdentifier.data()+7, "ame_val", 7) != 0)
435 break;
436 return 91; // "binop_same_val"
437 case 'w': // 1 string to match.
438 if (memcmp(RuleIdentifier.data()+7, "ith_neg", 7) != 0)
439 break;
440 return 258; // "binop_with_neg"
441 }
442 break;
443 case 't': // 1 string to match.
444 if (memcmp(RuleIdentifier.data()+3, "reverse_shl", 11) != 0)
445 break;
446 return 180; // "bitreverse_shl"
447 }
448 break;
449 case 'c': // 1 string to match.
450 if (memcmp(RuleIdentifier.data()+1, "vt_f32_ubyteN", 13) != 0)
451 break;
452 return 272; // "cvt_f32_ubyteN"
453 case 'f': // 2 strings to match.
454 switch (RuleIdentifier[1]) {
455 default: break;
456 case 'a': // 1 string to match.
457 if (memcmp(RuleIdentifier.data()+2, "bs_fneg_fold", 12) != 0)
458 break;
459 return 192; // "fabs_fneg_fold"
460 case 'n': // 1 string to match.
461 if (memcmp(RuleIdentifier.data()+2, "eg_fneg_fold", 12) != 0)
462 break;
463 return 98; // "fneg_fneg_fold"
464 }
465 break;
466 case 'm': // 1 string to match.
467 if (memcmp(RuleIdentifier.data()+1, "ul_by_neg_one", 13) != 0)
468 break;
469 return 23; // "mul_by_neg_one"
470 case 'r': // 1 string to match.
471 if (memcmp(RuleIdentifier.data()+1, "eassoc_ptradd", 13) != 0)
472 break;
473 return 115; // "reassoc_ptradd"
474 case 's': // 3 strings to match.
475 switch (RuleIdentifier[1]) {
476 default: break;
477 case 'e': // 2 strings to match.
478 switch (RuleIdentifier[2]) {
479 default: break;
480 case 'l': // 1 string to match.
481 if (memcmp(RuleIdentifier.data()+3, "ect_of_zext", 11) != 0)
482 break;
483 return 60; // "select_of_zext"
484 case 'x': // 1 string to match.
485 if (memcmp(RuleIdentifier.data()+3, "t_of_anyext", 11) != 0)
486 break;
487 return 55; // "sext_of_anyext"
488 }
489 break;
490 case 'h': // 1 string to match.
491 if (memcmp(RuleIdentifier.data()+2, "ifts_too_big", 12) != 0)
492 break;
493 return 114; // "shifts_too_big"
494 }
495 break;
496 case 'u': // 1 string to match.
497 if (memcmp(RuleIdentifier.data()+1, "char_to_float", 13) != 0)
498 break;
499 return 271; // "uchar_to_float"
500 case 'z': // 1 string to match.
501 if (memcmp(RuleIdentifier.data()+1, "ext_of_anyext", 13) != 0)
502 break;
503 return 53; // "zext_of_anyext"
504 }
505 break;
506 case 15: // 15 strings to match.
507 switch (RuleIdentifier[0]) {
508 default: break;
509 case 'A': // 2 strings to match.
510 switch (RuleIdentifier[1]) {
511 default: break;
512 case 'M': // 1 string to match.
513 if (memcmp(RuleIdentifier.data()+2, "inusC1MinusC2", 13) != 0)
514 break;
515 return 16; // "AMinusC1MinusC2"
516 case 'P': // 1 string to match.
517 if (memcmp(RuleIdentifier.data()+2, "lusZeroMinusB", 13) != 0)
518 break;
519 return 3; // "APlusZeroMinusB"
520 }
521 break;
522 case 'C': // 1 string to match.
523 if (memcmp(RuleIdentifier.data()+1, "1Minus2MinusC2", 14) != 0)
524 break;
525 return 17; // "C1Minus2MinusC2"
526 case 'Z': // 1 string to match.
527 if (memcmp(RuleIdentifier.data()+1, "eroMinusAPlusB", 14) != 0)
528 break;
529 return 2; // "ZeroMinusAPlusB"
530 case 'a': // 2 strings to match.
531 if (memcmp(RuleIdentifier.data()+1, "vgceil_", 7) != 0)
532 break;
533 switch (RuleIdentifier[8]) {
534 default: break;
535 case 's': // 1 string to match.
536 if (memcmp(RuleIdentifier.data()+9, "_match", 6) != 0)
537 break;
538 return 266; // "avgceil_s_match"
539 case 'u': // 1 string to match.
540 if (memcmp(RuleIdentifier.data()+9, "_match", 6) != 0)
541 break;
542 return 265; // "avgceil_u_match"
543 }
544 break;
545 case 'b': // 1 string to match.
546 if (memcmp(RuleIdentifier.data()+1, "itreverse_lshr", 14) != 0)
547 break;
548 return 181; // "bitreverse_lshr"
549 case 'e': // 1 string to match.
550 if (memcmp(RuleIdentifier.data()+1, "xtending_loads", 14) != 0)
551 break;
552 return 74; // "extending_loads"
553 case 'i': // 1 string to match.
554 if (memcmp(RuleIdentifier.data()+1, "dempotent_prop", 14) != 0)
555 break;
556 return 24; // "idempotent_prop"
557 case 'l': // 1 string to match.
558 if (memcmp(RuleIdentifier.data()+1, "oad_or_combine", 14) != 0)
559 break;
560 return 171; // "load_or_combine"
561 case 'n': // 1 string to match.
562 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_or", 14) != 0)
563 break;
564 return 68; // "narrow_binop_or"
565 case 'o': // 1 string to match.
566 if (memcmp(RuleIdentifier.data()+1, "verlapping_and", 14) != 0)
567 break;
568 return 161; // "overlapping_and"
569 case 'r': // 1 string to match.
570 if (memcmp(RuleIdentifier.data()+1, "cp_sqrt_to_rsq", 14) != 0)
571 break;
572 return 276; // "rcp_sqrt_to_rsq"
573 case 's': // 1 string to match.
574 if (memcmp(RuleIdentifier.data()+1, "elect_same_val", 14) != 0)
575 break;
576 return 89; // "select_same_val"
577 case 'z': // 1 string to match.
578 if (memcmp(RuleIdentifier.data()+1, "ext_trunc_fold", 14) != 0)
579 break;
580 return 140; // "zext_trunc_fold"
581 }
582 break;
583 case 16: // 18 strings to match.
584 switch (RuleIdentifier[0]) {
585 default: break;
586 case 'A': // 1 string to match.
587 if (memcmp(RuleIdentifier.data()+1, "MinusZeroMinusB", 15) != 0)
588 break;
589 return 11; // "AMinusZeroMinusB"
590 case 'a': // 3 strings to match.
591 switch (RuleIdentifier[1]) {
592 default: break;
593 case 'n': // 1 string to match.
594 if (memcmp(RuleIdentifier.data()+2, "yext_of_anyext", 14) != 0)
595 break;
596 return 56; // "anyext_of_anyext"
597 case 'v': // 2 strings to match.
598 if (memcmp(RuleIdentifier.data()+2, "gfloor_", 7) != 0)
599 break;
600 switch (RuleIdentifier[9]) {
601 default: break;
602 case 's': // 1 string to match.
603 if (memcmp(RuleIdentifier.data()+10, "_match", 6) != 0)
604 break;
605 return 264; // "avgfloor_s_match"
606 case 'u': // 1 string to match.
607 if (memcmp(RuleIdentifier.data()+10, "_match", 6) != 0)
608 break;
609 return 263; // "avgfloor_u_match"
610 }
611 break;
612 }
613 break;
614 case 'n': // 5 strings to match.
615 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_", 12) != 0)
616 break;
617 switch (RuleIdentifier[13]) {
618 default: break;
619 case 'a': // 2 strings to match.
620 switch (RuleIdentifier[14]) {
621 default: break;
622 case 'd': // 1 string to match.
623 if (RuleIdentifier[15] != 'd')
624 break;
625 return 64; // "narrow_binop_add"
626 case 'n': // 1 string to match.
627 if (RuleIdentifier[15] != 'd')
628 break;
629 return 67; // "narrow_binop_and"
630 }
631 break;
632 case 'm': // 1 string to match.
633 if (memcmp(RuleIdentifier.data()+14, "ul", 2) != 0)
634 break;
635 return 66; // "narrow_binop_mul"
636 case 's': // 1 string to match.
637 if (memcmp(RuleIdentifier.data()+14, "ub", 2) != 0)
638 break;
639 return 65; // "narrow_binop_sub"
640 case 'x': // 1 string to match.
641 if (memcmp(RuleIdentifier.data()+14, "or", 2) != 0)
642 break;
643 return 69; // "narrow_binop_xor"
644 }
645 break;
646 case 'o': // 1 string to match.
647 if (memcmp(RuleIdentifier.data()+1, "r_and_xor_to_or", 15) != 0)
648 break;
649 return 220; // "or_and_xor_to_or"
650 case 's': // 5 strings to match.
651 switch (RuleIdentifier[1]) {
652 default: break;
653 case 'e': // 3 strings to match.
654 if (memcmp(RuleIdentifier.data()+2, "lect_", 5) != 0)
655 break;
656 switch (RuleIdentifier[7]) {
657 default: break;
658 case 'o': // 1 string to match.
659 if (memcmp(RuleIdentifier.data()+8, "f_anyext", 8) != 0)
660 break;
661 return 61; // "select_of_anyext"
662 case 't': // 1 string to match.
663 if (memcmp(RuleIdentifier.data()+8, "o_minmax", 8) != 0)
664 break;
665 return 214; // "select_to_minmax"
666 case 'u': // 1 string to match.
667 if (memcmp(RuleIdentifier.data()+8, "ndef_cmp", 8) != 0)
668 break;
669 return 130; // "select_undef_cmp"
670 }
671 break;
672 case 'u': // 2 strings to match.
673 if (memcmp(RuleIdentifier.data()+2, "b_o", 3) != 0)
674 break;
675 switch (RuleIdentifier[5]) {
676 default: break;
677 case 'f': // 1 string to match.
678 if (memcmp(RuleIdentifier.data()+6, "_mul_const", 10) != 0)
679 break;
680 return 260; // "sub_of_mul_const"
681 case 'n': // 1 string to match.
682 if (memcmp(RuleIdentifier.data()+6, "e_from_sub", 10) != 0)
683 break;
684 return 257; // "sub_one_from_sub"
685 }
686 break;
687 }
688 break;
689 case 't': // 2 strings to match.
690 if (memcmp(RuleIdentifier.data()+1, "runcate_of_", 11) != 0)
691 break;
692 switch (RuleIdentifier[12]) {
693 default: break;
694 case 's': // 1 string to match.
695 if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
696 break;
697 return 50; // "truncate_of_sext"
698 case 'z': // 1 string to match.
699 if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
700 break;
701 return 49; // "truncate_of_zext"
702 }
703 break;
704 case 'u': // 1 string to match.
705 if (memcmp(RuleIdentifier.data()+1, "ndef_to_fp_zero", 15) != 0)
706 break;
707 return 77; // "undef_to_fp_zero"
708 }
709 break;
710 case 17: // 19 strings to match.
711 switch (RuleIdentifier[0]) {
712 default: break;
713 case 'A': // 2 strings to match.
714 if (memcmp(RuleIdentifier.data()+1, "PlusBMinus", 10) != 0)
715 break;
716 switch (RuleIdentifier[11]) {
717 default: break;
718 case 'A': // 1 string to match.
719 if (memcmp(RuleIdentifier.data()+12, "plusC", 5) != 0)
720 break;
721 return 8; // "APlusBMinusAplusC"
722 case 'C': // 1 string to match.
723 if (memcmp(RuleIdentifier.data()+12, "PlusA", 5) != 0)
724 break;
725 return 10; // "APlusBMinusCPlusA"
726 }
727 break;
728 case 'a': // 3 strings to match.
729 switch (RuleIdentifier[1]) {
730 default: break;
731 case 'd': // 1 string to match.
732 if (memcmp(RuleIdentifier.data()+2, "d_p2i_to_ptradd", 15) != 0)
733 break;
734 return 22; // "add_p2i_to_ptradd"
735 case 'n': // 2 strings to match.
736 switch (RuleIdentifier[2]) {
737 default: break;
738 case 'd': // 1 string to match.
739 if (memcmp(RuleIdentifier.data()+3, "_xor_or_to_and", 14) != 0)
740 break;
741 return 222; // "and_xor_or_to_and"
742 case 'y': // 1 string to match.
743 if (memcmp(RuleIdentifier.data()+3, "ext_trunc_fold", 14) != 0)
744 break;
745 return 97; // "anyext_trunc_fold"
746 }
747 break;
748 }
749 break;
750 case 'c': // 4 strings to match.
751 switch (RuleIdentifier[1]) {
752 default: break;
753 case 'a': // 2 strings to match.
754 if (memcmp(RuleIdentifier.data()+2, "nonicalize_", 11) != 0)
755 break;
756 switch (RuleIdentifier[13]) {
757 default: break;
758 case 'f': // 1 string to match.
759 if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
760 break;
761 return 119; // "canonicalize_fcmp"
762 case 'i': // 1 string to match.
763 if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
764 break;
765 return 118; // "canonicalize_icmp"
766 }
767 break;
768 case 'o': // 2 strings to match.
769 switch (RuleIdentifier[2]) {
770 default: break;
771 case 'm': // 1 string to match.
772 if (memcmp(RuleIdentifier.data()+3, "bine_or_of_and", 14) != 0)
773 break;
774 return 267; // "combine_or_of_and"
775 case 'n': // 1 string to match.
776 if (memcmp(RuleIdentifier.data()+3, "stant_fold_fma", 14) != 0)
777 break;
778 return 189; // "constant_fold_fma"
779 }
780 break;
781 }
782 break;
783 case 'd': // 1 string to match.
784 if (memcmp(RuleIdentifier.data()+1, "iv_rem_to_divrem", 16) != 0)
785 break;
786 return 172; // "div_rem_to_divrem"
787 case 'e': // 1 string to match.
788 if (memcmp(RuleIdentifier.data()+1, "rase_undef_store", 16) != 0)
789 break;
790 return 87; // "erase_undef_store"
791 case 'f': // 1 string to match.
792 if (memcmp(RuleIdentifier.data()+1, "old_fabs_fptrunc", 16) != 0)
793 break;
794 return 275; // "fold_fabs_fptrunc"
795 case 'p': // 1 string to match.
796 if (memcmp(RuleIdentifier.data()+1, "tr_add_with_zero", 16) != 0)
797 break;
798 return 168; // "ptr_add_with_zero"
799 case 's': // 4 strings to match.
800 switch (RuleIdentifier[1]) {
801 default: break;
802 case 'e': // 2 strings to match.
803 if (memcmp(RuleIdentifier.data()+2, "lect_", 5) != 0)
804 break;
805 switch (RuleIdentifier[7]) {
806 default: break;
807 case 't': // 1 string to match.
808 if (memcmp(RuleIdentifier.data()+8, "o_iminmax", 9) != 0)
809 break;
810 return 132; // "select_to_iminmax"
811 case 'z': // 1 string to match.
812 if (memcmp(RuleIdentifier.data()+8, "ero_false", 9) != 0)
813 break;
814 return 134; // "select_zero_false"
815 }
816 break;
817 case 'h': // 1 string to match.
818 if (memcmp(RuleIdentifier.data()+2, "ift_immed_chain", 15) != 0)
819 break;
820 return 169; // "shift_immed_chain"
821 case 'r': // 1 string to match.
822 if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
823 break;
824 return 205; // "srem_pow2_to_mask"
825 }
826 break;
827 case 'u': // 2 strings to match.
828 switch (RuleIdentifier[1]) {
829 default: break;
830 case 'n': // 1 string to match.
831 if (memcmp(RuleIdentifier.data()+2, "def_to_int_zero", 15) != 0)
832 break;
833 return 78; // "undef_to_int_zero"
834 case 'r': // 1 string to match.
835 if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
836 break;
837 return 139; // "urem_pow2_to_mask"
838 }
839 break;
840 }
841 break;
842 case 18: // 13 strings to match.
843 switch (RuleIdentifier[0]) {
844 default: break;
845 case 'A': // 3 strings to match.
846 switch (RuleIdentifier[1]) {
847 default: break;
848 case 'M': // 2 strings to match.
849 if (memcmp(RuleIdentifier.data()+2, "inusBPlus", 9) != 0)
850 break;
851 switch (RuleIdentifier[11]) {
852 default: break;
853 case 'B': // 1 string to match.
854 if (memcmp(RuleIdentifier.data()+12, "MinusC", 6) != 0)
855 break;
856 return 7; // "AMinusBPlusBMinusC"
857 case 'C': // 1 string to match.
858 if (memcmp(RuleIdentifier.data()+12, "MinusA", 6) != 0)
859 break;
860 return 6; // "AMinusBPlusCMinusA"
861 }
862 break;
863 case 'P': // 1 string to match.
864 if (memcmp(RuleIdentifier.data()+2, "lusBMinusCMinusB", 16) != 0)
865 break;
866 return 0; // "APlusBMinusCMinusB"
867 }
868 break;
869 case 'b': // 1 string to match.
870 if (memcmp(RuleIdentifier.data()+1, "inop_left_to_zero", 17) != 0)
871 break;
872 return 93; // "binop_left_to_zero"
873 case 'c': // 4 strings to match.
874 if (RuleIdentifier[1] != 'o')
875 break;
876 switch (RuleIdentifier[2]) {
877 default: break;
878 case 'm': // 2 strings to match.
879 if (memcmp(RuleIdentifier.data()+3, "bine_", 5) != 0)
880 break;
881 switch (RuleIdentifier[8]) {
882 default: break;
883 case 'm': // 1 string to match.
884 if (memcmp(RuleIdentifier.data()+9, "inmax_nan", 9) != 0)
885 break;
886 return 165; // "combine_minmax_nan"
887 case 'o': // 1 string to match.
888 if (memcmp(RuleIdentifier.data()+9, "r_s64_s32", 9) != 0)
889 break;
890 return 282; // "combine_or_s64_s32"
891 }
892 break;
893 case 'n': // 2 strings to match.
894 if (memcmp(RuleIdentifier.data()+3, "stant_fold_f", 12) != 0)
895 break;
896 switch (RuleIdentifier[15]) {
897 default: break;
898 case 'a': // 1 string to match.
899 if (memcmp(RuleIdentifier.data()+16, "bs", 2) != 0)
900 break;
901 return 146; // "constant_fold_fabs"
902 case 'n': // 1 string to match.
903 if (memcmp(RuleIdentifier.data()+16, "eg", 2) != 0)
904 break;
905 return 145; // "constant_fold_fneg"
906 }
907 break;
908 }
909 break;
910 case 'e': // 1 string to match.
911 if (memcmp(RuleIdentifier.data()+1, "xpand_const_fpowi", 17) != 0)
912 break;
913 return 166; // "expand_const_fpowi"
914 case 'f': // 1 string to match.
915 if (memcmp(RuleIdentifier.data()+1, "ptrunc_fpext_fold", 17) != 0)
916 break;
917 return 107; // "fptrunc_fpext_fold"
918 case 's': // 2 strings to match.
919 if (RuleIdentifier[1] != 'e')
920 break;
921 switch (RuleIdentifier[2]) {
922 default: break;
923 case 'l': // 1 string to match.
924 if (memcmp(RuleIdentifier.data()+3, "ect_of_truncate", 15) != 0)
925 break;
926 return 62; // "select_of_truncate"
927 case 'x': // 1 string to match.
928 if (memcmp(RuleIdentifier.data()+3, "t_inreg_of_load", 15) != 0)
929 break;
930 return 127; // "sext_inreg_of_load"
931 }
932 break;
933 case 't': // 1 string to match.
934 if (memcmp(RuleIdentifier.data()+1, "runcate_of_anyext", 17) != 0)
935 break;
936 return 51; // "truncate_of_anyext"
937 }
938 break;
939 case 19: // 19 strings to match.
940 switch (RuleIdentifier[0]) {
941 default: break;
942 case 'A': // 1 string to match.
943 if (memcmp(RuleIdentifier.data()+1, "MinusBMinusCMinusC", 18) != 0)
944 break;
945 return 1; // "AMinusBMinusCMinusC"
946 case 'b': // 1 string to match.
947 if (memcmp(RuleIdentifier.data()+1, "inop_right_to_zero", 18) != 0)
948 break;
949 return 94; // "binop_right_to_zero"
950 case 'c': // 7 strings to match.
951 if (memcmp(RuleIdentifier.data()+1, "onst", 4) != 0)
952 break;
953 switch (RuleIdentifier[5]) {
954 default: break;
955 case '_': // 1 string to match.
956 if (memcmp(RuleIdentifier.data()+6, "ptradd_to_i2p", 13) != 0)
957 break;
958 return 160; // "const_ptradd_to_i2p"
959 case 'a': // 6 strings to match.
960 if (memcmp(RuleIdentifier.data()+6, "nt_fold_", 8) != 0)
961 break;
962 switch (RuleIdentifier[14]) {
963 default: break;
964 case 'b': // 1 string to match.
965 if (memcmp(RuleIdentifier.data()+15, "inop", 4) != 0)
966 break;
967 return 187; // "constant_fold_binop"
968 case 'f': // 5 strings to match.
969 switch (RuleIdentifier[15]) {
970 default: break;
971 case 'c': // 1 string to match.
972 if (memcmp(RuleIdentifier.data()+16, "eil", 3) != 0)
973 break;
974 return 151; // "constant_fold_fceil"
975 case 'l': // 1 string to match.
976 if (memcmp(RuleIdentifier.data()+16, "og2", 3) != 0)
977 break;
978 return 148; // "constant_fold_flog2"
979 case 'p': // 1 string to match.
980 if (memcmp(RuleIdentifier.data()+16, "ext", 3) != 0)
981 break;
982 return 150; // "constant_fold_fpext"
983 case 'r': // 1 string to match.
984 if (memcmp(RuleIdentifier.data()+16, "int", 3) != 0)
985 break;
986 return 156; // "constant_fold_frint"
987 case 's': // 1 string to match.
988 if (memcmp(RuleIdentifier.data()+16, "qrt", 3) != 0)
989 break;
990 return 147; // "constant_fold_fsqrt"
991 }
992 break;
993 }
994 break;
995 }
996 break;
997 case 'e': // 1 string to match.
998 if (memcmp(RuleIdentifier.data()+1, "xtend_through_phis", 18) != 0)
999 break;
1000 return 111; // "extend_through_phis"
1001 case 'i': // 1 string to match.
1002 if (memcmp(RuleIdentifier.data()+1, "nteger_of_truncate", 18) != 0)
1003 break;
1004 return 70; // "integer_of_truncate"
1005 case 'm': // 1 string to match.
1006 if (memcmp(RuleIdentifier.data()+1, "erge_of_x_and_zero", 18) != 0)
1007 break;
1008 return 243; // "merge_of_x_and_zero"
1009 case 'p': // 1 string to match.
1010 if (memcmp(RuleIdentifier.data()+1, "tr_add_immed_chain", 18) != 0)
1011 break;
1012 return 117; // "ptr_add_immed_chain"
1013 case 'r': // 2 strings to match.
1014 switch (RuleIdentifier[1]) {
1015 default: break;
1016 case 'e': // 1 string to match.
1017 if (memcmp(RuleIdentifier.data()+2, "assoc_comm_binops", 17) != 0)
1018 break;
1019 return 116; // "reassoc_comm_binops"
1020 case 'i': // 1 string to match.
1021 if (memcmp(RuleIdentifier.data()+2, "ght_identity_zero", 17) != 0)
1022 break;
1023 return 90; // "right_identity_zero"
1024 }
1025 break;
1026 case 's': // 3 strings to match.
1027 switch (RuleIdentifier[1]) {
1028 default: break;
1029 case 'e': // 1 string to match.
1030 if (memcmp(RuleIdentifier.data()+2, "lect_constant_cmp", 17) != 0)
1031 break;
1032 return 131; // "select_constant_cmp"
1033 case 'i': // 2 strings to match.
1034 if (memcmp(RuleIdentifier.data()+2, "mplify_", 7) != 0)
1035 break;
1036 switch (RuleIdentifier[9]) {
1037 default: break;
1038 case 'a': // 1 string to match.
1039 if (memcmp(RuleIdentifier.data()+10, "dd_to_sub", 9) != 0)
1040 break;
1041 return 112; // "simplify_add_to_sub"
1042 case 'n': // 1 string to match.
1043 if (memcmp(RuleIdentifier.data()+10, "eg_minmax", 9) != 0)
1044 break;
1045 return 226; // "simplify_neg_minmax"
1046 }
1047 break;
1048 }
1049 break;
1050 case 'u': // 1 string to match.
1051 if (memcmp(RuleIdentifier.data()+1, "nary_undef_to_zero", 18) != 0)
1052 break;
1053 return 82; // "unary_undef_to_zero"
1054 }
1055 break;
1056 case 20: // 10 strings to match.
1057 switch (RuleIdentifier[0]) {
1058 default: break;
1059 case 'a': // 1 string to match.
1060 if (memcmp(RuleIdentifier.data()+1, "nd_or_disjoint_mask", 19) != 0)
1061 break;
1062 return 195; // "and_or_disjoint_mask"
1063 case 'b': // 1 string to match.
1064 if (memcmp(RuleIdentifier.data()+1, "itcast_bitcast_fold", 19) != 0)
1065 break;
1066 return 105; // "bitcast_bitcast_fold"
1067 case 'c': // 1 string to match.
1068 if (memcmp(RuleIdentifier.data()+1, "onstant_fold_ffloor", 19) != 0)
1069 break;
1070 return 152; // "constant_fold_ffloor"
1071 case 'm': // 1 string to match.
1072 if (memcmp(RuleIdentifier.data()+1, "erge_of_x_and_undef", 19) != 0)
1073 break;
1074 return 242; // "merge_of_x_and_undef"
1075 case 'o': // 1 string to match.
1076 if (memcmp(RuleIdentifier.data()+1, "r_and_xor_to_xor_or", 19) != 0)
1077 break;
1078 return 221; // "or_and_xor_to_xor_or"
1079 case 'r': // 3 strings to match.
1080 if (RuleIdentifier[1] != 'e')
1081 break;
1082 switch (RuleIdentifier[2]) {
1083 default: break;
1084 case 'd': // 2 strings to match.
1085 if (RuleIdentifier[3] != 'u')
1086 break;
1087 switch (RuleIdentifier[4]) {
1088 default: break;
1089 case 'c': // 1 string to match.
1090 if (memcmp(RuleIdentifier.data()+5, "e_shl_of_extend", 15) != 0)
1091 break;
1092 return 128; // "reduce_shl_of_extend"
1093 case 'n': // 1 string to match.
1094 if (memcmp(RuleIdentifier.data()+5, "dant_sext_inreg", 15) != 0)
1095 break;
1096 return 137; // "redundant_sext_inreg"
1097 }
1098 break;
1099 case 'm': // 1 string to match.
1100 if (memcmp(RuleIdentifier.data()+3, "ove_fcanonicalize", 17) != 0)
1101 break;
1102 return 273; // "remove_fcanonicalize"
1103 }
1104 break;
1105 case 'u': // 2 strings to match.
1106 if (RuleIdentifier[1] != 'n')
1107 break;
1108 switch (RuleIdentifier[2]) {
1109 default: break;
1110 case 'a': // 1 string to match.
1111 if (memcmp(RuleIdentifier.data()+3, "ry_undef_to_undef", 17) != 0)
1112 break;
1113 return 83; // "unary_undef_to_undef"
1114 case 'm': // 1 string to match.
1115 if (memcmp(RuleIdentifier.data()+3, "erge_zext_to_zext", 17) != 0)
1116 break;
1117 return 241; // "unmerge_zext_to_zext"
1118 }
1119 break;
1120 }
1121 break;
1122 case 21: // 13 strings to match.
1123 switch (RuleIdentifier[0]) {
1124 default: break;
1125 case 'a': // 1 string to match.
1126 if (memcmp(RuleIdentifier.data()+1, "nd_xor_or_to_xor_and", 20) != 0)
1127 break;
1128 return 223; // "and_xor_or_to_xor_and"
1129 case 'c': // 4 strings to match.
1130 if (RuleIdentifier[1] != 'o')
1131 break;
1132 switch (RuleIdentifier[2]) {
1133 default: break;
1134 case 'm': // 2 strings to match.
1135 if (memcmp(RuleIdentifier.data()+3, "bine_", 5) != 0)
1136 break;
1137 switch (RuleIdentifier[8]) {
1138 default: break;
1139 case 'b': // 1 string to match.
1140 if (memcmp(RuleIdentifier.data()+9, "uild_unmerge", 12) != 0)
1141 break;
1142 return 244; // "combine_build_unmerge"
1143 case 'c': // 1 string to match.
1144 if (memcmp(RuleIdentifier.data()+9, "oncat_vector", 12) != 0)
1145 break;
1146 return 227; // "combine_concat_vector"
1147 }
1148 break;
1149 case 'n': // 2 strings to match.
1150 if (memcmp(RuleIdentifier.data()+3, "stant_fold_", 11) != 0)
1151 break;
1152 switch (RuleIdentifier[14]) {
1153 default: break;
1154 case 'c': // 1 string to match.
1155 if (memcmp(RuleIdentifier.data()+15, "ast_op", 6) != 0)
1156 break;
1157 return 190; // "constant_fold_cast_op"
1158 case 'f': // 1 string to match.
1159 if (memcmp(RuleIdentifier.data()+15, "ptrunc", 6) != 0)
1160 break;
1161 return 149; // "constant_fold_fptrunc"
1162 }
1163 break;
1164 }
1165 break;
1166 case 'e': // 1 string to match.
1167 if (memcmp(RuleIdentifier.data()+1, "xpand_promoted_fmed3", 20) != 0)
1168 break;
1169 return 269; // "expand_promoted_fmed3"
1170 case 'f': // 1 string to match.
1171 if (memcmp(RuleIdentifier.data()+1, "div_repeated_divison", 20) != 0)
1172 break;
1173 return 212; // "fdiv_repeated_divison"
1174 case 'i': // 1 string to match.
1175 if (memcmp(RuleIdentifier.data()+1, "nsert_vector_elt_oob", 20) != 0)
1176 break;
1177 return 30; // "insert_vector_elt_oob"
1178 case 'l': // 1 string to match.
1179 if (memcmp(RuleIdentifier.data()+1, "shr_of_trunc_of_lshr", 20) != 0)
1180 break;
1181 return 251; // "lshr_of_trunc_of_lshr"
1182 case 'r': // 1 string to match.
1183 if (memcmp(RuleIdentifier.data()+1, "ight_identity_one_fp", 20) != 0)
1184 break;
1185 return 100; // "right_identity_one_fp"
1186 case 's': // 1 string to match.
1187 if (memcmp(RuleIdentifier.data()+1, "ign_extension_in_reg", 20) != 0)
1188 break;
1189 return 278; // "sign_extension_in_reg"
1190 case 'u': // 2 strings to match.
1191 if (RuleIdentifier[1] != 'n')
1192 break;
1193 switch (RuleIdentifier[2]) {
1194 default: break;
1195 case 'd': // 1 string to match.
1196 if (memcmp(RuleIdentifier.data()+3, "ef_to_negative_one", 18) != 0)
1197 break;
1198 return 79; // "undef_to_negative_one"
1199 case 'm': // 1 string to match.
1200 if (memcmp(RuleIdentifier.data()+3, "erge_dead_to_trunc", 18) != 0)
1201 break;
1202 return 240; // "unmerge_dead_to_trunc"
1203 }
1204 break;
1205 }
1206 break;
1207 case 22: // 13 strings to match.
1208 switch (RuleIdentifier[0]) {
1209 default: break;
1210 case 'c': // 2 strings to match.
1211 if (RuleIdentifier[1] != 'o')
1212 break;
1213 switch (RuleIdentifier[2]) {
1214 default: break;
1215 case 'm': // 1 string to match.
1216 if (memcmp(RuleIdentifier.data()+3, "bine_shuffle_concat", 19) != 0)
1217 break;
1218 return 231; // "combine_shuffle_concat"
1219 case 'n': // 1 string to match.
1220 if (memcmp(RuleIdentifier.data()+3, "stant_fold_fp_binop", 19) != 0)
1221 break;
1222 return 188; // "constant_fold_fp_binop"
1223 }
1224 break;
1225 case 'f': // 4 strings to match.
1226 switch (RuleIdentifier[1]) {
1227 default: break;
1228 case 'o': // 1 string to match.
1229 if (memcmp(RuleIdentifier.data()+2, "ld_binop_into_select", 20) != 0)
1230 break;
1231 return 204; // "fold_binop_into_select"
1232 case 'u': // 3 strings to match.
1233 if (memcmp(RuleIdentifier.data()+2, "nnel_shift_", 11) != 0)
1234 break;
1235 switch (RuleIdentifier[13]) {
1236 default: break;
1237 case 'l': // 1 string to match.
1238 if (memcmp(RuleIdentifier.data()+14, "eft_zero", 8) != 0)
1239 break;
1240 return 176; // "funnel_shift_left_zero"
1241 case 'o': // 1 string to match.
1242 if (memcmp(RuleIdentifier.data()+14, "vershift", 8) != 0)
1243 break;
1244 return 177; // "funnel_shift_overshift"
1245 case 't': // 1 string to match.
1246 if (memcmp(RuleIdentifier.data()+14, "o_rotate", 8) != 0)
1247 break;
1248 return 174; // "funnel_shift_to_rotate"
1249 }
1250 break;
1251 }
1252 break;
1253 case 'i': // 1 string to match.
1254 if (memcmp(RuleIdentifier.data()+1, "cmp_to_lhs_known_bits", 21) != 0)
1255 break;
1256 return 121; // "icmp_to_lhs_known_bits"
1257 case 'm': // 1 string to match.
1258 if (memcmp(RuleIdentifier.data()+1, "atch_subo_no_overflow", 21) != 0)
1259 break;
1260 return 246; // "match_subo_no_overflow"
1261 case 'p': // 1 string to match.
1262 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_any_op", 21) != 0)
1263 break;
1264 return 84; // "propagate_undef_any_op"
1265 case 'r': // 2 strings to match.
1266 switch (RuleIdentifier[1]) {
1267 default: break;
1268 case 'e': // 1 string to match.
1269 if (memcmp(RuleIdentifier.data()+2, "dundant_neg_operands", 20) != 0)
1270 break;
1271 return 194; // "redundant_neg_operands"
1272 case 'i': // 1 string to match.
1273 if (memcmp(RuleIdentifier.data()+2, "ght_identity_one_int", 20) != 0)
1274 break;
1275 return 99; // "right_identity_one_int"
1276 }
1277 break;
1278 case 's': // 1 string to match.
1279 if (memcmp(RuleIdentifier.data()+1, "hl_ashr_to_sext_inreg", 21) != 0)
1280 break;
1281 return 125; // "shl_ashr_to_sext_inreg"
1282 case 't': // 1 string to match.
1283 if (memcmp(RuleIdentifier.data()+1, "runc_buildvector_fold", 21) != 0)
1284 break;
1285 return 103; // "trunc_buildvector_fold"
1286 }
1287 break;
1288 case 23: // 7 strings to match.
1289 switch (RuleIdentifier[0]) {
1290 default: break;
1291 case 'b': // 1 string to match.
1292 if (memcmp(RuleIdentifier.data()+1, "uildvector_of_truncate", 22) != 0)
1293 break;
1294 return 63; // "buildvector_of_truncate"
1295 case 'f': // 2 strings to match.
1296 switch (RuleIdentifier[1]) {
1297 default: break;
1298 case 'd': // 1 string to match.
1299 if (memcmp(RuleIdentifier.data()+2, "iv_by_sqrt_to_rsq_f16", 21) != 0)
1300 break;
1301 return 277; // "fdiv_by_sqrt_to_rsq_f16"
1302 case 'u': // 1 string to match.
1303 if (memcmp(RuleIdentifier.data()+2, "nnel_shift_right_zero", 21) != 0)
1304 break;
1305 return 175; // "funnel_shift_right_zero"
1306 }
1307 break;
1308 case 'i': // 2 strings to match.
1309 if (memcmp(RuleIdentifier.data()+1, "tof_const_zero_fold_", 20) != 0)
1310 break;
1311 switch (RuleIdentifier[21]) {
1312 default: break;
1313 case 's': // 1 string to match.
1314 if (RuleIdentifier[22] != 'i')
1315 break;
1316 return 158; // "itof_const_zero_fold_si"
1317 case 'u': // 1 string to match.
1318 if (RuleIdentifier[22] != 'i')
1319 break;
1320 return 159; // "itof_const_zero_fold_ui"
1321 }
1322 break;
1323 case 'p': // 1 string to match.
1324 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_all_ops", 22) != 0)
1325 break;
1326 return 85; // "propagate_undef_all_ops"
1327 case 't': // 1 string to match.
1328 if (memcmp(RuleIdentifier.data()+1, "runcusatu_to_fptouisat", 22) != 0)
1329 break;
1330 return 250; // "truncusatu_to_fptouisat"
1331 }
1332 break;
1333 case 24: // 10 strings to match.
1334 switch (RuleIdentifier[0]) {
1335 default: break;
1336 case 'b': // 1 string to match.
1337 if (memcmp(RuleIdentifier.data()+1, "inop_left_undef_to_zero", 23) != 0)
1338 break;
1339 return 80; // "binop_left_undef_to_zero"
1340 case 'c': // 4 strings to match.
1341 switch (RuleIdentifier[1]) {
1342 default: break;
1343 case 'o': // 1 string to match.
1344 if (memcmp(RuleIdentifier.data()+2, "nstant_fold_fnearbyint", 22) != 0)
1345 break;
1346 return 157; // "constant_fold_fnearbyint"
1347 case 't': // 3 strings to match.
1348 switch (RuleIdentifier[2]) {
1349 default: break;
1350 case 'l': // 2 strings to match.
1351 if (memcmp(RuleIdentifier.data()+3, "z_", 2) != 0)
1352 break;
1353 switch (RuleIdentifier[5]) {
1354 default: break;
1355 case 't': // 1 string to match.
1356 if (memcmp(RuleIdentifier.data()+6, "o_ctlz_zero_poison", 18) != 0)
1357 break;
1358 return 254; // "ctlz_to_ctlz_zero_poison"
1359 case 'z': // 1 string to match.
1360 if (memcmp(RuleIdentifier.data()+6, "ero_poison_to_ctls", 18) != 0)
1361 break;
1362 return 253; // "ctlz_zero_poison_to_ctls"
1363 }
1364 break;
1365 case 't': // 1 string to match.
1366 if (memcmp(RuleIdentifier.data()+3, "z_to_cttz_zero_poison", 21) != 0)
1367 break;
1368 return 255; // "cttz_to_cttz_zero_poison"
1369 }
1370 break;
1371 }
1372 break;
1373 case 'm': // 1 string to match.
1374 if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element", 23) != 0)
1375 break;
1376 return 29; // "match_extract_of_element"
1377 case 'n': // 1 string to match.
1378 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_feeding_and", 23) != 0)
1379 break;
1380 return 129; // "narrow_binop_feeding_and"
1381 case 's': // 2 strings to match.
1382 if (memcmp(RuleIdentifier.data()+1, "ext_inreg_", 10) != 0)
1383 break;
1384 switch (RuleIdentifier[11]) {
1385 default: break;
1386 case 'o': // 1 string to match.
1387 if (memcmp(RuleIdentifier.data()+12, "f_sext_inreg", 12) != 0)
1388 break;
1389 return 59; // "sext_inreg_of_sext_inreg"
1390 case 't': // 1 string to match.
1391 if (memcmp(RuleIdentifier.data()+12, "o_zext_inreg", 12) != 0)
1392 break;
1393 return 141; // "sext_inreg_to_zext_inreg"
1394 }
1395 break;
1396 case 'x': // 1 string to match.
1397 if (memcmp(RuleIdentifier.data()+1, "or_of_and_with_same_reg", 23) != 0)
1398 break;
1399 return 167; // "xor_of_and_with_same_reg"
1400 }
1401 break;
1402 case 25: // 7 strings to match.
1403 switch (RuleIdentifier[0]) {
1404 default: break;
1405 case 'b': // 3 strings to match.
1406 switch (RuleIdentifier[1]) {
1407 default: break;
1408 case 'i': // 2 strings to match.
1409 if (memcmp(RuleIdentifier.data()+2, "tfield_extract_from_", 20) != 0)
1410 break;
1411 switch (RuleIdentifier[22]) {
1412 default: break;
1413 case 'a': // 1 string to match.
1414 if (memcmp(RuleIdentifier.data()+23, "nd", 2) != 0)
1415 break;
1416 return 184; // "bitfield_extract_from_and"
1417 case 's': // 1 string to match.
1418 if (memcmp(RuleIdentifier.data()+23, "hr", 2) != 0)
1419 break;
1420 return 185; // "bitfield_extract_from_shr"
1421 }
1422 break;
1423 case 'u': // 1 string to match.
1424 if (memcmp(RuleIdentifier.data()+2, "ildvector_identity_fold", 23) != 0)
1425 break;
1426 return 102; // "buildvector_identity_fold"
1427 }
1428 break;
1429 case 'c': // 1 string to match.
1430 if (memcmp(RuleIdentifier.data()+1, "ombine_shuffle_undef_rhs", 24) != 0)
1431 break;
1432 return 232; // "combine_shuffle_undef_rhs"
1433 case 'e': // 1 string to match.
1434 if (memcmp(RuleIdentifier.data()+1, "xtract_vec_elt_build_vec", 24) != 0)
1435 break;
1436 return 72; // "extract_vec_elt_build_vec"
1437 case 'n': // 1 string to match.
1438 if (memcmp(RuleIdentifier.data()+1, "eg_and_one_to_sext_inreg", 24) != 0)
1439 break;
1440 return 126; // "neg_and_one_to_sext_inreg"
1441 case 'r': // 1 string to match.
1442 if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_one_fp", 24) != 0)
1443 break;
1444 return 110; // "right_identity_neg_one_fp"
1445 }
1446 break;
1447 case 26: // 6 strings to match.
1448 switch (RuleIdentifier[0]) {
1449 default: break;
1450 case 'b': // 2 strings to match.
1451 if (RuleIdentifier[1] != 'i')
1452 break;
1453 switch (RuleIdentifier[2]) {
1454 default: break;
1455 case 'n': // 1 string to match.
1456 if (memcmp(RuleIdentifier.data()+3, "op_right_undef_to_undef", 23) != 0)
1457 break;
1458 return 81; // "binop_right_undef_to_undef"
1459 case 't': // 1 string to match.
1460 if (memcmp(RuleIdentifier.data()+3, "cast_bitcast_to_bitcast", 23) != 0)
1461 break;
1462 return 106; // "bitcast_bitcast_to_bitcast"
1463 }
1464 break;
1465 case 'c': // 2 strings to match.
1466 if (RuleIdentifier[1] != 'o')
1467 break;
1468 switch (RuleIdentifier[2]) {
1469 default: break;
1470 case 'm': // 1 string to match.
1471 if (memcmp(RuleIdentifier.data()+3, "mute_fp_constant_to_rhs", 23) != 0)
1472 break;
1473 return 217; // "commute_fp_constant_to_rhs"
1474 case 'n': // 1 string to match.
1475 if (memcmp(RuleIdentifier.data()+3, "stant_fold_unary_int_op", 23) != 0)
1476 break;
1477 return 191; // "constant_fold_unary_int_op"
1478 }
1479 break;
1480 case 'f': // 1 string to match.
1481 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_from_or_shift", 25) != 0)
1482 break;
1483 return 173; // "funnel_shift_from_or_shift"
1484 case 'r': // 1 string to match.
1485 if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp", 25) != 0)
1486 break;
1487 return 108; // "right_identity_neg_zero_fp"
1488 }
1489 break;
1490 case 27: // 6 strings to match.
1491 switch (RuleIdentifier[0]) {
1492 default: break;
1493 case 'c': // 2 strings to match.
1494 if (memcmp(RuleIdentifier.data()+1, "om", 2) != 0)
1495 break;
1496 switch (RuleIdentifier[3]) {
1497 default: break;
1498 case 'b': // 1 string to match.
1499 if (memcmp(RuleIdentifier.data()+4, "ine_use_vector_truncate", 23) != 0)
1500 break;
1501 return 234; // "combine_use_vector_truncate"
1502 case 'm': // 1 string to match.
1503 if (memcmp(RuleIdentifier.data()+4, "ute_int_constant_to_rhs", 23) != 0)
1504 break;
1505 return 216; // "commute_int_constant_to_rhs"
1506 }
1507 break;
1508 case 'd': // 1 string to match.
1509 if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_or_combine", 26) != 0)
1510 break;
1511 return 123; // "double_icmp_zero_or_combine"
1512 case 'r': // 1 string to match.
1513 if (memcmp(RuleIdentifier.data()+1, "edundant_binop_in_equality", 26) != 0)
1514 break;
1515 return 124; // "redundant_binop_in_equality"
1516 case 't': // 1 string to match.
1517 if (memcmp(RuleIdentifier.data()+1, "runc_lshr_buildvector_fold", 26) != 0)
1518 break;
1519 return 104; // "trunc_lshr_buildvector_fold"
1520 case 'u': // 1 string to match.
1521 if (memcmp(RuleIdentifier.data()+1, "nmerge_anyext_build_vector", 26) != 0)
1522 break;
1523 return 235; // "unmerge_anyext_build_vector"
1524 }
1525 break;
1526 case 28: // 5 strings to match.
1527 switch (RuleIdentifier[0]) {
1528 default: break;
1529 case 'c': // 1 string to match.
1530 if (memcmp(RuleIdentifier.data()+1, "ombine_or_s64_with_s32_mask", 27) != 0)
1531 break;
1532 return 280; // "combine_or_s64_with_s32_mask"
1533 case 'd': // 1 string to match.
1534 if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_and_combine", 27) != 0)
1535 break;
1536 return 122; // "double_icmp_zero_and_combine"
1537 case 'o': // 1 string to match.
1538 if (memcmp(RuleIdentifier.data()+1, "pt_brcond_by_inverting_cond", 27) != 0)
1539 break;
1540 return 144; // "opt_brcond_by_inverting_cond"
1541 case 'p': // 1 string to match.
1542 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_shuffle_mask", 27) != 0)
1543 break;
1544 return 86; // "propagate_undef_shuffle_mask"
1545 case 's': // 1 string to match.
1546 if (memcmp(RuleIdentifier.data()+1, "hift_of_shifted_logic_chain", 27) != 0)
1547 break;
1548 return 170; // "shift_of_shifted_logic_chain"
1549 }
1550 break;
1551 case 29: // 7 strings to match.
1552 switch (RuleIdentifier[0]) {
1553 default: break;
1554 case 'b': // 1 string to match.
1555 if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_shr_and", 28) != 0)
1556 break;
1557 return 186; // "bitfield_extract_from_shr_and"
1558 case 'c': // 5 strings to match.
1559 if (RuleIdentifier[1] != 'o')
1560 break;
1561 switch (RuleIdentifier[2]) {
1562 default: break;
1563 case 'm': // 3 strings to match.
1564 if (memcmp(RuleIdentifier.data()+3, "bine_", 5) != 0)
1565 break;
1566 switch (RuleIdentifier[8]) {
1567 default: break;
1568 case 'a': // 1 string to match.
1569 if (memcmp(RuleIdentifier.data()+9, "nd_s64_with_s32_mask", 20) != 0)
1570 break;
1571 return 281; // "combine_and_s64_with_s32_mask"
1572 case 'e': // 1 string to match.
1573 if (memcmp(RuleIdentifier.data()+9, "xtracted_vector_load", 20) != 0)
1574 break;
1575 return 76; // "combine_extracted_vector_load"
1576 case 's': // 1 string to match.
1577 if (memcmp(RuleIdentifier.data()+9, "huffle_disjoint_mask", 20) != 0)
1578 break;
1579 return 233; // "combine_shuffle_disjoint_mask"
1580 }
1581 break;
1582 case 'n': // 2 strings to match.
1583 if (memcmp(RuleIdentifier.data()+3, "stant_fold_intrinsic_", 21) != 0)
1584 break;
1585 switch (RuleIdentifier[24]) {
1586 default: break;
1587 case 'r': // 1 string to match.
1588 if (memcmp(RuleIdentifier.data()+25, "ound", 4) != 0)
1589 break;
1590 return 154; // "constant_fold_intrinsic_round"
1591 case 't': // 1 string to match.
1592 if (memcmp(RuleIdentifier.data()+25, "runc", 4) != 0)
1593 break;
1594 return 153; // "constant_fold_intrinsic_trunc"
1595 }
1596 break;
1597 }
1598 break;
1599 case 'i': // 1 string to match.
1600 if (memcmp(RuleIdentifier.data()+1, "cmp_to_true_false_known_bits", 28) != 0)
1601 break;
1602 return 120; // "icmp_to_true_false_known_bits"
1603 }
1604 break;
1605 case 30: // 2 strings to match.
1606 switch (RuleIdentifier[0]) {
1607 default: break;
1608 case 'f': // 1 string to match.
1609 if (memcmp(RuleIdentifier.data()+1, "reeze_of_non_undef_non_poison", 29) != 0)
1610 break;
1611 return 47; // "freeze_of_non_undef_non_poison"
1612 case 'r': // 1 string to match.
1613 if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp_nsz", 29) != 0)
1614 break;
1615 return 109; // "right_identity_neg_zero_fp_nsz"
1616 }
1617 break;
1618 case 31: // 3 strings to match.
1619 switch (RuleIdentifier[0]) {
1620 default: break;
1621 case 'f': // 1 string to match.
1622 if (memcmp(RuleIdentifier.data()+1, "cmp_select_to_fmin_fmax_legacy", 30) != 0)
1623 break;
1624 return 268; // "fcmp_select_to_fmin_fmax_legacy"
1625 case 'i': // 2 strings to match.
1626 if (memcmp(RuleIdentifier.data()+1, "nsert_vector_element_", 21) != 0)
1627 break;
1628 switch (RuleIdentifier[22]) {
1629 default: break;
1630 case 'e': // 1 string to match.
1631 if (memcmp(RuleIdentifier.data()+23, "lt_undef", 8) != 0)
1632 break;
1633 return 28; // "insert_vector_element_elt_undef"
1634 case 'i': // 1 string to match.
1635 if (memcmp(RuleIdentifier.data()+23, "dx_undef", 8) != 0)
1636 break;
1637 return 27; // "insert_vector_element_idx_undef"
1638 }
1639 break;
1640 }
1641 break;
1642 case 32: // 4 strings to match.
1643 switch (RuleIdentifier[0]) {
1644 default: break;
1645 case 'b': // 1 string to match.
1646 if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_sext_inreg", 31) != 0)
1647 break;
1648 return 183; // "bitfield_extract_from_sext_inreg"
1649 case 'c': // 2 strings to match.
1650 if (memcmp(RuleIdentifier.data()+1, "ombine_f", 8) != 0)
1651 break;
1652 switch (RuleIdentifier[9]) {
1653 default: break;
1654 case 'a': // 1 string to match.
1655 if (memcmp(RuleIdentifier.data()+10, "dd_fmul_to_fmad_or_fma", 22) != 0)
1656 break;
1657 return 196; // "combine_fadd_fmul_to_fmad_or_fma"
1658 case 's': // 1 string to match.
1659 if (memcmp(RuleIdentifier.data()+10, "ub_fmul_to_fmad_or_fma", 22) != 0)
1660 break;
1661 return 200; // "combine_fsub_fmul_to_fmad_or_fma"
1662 }
1663 break;
1664 case 'e': // 1 string to match.
1665 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_not_const", 31) != 0)
1666 break;
1667 return 31; // "extract_vector_element_not_const"
1668 }
1669 break;
1670 case 33: // 1 string to match.
1671 if (memcmp(RuleIdentifier.data()+0, "constant_fold_intrinsic_roundeven", 33) != 0)
1672 break;
1673 return 155; // "constant_fold_intrinsic_roundeven"
1674 case 34: // 2 strings to match.
1675 switch (RuleIdentifier[0]) {
1676 default: break;
1677 case 'c': // 1 string to match.
1678 if (memcmp(RuleIdentifier.data()+1, "ombine_fmul_with_select_to_fldexp", 33) != 0)
1679 break;
1680 return 270; // "combine_fmul_with_select_to_fldexp"
1681 case 'e': // 1 string to match.
1682 if (memcmp(RuleIdentifier.data()+1, "xtract_all_elts_from_build_vector", 33) != 0)
1683 break;
1684 return 73; // "extract_all_elts_from_build_vector"
1685 }
1686 break;
1687 case 35: // 1 string to match.
1688 if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_build_vector", 35) != 0)
1689 break;
1690 return 33; // "extract_vector_element_build_vector"
1691 case 36: // 4 strings to match.
1692 switch (RuleIdentifier[0]) {
1693 default: break;
1694 case 'c': // 2 strings to match.
1695 if (memcmp(RuleIdentifier.data()+1, "ombine_", 7) != 0)
1696 break;
1697 switch (RuleIdentifier[8]) {
1698 default: break;
1699 case 'f': // 1 string to match.
1700 if (memcmp(RuleIdentifier.data()+9, "add_fma_fmul_to_fmad_or_fma", 27) != 0)
1701 break;
1702 return 198; // "combine_fadd_fma_fmul_to_fmad_or_fma"
1703 case 'i': // 1 string to match.
1704 if (memcmp(RuleIdentifier.data()+9, "nsert_vec_elts_build_vector", 27) != 0)
1705 break;
1706 return 71; // "combine_insert_vec_elts_build_vector"
1707 }
1708 break;
1709 case 'i': // 1 string to match.
1710 if (memcmp(RuleIdentifier.data()+1, "nsert_extract_vec_elt_out_of_bounds", 35) != 0)
1711 break;
1712 return 88; // "insert_extract_vec_elt_out_of_bounds"
1713 case 'm': // 1 string to match.
1714 if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element_undef_index", 35) != 0)
1715 break;
1716 return 26; // "match_extract_of_element_undef_index"
1717 }
1718 break;
1719 case 37: // 4 strings to match.
1720 switch (RuleIdentifier[0]) {
1721 default: break;
1722 case 'c': // 1 string to match.
1723 if (memcmp(RuleIdentifier.data()+1, "ombine_fsub_fneg_fmul_to_fmad_or_fma", 36) != 0)
1724 break;
1725 return 201; // "combine_fsub_fneg_fmul_to_fmad_or_fma"
1726 case 'e': // 1 string to match.
1727 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_shuffle_vector", 36) != 0)
1728 break;
1729 return 41; // "extract_vector_element_shuffle_vector"
1730 case 'h': // 1 string to match.
1731 if (memcmp(RuleIdentifier.data()+1, "oist_logic_op_with_same_opcode_hands", 36) != 0)
1732 break;
1733 return 113; // "hoist_logic_op_with_same_opcode_hands"
1734 case 'm': // 1 string to match.
1735 if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element_undef_vector", 36) != 0)
1736 break;
1737 return 25; // "match_extract_of_element_undef_vector"
1738 }
1739 break;
1740 case 38: // 2 strings to match.
1741 if (memcmp(RuleIdentifier.data()+0, "combine_f", 9) != 0)
1742 break;
1743 switch (RuleIdentifier[9]) {
1744 default: break;
1745 case 'a': // 1 string to match.
1746 if (memcmp(RuleIdentifier.data()+10, "dd_fpext_fmul_to_fmad_or_fma", 28) != 0)
1747 break;
1748 return 197; // "combine_fadd_fpext_fmul_to_fmad_or_fma"
1749 case 's': // 1 string to match.
1750 if (memcmp(RuleIdentifier.data()+10, "ub_fpext_fmul_to_fmad_or_fma", 28) != 0)
1751 break;
1752 return 202; // "combine_fsub_fpext_fmul_to_fmad_or_fma"
1753 }
1754 break;
1755 case 40: // 1 string to match.
1756 if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_different_indices", 40) != 0)
1757 break;
1758 return 32; // "extract_vector_element_different_indices"
1759 case 42: // 9 strings to match.
1760 switch (RuleIdentifier[0]) {
1761 default: break;
1762 case 'c': // 1 string to match.
1763 if (memcmp(RuleIdentifier.data()+1, "ombine_fadd_fpext_fma_fmul_to_fmad_or_fma", 41) != 0)
1764 break;
1765 return 199; // "combine_fadd_fpext_fma_fmul_to_fmad_or_fma"
1766 case 'e': // 7 strings to match.
1767 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_build_vector_trunc", 40) != 0)
1768 break;
1769 switch (RuleIdentifier[41]) {
1770 default: break;
1771 case '2': // 1 string to match.
1772 return 34; // "extract_vector_element_build_vector_trunc2"
1773 case '3': // 1 string to match.
1774 return 35; // "extract_vector_element_build_vector_trunc3"
1775 case '4': // 1 string to match.
1776 return 36; // "extract_vector_element_build_vector_trunc4"
1777 case '5': // 1 string to match.
1778 return 37; // "extract_vector_element_build_vector_trunc5"
1779 case '6': // 1 string to match.
1780 return 38; // "extract_vector_element_build_vector_trunc6"
1781 case '7': // 1 string to match.
1782 return 39; // "extract_vector_element_build_vector_trunc7"
1783 case '8': // 1 string to match.
1784 return 40; // "extract_vector_element_build_vector_trunc8"
1785 }
1786 break;
1787 case 'f': // 1 string to match.
1788 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_or_shift_to_funnel_shift_left", 41) != 0)
1789 break;
1790 return 178; // "funnel_shift_or_shift_to_funnel_shift_left"
1791 }
1792 break;
1793 case 43: // 2 strings to match.
1794 switch (RuleIdentifier[0]) {
1795 default: break;
1796 case 'c': // 1 string to match.
1797 if (memcmp(RuleIdentifier.data()+1, "ombine_fsub_fpext_fneg_fmul_to_fmad_or_fma", 42) != 0)
1798 break;
1799 return 203; // "combine_fsub_fpext_fneg_fmul_to_fmad_or_fma"
1800 case 'f': // 1 string to match.
1801 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_or_shift_to_funnel_shift_right", 42) != 0)
1802 break;
1803 return 179; // "funnel_shift_or_shift_to_funnel_shift_right"
1804 }
1805 break;
1806 case 44: // 1 string to match.
1807 if (memcmp(RuleIdentifier.data()+0, "insert_vector_element_extract_vector_element", 44) != 0)
1808 break;
1809 return 42; // "insert_vector_element_extract_vector_element"
1810 case 46: // 1 string to match.
1811 if (memcmp(RuleIdentifier.data()+0, "push_freeze_to_prevent_poison_from_propagating", 46) != 0)
1812 break;
1813 return 48; // "push_freeze_to_prevent_poison_from_propagating"
1814 }
1815#endif // ifndef NDEBUG
1816
1817 return std::nullopt;
1818}
1819static std::optional<std::pair<uint64_t, uint64_t>> getRuleRangeForIdentifier(StringRef RuleIdentifier) {
1820 std::pair<StringRef, StringRef> RangePair = RuleIdentifier.split(Separator: '-');
1821 if (!RangePair.second.empty()) {
1822 const auto First = getRuleIdxForIdentifier(RuleIdentifier: RangePair.first);
1823 const auto Last = getRuleIdxForIdentifier(RuleIdentifier: RangePair.second);
1824 if (!First || !Last)
1825 return std::nullopt;
1826 if (First >= Last)
1827 report_fatal_error(reason: "Beginning of range should be before end of range");
1828 return {{*First, *Last + 1}};
1829 }
1830 if (RangePair.first == "*") {
1831 return {{0, 283}};
1832 }
1833 const auto I = getRuleIdxForIdentifier(RuleIdentifier: RangePair.first);
1834 if (!I)
1835 return std::nullopt;
1836 return {{*I, *I + 1}};
1837}
1838
1839bool AMDGPUPostLegalizerCombinerImplRuleConfig::setRuleEnabled(StringRef RuleIdentifier) {
1840 auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
1841 if (!MaybeRange)
1842 return false;
1843 for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
1844 DisabledRules.reset(Idx: I);
1845 return true;
1846}
1847
1848bool AMDGPUPostLegalizerCombinerImplRuleConfig::setRuleDisabled(StringRef RuleIdentifier) {
1849 auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
1850 if (!MaybeRange)
1851 return false;
1852 for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
1853 DisabledRules.set(I);
1854 return true;
1855}
1856
1857static std::vector<std::string> AMDGPUPostLegalizerCombinerOption;
1858static cl::list<std::string> AMDGPUPostLegalizerCombinerDisableOption(
1859 "amdgpupostlegalizercombiner-disable-rule",
1860 cl::desc("Disable one or more combiner rules temporarily in the AMDGPUPostLegalizerCombiner pass"),
1861 cl::CommaSeparated,
1862 cl::Hidden,
1863 cl::cat(GICombinerOptionCategory),
1864 cl::callback(CB: [](const std::string &Str) {
1865 AMDGPUPostLegalizerCombinerOption.push_back(x: Str);
1866 }));
1867static cl::list<std::string> AMDGPUPostLegalizerCombinerOnlyEnableOption(
1868 "amdgpupostlegalizercombiner-only-enable-rule",
1869 cl::desc("Disable all rules in the AMDGPUPostLegalizerCombiner pass then re-enable the specified ones"),
1870 cl::Hidden,
1871 cl::cat(GICombinerOptionCategory),
1872 cl::callback(CB: [](const std::string &CommaSeparatedArg) {
1873 StringRef Str = CommaSeparatedArg;
1874 AMDGPUPostLegalizerCombinerOption.push_back(x: "*");
1875 do {
1876 auto X = Str.split(Separator: ",");
1877 AMDGPUPostLegalizerCombinerOption.push_back(x: ("!" + X.first).str());
1878 Str = X.second;
1879 } while (!Str.empty());
1880 }));
1881
1882
1883bool AMDGPUPostLegalizerCombinerImplRuleConfig::isRuleEnabled(unsigned RuleID) const {
1884 return !DisabledRules.test(Idx: RuleID);
1885}
1886bool AMDGPUPostLegalizerCombinerImplRuleConfig::parseCommandLineOption() {
1887 for (StringRef Identifier : AMDGPUPostLegalizerCombinerOption) {
1888 bool Enabled = Identifier.consume_front(Prefix: "!");
1889 if (Enabled && !setRuleEnabled(Identifier))
1890 return false;
1891 if (!Enabled && !setRuleDisabled(Identifier))
1892 return false;
1893 }
1894 return true;
1895}
1896
1897
1898#endif // GET_GICOMBINER_TYPES
1899
1900#ifdef GET_GICOMBINER_TYPES
1901
1902const unsigned MAX_SUBTARGET_PREDICATES = 3;
1903using PredicateBitset = llvm::Bitset<MAX_SUBTARGET_PREDICATES>;
1904
1905#endif // GET_GICOMBINER_TYPES
1906
1907#ifdef GET_GICOMBINER_CLASS_MEMBERS
1908
1909 bool canMatchOpcode(unsigned Opc) const override;
1910
1911#endif // GET_GICOMBINER_CLASS_MEMBERS
1912
1913#ifdef GET_GICOMBINER_CLASS_MEMBERS
1914
1915PredicateBitset AvailableModuleFeatures;
1916mutable PredicateBitset AvailableFunctionFeatures;
1917PredicateBitset getAvailableFeatures() const {
1918 return AvailableModuleFeatures | AvailableFunctionFeatures;
1919}
1920PredicateBitset
1921computeAvailableModuleFeatures(const AMDGPUSubtarget *Subtarget) const;
1922PredicateBitset
1923computeAvailableFunctionFeatures(const AMDGPUSubtarget *Subtarget,
1924 const MachineFunction *MF) const;
1925void setupGeneratedPerFunctionState(MachineFunction &MF) override;
1926
1927#endif // GET_GICOMBINER_CLASS_MEMBERS
1928
1929#ifdef GET_GICOMBINER_CLASS_MEMBERS
1930
1931 mutable MatcherState State;
1932 typedef ComplexRendererFns(AMDGPUPostLegalizerCombinerImpl::*ComplexMatcherMemFn)(MachineOperand &) const;
1933 typedef void(AMDGPUPostLegalizerCombinerImpl::*CustomRendererFn)(MachineInstrBuilder &, const MachineInstr &, int) const;
1934 const ExecInfoTy<PredicateBitset, ComplexMatcherMemFn, CustomRendererFn> ExecInfo;
1935 static AMDGPUPostLegalizerCombinerImpl::ComplexMatcherMemFn ComplexPredicateFns[];
1936 static AMDGPUPostLegalizerCombinerImpl::CustomRendererFn CustomRenderers[];
1937 bool testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const override;
1938 bool testImmPredicate_APInt(unsigned PredicateID, const APInt &Imm) const override;
1939 bool testImmPredicate_APFloat(unsigned PredicateID, const APFloat &Imm) const override;
1940 const uint8_t *getMatchTable() const override;
1941 bool testMIPredicate_MI(unsigned PredicateID, const MachineInstr &MI, const MatcherState &State) const override;
1942 bool testMOPredicate_MO(unsigned PredicateID, const MachineOperand &MO, const MatcherState &State) const override;
1943 bool testSimplePredicate(unsigned PredicateID) const override;
1944 bool runCustomAction(unsigned FnID, const MatcherState &State, NewMIVector &OutMIs) const override;
1945
1946#endif // GET_GICOMBINER_CLASS_MEMBERS
1947
1948#ifdef GET_GICOMBINER_IMPL
1949
1950// LLT Objects.
1951enum {
1952 GILLT_i32,
1953 GILLT_i64,
1954 GILLT_f16,
1955 GILLT_f32,
1956};
1957const static size_t NumTypeObjects = 4;
1958const static LLT TypeObjects[] = {
1959 LLT(LLT::Kind::INTEGER, ElementCount::getFixed(0), 32),
1960 LLT(LLT::Kind::INTEGER, ElementCount::getFixed(0), 64),
1961 LLT(LLT::Kind::FLOAT, ElementCount::getFixed(0), 16, LLT::FpSemantics::S_IEEEhalf),
1962 LLT(LLT::Kind::FLOAT, ElementCount::getFixed(0), 32, LLT::FpSemantics::S_IEEEsingle),
1963};
1964
1965// Bits for subtarget features that participate in instruction matching.
1966enum SubtargetFeatureBits : uint8_t {
1967 Feature_Has16BitInstsBit = 1,
1968 Feature_NotHasMed3_16Bit = 2,
1969 Feature_HasFminFmaxLegacyBit = 0,
1970};
1971
1972PredicateBitset AMDGPUPostLegalizerCombinerImpl::
1973computeAvailableModuleFeatures(const AMDGPUSubtarget *Subtarget) const {
1974 PredicateBitset Features{};
1975 if (Subtarget->has16BitInsts())
1976 Features.set(Feature_Has16BitInstsBit);
1977 if (!Subtarget->hasMed3_16())
1978 Features.set(Feature_NotHasMed3_16Bit);
1979 if (Subtarget->hasFminFmaxLegacy())
1980 Features.set(Feature_HasFminFmaxLegacyBit);
1981 return Features;
1982}
1983
1984void AMDGPUPostLegalizerCombinerImpl::setupGeneratedPerFunctionState(MachineFunction &MF) {
1985 AvailableFunctionFeatures = computeAvailableFunctionFeatures((const AMDGPUSubtarget *)&MF.getSubtarget(), &MF);
1986}
1987PredicateBitset AMDGPUPostLegalizerCombinerImpl::
1988computeAvailableFunctionFeatures(const AMDGPUSubtarget *Subtarget, const MachineFunction *MF) const {
1989 PredicateBitset Features{};
1990 return Features;
1991}
1992
1993// Feature bitsets.
1994enum {
1995 GIFBS_Invalid,
1996 GIFBS_HasFminFmaxLegacy,
1997 GIFBS_Has16BitInsts_NotHasMed3_16,
1998};
1999constexpr static PredicateBitset FeatureBitsets[] {
2000 {}, // GIFBS_Invalid
2001 {Feature_HasFminFmaxLegacyBit, },
2002 {Feature_Has16BitInstsBit, Feature_NotHasMed3_16Bit, },
2003};
2004
2005// ComplexPattern predicates.
2006enum {
2007 GICP_Invalid,
2008};
2009// See constructor for table contents
2010
2011AMDGPUPostLegalizerCombinerImpl::ComplexMatcherMemFn
2012AMDGPUPostLegalizerCombinerImpl::ComplexPredicateFns[] = {
2013 nullptr, // GICP_Invalid
2014};
2015
2016enum {
2017 GICXXPred_MI_Predicate_GICombiner0 = GICXXPred_Invalid + 1,
2018 GICXXPred_MI_Predicate_GICombiner1,
2019 GICXXPred_MI_Predicate_GICombiner2,
2020 GICXXPred_MI_Predicate_GICombiner3,
2021 GICXXPred_MI_Predicate_GICombiner4,
2022 GICXXPred_MI_Predicate_GICombiner5,
2023 GICXXPred_MI_Predicate_GICombiner6,
2024 GICXXPred_MI_Predicate_GICombiner7,
2025 GICXXPred_MI_Predicate_GICombiner8,
2026 GICXXPred_MI_Predicate_GICombiner9,
2027 GICXXPred_MI_Predicate_GICombiner10,
2028 GICXXPred_MI_Predicate_GICombiner11,
2029 GICXXPred_MI_Predicate_GICombiner12,
2030 GICXXPred_MI_Predicate_GICombiner13,
2031 GICXXPred_MI_Predicate_GICombiner14,
2032 GICXXPred_MI_Predicate_GICombiner15,
2033 GICXXPred_MI_Predicate_GICombiner16,
2034 GICXXPred_MI_Predicate_GICombiner17,
2035 GICXXPred_MI_Predicate_GICombiner18,
2036 GICXXPred_MI_Predicate_GICombiner19,
2037 GICXXPred_MI_Predicate_GICombiner20,
2038 GICXXPred_MI_Predicate_GICombiner21,
2039 GICXXPred_MI_Predicate_GICombiner22,
2040 GICXXPred_MI_Predicate_GICombiner23,
2041 GICXXPred_MI_Predicate_GICombiner24,
2042};
2043bool AMDGPUPostLegalizerCombinerImpl::testMIPredicate_MI(unsigned PredicateID, const MachineInstr & MI, const MatcherState &State) const {
2044 switch (PredicateID) {
2045 case GICXXPred_MI_Predicate_GICombiner0: {
2046 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg());
2047 }
2048 case GICXXPred_MI_Predicate_GICombiner1: {
2049 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg());
2050 }
2051 case GICXXPred_MI_Predicate_GICombiner2: {
2052 return isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI);
2053 }
2054 case GICXXPred_MI_Predicate_GICombiner3: {
2055 return isGuaranteedNotToBeUndefOrPoison(State.MIs[0]->getOperand(1).getReg(), MRI);
2056 }
2057 case GICXXPred_MI_Predicate_GICombiner4: {
2058 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), 1.0);
2059 }
2060 case GICXXPred_MI_Predicate_GICombiner5: {
2061 return MRI.getType(State.MIs[1]->getOperand(1).getReg()) != MRI.getType(State.MIs[0]->getOperand(0).getReg());
2062 }
2063 case GICXXPred_MI_Predicate_GICombiner6: {
2064 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -0.0);
2065 }
2066 case GICXXPred_MI_Predicate_GICombiner7: {
2067 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), 0.0);
2068 }
2069 case GICXXPred_MI_Predicate_GICombiner8: {
2070 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -1.0);
2071 }
2072 case GICXXPred_MI_Predicate_GICombiner9: {
2073 return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_EQ &&
2074 !MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
2075 (MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
2076 MRI.getType(State.MIs[2]->getOperand(2).getReg()));
2077 }
2078 case GICXXPred_MI_Predicate_GICombiner10: {
2079 return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_NE &&
2080 !MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
2081 (MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
2082 MRI.getType(State.MIs[2]->getOperand(2).getReg()));
2083 }
2084 case GICXXPred_MI_Predicate_GICombiner11: {
2085 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg()) &&
2086 Helper.isLegalOrBeforeLegalizer(
2087 {TargetOpcode::G_SEXT_INREG, {MRI.getType(State.MIs[1]->getOperand(1).getReg())}});
2088 }
2089 case GICXXPred_MI_Predicate_GICombiner12: {
2090 return MRI.getType(State.MIs[0]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg()) &&
2091 VT->computeNumSignBits(State.MIs[0]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg()).getScalarSizeInBits();
2092 }
2093 case GICXXPred_MI_Predicate_GICombiner13: {
2094 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_LSHR,
2095 {MRI.getType(State.MIs[2]->getOperand(1).getReg()),
2096 MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
2097 }
2098 case GICXXPred_MI_Predicate_GICombiner14: {
2099 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_SHL,
2100 {MRI.getType(State.MIs[2]->getOperand(1).getReg()),
2101 MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
2102 }
2103 case GICXXPred_MI_Predicate_GICombiner15: {
2104 return Helper.matchTruncUSatU(*State.MIs[0], *State.MIs[1]);
2105 }
2106 case GICXXPred_MI_Predicate_GICombiner16: {
2107 return Helper.matchTruncUSatUToFPTOUISat(*State.MIs[0], *State.MIs[1]);
2108 }
2109 case GICXXPred_MI_Predicate_GICombiner17: {
2110 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg()) &&
2111 MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(1).getReg());
2112 }
2113 case GICXXPred_MI_Predicate_GICombiner18: {
2114 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg()) &&
2115 MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(1).getReg());
2116 }
2117 case GICXXPred_MI_Predicate_GICombiner19: {
2118 return MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(2).getReg()) &&
2119 MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg());
2120 }
2121 case GICXXPred_MI_Predicate_GICombiner20: {
2122 return Helper.matchAVG(*State.MIs[0], MRI, State.MIs[2]->getOperand(1).getReg(), State.MIs[3]->getOperand(1).getReg(), TargetOpcode::G_UAVGFLOOR);
2123 }
2124 case GICXXPred_MI_Predicate_GICombiner21: {
2125 return Helper.matchAVG(*State.MIs[0], MRI, State.MIs[2]->getOperand(1).getReg(), State.MIs[3]->getOperand(1).getReg(), TargetOpcode::G_SAVGFLOOR);
2126 }
2127 case GICXXPred_MI_Predicate_GICombiner22: {
2128 return Helper.matchAVG(*State.MIs[0], MRI, State.MIs[3]->getOperand(1).getReg(), State.MIs[4]->getOperand(1).getReg(), TargetOpcode::G_UAVGCEIL);
2129 }
2130 case GICXXPred_MI_Predicate_GICombiner23: {
2131 return Helper.matchAVG(*State.MIs[0], MRI, State.MIs[3]->getOperand(1).getReg(), State.MIs[4]->getOperand(1).getReg(), TargetOpcode::G_SAVGCEIL);
2132 }
2133 case GICXXPred_MI_Predicate_GICombiner24: {
2134 return Helper.matchConstantIs32BitMask(State.MIs[0]->getOperand(1).getReg()) ||
2135 Helper.matchConstantIs32BitMask(State.MIs[0]->getOperand(2).getReg());
2136 }
2137 }
2138 llvm_unreachable("Unknown predicate");
2139 return false;
2140}
2141bool AMDGPUPostLegalizerCombinerImpl::testMOPredicate_MO(unsigned PredicateID, const MachineOperand & MO, const MatcherState &State) const {
2142 llvm_unreachable("Unknown predicate");
2143 return false;
2144}
2145bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const {
2146 llvm_unreachable("Unknown predicate");
2147 return false;
2148}
2149bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_APFloat(unsigned PredicateID, const APFloat & Imm) const {
2150 llvm_unreachable("Unknown predicate");
2151 return false;
2152}
2153bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_APInt(unsigned PredicateID, const APInt & Imm) const {
2154 llvm_unreachable("Unknown predicate");
2155 return false;
2156}
2157enum {
2158 GICXXPred_Simple_IsRule0Enabled = GICXXPred_Invalid + 1,
2159 GICXXPred_Simple_IsRule1Enabled,
2160 GICXXPred_Simple_IsRule2Enabled,
2161 GICXXPred_Simple_IsRule3Enabled,
2162 GICXXPred_Simple_IsRule4Enabled,
2163 GICXXPred_Simple_IsRule5Enabled,
2164 GICXXPred_Simple_IsRule6Enabled,
2165 GICXXPred_Simple_IsRule7Enabled,
2166 GICXXPred_Simple_IsRule8Enabled,
2167 GICXXPred_Simple_IsRule9Enabled,
2168 GICXXPred_Simple_IsRule10Enabled,
2169 GICXXPred_Simple_IsRule11Enabled,
2170 GICXXPred_Simple_IsRule12Enabled,
2171 GICXXPred_Simple_IsRule13Enabled,
2172 GICXXPred_Simple_IsRule14Enabled,
2173 GICXXPred_Simple_IsRule15Enabled,
2174 GICXXPred_Simple_IsRule16Enabled,
2175 GICXXPred_Simple_IsRule17Enabled,
2176 GICXXPred_Simple_IsRule18Enabled,
2177 GICXXPred_Simple_IsRule19Enabled,
2178 GICXXPred_Simple_IsRule20Enabled,
2179 GICXXPred_Simple_IsRule21Enabled,
2180 GICXXPred_Simple_IsRule22Enabled,
2181 GICXXPred_Simple_IsRule23Enabled,
2182 GICXXPred_Simple_IsRule24Enabled,
2183 GICXXPred_Simple_IsRule25Enabled,
2184 GICXXPred_Simple_IsRule26Enabled,
2185 GICXXPred_Simple_IsRule27Enabled,
2186 GICXXPred_Simple_IsRule28Enabled,
2187 GICXXPred_Simple_IsRule29Enabled,
2188 GICXXPred_Simple_IsRule30Enabled,
2189 GICXXPred_Simple_IsRule31Enabled,
2190 GICXXPred_Simple_IsRule32Enabled,
2191 GICXXPred_Simple_IsRule33Enabled,
2192 GICXXPred_Simple_IsRule34Enabled,
2193 GICXXPred_Simple_IsRule35Enabled,
2194 GICXXPred_Simple_IsRule36Enabled,
2195 GICXXPred_Simple_IsRule37Enabled,
2196 GICXXPred_Simple_IsRule38Enabled,
2197 GICXXPred_Simple_IsRule39Enabled,
2198 GICXXPred_Simple_IsRule40Enabled,
2199 GICXXPred_Simple_IsRule41Enabled,
2200 GICXXPred_Simple_IsRule42Enabled,
2201 GICXXPred_Simple_IsRule43Enabled,
2202 GICXXPred_Simple_IsRule44Enabled,
2203 GICXXPred_Simple_IsRule45Enabled,
2204 GICXXPred_Simple_IsRule46Enabled,
2205 GICXXPred_Simple_IsRule47Enabled,
2206 GICXXPred_Simple_IsRule48Enabled,
2207 GICXXPred_Simple_IsRule49Enabled,
2208 GICXXPred_Simple_IsRule50Enabled,
2209 GICXXPred_Simple_IsRule51Enabled,
2210 GICXXPred_Simple_IsRule52Enabled,
2211 GICXXPred_Simple_IsRule53Enabled,
2212 GICXXPred_Simple_IsRule54Enabled,
2213 GICXXPred_Simple_IsRule55Enabled,
2214 GICXXPred_Simple_IsRule56Enabled,
2215 GICXXPred_Simple_IsRule57Enabled,
2216 GICXXPred_Simple_IsRule58Enabled,
2217 GICXXPred_Simple_IsRule59Enabled,
2218 GICXXPred_Simple_IsRule60Enabled,
2219 GICXXPred_Simple_IsRule61Enabled,
2220 GICXXPred_Simple_IsRule62Enabled,
2221 GICXXPred_Simple_IsRule63Enabled,
2222 GICXXPred_Simple_IsRule64Enabled,
2223 GICXXPred_Simple_IsRule65Enabled,
2224 GICXXPred_Simple_IsRule66Enabled,
2225 GICXXPred_Simple_IsRule67Enabled,
2226 GICXXPred_Simple_IsRule68Enabled,
2227 GICXXPred_Simple_IsRule69Enabled,
2228 GICXXPred_Simple_IsRule70Enabled,
2229 GICXXPred_Simple_IsRule71Enabled,
2230 GICXXPred_Simple_IsRule72Enabled,
2231 GICXXPred_Simple_IsRule73Enabled,
2232 GICXXPred_Simple_IsRule74Enabled,
2233 GICXXPred_Simple_IsRule75Enabled,
2234 GICXXPred_Simple_IsRule76Enabled,
2235 GICXXPred_Simple_IsRule77Enabled,
2236 GICXXPred_Simple_IsRule78Enabled,
2237 GICXXPred_Simple_IsRule79Enabled,
2238 GICXXPred_Simple_IsRule80Enabled,
2239 GICXXPred_Simple_IsRule81Enabled,
2240 GICXXPred_Simple_IsRule82Enabled,
2241 GICXXPred_Simple_IsRule83Enabled,
2242 GICXXPred_Simple_IsRule84Enabled,
2243 GICXXPred_Simple_IsRule85Enabled,
2244 GICXXPred_Simple_IsRule86Enabled,
2245 GICXXPred_Simple_IsRule87Enabled,
2246 GICXXPred_Simple_IsRule88Enabled,
2247 GICXXPred_Simple_IsRule89Enabled,
2248 GICXXPred_Simple_IsRule90Enabled,
2249 GICXXPred_Simple_IsRule91Enabled,
2250 GICXXPred_Simple_IsRule92Enabled,
2251 GICXXPred_Simple_IsRule93Enabled,
2252 GICXXPred_Simple_IsRule94Enabled,
2253 GICXXPred_Simple_IsRule95Enabled,
2254 GICXXPred_Simple_IsRule96Enabled,
2255 GICXXPred_Simple_IsRule97Enabled,
2256 GICXXPred_Simple_IsRule98Enabled,
2257 GICXXPred_Simple_IsRule99Enabled,
2258 GICXXPred_Simple_IsRule100Enabled,
2259 GICXXPred_Simple_IsRule101Enabled,
2260 GICXXPred_Simple_IsRule102Enabled,
2261 GICXXPred_Simple_IsRule103Enabled,
2262 GICXXPred_Simple_IsRule104Enabled,
2263 GICXXPred_Simple_IsRule105Enabled,
2264 GICXXPred_Simple_IsRule106Enabled,
2265 GICXXPred_Simple_IsRule107Enabled,
2266 GICXXPred_Simple_IsRule108Enabled,
2267 GICXXPred_Simple_IsRule109Enabled,
2268 GICXXPred_Simple_IsRule110Enabled,
2269 GICXXPred_Simple_IsRule111Enabled,
2270 GICXXPred_Simple_IsRule112Enabled,
2271 GICXXPred_Simple_IsRule113Enabled,
2272 GICXXPred_Simple_IsRule114Enabled,
2273 GICXXPred_Simple_IsRule115Enabled,
2274 GICXXPred_Simple_IsRule116Enabled,
2275 GICXXPred_Simple_IsRule117Enabled,
2276 GICXXPred_Simple_IsRule118Enabled,
2277 GICXXPred_Simple_IsRule119Enabled,
2278 GICXXPred_Simple_IsRule120Enabled,
2279 GICXXPred_Simple_IsRule121Enabled,
2280 GICXXPred_Simple_IsRule122Enabled,
2281 GICXXPred_Simple_IsRule123Enabled,
2282 GICXXPred_Simple_IsRule124Enabled,
2283 GICXXPred_Simple_IsRule125Enabled,
2284 GICXXPred_Simple_IsRule126Enabled,
2285 GICXXPred_Simple_IsRule127Enabled,
2286 GICXXPred_Simple_IsRule128Enabled,
2287 GICXXPred_Simple_IsRule129Enabled,
2288 GICXXPred_Simple_IsRule130Enabled,
2289 GICXXPred_Simple_IsRule131Enabled,
2290 GICXXPred_Simple_IsRule132Enabled,
2291 GICXXPred_Simple_IsRule133Enabled,
2292 GICXXPred_Simple_IsRule134Enabled,
2293 GICXXPred_Simple_IsRule135Enabled,
2294 GICXXPred_Simple_IsRule136Enabled,
2295 GICXXPred_Simple_IsRule137Enabled,
2296 GICXXPred_Simple_IsRule138Enabled,
2297 GICXXPred_Simple_IsRule139Enabled,
2298 GICXXPred_Simple_IsRule140Enabled,
2299 GICXXPred_Simple_IsRule141Enabled,
2300 GICXXPred_Simple_IsRule142Enabled,
2301 GICXXPred_Simple_IsRule143Enabled,
2302 GICXXPred_Simple_IsRule144Enabled,
2303 GICXXPred_Simple_IsRule145Enabled,
2304 GICXXPred_Simple_IsRule146Enabled,
2305 GICXXPred_Simple_IsRule147Enabled,
2306 GICXXPred_Simple_IsRule148Enabled,
2307 GICXXPred_Simple_IsRule149Enabled,
2308 GICXXPred_Simple_IsRule150Enabled,
2309 GICXXPred_Simple_IsRule151Enabled,
2310 GICXXPred_Simple_IsRule152Enabled,
2311 GICXXPred_Simple_IsRule153Enabled,
2312 GICXXPred_Simple_IsRule154Enabled,
2313 GICXXPred_Simple_IsRule155Enabled,
2314 GICXXPred_Simple_IsRule156Enabled,
2315 GICXXPred_Simple_IsRule157Enabled,
2316 GICXXPred_Simple_IsRule158Enabled,
2317 GICXXPred_Simple_IsRule159Enabled,
2318 GICXXPred_Simple_IsRule160Enabled,
2319 GICXXPred_Simple_IsRule161Enabled,
2320 GICXXPred_Simple_IsRule162Enabled,
2321 GICXXPred_Simple_IsRule163Enabled,
2322 GICXXPred_Simple_IsRule164Enabled,
2323 GICXXPred_Simple_IsRule165Enabled,
2324 GICXXPred_Simple_IsRule166Enabled,
2325 GICXXPred_Simple_IsRule167Enabled,
2326 GICXXPred_Simple_IsRule168Enabled,
2327 GICXXPred_Simple_IsRule169Enabled,
2328 GICXXPred_Simple_IsRule170Enabled,
2329 GICXXPred_Simple_IsRule171Enabled,
2330 GICXXPred_Simple_IsRule172Enabled,
2331 GICXXPred_Simple_IsRule173Enabled,
2332 GICXXPred_Simple_IsRule174Enabled,
2333 GICXXPred_Simple_IsRule175Enabled,
2334 GICXXPred_Simple_IsRule176Enabled,
2335 GICXXPred_Simple_IsRule177Enabled,
2336 GICXXPred_Simple_IsRule178Enabled,
2337 GICXXPred_Simple_IsRule179Enabled,
2338 GICXXPred_Simple_IsRule180Enabled,
2339 GICXXPred_Simple_IsRule181Enabled,
2340 GICXXPred_Simple_IsRule182Enabled,
2341 GICXXPred_Simple_IsRule183Enabled,
2342 GICXXPred_Simple_IsRule184Enabled,
2343 GICXXPred_Simple_IsRule185Enabled,
2344 GICXXPred_Simple_IsRule186Enabled,
2345 GICXXPred_Simple_IsRule187Enabled,
2346 GICXXPred_Simple_IsRule188Enabled,
2347 GICXXPred_Simple_IsRule189Enabled,
2348 GICXXPred_Simple_IsRule190Enabled,
2349 GICXXPred_Simple_IsRule191Enabled,
2350 GICXXPred_Simple_IsRule192Enabled,
2351 GICXXPred_Simple_IsRule193Enabled,
2352 GICXXPred_Simple_IsRule194Enabled,
2353 GICXXPred_Simple_IsRule195Enabled,
2354 GICXXPred_Simple_IsRule196Enabled,
2355 GICXXPred_Simple_IsRule197Enabled,
2356 GICXXPred_Simple_IsRule198Enabled,
2357 GICXXPred_Simple_IsRule199Enabled,
2358 GICXXPred_Simple_IsRule200Enabled,
2359 GICXXPred_Simple_IsRule201Enabled,
2360 GICXXPred_Simple_IsRule202Enabled,
2361 GICXXPred_Simple_IsRule203Enabled,
2362 GICXXPred_Simple_IsRule204Enabled,
2363 GICXXPred_Simple_IsRule205Enabled,
2364 GICXXPred_Simple_IsRule206Enabled,
2365 GICXXPred_Simple_IsRule207Enabled,
2366 GICXXPred_Simple_IsRule208Enabled,
2367 GICXXPred_Simple_IsRule209Enabled,
2368 GICXXPred_Simple_IsRule210Enabled,
2369 GICXXPred_Simple_IsRule211Enabled,
2370 GICXXPred_Simple_IsRule212Enabled,
2371 GICXXPred_Simple_IsRule213Enabled,
2372 GICXXPred_Simple_IsRule214Enabled,
2373 GICXXPred_Simple_IsRule215Enabled,
2374 GICXXPred_Simple_IsRule216Enabled,
2375 GICXXPred_Simple_IsRule217Enabled,
2376 GICXXPred_Simple_IsRule218Enabled,
2377 GICXXPred_Simple_IsRule219Enabled,
2378 GICXXPred_Simple_IsRule220Enabled,
2379 GICXXPred_Simple_IsRule221Enabled,
2380 GICXXPred_Simple_IsRule222Enabled,
2381 GICXXPred_Simple_IsRule223Enabled,
2382 GICXXPred_Simple_IsRule224Enabled,
2383 GICXXPred_Simple_IsRule225Enabled,
2384 GICXXPred_Simple_IsRule226Enabled,
2385 GICXXPred_Simple_IsRule227Enabled,
2386 GICXXPred_Simple_IsRule228Enabled,
2387 GICXXPred_Simple_IsRule229Enabled,
2388 GICXXPred_Simple_IsRule230Enabled,
2389 GICXXPred_Simple_IsRule231Enabled,
2390 GICXXPred_Simple_IsRule232Enabled,
2391 GICXXPred_Simple_IsRule233Enabled,
2392 GICXXPred_Simple_IsRule234Enabled,
2393 GICXXPred_Simple_IsRule235Enabled,
2394 GICXXPred_Simple_IsRule236Enabled,
2395 GICXXPred_Simple_IsRule237Enabled,
2396 GICXXPred_Simple_IsRule238Enabled,
2397 GICXXPred_Simple_IsRule239Enabled,
2398 GICXXPred_Simple_IsRule240Enabled,
2399 GICXXPred_Simple_IsRule241Enabled,
2400 GICXXPred_Simple_IsRule242Enabled,
2401 GICXXPred_Simple_IsRule243Enabled,
2402 GICXXPred_Simple_IsRule244Enabled,
2403 GICXXPred_Simple_IsRule245Enabled,
2404 GICXXPred_Simple_IsRule246Enabled,
2405 GICXXPred_Simple_IsRule247Enabled,
2406 GICXXPred_Simple_IsRule248Enabled,
2407 GICXXPred_Simple_IsRule249Enabled,
2408 GICXXPred_Simple_IsRule250Enabled,
2409 GICXXPred_Simple_IsRule251Enabled,
2410 GICXXPred_Simple_IsRule252Enabled,
2411 GICXXPred_Simple_IsRule253Enabled,
2412 GICXXPred_Simple_IsRule254Enabled,
2413 GICXXPred_Simple_IsRule255Enabled,
2414 GICXXPred_Simple_IsRule256Enabled,
2415 GICXXPred_Simple_IsRule257Enabled,
2416 GICXXPred_Simple_IsRule258Enabled,
2417 GICXXPred_Simple_IsRule259Enabled,
2418 GICXXPred_Simple_IsRule260Enabled,
2419 GICXXPred_Simple_IsRule261Enabled,
2420 GICXXPred_Simple_IsRule262Enabled,
2421 GICXXPred_Simple_IsRule263Enabled,
2422 GICXXPred_Simple_IsRule264Enabled,
2423 GICXXPred_Simple_IsRule265Enabled,
2424 GICXXPred_Simple_IsRule266Enabled,
2425 GICXXPred_Simple_IsRule267Enabled,
2426 GICXXPred_Simple_IsRule268Enabled,
2427 GICXXPred_Simple_IsRule269Enabled,
2428 GICXXPred_Simple_IsRule270Enabled,
2429 GICXXPred_Simple_IsRule271Enabled,
2430 GICXXPred_Simple_IsRule272Enabled,
2431 GICXXPred_Simple_IsRule273Enabled,
2432 GICXXPred_Simple_IsRule274Enabled,
2433 GICXXPred_Simple_IsRule275Enabled,
2434 GICXXPred_Simple_IsRule276Enabled,
2435 GICXXPred_Simple_IsRule277Enabled,
2436 GICXXPred_Simple_IsRule278Enabled,
2437 GICXXPred_Simple_IsRule279Enabled,
2438 GICXXPred_Simple_IsRule280Enabled,
2439 GICXXPred_Simple_IsRule281Enabled,
2440 GICXXPred_Simple_IsRule282Enabled,
2441};
2442
2443bool AMDGPUPostLegalizerCombinerImpl::testSimplePredicate(unsigned Predicate) const {
2444 return RuleConfig.isRuleEnabled(Predicate - GICXXPred_Invalid - 1);
2445}
2446// Custom renderers.
2447enum {
2448 GICR_Invalid,
2449};
2450AMDGPUPostLegalizerCombinerImpl::CustomRendererFn
2451AMDGPUPostLegalizerCombinerImpl::CustomRenderers[] = {
2452 nullptr, // GICR_Invalid
2453};
2454
2455bool AMDGPUPostLegalizerCombinerImpl::canMatchOpcode(unsigned Opc) const {
2456 switch (Opc) {
2457 case TargetOpcode::G_FCMP:
2458 case TargetOpcode::G_FSHL:
2459 case TargetOpcode::G_FSHR:
2460 case TargetOpcode::G_ICMP:
2461 case TargetOpcode::G_INSERT_VECTOR_ELT:
2462 case TargetOpcode::G_SELECT:
2463 case TargetOpcode::G_SHUFFLE_VECTOR:
2464 case TargetOpcode::G_ADD:
2465 case TargetOpcode::G_AND:
2466 case TargetOpcode::G_ASHR:
2467 case TargetOpcode::G_EXTRACT_VECTOR_ELT:
2468 case TargetOpcode::G_FADD:
2469 case TargetOpcode::G_FCOPYSIGN:
2470 case TargetOpcode::G_FDIV:
2471 case TargetOpcode::G_FMAXIMUM:
2472 case TargetOpcode::G_FMAXIMUMNUM:
2473 case TargetOpcode::G_FMAXNUM:
2474 case TargetOpcode::G_FMINIMUM:
2475 case TargetOpcode::G_FMINIMUMNUM:
2476 case TargetOpcode::G_FMINNUM:
2477 case TargetOpcode::G_FMUL:
2478 case TargetOpcode::G_FPOWI:
2479 case TargetOpcode::G_FREM:
2480 case TargetOpcode::G_FSUB:
2481 case TargetOpcode::G_LSHR:
2482 case TargetOpcode::G_MERGE_VALUES:
2483 case TargetOpcode::G_MUL:
2484 case TargetOpcode::G_OR:
2485 case TargetOpcode::G_PTR_ADD:
2486 case TargetOpcode::G_ROTL:
2487 case TargetOpcode::G_ROTR:
2488 case TargetOpcode::G_SDIV:
2489 case TargetOpcode::G_SEXT_INREG:
2490 case TargetOpcode::G_SHL:
2491 case TargetOpcode::G_SREM:
2492 case TargetOpcode::G_SUB:
2493 case TargetOpcode::G_UDIV:
2494 case TargetOpcode::G_UREM:
2495 case TargetOpcode::G_XOR:
2496 case TargetOpcode::COPY:
2497 case TargetOpcode::G_ABS:
2498 case TargetOpcode::G_ANYEXT:
2499 case TargetOpcode::G_BITCAST:
2500 case TargetOpcode::G_BITREVERSE:
2501 case TargetOpcode::G_BSWAP:
2502 case TargetOpcode::G_BUILD_VECTOR:
2503 case TargetOpcode::G_CTLZ:
2504 case TargetOpcode::G_CTLZ_ZERO_POISON:
2505 case TargetOpcode::G_CTPOP:
2506 case TargetOpcode::G_CTTZ:
2507 case TargetOpcode::G_CTTZ_ZERO_POISON:
2508 case TargetOpcode::G_FABS:
2509 case TargetOpcode::G_FCANONICALIZE:
2510 case TargetOpcode::G_FCEIL:
2511 case TargetOpcode::G_FFLOOR:
2512 case TargetOpcode::G_FLOG2:
2513 case TargetOpcode::G_FNEARBYINT:
2514 case TargetOpcode::G_FNEG:
2515 case TargetOpcode::G_FPEXT:
2516 case TargetOpcode::G_FPTOSI:
2517 case TargetOpcode::G_FPTOUI:
2518 case TargetOpcode::G_FPTRUNC:
2519 case TargetOpcode::G_FREEZE:
2520 case TargetOpcode::G_FRINT:
2521 case TargetOpcode::G_FSQRT:
2522 case TargetOpcode::G_INTRINSIC_ROUND:
2523 case TargetOpcode::G_INTRINSIC_ROUNDEVEN:
2524 case TargetOpcode::G_INTRINSIC_TRUNC:
2525 case TargetOpcode::G_INTTOPTR:
2526 case TargetOpcode::G_PTRTOINT:
2527 case TargetOpcode::G_SEXT:
2528 case TargetOpcode::G_SITOFP:
2529 case TargetOpcode::G_TRUNC:
2530 case TargetOpcode::G_TRUNC_USAT_U:
2531 case TargetOpcode::G_UITOFP:
2532 case TargetOpcode::G_ZEXT:
2533 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE0:
2534 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE1:
2535 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE2:
2536 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE3:
2537 case TargetOpcode::G_BR:
2538 case TargetOpcode::G_BUILD_VECTOR_TRUNC:
2539 case TargetOpcode::G_CONCAT_VECTORS:
2540 case TargetOpcode::G_FMA:
2541 case TargetOpcode::G_FMAD:
2542 case TargetOpcode::G_FMAXNUM_IEEE:
2543 case TargetOpcode::G_FMINNUM_IEEE:
2544 case TargetOpcode::G_INTRINSIC:
2545 case TargetOpcode::G_LOAD:
2546 case TargetOpcode::G_PHI:
2547 case TargetOpcode::G_SADDE:
2548 case TargetOpcode::G_SADDO:
2549 case TargetOpcode::G_SADDSAT:
2550 case TargetOpcode::G_SEXTLOAD:
2551 case TargetOpcode::G_SMAX:
2552 case TargetOpcode::G_SMIN:
2553 case TargetOpcode::G_SMULFIX:
2554 case TargetOpcode::G_SMULFIXSAT:
2555 case TargetOpcode::G_SMULH:
2556 case TargetOpcode::G_SMULO:
2557 case TargetOpcode::G_SSHLSAT:
2558 case TargetOpcode::G_SSUBE:
2559 case TargetOpcode::G_SSUBO:
2560 case TargetOpcode::G_STORE:
2561 case TargetOpcode::G_UADDE:
2562 case TargetOpcode::G_UADDO:
2563 case TargetOpcode::G_UADDSAT:
2564 case TargetOpcode::G_UMAX:
2565 case TargetOpcode::G_UMIN:
2566 case TargetOpcode::G_UMULFIX:
2567 case TargetOpcode::G_UMULFIXSAT:
2568 case TargetOpcode::G_UMULH:
2569 case TargetOpcode::G_UMULO:
2570 case TargetOpcode::G_UNMERGE_VALUES:
2571 case TargetOpcode::G_USHLSAT:
2572 case TargetOpcode::G_USUBE:
2573 case TargetOpcode::G_USUBO:
2574 case TargetOpcode::G_ZEXTLOAD:
2575 return true;
2576 default:
2577 return false;
2578 }
2579}
2580
2581bool AMDGPUPostLegalizerCombinerImpl::tryCombineAllImpl(MachineInstr &I) const {
2582 const PredicateBitset AvailableFeatures = getAvailableFeatures();
2583 State.MIs.clear();
2584 State.MIs.push_back(&I);
2585 if (executeMatchTable(*this, State, ExecInfo, B, getMatchTable(), Helper.getTII(), MRI, Helper.getTRI(), Helper.getRBI(), AvailableFeatures, /*CoverageInfo*/ nullptr)) {
2586 return true;
2587 }
2588
2589 return false;
2590}
2591
2592enum {
2593 GICXXCustomAction_GICombiner0 = GICXXCustomAction_Invalid + 1,
2594 GICXXCustomAction_GICombiner1,
2595 GICXXCustomAction_GICombiner2,
2596 GICXXCustomAction_GICombiner3,
2597 GICXXCustomAction_GICombiner4,
2598 GICXXCustomAction_GICombiner5,
2599 GICXXCustomAction_GICombiner6,
2600 GICXXCustomAction_GICombiner7,
2601 GICXXCustomAction_GICombiner8,
2602 GICXXCustomAction_GICombiner9,
2603 GICXXCustomAction_GICombiner10,
2604 GICXXCustomAction_GICombiner11,
2605 GICXXCustomAction_GICombiner12,
2606 GICXXCustomAction_GICombiner13,
2607 GICXXCustomAction_GICombiner14,
2608 GICXXCustomAction_GICombiner15,
2609 GICXXCustomAction_GICombiner16,
2610 GICXXCustomAction_GICombiner17,
2611 GICXXCustomAction_GICombiner18,
2612 GICXXCustomAction_GICombiner19,
2613 GICXXCustomAction_GICombiner20,
2614 GICXXCustomAction_GICombiner21,
2615 GICXXCustomAction_GICombiner22,
2616 GICXXCustomAction_GICombiner23,
2617 GICXXCustomAction_GICombiner24,
2618 GICXXCustomAction_GICombiner25,
2619 GICXXCustomAction_GICombiner26,
2620 GICXXCustomAction_GICombiner27,
2621 GICXXCustomAction_GICombiner28,
2622 GICXXCustomAction_GICombiner29,
2623 GICXXCustomAction_GICombiner30,
2624 GICXXCustomAction_GICombiner31,
2625 GICXXCustomAction_GICombiner32,
2626 GICXXCustomAction_GICombiner33,
2627 GICXXCustomAction_GICombiner34,
2628 GICXXCustomAction_GICombiner35,
2629 GICXXCustomAction_GICombiner36,
2630 GICXXCustomAction_GICombiner37,
2631 GICXXCustomAction_GICombiner38,
2632 GICXXCustomAction_GICombiner39,
2633 GICXXCustomAction_GICombiner40,
2634 GICXXCustomAction_GICombiner41,
2635 GICXXCustomAction_GICombiner42,
2636 GICXXCustomAction_GICombiner43,
2637 GICXXCustomAction_GICombiner44,
2638 GICXXCustomAction_GICombiner45,
2639 GICXXCustomAction_GICombiner46,
2640 GICXXCustomAction_GICombiner47,
2641 GICXXCustomAction_GICombiner48,
2642 GICXXCustomAction_GICombiner49,
2643 GICXXCustomAction_GICombiner50,
2644 GICXXCustomAction_GICombiner51,
2645 GICXXCustomAction_GICombiner52,
2646 GICXXCustomAction_GICombiner53,
2647 GICXXCustomAction_GICombiner54,
2648 GICXXCustomAction_GICombiner55,
2649 GICXXCustomAction_GICombiner56,
2650 GICXXCustomAction_GICombiner57,
2651 GICXXCustomAction_GICombiner58,
2652 GICXXCustomAction_GICombiner59,
2653 GICXXCustomAction_GICombiner60,
2654 GICXXCustomAction_GICombiner61,
2655 GICXXCustomAction_GICombiner62,
2656 GICXXCustomAction_GICombiner63,
2657 GICXXCustomAction_GICombiner64,
2658 GICXXCustomAction_GICombiner65,
2659 GICXXCustomAction_GICombiner66,
2660 GICXXCustomAction_GICombiner67,
2661 GICXXCustomAction_GICombiner68,
2662 GICXXCustomAction_GICombiner69,
2663 GICXXCustomAction_GICombiner70,
2664 GICXXCustomAction_GICombiner71,
2665 GICXXCustomAction_GICombiner72,
2666 GICXXCustomAction_GICombiner73,
2667 GICXXCustomAction_GICombiner74,
2668 GICXXCustomAction_GICombiner75,
2669 GICXXCustomAction_GICombiner76,
2670 GICXXCustomAction_GICombiner77,
2671 GICXXCustomAction_GICombiner78,
2672 GICXXCustomAction_GICombiner79,
2673 GICXXCustomAction_GICombiner80,
2674 GICXXCustomAction_GICombiner81,
2675 GICXXCustomAction_GICombiner82,
2676 GICXXCustomAction_GICombiner83,
2677 GICXXCustomAction_GICombiner84,
2678 GICXXCustomAction_GICombiner85,
2679 GICXXCustomAction_GICombiner86,
2680 GICXXCustomAction_GICombiner87,
2681 GICXXCustomAction_GICombiner88,
2682 GICXXCustomAction_GICombiner89,
2683 GICXXCustomAction_GICombiner90,
2684 GICXXCustomAction_GICombiner91,
2685 GICXXCustomAction_GICombiner92,
2686 GICXXCustomAction_GICombiner93,
2687 GICXXCustomAction_GICombiner94,
2688 GICXXCustomAction_GICombiner95,
2689 GICXXCustomAction_GICombiner96,
2690 GICXXCustomAction_GICombiner97,
2691 GICXXCustomAction_GICombiner98,
2692 GICXXCustomAction_GICombiner99,
2693 GICXXCustomAction_GICombiner100,
2694 GICXXCustomAction_GICombiner101,
2695 GICXXCustomAction_GICombiner102,
2696 GICXXCustomAction_GICombiner103,
2697 GICXXCustomAction_GICombiner104,
2698 GICXXCustomAction_GICombiner105,
2699 GICXXCustomAction_GICombiner106,
2700 GICXXCustomAction_GICombiner107,
2701 GICXXCustomAction_GICombiner108,
2702 GICXXCustomAction_GICombiner109,
2703 GICXXCustomAction_GICombiner110,
2704 GICXXCustomAction_GICombiner111,
2705 GICXXCustomAction_GICombiner112,
2706 GICXXCustomAction_GICombiner113,
2707 GICXXCustomAction_GICombiner114,
2708 GICXXCustomAction_GICombiner115,
2709 GICXXCustomAction_GICombiner116,
2710 GICXXCustomAction_GICombiner117,
2711 GICXXCustomAction_GICombiner118,
2712 GICXXCustomAction_GICombiner119,
2713 GICXXCustomAction_GICombiner120,
2714 GICXXCustomAction_GICombiner121,
2715 GICXXCustomAction_GICombiner122,
2716 GICXXCustomAction_GICombiner123,
2717 GICXXCustomAction_GICombiner124,
2718 GICXXCustomAction_GICombiner125,
2719 GICXXCustomAction_GICombiner126,
2720 GICXXCustomAction_GICombiner127,
2721 GICXXCustomAction_GICombiner128,
2722 GICXXCustomAction_GICombiner129,
2723 GICXXCustomAction_GICombiner130,
2724 GICXXCustomAction_GICombiner131,
2725 GICXXCustomAction_GICombiner132,
2726 GICXXCustomAction_GICombiner133,
2727 GICXXCustomAction_GICombiner134,
2728 GICXXCustomAction_GICombiner135,
2729 GICXXCustomAction_GICombiner136,
2730 GICXXCustomAction_GICombiner137,
2731 GICXXCustomAction_GICombiner138,
2732 GICXXCustomAction_GICombiner139,
2733 GICXXCustomAction_GICombiner140,
2734 GICXXCustomAction_GICombiner141,
2735 GICXXCustomAction_GICombiner142,
2736 GICXXCustomAction_GICombiner143,
2737 GICXXCustomAction_GICombiner144,
2738 GICXXCustomAction_GICombiner145,
2739 GICXXCustomAction_GICombiner146,
2740 GICXXCustomAction_GICombiner147,
2741 GICXXCustomAction_GICombiner148,
2742 GICXXCustomAction_GICombiner149,
2743 GICXXCustomAction_GICombiner150,
2744 GICXXCustomAction_GICombiner151,
2745 GICXXCustomAction_GICombiner152,
2746 GICXXCustomAction_GICombiner153,
2747 GICXXCustomAction_GICombiner154,
2748 GICXXCustomAction_GICombiner155,
2749 GICXXCustomAction_GICombiner156,
2750 GICXXCustomAction_GICombiner157,
2751 GICXXCustomAction_GICombiner158,
2752 GICXXCustomAction_GICombiner159,
2753 GICXXCustomAction_GICombiner160,
2754 GICXXCustomAction_GICombiner161,
2755 GICXXCustomAction_GICombiner162,
2756 GICXXCustomAction_GICombiner163,
2757 GICXXCustomAction_GICombiner164,
2758 GICXXCustomAction_GICombiner165,
2759 GICXXCustomAction_GICombiner166,
2760 GICXXCustomAction_GICombiner167,
2761 GICXXCustomAction_GICombiner168,
2762 GICXXCustomAction_GICombiner169,
2763 GICXXCustomAction_GICombiner170,
2764 GICXXCustomAction_GICombiner171,
2765};
2766bool AMDGPUPostLegalizerCombinerImpl::runCustomAction(unsigned ApplyID, const MatcherState &State, NewMIVector &OutMIs) const {
2767 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
2768 switch(ApplyID) {
2769 case GICXXCustomAction_GICombiner0:{
2770 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2771 // Match Patterns
2772 if(![&](){return Helper.matchFoldAPlusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
2773 return false;
2774 }
2775 // Apply Patterns
2776 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2777 return true;
2778 }
2779 case GICXXCustomAction_GICombiner1:{
2780 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2781 // Match Patterns
2782 if(![&](){return Helper.matchFoldC2MinusAPlusC1(*State.MIs[0], GIMatchData_matchinfo);}()) {
2783 return false;
2784 }
2785 // Apply Patterns
2786 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2787 return true;
2788 }
2789 case GICXXCustomAction_GICombiner2:{
2790 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2791 // Match Patterns
2792 if(![&](){return Helper.matchFoldAMinusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
2793 return false;
2794 }
2795 // Apply Patterns
2796 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2797 return true;
2798 }
2799 case GICXXCustomAction_GICombiner3:{
2800 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2801 // Match Patterns
2802 if(![&](){return Helper.matchFoldC1Minus2MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
2803 return false;
2804 }
2805 // Apply Patterns
2806 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2807 return true;
2808 }
2809 case GICXXCustomAction_GICombiner4:{
2810 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2811 // Match Patterns
2812 if(![&](){return Helper.matchFoldAMinusC1PlusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
2813 return false;
2814 }
2815 // Apply Patterns
2816 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2817 return true;
2818 }
2819 case GICXXCustomAction_GICombiner5:{
2820 // Match Patterns
2821 if(![&](){return Helper.matchCombineCopy(*State.MIs[0]);}()) {
2822 return false;
2823 }
2824 // Apply Patterns
2825 Helper.applyCombineCopy(*State.MIs[0]);
2826 return true;
2827 }
2828 case GICXXCustomAction_GICombiner6:{
2829 unsigned GIMatchData_matchinfo;
2830 // Match Patterns
2831 if(![&](){return Helper.matchCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);}()) {
2832 return false;
2833 }
2834 // Apply Patterns
2835 Helper.applyCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);
2836 return true;
2837 }
2838 case GICXXCustomAction_GICombiner7:{
2839 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2840 // Match Patterns
2841 if(![&](){return Helper.matchCombineSubToAdd(*State.MIs[0], GIMatchData_matchinfo);}()) {
2842 return false;
2843 }
2844 // Apply Patterns
2845 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
2846 return true;
2847 }
2848 case GICXXCustomAction_GICombiner8:{
2849 std::pair<Register, bool> GIMatchData_info;
2850 // Match Patterns
2851 if(![&](){return Helper.matchCombineAddP2IToPtrAdd(*State.MIs[0], GIMatchData_info);}()) {
2852 return false;
2853 }
2854 // Apply Patterns
2855 Helper.applyCombineAddP2IToPtrAdd(*State.MIs[0], GIMatchData_info);
2856 return true;
2857 }
2858 case GICXXCustomAction_GICombiner9:{
2859 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2860 // Match Patterns
2861 if(![&](){return Helper.matchExtractVectorElement(*State.MIs[0], GIMatchData_matchinfo);}()) {
2862 return false;
2863 }
2864 // Apply Patterns
2865 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2866 return true;
2867 }
2868 case GICXXCustomAction_GICombiner10:{
2869 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2870 // Match Patterns
2871 if(![&](){return Helper.matchInsertVectorElementOOB(*State.MIs[0], GIMatchData_matchinfo);}()) {
2872 return false;
2873 }
2874 // Apply Patterns
2875 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2876 return true;
2877 }
2878 case GICXXCustomAction_GICombiner11:{
2879 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2880 // Match Patterns
2881 if(![&](){return Helper.matchExtractVectorElementWithDifferentIndices(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2882 return false;
2883 }
2884 // Apply Patterns
2885 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2886 return true;
2887 }
2888 case GICXXCustomAction_GICombiner12:{
2889 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2890 // Match Patterns
2891 if(![&](){return Helper.matchExtractVectorElementWithBuildVector(*State.MIs[0], *State.MIs[1],
2892 GIMatchData_matchinfo);}()) {
2893 return false;
2894 }
2895 // Apply Patterns
2896 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2897 return true;
2898 }
2899 case GICXXCustomAction_GICombiner13:{
2900 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2901 // Match Patterns
2902 if(![&](){return Helper.matchExtractVectorElementWithBuildVectorTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2903 return false;
2904 }
2905 // Apply Patterns
2906 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2907 return true;
2908 }
2909 case GICXXCustomAction_GICombiner14:{
2910 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2911 // Match Patterns
2912 if(![&](){return Helper.matchExtractVectorElementWithShuffleVector(*State.MIs[0], *State.MIs[1],
2913 GIMatchData_matchinfo);}()) {
2914 return false;
2915 }
2916 // Apply Patterns
2917 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2918 return true;
2919 }
2920 case GICXXCustomAction_GICombiner15:{
2921 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2922 // Match Patterns
2923 if(![&](){return Helper.matchAddOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2924 return false;
2925 }
2926 // Apply Patterns
2927 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2928 return true;
2929 }
2930 case GICXXCustomAction_GICombiner16:{
2931 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2932 // Match Patterns
2933 if(![&](){return Helper.matchMulOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2934 return false;
2935 }
2936 // Apply Patterns
2937 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2938 return true;
2939 }
2940 case GICXXCustomAction_GICombiner17:{
2941 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2942 // Match Patterns
2943 if(![&](){return Helper.matchShlOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2944 return false;
2945 }
2946 // Apply Patterns
2947 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2948 return true;
2949 }
2950 case GICXXCustomAction_GICombiner18:{
2951 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2952 // Match Patterns
2953 if(![&](){return Helper.matchSubOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
2954 return false;
2955 }
2956 // Apply Patterns
2957 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
2958 return true;
2959 }
2960 case GICXXCustomAction_GICombiner19:{
2961 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2962 // Match Patterns
2963 if(![&](){return !isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI) && Helper.matchFreezeOfSingleMaybePoisonOperand(*State.MIs[0], GIMatchData_matchinfo);}()) {
2964 return false;
2965 }
2966 // Apply Patterns
2967 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2968 return true;
2969 }
2970 case GICXXCustomAction_GICombiner20:{
2971 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2972 // Match Patterns
2973 if(![&](){return Helper.matchTruncateOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
2974 return false;
2975 }
2976 // Apply Patterns
2977 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2978 return true;
2979 }
2980 case GICXXCustomAction_GICombiner21:{
2981 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2982 // Match Patterns
2983 if(![&](){return Helper.matchExtOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
2984 return false;
2985 }
2986 // Apply Patterns
2987 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2988 return true;
2989 }
2990 case GICXXCustomAction_GICombiner22:{
2991 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
2992 // Match Patterns
2993 if(![&](){return Helper.matchRedundantSextInReg(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
2994 return false;
2995 }
2996 // Apply Patterns
2997 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
2998 return true;
2999 }
3000 case GICXXCustomAction_GICombiner23:{
3001 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3002 // Match Patterns
3003 if(![&](){return Helper.matchCastOfSelect(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3004 return false;
3005 }
3006 // Apply Patterns
3007 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3008 return true;
3009 }
3010 case GICXXCustomAction_GICombiner24:{
3011 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3012 // Match Patterns
3013 if(![&](){return Helper.matchCastOfBuildVector(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3014 return false;
3015 }
3016 // Apply Patterns
3017 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3018 return true;
3019 }
3020 case GICXXCustomAction_GICombiner25:{
3021 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3022 // Match Patterns
3023 if(![&](){return Helper.matchNarrowBinop(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3024 return false;
3025 }
3026 // Apply Patterns
3027 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3028 return true;
3029 }
3030 case GICXXCustomAction_GICombiner26:{
3031 APInt GIMatchData_matchinfo;
3032 // Match Patterns
3033 if(![&](){return Helper.matchCastOfInteger(*State.MIs[0], GIMatchData_matchinfo);}()) {
3034 return false;
3035 }
3036 // Apply Patterns
3037 Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
3038 return true;
3039 }
3040 case GICXXCustomAction_GICombiner27:{
3041 SmallVector<Register> GIMatchData_info;
3042 // Match Patterns
3043 if(![&](){return Helper.matchCombineInsertVecElts(*State.MIs[0], GIMatchData_info);}()) {
3044 return false;
3045 }
3046 // Apply Patterns
3047 Helper.applyCombineInsertVecElts(*State.MIs[0], GIMatchData_info);
3048 return true;
3049 }
3050 case GICXXCustomAction_GICombiner28:{
3051 Register GIMatchData_matchinfo;
3052 // Match Patterns
3053 if(![&](){return Helper.matchExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);}()) {
3054 return false;
3055 }
3056 // Apply Patterns
3057 Helper.applyExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);
3058 return true;
3059 }
3060 case GICXXCustomAction_GICombiner29:{
3061 SmallVector<std::pair<Register, MachineInstr*>> GIMatchData_matchinfo;
3062 // Match Patterns
3063 if(![&](){return Helper.matchExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);}()) {
3064 return false;
3065 }
3066 // Apply Patterns
3067 Helper.applyExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);
3068 return true;
3069 }
3070 case GICXXCustomAction_GICombiner30:{
3071 PreferredTuple GIMatchData_matchinfo;
3072 // Match Patterns
3073 if(![&](){return Helper.matchCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);}()) {
3074 return false;
3075 }
3076 // Apply Patterns
3077 Helper.applyCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);
3078 return true;
3079 }
3080 case GICXXCustomAction_GICombiner31:{
3081 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3082 // Match Patterns
3083 if(![&](){return Helper.matchCombineLoadWithAndMask(*State.MIs[0], GIMatchData_matchinfo);}()) {
3084 return false;
3085 }
3086 // Apply Patterns
3087 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3088 return true;
3089 }
3090 case GICXXCustomAction_GICombiner32:{
3091 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3092 // Match Patterns
3093 if(![&](){return Helper.matchCombineExtractedVectorLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
3094 return false;
3095 }
3096 // Apply Patterns
3097 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3098 return true;
3099 }
3100 case GICXXCustomAction_GICombiner33:{
3101 // Match Patterns
3102 if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
3103 return false;
3104 }
3105 // Apply Patterns
3106 Helper.replaceInstWithFConstant(*State.MIs[0], 0.0);
3107 return true;
3108 }
3109 case GICXXCustomAction_GICombiner34:{
3110 // Match Patterns
3111 if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
3112 return false;
3113 }
3114 // Apply Patterns
3115 Helper.replaceInstWithConstant(*State.MIs[0], 0);
3116 return true;
3117 }
3118 case GICXXCustomAction_GICombiner35:{
3119 // Match Patterns
3120 if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
3121 return false;
3122 }
3123 // Apply Patterns
3124 Helper.replaceInstWithConstant(*State.MIs[0], -1);
3125 return true;
3126 }
3127 case GICXXCustomAction_GICombiner36:{
3128 // Match Patterns
3129 if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 1);}()) {
3130 return false;
3131 }
3132 // Apply Patterns
3133 Helper.replaceInstWithConstant(*State.MIs[0], 0);
3134 return true;
3135 }
3136 case GICXXCustomAction_GICombiner37:{
3137 // Match Patterns
3138 if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 2);}()) {
3139 return false;
3140 }
3141 // Apply Patterns
3142 Helper.replaceInstWithUndef(*State.MIs[0]);
3143 return true;
3144 }
3145 case GICXXCustomAction_GICombiner38:{
3146 // Apply Patterns
3147 Helper.replaceInstWithUndef(*State.MIs[0]->getOperand(0).getParent());
3148 return true;
3149 }
3150 case GICXXCustomAction_GICombiner39:{
3151 // Match Patterns
3152 if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
3153 return false;
3154 }
3155 // Apply Patterns
3156 Helper.replaceInstWithUndef(*State.MIs[0]);
3157 return true;
3158 }
3159 case GICXXCustomAction_GICombiner40:{
3160 // Match Patterns
3161 if(![&](){return Helper.matchAllExplicitUsesAreUndef(*State.MIs[0]);}()) {
3162 return false;
3163 }
3164 // Apply Patterns
3165 Helper.replaceInstWithUndef(*State.MIs[0]);
3166 return true;
3167 }
3168 case GICXXCustomAction_GICombiner41:{
3169 // Match Patterns
3170 if(![&](){return Helper.matchUndefShuffleVectorMask(*State.MIs[0]);}()) {
3171 return false;
3172 }
3173 // Apply Patterns
3174 Helper.replaceInstWithUndef(*State.MIs[0]);
3175 return true;
3176 }
3177 case GICXXCustomAction_GICombiner42:{
3178 // Match Patterns
3179 if(![&](){return Helper.matchUndefStore(*State.MIs[0]);}()) {
3180 return false;
3181 }
3182 // Apply Patterns
3183 Helper.eraseInst(*State.MIs[0]);
3184 return true;
3185 }
3186 case GICXXCustomAction_GICombiner43:{
3187 // Match Patterns
3188 if(![&](){return Helper.matchInsertExtractVecEltOutOfBounds(*State.MIs[0]);}()) {
3189 return false;
3190 }
3191 // Apply Patterns
3192 Helper.replaceInstWithUndef(*State.MIs[0]);
3193 return true;
3194 }
3195 case GICXXCustomAction_GICombiner44:{
3196 // Match Patterns
3197 if(![&](){return Helper.matchSelectSameVal(*State.MIs[0]);}()) {
3198 return false;
3199 }
3200 // Apply Patterns
3201 Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 2);
3202 return true;
3203 }
3204 case GICXXCustomAction_GICombiner45:{
3205 Register GIMatchData_info;
3206 // Match Patterns
3207 if(![&](){return Helper.matchCombineI2PToP2I(*State.MIs[0], GIMatchData_info);}()) {
3208 return false;
3209 }
3210 // Apply Patterns
3211 Helper.applyCombineI2PToP2I(*State.MIs[0], GIMatchData_info);
3212 return true;
3213 }
3214 case GICXXCustomAction_GICombiner46:{
3215 Register GIMatchData_info;
3216 // Match Patterns
3217 if(![&](){GIMatchData_info = State.MIs[1]->getOperand(1).getReg(); return true;}()) {
3218 return false;
3219 }
3220 // Apply Patterns
3221 Helper.applyCombineP2IToI2P(*State.MIs[0], GIMatchData_info);
3222 return true;
3223 }
3224 case GICXXCustomAction_GICombiner47:{
3225 Register GIMatchData_matchinfo;
3226 // Match Patterns
3227 if(![&](){return Helper.matchCombineAnyExtTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
3228 return false;
3229 }
3230 // Apply Patterns
3231 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3232 return true;
3233 }
3234 case GICXXCustomAction_GICombiner48:{
3235 Register GIMatchData_matchinfo;
3236 // Match Patterns
3237 if(![&](){return Helper.matchBuildVectorIdentityFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
3238 return false;
3239 }
3240 // Apply Patterns
3241 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3242 return true;
3243 }
3244 case GICXXCustomAction_GICombiner49:{
3245 Register GIMatchData_matchinfo;
3246 // Match Patterns
3247 if(![&](){return Helper.matchTruncBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
3248 return false;
3249 }
3250 // Apply Patterns
3251 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3252 return true;
3253 }
3254 case GICXXCustomAction_GICombiner50:{
3255 Register GIMatchData_matchinfo;
3256 // Match Patterns
3257 if(![&](){return Helper.matchTruncLshrBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
3258 return false;
3259 }
3260 // Apply Patterns
3261 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3262 return true;
3263 }
3264 case GICXXCustomAction_GICombiner51:{
3265 // Match Patterns
3266 if(![&](){return MRI.getType(State.MIs[1]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg());}()) {
3267 return false;
3268 }
3269 // Apply Patterns
3270 Helper.replaceSingleDefInstWithReg(*State.MIs[0], State.MIs[1]->getOperand(1).getReg());
3271 return true;
3272 }
3273 case GICXXCustomAction_GICombiner52:{
3274 MachineInstr* GIMatchData_matchinfo;
3275 // Match Patterns
3276 if(![&](){return Helper.matchExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);}()) {
3277 return false;
3278 }
3279 // Apply Patterns
3280 Helper.applyExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);
3281 return true;
3282 }
3283 case GICXXCustomAction_GICombiner53:{
3284 std::tuple<Register, Register> GIMatchData_info;
3285 // Match Patterns
3286 if(![&](){return Helper.matchSimplifyAddToSub(*State.MIs[0], GIMatchData_info);}()) {
3287 return false;
3288 }
3289 // Apply Patterns
3290 Helper.applySimplifyAddToSub(*State.MIs[0], GIMatchData_info);
3291 return true;
3292 }
3293 case GICXXCustomAction_GICombiner54:{
3294 InstructionStepsMatchInfo GIMatchData_info;
3295 // Match Patterns
3296 if(![&](){return Helper.matchHoistLogicOpWithSameOpcodeHands(*State.MIs[0], GIMatchData_info);}()) {
3297 return false;
3298 }
3299 // Apply Patterns
3300 Helper.applyBuildInstructionSteps(*State.MIs[0], GIMatchData_info);
3301 return true;
3302 }
3303 case GICXXCustomAction_GICombiner55:{
3304 std::optional<int64_t> GIMatchData_matchinfo;
3305 // Match Patterns
3306 if(![&](){return Helper.matchShiftsTooBig(*State.MIs[0], GIMatchData_matchinfo);}()) {
3307 return false;
3308 }
3309 // Apply Patterns
3310 if (GIMatchData_matchinfo) {
3311 Helper.replaceInstWithConstant(*State.MIs[0], *GIMatchData_matchinfo);
3312 } else {
3313 Helper.replaceInstWithUndef(*State.MIs[0]);
3314 }
3315 return true;
3316 }
3317 case GICXXCustomAction_GICombiner56:{
3318 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3319 // Match Patterns
3320 if(![&](){return Helper.matchReassocPtrAdd(*State.MIs[0], GIMatchData_matchinfo);}()) {
3321 return false;
3322 }
3323 // Apply Patterns
3324 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3325 return true;
3326 }
3327 case GICXXCustomAction_GICombiner57:{
3328 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3329 // Match Patterns
3330 if(![&](){return Helper.matchReassocCommBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3331 return false;
3332 }
3333 // Apply Patterns
3334 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3335 return true;
3336 }
3337 case GICXXCustomAction_GICombiner58:{
3338 PtrAddChain GIMatchData_matchinfo;
3339 // Match Patterns
3340 if(![&](){return Helper.matchPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
3341 return false;
3342 }
3343 // Apply Patterns
3344 Helper.applyPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);
3345 return true;
3346 }
3347 case GICXXCustomAction_GICombiner59:{
3348 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3349 // Match Patterns
3350 if(![&](){return Helper.matchCanonicalizeICmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3351 return false;
3352 }
3353 // Apply Patterns
3354 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3355 return true;
3356 }
3357 case GICXXCustomAction_GICombiner60:{
3358 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3359 // Match Patterns
3360 if(![&](){return Helper.matchCanonicalizeFCmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3361 return false;
3362 }
3363 // Apply Patterns
3364 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3365 return true;
3366 }
3367 case GICXXCustomAction_GICombiner61:{
3368 int64_t GIMatchData_matchinfo;
3369 // Match Patterns
3370 if(![&](){return Helper.matchICmpToTrueFalseKnownBits(*State.MIs[0], GIMatchData_matchinfo);}()) {
3371 return false;
3372 }
3373 // Apply Patterns
3374 Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
3375 return true;
3376 }
3377 case GICXXCustomAction_GICombiner62:{
3378 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3379 // Match Patterns
3380 if(![&](){return Helper.matchICmpToLHSKnownBits(*State.MIs[0], GIMatchData_info);}()) {
3381 return false;
3382 }
3383 // Apply Patterns
3384 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3385 return true;
3386 }
3387 case GICXXCustomAction_GICombiner63:{
3388 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3389 // Match Patterns
3390 if(![&](){return Helper.matchRedundantBinOpInEquality(*State.MIs[0], GIMatchData_info);}()) {
3391 return false;
3392 }
3393 // Apply Patterns
3394 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3395 return true;
3396 }
3397 case GICXXCustomAction_GICombiner64:{
3398 std::tuple<Register, int64_t> GIMatchData_info;
3399 // Match Patterns
3400 if(![&](){return Helper.matchAshrShlToSextInreg(*State.MIs[0], GIMatchData_info);}()) {
3401 return false;
3402 }
3403 // Apply Patterns
3404 Helper.applyAshShlToSextInreg(*State.MIs[0], GIMatchData_info);
3405 return true;
3406 }
3407 case GICXXCustomAction_GICombiner65:{
3408 std::tuple<Register, unsigned> GIMatchData_matchinfo;
3409 // Match Patterns
3410 if(![&](){return Helper.matchSextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
3411 return false;
3412 }
3413 // Apply Patterns
3414 Helper.applySextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);
3415 return true;
3416 }
3417 case GICXXCustomAction_GICombiner66:{
3418 RegisterImmPair GIMatchData_matchinfo;
3419 // Match Patterns
3420 if(![&](){return Helper.matchCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);}()) {
3421 return false;
3422 }
3423 // Apply Patterns
3424 Helper.applyCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);
3425 return true;
3426 }
3427 case GICXXCustomAction_GICombiner67:{
3428 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3429 // Match Patterns
3430 if(![&](){return Helper.matchNarrowBinopFeedingAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
3431 return false;
3432 }
3433 // Apply Patterns
3434 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3435 return true;
3436 }
3437 case GICXXCustomAction_GICombiner68:{
3438 unsigned GIMatchData_matchinfo;
3439 // Match Patterns
3440 if(![&](){return Helper.matchConstantSelectCmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3441 return false;
3442 }
3443 // Apply Patterns
3444 Helper.replaceSingleDefInstWithOperand(*State.MIs[0], GIMatchData_matchinfo);
3445 return true;
3446 }
3447 case GICXXCustomAction_GICombiner69:{
3448 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3449 // Match Patterns
3450 if(![&](){return Helper.matchSelectIMinMax(State.MIs[0]->getOperand(0), GIMatchData_info);}()) {
3451 return false;
3452 }
3453 // Apply Patterns
3454 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_info);
3455 return true;
3456 }
3457 case GICXXCustomAction_GICombiner70:{
3458 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3459 // Match Patterns
3460 if(![&](){return Helper.matchSelect(*State.MIs[0], GIMatchData_matchinfo);}()) {
3461 return false;
3462 }
3463 // Apply Patterns
3464 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3465 return true;
3466 }
3467 case GICXXCustomAction_GICombiner71:{
3468 Register GIMatchData_matchinfo;
3469 // Match Patterns
3470 if(![&](){return Helper.matchRedundantAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
3471 return false;
3472 }
3473 // Apply Patterns
3474 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3475 return true;
3476 }
3477 case GICXXCustomAction_GICombiner72:{
3478 // Match Patterns
3479 if(![&](){return Helper.matchRedundantSExtInReg(*State.MIs[0]);}()) {
3480 return false;
3481 }
3482 // Apply Patterns
3483 Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 1);
3484 return true;
3485 }
3486 case GICXXCustomAction_GICombiner73:{
3487 Register GIMatchData_matchinfo;
3488 // Match Patterns
3489 if(![&](){return Helper.matchRedundantOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
3490 return false;
3491 }
3492 // Apply Patterns
3493 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3494 return true;
3495 }
3496 case GICXXCustomAction_GICombiner74:{
3497 // Match Patterns
3498 if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(State.MIs[0]->getOperand(2));}()) {
3499 return false;
3500 }
3501 // Apply Patterns
3502 Helper.applySimplifyURemByPow2(*State.MIs[0]);
3503 return true;
3504 }
3505 case GICXXCustomAction_GICombiner75:{
3506 Register GIMatchData_matchinfo;
3507 // Match Patterns
3508 if(![&](){return Helper.matchCombineZextTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
3509 return false;
3510 }
3511 // Apply Patterns
3512 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
3513 return true;
3514 }
3515 case GICXXCustomAction_GICombiner76:{
3516 // Match Patterns
3517 if(![&](){unsigned BitWidth = MRI.getType(State.MIs[0]->getOperand(1).getReg()).getScalarSizeInBits();
3518 return Helper.getValueTracking()->maskedValueIsZero(State.MIs[0]->getOperand(1).getReg(),
3519 APInt::getOneBitSet(BitWidth, State.MIs[0]->getOperand(2).getImm() - 1));}()) {
3520 return false;
3521 }
3522 // Apply Patterns
3523 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
3524 Helper.getBuilder().buildZExtInReg(State.MIs[0]->getOperand(0), State.MIs[0]->getOperand(1), State.MIs[0]->getOperand(2).getImm());
3525 State.MIs[0]->eraseFromParent();
3526 return true;
3527 }
3528 case GICXXCustomAction_GICombiner77:{
3529 std::pair<MachineInstr*, LLT> GIMatchData_matchinfo;
3530 // Match Patterns
3531 if(![&](){return Helper.matchCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);}()) {
3532 return false;
3533 }
3534 // Apply Patterns
3535 Helper.applyCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);
3536 return true;
3537 }
3538 case GICXXCustomAction_GICombiner78:{
3539 SmallVector<Register> GIMatchData_info;
3540 // Match Patterns
3541 if(![&](){return Helper.matchNotCmp(*State.MIs[0], GIMatchData_info);}()) {
3542 return false;
3543 }
3544 // Apply Patterns
3545 Helper.applyNotCmp(*State.MIs[0], GIMatchData_info);
3546 return true;
3547 }
3548 case GICXXCustomAction_GICombiner79:{
3549 MachineInstr * GIMatchData_matchinfo;
3550 // Match Patterns
3551 if(![&](){return Helper.matchOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);}()) {
3552 return false;
3553 }
3554 // Apply Patterns
3555 Helper.applyOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);
3556 return true;
3557 }
3558 case GICXXCustomAction_GICombiner80:{
3559 // Apply Patterns
3560 Helper.applyCombineConstantFoldFpUnary(*State.MIs[0], State.MIs[1]->getOperand(1).getFPImm());
3561 return true;
3562 }
3563 case GICXXCustomAction_GICombiner81:{
3564 // Apply Patterns
3565 Helper.replaceInstWithFConstant(*State.MIs[0]->getOperand(0).getParent(), 0.0);
3566 return true;
3567 }
3568 case GICXXCustomAction_GICombiner82:{
3569 APInt GIMatchData_info;
3570 // Match Patterns
3571 if(![&](){return Helper.matchCombineConstPtrAddToI2P(*State.MIs[0], GIMatchData_info);}()) {
3572 return false;
3573 }
3574 // Apply Patterns
3575 Helper.applyCombineConstPtrAddToI2P(*State.MIs[0], GIMatchData_info);
3576 return true;
3577 }
3578 case GICXXCustomAction_GICombiner83:{
3579 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3580 // Match Patterns
3581 if(![&](){return Helper.matchOverlappingAnd(*State.MIs[0], GIMatchData_info);}()) {
3582 return false;
3583 }
3584 // Apply Patterns
3585 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3586 return true;
3587 }
3588 case GICXXCustomAction_GICombiner84:{
3589 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3590 // Match Patterns
3591 if(![&](){return Helper.matchMulOBy2(*State.MIs[0], GIMatchData_matchinfo);}()) {
3592 return false;
3593 }
3594 // Apply Patterns
3595 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3596 return true;
3597 }
3598 case GICXXCustomAction_GICombiner85:{
3599 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3600 // Match Patterns
3601 if(![&](){return Helper.matchMulOBy0(*State.MIs[0], GIMatchData_matchinfo);}()) {
3602 return false;
3603 }
3604 // Apply Patterns
3605 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3606 return true;
3607 }
3608 case GICXXCustomAction_GICombiner86:{
3609 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3610 // Match Patterns
3611 if(![&](){return Helper.matchAddEToAddO(*State.MIs[0], GIMatchData_matchinfo);}()) {
3612 return false;
3613 }
3614 // Apply Patterns
3615 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3616 return true;
3617 }
3618 case GICXXCustomAction_GICombiner87:{
3619 unsigned GIMatchData_info;
3620 // Match Patterns
3621 if(![&](){return Helper.matchCombineFMinMaxNaN(*State.MIs[0], GIMatchData_info);}()) {
3622 return false;
3623 }
3624 // Apply Patterns
3625 Helper.replaceSingleDefInstWithOperand(*State.MIs[0], GIMatchData_info);
3626 return true;
3627 }
3628 case GICXXCustomAction_GICombiner88:{
3629 // Match Patterns
3630 if(![&](){return Helper.matchFPowIExpansion(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());}()) {
3631 return false;
3632 }
3633 // Apply Patterns
3634 Helper.applyExpandFPowI(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());
3635 return true;
3636 }
3637 case GICXXCustomAction_GICombiner89:{
3638 std::pair<Register, Register> GIMatchData_matchinfo;
3639 // Match Patterns
3640 if(![&](){return Helper.matchXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
3641 return false;
3642 }
3643 // Apply Patterns
3644 Helper.applyXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);
3645 return true;
3646 }
3647 case GICXXCustomAction_GICombiner90:{
3648 // Match Patterns
3649 if(![&](){return Helper.matchPtrAddZero(*State.MIs[0]);}()) {
3650 return false;
3651 }
3652 // Apply Patterns
3653 Helper.applyPtrAddZero(*State.MIs[0]);
3654 return true;
3655 }
3656 case GICXXCustomAction_GICombiner91:{
3657 RegisterImmPair GIMatchData_matchinfo;
3658 // Match Patterns
3659 if(![&](){return Helper.matchShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
3660 return false;
3661 }
3662 // Apply Patterns
3663 Helper.applyShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);
3664 return true;
3665 }
3666 case GICXXCustomAction_GICombiner92:{
3667 ShiftOfShiftedLogic GIMatchData_matchinfo;
3668 // Match Patterns
3669 if(![&](){return Helper.matchShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);}()) {
3670 return false;
3671 }
3672 // Apply Patterns
3673 Helper.applyShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);
3674 return true;
3675 }
3676 case GICXXCustomAction_GICombiner93:{
3677 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3678 // Match Patterns
3679 if(![&](){return Helper.matchLoadOrCombine(*State.MIs[0], GIMatchData_info);}()) {
3680 return false;
3681 }
3682 // Apply Patterns
3683 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3684 return true;
3685 }
3686 case GICXXCustomAction_GICombiner94:{
3687 MachineInstr * GIMatchData_matchinfo;
3688 // Match Patterns
3689 if(![&](){return Helper.matchCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);}()) {
3690 return false;
3691 }
3692 // Apply Patterns
3693 Helper.applyCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);
3694 return true;
3695 }
3696 case GICXXCustomAction_GICombiner95:{
3697 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3698 // Match Patterns
3699 if(![&](){return Helper.matchOrShiftToFunnelShift(*State.MIs[0], false, GIMatchData_info);}()) {
3700 return false;
3701 }
3702 // Apply Patterns
3703 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3704 return true;
3705 }
3706 case GICXXCustomAction_GICombiner96:{
3707 // Match Patterns
3708 if(![&](){return Helper.matchFunnelShiftToRotate(*State.MIs[0]);}()) {
3709 return false;
3710 }
3711 // Apply Patterns
3712 Helper.applyFunnelShiftToRotate(*State.MIs[0]);
3713 return true;
3714 }
3715 case GICXXCustomAction_GICombiner97:{
3716 // Match Patterns
3717 if(![&](){return Helper.matchConstantLargerBitWidth(*State.MIs[0], 3);}()) {
3718 return false;
3719 }
3720 // Apply Patterns
3721 Helper.applyFunnelShiftConstantModulo(*State.MIs[0]);
3722 return true;
3723 }
3724 case GICXXCustomAction_GICombiner98:{
3725 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3726 // Match Patterns
3727 if(![&](){return Helper.matchCommuteShift(*State.MIs[0], GIMatchData_matchinfo);}()) {
3728 return false;
3729 }
3730 // Apply Patterns
3731 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3732 return true;
3733 }
3734 case GICXXCustomAction_GICombiner99:{
3735 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3736 // Match Patterns
3737 if(![&](){return Helper.matchBitfieldExtractFromSExtInReg(*State.MIs[0], GIMatchData_info);}()) {
3738 return false;
3739 }
3740 // Apply Patterns
3741 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3742 return true;
3743 }
3744 case GICXXCustomAction_GICombiner100:{
3745 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3746 // Match Patterns
3747 if(![&](){return Helper.matchBitfieldExtractFromAnd(*State.MIs[0], GIMatchData_info);}()) {
3748 return false;
3749 }
3750 // Apply Patterns
3751 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3752 return true;
3753 }
3754 case GICXXCustomAction_GICombiner101:{
3755 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3756 // Match Patterns
3757 if(![&](){return Helper.matchBitfieldExtractFromShr(*State.MIs[0], GIMatchData_info);}()) {
3758 return false;
3759 }
3760 // Apply Patterns
3761 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3762 return true;
3763 }
3764 case GICXXCustomAction_GICombiner102:{
3765 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3766 // Match Patterns
3767 if(![&](){return Helper.matchBitfieldExtractFromShrAnd(*State.MIs[0], GIMatchData_info);}()) {
3768 return false;
3769 }
3770 // Apply Patterns
3771 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3772 return true;
3773 }
3774 case GICXXCustomAction_GICombiner103:{
3775 APInt GIMatchData_matchinfo;
3776 // Match Patterns
3777 if(![&](){return Helper.matchConstantFoldBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3778 return false;
3779 }
3780 // Apply Patterns
3781 Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
3782 return true;
3783 }
3784 case GICXXCustomAction_GICombiner104:{
3785 ConstantFP* GIMatchData_matchinfo;
3786 // Match Patterns
3787 if(![&](){return Helper.matchConstantFoldFPBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3788 return false;
3789 }
3790 // Apply Patterns
3791 Helper.replaceInstWithFConstant(*State.MIs[0], GIMatchData_matchinfo);
3792 return true;
3793 }
3794 case GICXXCustomAction_GICombiner105:{
3795 ConstantFP* GIMatchData_matchinfo;
3796 // Match Patterns
3797 if(![&](){return Helper.matchConstantFoldFMA(*State.MIs[0], GIMatchData_matchinfo);}()) {
3798 return false;
3799 }
3800 // Apply Patterns
3801 Helper.replaceInstWithFConstant(*State.MIs[0], GIMatchData_matchinfo);
3802 return true;
3803 }
3804 case GICXXCustomAction_GICombiner106:{
3805 APInt GIMatchData_matchinfo;
3806 // Match Patterns
3807 if(![&](){return Helper.matchConstantFoldCastOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3808 return false;
3809 }
3810 // Apply Patterns
3811 Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
3812 return true;
3813 }
3814 case GICXXCustomAction_GICombiner107:{
3815 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3816 // Match Patterns
3817 if(![&](){return Helper.matchConstantFoldUnaryIntOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
3818 return false;
3819 }
3820 // Apply Patterns
3821 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3822 return true;
3823 }
3824 case GICXXCustomAction_GICombiner108:{
3825 // Match Patterns
3826 if(![&](){return Helper.matchUMulHToLShr(*State.MIs[0]);}()) {
3827 return false;
3828 }
3829 // Apply Patterns
3830 Helper.applyUMulHToLShr(*State.MIs[0]);
3831 return true;
3832 }
3833 case GICXXCustomAction_GICombiner109:{
3834 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3835 // Match Patterns
3836 if(![&](){return Helper.matchRedundantNegOperands(*State.MIs[0], GIMatchData_matchinfo);}()) {
3837 return false;
3838 }
3839 // Apply Patterns
3840 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3841 return true;
3842 }
3843 case GICXXCustomAction_GICombiner110:{
3844 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3845 // Match Patterns
3846 if(![&](){return Helper.matchAndOrDisjointMask(*State.MIs[0], GIMatchData_info);}()) {
3847 return false;
3848 }
3849 // Apply Patterns
3850 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_info);
3851 return true;
3852 }
3853 case GICXXCustomAction_GICombiner111:{
3854 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3855 // Match Patterns
3856 if(![&](){return Helper.matchCombineFAddFMulToFMadOrFMA(*State.MIs[0],
3857 GIMatchData_info);}()) {
3858 return false;
3859 }
3860 // Apply Patterns
3861 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3862 return true;
3863 }
3864 case GICXXCustomAction_GICombiner112:{
3865 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3866 // Match Patterns
3867 if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMA(*State.MIs[0],
3868 GIMatchData_info);}()) {
3869 return false;
3870 }
3871 // Apply Patterns
3872 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3873 return true;
3874 }
3875 case GICXXCustomAction_GICombiner113:{
3876 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3877 // Match Patterns
3878 if(![&](){return Helper.matchCombineFAddFMAFMulToFMadOrFMA(*State.MIs[0],
3879 GIMatchData_info);}()) {
3880 return false;
3881 }
3882 // Apply Patterns
3883 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3884 return true;
3885 }
3886 case GICXXCustomAction_GICombiner114:{
3887 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3888 // Match Patterns
3889 if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMAAggressive(
3890 *State.MIs[0], GIMatchData_info);}()) {
3891 return false;
3892 }
3893 // Apply Patterns
3894 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3895 return true;
3896 }
3897 case GICXXCustomAction_GICombiner115:{
3898 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3899 // Match Patterns
3900 if(![&](){return Helper.matchCombineFSubFMulToFMadOrFMA(*State.MIs[0],
3901 GIMatchData_info);}()) {
3902 return false;
3903 }
3904 // Apply Patterns
3905 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3906 return true;
3907 }
3908 case GICXXCustomAction_GICombiner116:{
3909 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3910 // Match Patterns
3911 if(![&](){return Helper.matchCombineFSubFNegFMulToFMadOrFMA(*State.MIs[0],
3912 GIMatchData_info);}()) {
3913 return false;
3914 }
3915 // Apply Patterns
3916 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3917 return true;
3918 }
3919 case GICXXCustomAction_GICombiner117:{
3920 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3921 // Match Patterns
3922 if(![&](){return Helper.matchCombineFSubFpExtFMulToFMadOrFMA(*State.MIs[0],
3923 GIMatchData_info);}()) {
3924 return false;
3925 }
3926 // Apply Patterns
3927 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3928 return true;
3929 }
3930 case GICXXCustomAction_GICombiner118:{
3931 std::function<void(MachineIRBuilder &)> GIMatchData_info;
3932 // Match Patterns
3933 if(![&](){return Helper.matchCombineFSubFpExtFNegFMulToFMadOrFMA(
3934 *State.MIs[0], GIMatchData_info);}()) {
3935 return false;
3936 }
3937 // Apply Patterns
3938 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
3939 return true;
3940 }
3941 case GICXXCustomAction_GICombiner119:{
3942 unsigned GIMatchData_select_op_no;
3943 // Match Patterns
3944 if(![&](){return Helper.matchFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);}()) {
3945 return false;
3946 }
3947 // Apply Patterns
3948 Helper.applyFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);
3949 return true;
3950 }
3951 case GICXXCustomAction_GICombiner120:{
3952 // Match Patterns
3953 if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(State.MIs[0]->getOperand(2),
3954 /*OrNegative=*/true);}()) {
3955 return false;
3956 }
3957 // Apply Patterns
3958 Helper.applySimplifySRemByPow2(*State.MIs[0]);
3959 return true;
3960 }
3961 case GICXXCustomAction_GICombiner121:{
3962 // Match Patterns
3963 if(![&](){return Helper.matchUDivOrURemByConst(*State.MIs[0]);}()) {
3964 return false;
3965 }
3966 // Apply Patterns
3967 Helper.applyUDivOrURemByConst(*State.MIs[0]);
3968 return true;
3969 }
3970 case GICXXCustomAction_GICombiner122:{
3971 // Match Patterns
3972 if(![&](){return Helper.matchSDivOrSRemByConst(*State.MIs[0]);}()) {
3973 return false;
3974 }
3975 // Apply Patterns
3976 Helper.applySDivOrSRemByConst(*State.MIs[0]);
3977 return true;
3978 }
3979 case GICXXCustomAction_GICombiner123:{
3980 // Match Patterns
3981 if(![&](){return Helper.matchDivByPow2(*State.MIs[0], /*IsSigned=*/false);}()) {
3982 return false;
3983 }
3984 // Apply Patterns
3985 Helper.applyUDivByPow2(*State.MIs[0]);
3986 return true;
3987 }
3988 case GICXXCustomAction_GICombiner124:{
3989 // Match Patterns
3990 if(![&](){return Helper.matchDivByPow2(*State.MIs[0], /*IsSigned=*/true);}()) {
3991 return false;
3992 }
3993 // Apply Patterns
3994 Helper.applySDivByPow2(*State.MIs[0]);
3995 return true;
3996 }
3997 case GICXXCustomAction_GICombiner125:{
3998 SmallVector<MachineInstr *> GIMatchData_matchinfo;
3999 // Match Patterns
4000 if(![&](){return Helper.matchRepeatedFPDivisor(*State.MIs[0], GIMatchData_matchinfo);}()) {
4001 return false;
4002 }
4003 // Apply Patterns
4004 Helper.applyRepeatedFPDivisor(GIMatchData_matchinfo);
4005 return true;
4006 }
4007 case GICXXCustomAction_GICombiner126:{
4008 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4009 // Match Patterns
4010 if(![&](){return Helper.matchSubAddSameReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4011 return false;
4012 }
4013 // Apply Patterns
4014 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4015 return true;
4016 }
4017 case GICXXCustomAction_GICombiner127:{
4018 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4019 // Match Patterns
4020 if(![&](){return Helper.matchSimplifySelectToMinMax(*State.MIs[0], GIMatchData_info);}()) {
4021 return false;
4022 }
4023 // Apply Patterns
4024 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4025 return true;
4026 }
4027 case GICXXCustomAction_GICombiner128:{
4028 Register GIMatchData_matchinfo;
4029 // Match Patterns
4030 if(![&](){return Helper.matchFsubToFneg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4031 return false;
4032 }
4033 // Apply Patterns
4034 Helper.applyFsubToFneg(*State.MIs[0], GIMatchData_matchinfo);
4035 return true;
4036 }
4037 case GICXXCustomAction_GICombiner129:{
4038 // Match Patterns
4039 if(![&](){return Helper.matchCommuteConstantToRHS(*State.MIs[0]);}()) {
4040 return false;
4041 }
4042 // Apply Patterns
4043 Helper.applyCommuteBinOpOperands(*State.MIs[0]);
4044 return true;
4045 }
4046 case GICXXCustomAction_GICombiner130:{
4047 // Match Patterns
4048 if(![&](){return Helper.matchCommuteFPConstantToRHS(*State.MIs[0]);}()) {
4049 return false;
4050 }
4051 // Apply Patterns
4052 Helper.applyCommuteBinOpOperands(*State.MIs[0]);
4053 return true;
4054 }
4055 case GICXXCustomAction_GICombiner131:{
4056 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4057 // Match Patterns
4058 if(![&](){return Helper.matchAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
4059 return false;
4060 }
4061 // Apply Patterns
4062 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4063 return true;
4064 }
4065 case GICXXCustomAction_GICombiner132:{
4066 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4067 // Match Patterns
4068 if(![&](){return Helper.matchOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
4069 return false;
4070 }
4071 // Apply Patterns
4072 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4073 return true;
4074 }
4075 case GICXXCustomAction_GICombiner133:{
4076 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4077 // Match Patterns
4078 if(![&](){return Helper.matchSimplifyNegMinMax(*State.MIs[0], GIMatchData_matchinfo);}()) {
4079 return false;
4080 }
4081 // Apply Patterns
4082 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4083 return true;
4084 }
4085 case GICXXCustomAction_GICombiner134:{
4086 SmallVector<Register> GIMatchData_matchinfo;
4087 // Match Patterns
4088 if(![&](){return Helper.matchCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);}()) {
4089 return false;
4090 }
4091 // Apply Patterns
4092 Helper.applyCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);
4093 return true;
4094 }
4095 case GICXXCustomAction_GICombiner135:{
4096 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4097 // Match Patterns
4098 if(![&](){return Helper.matchSextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4099 return false;
4100 }
4101 // Apply Patterns
4102 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4103 return true;
4104 }
4105 case GICXXCustomAction_GICombiner136:{
4106 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4107 // Match Patterns
4108 if(![&](){return Helper.matchZextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4109 return false;
4110 }
4111 // Apply Patterns
4112 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4113 return true;
4114 }
4115 case GICXXCustomAction_GICombiner137:{
4116 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4117 // Match Patterns
4118 if(![&](){return Helper.matchNonNegZext(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4119 return false;
4120 }
4121 // Apply Patterns
4122 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4123 return true;
4124 }
4125 case GICXXCustomAction_GICombiner138:{
4126 SmallVector<Register> GIMatchData_matchinfo;
4127 // Match Patterns
4128 if(![&](){return Helper.matchCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);}()) {
4129 return false;
4130 }
4131 // Apply Patterns
4132 Helper.applyCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);
4133 return true;
4134 }
4135 case GICXXCustomAction_GICombiner139:{
4136 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4137 // Match Patterns
4138 if(![&](){return Helper.matchShuffleUndefRHS(*State.MIs[0], GIMatchData_matchinfo);}()) {
4139 return false;
4140 }
4141 // Apply Patterns
4142 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4143 return true;
4144 }
4145 case GICXXCustomAction_GICombiner140:{
4146 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4147 // Match Patterns
4148 if(![&](){return Helper.matchShuffleDisjointMask(*State.MIs[0], GIMatchData_matchinfo);}()) {
4149 return false;
4150 }
4151 // Apply Patterns
4152 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4153 return true;
4154 }
4155 case GICXXCustomAction_GICombiner141:{
4156 Register GIMatchData_matchinfo;
4157 // Match Patterns
4158 if(![&](){return Helper.matchUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);}()) {
4159 return false;
4160 }
4161 // Apply Patterns
4162 Helper.applyUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);
4163 return true;
4164 }
4165 case GICXXCustomAction_GICombiner142:{
4166 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4167 // Match Patterns
4168 if(![&](){return Helper.matchUnmergeValuesAnyExtBuildVector(*State.MIs[0], GIMatchData_matchinfo);}()) {
4169 return false;
4170 }
4171 // Apply Patterns
4172 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4173 return true;
4174 }
4175 case GICXXCustomAction_GICombiner143:{
4176 SmallVector<Register> GIMatchData_info;
4177 // Match Patterns
4178 if(![&](){return Helper.matchCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);}()) {
4179 return false;
4180 }
4181 // Apply Patterns
4182 Helper.applyCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);
4183 return true;
4184 }
4185 case GICXXCustomAction_GICombiner144:{
4186 Register GIMatchData_src;
4187 // Match Patterns
4188 if(![&](){// Check if first source comes from G_UNMERGE_VALUES.
4189 Register FirstMergeSrc = getRemainingOperands(*State.MIs[0], 1)[0].getReg();
4190 MachineInstr *UnmergeMI = MRI.getVRegDef(FirstMergeSrc);
4191 if (!UnmergeMI || UnmergeMI->getOpcode() != TargetOpcode::G_UNMERGE_VALUES)
4192 return false;
4193
4194 // Check counts match.
4195 unsigned NumMergeSrcs = getRemainingOperands(*State.MIs[0], 1).size();
4196 unsigned NumUnmergeDefs = UnmergeMI->getNumDefs();
4197 if (NumMergeSrcs != NumUnmergeDefs)
4198 return false;
4199
4200 // Verify all merge sources match unmerge defs in order.
4201 for (unsigned I = 0; I < NumMergeSrcs; ++I) {
4202 Register MergeSrc = getRemainingOperands(*State.MIs[0], 1)[I].getReg();
4203 Register UnmergeDef = UnmergeMI->getOperand(I).getReg();
4204
4205 if (MergeSrc != UnmergeDef)
4206 return false;
4207
4208 if (!MRI.hasOneNonDBGUse(MergeSrc))
4209 return false;
4210 }
4211
4212 // Check size compatibility.
4213 GIMatchData_src = UnmergeMI->getOperand(NumUnmergeDefs).getReg();
4214 LLT SrcTy = MRI.getType(GIMatchData_src);
4215 LLT DstTy = MRI.getType(State.MIs[0]->getOperand(0).getReg());
4216 if (SrcTy.getSizeInBits() != DstTy.getSizeInBits())
4217 return false;
4218
4219 // Check bitcast legality.
4220 if (SrcTy != DstTy) {
4221 std::array<LLT, 2> Types = {{DstTy, SrcTy}};
4222 LegalityQuery Query(TargetOpcode::G_BITCAST, Types);
4223 if (!Helper.isLegalOrBeforeLegalizer(Query))
4224 return false;
4225 }
4226
4227 return true;}()) {
4228 return false;
4229 }
4230 // Apply Patterns
4231 LLT SrcTy = MRI.getType(GIMatchData_src);
4232 LLT DstTy = MRI.getType(State.MIs[0]->getOperand(0).getReg());
4233
4234 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
4235
4236 if (SrcTy == DstTy) {
4237 Helper.replaceRegWith(MRI, State.MIs[0]->getOperand(0).getReg(), GIMatchData_src);
4238 } else {
4239 Helper.getBuilder().buildBitcast(State.MIs[0]->getOperand(0).getReg(), GIMatchData_src);
4240 }
4241
4242 State.MIs[0]->eraseFromParent();
4243 return true;
4244 }
4245 case GICXXCustomAction_GICombiner145:{
4246 SmallVector<APInt, 8> GIMatchData_info;
4247 // Match Patterns
4248 if(![&](){return Helper.matchCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);}()) {
4249 return false;
4250 }
4251 // Apply Patterns
4252 Helper.applyCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);
4253 return true;
4254 }
4255 case GICXXCustomAction_GICombiner146:{
4256 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4257 // Match Patterns
4258 if(![&](){return Helper.matchCombineUnmergeUndef(*State.MIs[0], GIMatchData_info);}()) {
4259 return false;
4260 }
4261 // Apply Patterns
4262 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4263 return true;
4264 }
4265 case GICXXCustomAction_GICombiner147:{
4266 // Match Patterns
4267 if(![&](){return Helper.matchCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);}()) {
4268 return false;
4269 }
4270 // Apply Patterns
4271 Helper.applyCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);
4272 return true;
4273 }
4274 case GICXXCustomAction_GICombiner148:{
4275 // Match Patterns
4276 if(![&](){return Helper.matchCombineUnmergeZExtToZExt(*State.MIs[0]);}()) {
4277 return false;
4278 }
4279 // Apply Patterns
4280 Helper.applyCombineUnmergeZExtToZExt(*State.MIs[0]);
4281 return true;
4282 }
4283 case GICXXCustomAction_GICombiner149:{
4284 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4285 // Match Patterns
4286 if(![&](){return Helper.matchMergeXAndUndef(*State.MIs[0], GIMatchData_matchinfo);}()) {
4287 return false;
4288 }
4289 // Apply Patterns
4290 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4291 return true;
4292 }
4293 case GICXXCustomAction_GICombiner150:{
4294 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4295 // Match Patterns
4296 if(![&](){return Helper.matchMergeXAndZero(*State.MIs[0], GIMatchData_matchinfo);}()) {
4297 return false;
4298 }
4299 // Apply Patterns
4300 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4301 return true;
4302 }
4303 case GICXXCustomAction_GICombiner151:{
4304 Register GIMatchData_unmergeSrc;
4305 // Match Patterns
4306 if(![&](){return Helper.matchCombineBuildUnmerge(*State.MIs[0], MRI, GIMatchData_unmergeSrc);}()) {
4307 return false;
4308 }
4309 // Apply Patterns
4310 Helper.applyCombineBuildUnmerge(*State.MIs[0], MRI, B, GIMatchData_unmergeSrc);
4311 return true;
4312 }
4313 case GICXXCustomAction_GICombiner152:{
4314 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4315 // Match Patterns
4316 if(![&](){return Helper.matchAddOverflow(*State.MIs[0], GIMatchData_matchinfo);}()) {
4317 return false;
4318 }
4319 // Apply Patterns
4320 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4321 return true;
4322 }
4323 case GICXXCustomAction_GICombiner153:{
4324 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4325 // Match Patterns
4326 if(![&](){return Helper.matchSuboCarryOut(*State.MIs[0], GIMatchData_matchinfo);}()) {
4327 return false;
4328 }
4329 // Apply Patterns
4330 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4331 return true;
4332 }
4333 case GICXXCustomAction_GICombiner154:{
4334 Register GIMatchData_matchinfo;
4335 // Match Patterns
4336 if(![&](){return Helper.matchTruncSSatS(*State.MIs[0], GIMatchData_matchinfo);}()) {
4337 return false;
4338 }
4339 // Apply Patterns
4340 Helper.applyTruncSSatS(*State.MIs[0], GIMatchData_matchinfo);
4341 return true;
4342 }
4343 case GICXXCustomAction_GICombiner155:{
4344 Register GIMatchData_matchinfo;
4345 // Match Patterns
4346 if(![&](){return Helper.matchTruncSSatU(*State.MIs[0], GIMatchData_matchinfo);}()) {
4347 return false;
4348 }
4349 // Apply Patterns
4350 Helper.applyTruncSSatU(*State.MIs[0], GIMatchData_matchinfo);
4351 return true;
4352 }
4353 case GICXXCustomAction_GICombiner156:{
4354 LshrOfTruncOfLshr GIMatchData_matchinfo;
4355 // Match Patterns
4356 if(![&](){return Helper.matchLshrOfTruncOfLshr(*State.MIs[0], GIMatchData_matchinfo, *State.MIs[2]);}()) {
4357 return false;
4358 }
4359 // Apply Patterns
4360 Helper.applyLshrOfTruncOfLshr(*State.MIs[0], GIMatchData_matchinfo);
4361 return true;
4362 }
4363 case GICXXCustomAction_GICombiner157:{
4364 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4365 // Match Patterns
4366 if(![&](){return Helper.matchCtls(*State.MIs[0], GIMatchData_matchinfo);}()) {
4367 return false;
4368 }
4369 // Apply Patterns
4370 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4371 return true;
4372 }
4373 case GICXXCustomAction_GICombiner158:{
4374 // Match Patterns
4375 if(![&](){return Helper.matchCountZeroToZeroPoison(*State.MIs[0]);}()) {
4376 return false;
4377 }
4378 // Apply Patterns
4379 Helper.applyCountZeroToZeroPoison(*State.MIs[0]);
4380 return true;
4381 }
4382 case GICXXCustomAction_GICombiner159:{
4383 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4384 // Match Patterns
4385 if(![&](){return Helper.matchBinopWithNeg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4386 return false;
4387 }
4388 // Apply Patterns
4389 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4390 return true;
4391 }
4392 case GICXXCustomAction_GICombiner160:{
4393 FMinFMaxLegacyInfo GIMatchData_matchinfo;
4394 // Match Patterns
4395 if(![&](){return matchFMinFMaxLegacy(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
4396 return false;
4397 }
4398 // Apply Patterns
4399 applySelectFCmpToFMinFMaxLegacy(*State.MIs[0], GIMatchData_matchinfo);
4400 return true;
4401 }
4402 case GICXXCustomAction_GICombiner161:{
4403 // Match Patterns
4404 if(![&](){return Helper.matchExpandPromotedF16FMed3(*State.MIs[0], State.MIs[1]->getOperand(1).getReg(), State.MIs[1]->getOperand(2).getReg(), State.MIs[1]->getOperand(3).getReg());}()) {
4405 return false;
4406 }
4407 // Apply Patterns
4408 Helper.applyExpandPromotedF16FMed3(*State.MIs[0], State.MIs[1]->getOperand(1).getReg(), State.MIs[1]->getOperand(2).getReg(), State.MIs[1]->getOperand(3).getReg());
4409 return true;
4410 }
4411 case GICXXCustomAction_GICombiner162:{
4412 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4413 // Match Patterns
4414 if(![&](){return Helper.matchCombineFmulWithSelectToFldexp(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
4415 return false;
4416 }
4417 // Apply Patterns
4418 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4419 return true;
4420 }
4421 case GICXXCustomAction_GICombiner163:{
4422 // Match Patterns
4423 if(![&](){return matchUCharToFloat(*State.MIs[0]);}()) {
4424 return false;
4425 }
4426 // Apply Patterns
4427 applyUCharToFloat(*State.MIs[0]);
4428 return true;
4429 }
4430 case GICXXCustomAction_GICombiner164:{
4431 CvtF32UByteMatchInfo GIMatchData_matchinfo;
4432 // Match Patterns
4433 if(![&](){return matchCvtF32UByteN(*State.MIs[0], GIMatchData_matchinfo);}()) {
4434 return false;
4435 }
4436 // Apply Patterns
4437 applyCvtF32UByteN(*State.MIs[0], GIMatchData_matchinfo);
4438 return true;
4439 }
4440 case GICXXCustomAction_GICombiner165:{
4441 Register GIMatchData_matchinfo;
4442 // Match Patterns
4443 if(![&](){return matchRemoveFcanonicalize(*State.MIs[0], GIMatchData_matchinfo);}()) {
4444 return false;
4445 }
4446 // Apply Patterns
4447 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4448 return true;
4449 }
4450 case GICXXCustomAction_GICombiner166:{
4451 MachineInstr * GIMatchData_matchinfo;
4452 // Match Patterns
4453 if(![&](){return Helper.matchFoldableFneg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4454 return false;
4455 }
4456 // Apply Patterns
4457 Helper.applyFoldableFneg(*State.MIs[0], GIMatchData_matchinfo);
4458 return true;
4459 }
4460 case GICXXCustomAction_GICombiner167:{
4461 // Match Patterns
4462 if(![&](){return Helper.matchFoldFAbsFptrunc(*State.MIs[0], *State.MIs[1]);}()) {
4463 return false;
4464 }
4465 // Apply Patterns
4466 Helper.applyFoldFAbsFptrunc(*State.MIs[0], *State.MIs[1]);
4467 return true;
4468 }
4469 case GICXXCustomAction_GICombiner168:{
4470 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4471 // Match Patterns
4472 if(![&](){return matchRcpSqrtToRsq(*State.MIs[0], GIMatchData_matchinfo);}()) {
4473 return false;
4474 }
4475 // Apply Patterns
4476 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4477 return true;
4478 }
4479 case GICXXCustomAction_GICombiner169:{
4480 // Match Patterns
4481 if(![&](){return matchFDivSqrtToRsqF16(*State.MIs[0]);}()) {
4482 return false;
4483 }
4484 // Apply Patterns
4485 applyFDivSqrtToRsqF16(*State.MIs[0], State.MIs[1]->getOperand(1).getReg());
4486 return true;
4487 }
4488 case GICXXCustomAction_GICombiner170:{
4489 std::pair<MachineInstr *, unsigned> GIMatchData_matchinfo;
4490 // Match Patterns
4491 if(![&](){return matchCombineSignExtendInReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4492 return false;
4493 }
4494 // Apply Patterns
4495 applyCombineSignExtendInReg(*State.MIs[0], GIMatchData_matchinfo);
4496 return true;
4497 }
4498 case GICXXCustomAction_GICombiner171:{
4499 unsigned GIMatchData_matchinfo;
4500 // Match Patterns
4501 if(![&](){return matchCombine_s_mul_u64(*State.MIs[0], GIMatchData_matchinfo);}()) {
4502 return false;
4503 }
4504 // Apply Patterns
4505 Helper.replaceOpcodeWith(*State.MIs[0], GIMatchData_matchinfo);
4506 return true;
4507 }
4508 }
4509 llvm_unreachable("Unknown Apply Action");
4510}
4511#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
4512#define GIMT_Encode2(Val) uint8_t(Val), uint8_t((Val) >> 8)
4513#define GIMT_Encode4(Val) uint8_t(Val), uint8_t((Val) >> 8), uint8_t((Val) >> 16), uint8_t((Val) >> 24)
4514#define GIMT_Encode8(Val) uint8_t(Val), uint8_t((Val) >> 8), uint8_t((Val) >> 16), uint8_t((Val) >> 24), uint8_t(uint64_t(Val) >> 32), uint8_t(uint64_t(Val) >> 40), uint8_t(uint64_t(Val) >> 48), uint8_t(uint64_t(Val) >> 56)
4515#else
4516#define GIMT_Encode2(Val) uint8_t((Val) >> 8), uint8_t(Val)
4517#define GIMT_Encode4(Val) uint8_t((Val) >> 24), uint8_t((Val) >> 16), uint8_t((Val) >> 8), uint8_t(Val)
4518#define GIMT_Encode8(Val) uint8_t(uint64_t(Val) >> 56), uint8_t(uint64_t(Val) >> 48), uint8_t(uint64_t(Val) >> 40), uint8_t(uint64_t(Val) >> 32), uint8_t((Val) >> 24), uint8_t((Val) >> 16), uint8_t((Val) >> 8), uint8_t(Val)
4519#endif
4520const uint8_t *AMDGPUPostLegalizerCombinerImpl::getMatchTable() const {
4521 constexpr static uint8_t MatchTable0[] = {
4522 /* 0 */ GIM_SwitchOpcode, /*MI*/0, /*[*/GIMT_Encode2(20), GIMT_Encode2(4137), /*)*//*default:*//*Label 118*/ GIMT_Encode4(26151),
4523 /* 10 */ /*TargetOpcode::COPY*//*Label 0*/ GIMT_Encode4(16478), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4524 /* 150 */ /*TargetOpcode::G_ADD*//*Label 1*/ GIMT_Encode4(16490),
4525 /* 154 */ /*TargetOpcode::G_SUB*//*Label 2*/ GIMT_Encode4(17223),
4526 /* 158 */ /*TargetOpcode::G_MUL*//*Label 3*/ GIMT_Encode4(18204),
4527 /* 162 */ /*TargetOpcode::G_SDIV*//*Label 4*/ GIMT_Encode4(18421),
4528 /* 166 */ /*TargetOpcode::G_UDIV*//*Label 5*/ GIMT_Encode4(18523),
4529 /* 170 */ /*TargetOpcode::G_SREM*//*Label 6*/ GIMT_Encode4(18636),
4530 /* 174 */ /*TargetOpcode::G_UREM*//*Label 7*/ GIMT_Encode4(18732), GIMT_Encode4(0), GIMT_Encode4(0),
4531 /* 186 */ /*TargetOpcode::G_AND*//*Label 8*/ GIMT_Encode4(18839),
4532 /* 190 */ /*TargetOpcode::G_OR*//*Label 9*/ GIMT_Encode4(19380),
4533 /* 194 */ /*TargetOpcode::G_XOR*//*Label 10*/ GIMT_Encode4(20483), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4534 /* 226 */ /*TargetOpcode::G_PHI*//*Label 11*/ GIMT_Encode4(20694), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4535 /* 250 */ /*TargetOpcode::G_UNMERGE_VALUES*//*Label 12*/ GIMT_Encode4(20706), GIMT_Encode4(0),
4536 /* 258 */ /*TargetOpcode::G_MERGE_VALUES*//*Label 13*/ GIMT_Encode4(20773),
4537 /* 262 */ /*TargetOpcode::G_BUILD_VECTOR*//*Label 14*/ GIMT_Encode4(20850),
4538 /* 266 */ /*TargetOpcode::G_BUILD_VECTOR_TRUNC*//*Label 15*/ GIMT_Encode4(20915),
4539 /* 270 */ /*TargetOpcode::G_CONCAT_VECTORS*//*Label 16*/ GIMT_Encode4(20927),
4540 /* 274 */ /*TargetOpcode::G_PTRTOINT*//*Label 17*/ GIMT_Encode4(20939),
4541 /* 278 */ /*TargetOpcode::G_INTTOPTR*//*Label 18*/ GIMT_Encode4(20982),
4542 /* 282 */ /*TargetOpcode::G_BITCAST*//*Label 19*/ GIMT_Encode4(21015),
4543 /* 286 */ /*TargetOpcode::G_FREEZE*//*Label 20*/ GIMT_Encode4(21090), GIMT_Encode4(0), GIMT_Encode4(0),
4544 /* 298 */ /*TargetOpcode::G_INTRINSIC_TRUNC*//*Label 21*/ GIMT_Encode4(21154),
4545 /* 302 */ /*TargetOpcode::G_INTRINSIC_ROUND*//*Label 22*/ GIMT_Encode4(21176), GIMT_Encode4(0), GIMT_Encode4(0),
4546 /* 314 */ /*TargetOpcode::G_INTRINSIC_ROUNDEVEN*//*Label 23*/ GIMT_Encode4(21198), GIMT_Encode4(0), GIMT_Encode4(0),
4547 /* 326 */ /*TargetOpcode::G_LOAD*//*Label 24*/ GIMT_Encode4(21220),
4548 /* 330 */ /*TargetOpcode::G_SEXTLOAD*//*Label 25*/ GIMT_Encode4(21232),
4549 /* 334 */ /*TargetOpcode::G_ZEXTLOAD*//*Label 26*/ GIMT_Encode4(21244), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4550 /* 354 */ /*TargetOpcode::G_STORE*//*Label 27*/ GIMT_Encode4(21256), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4551 /* 486 */ /*TargetOpcode::G_INTRINSIC*//*Label 28*/ GIMT_Encode4(21268), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4552 /* 502 */ /*TargetOpcode::G_ANYEXT*//*Label 29*/ GIMT_Encode4(21280),
4553 /* 506 */ /*TargetOpcode::G_TRUNC*//*Label 30*/ GIMT_Encode4(21408), GIMT_Encode4(0), GIMT_Encode4(0),
4554 /* 518 */ /*TargetOpcode::G_TRUNC_USAT_U*//*Label 31*/ GIMT_Encode4(21820), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4555 /* 538 */ /*TargetOpcode::G_SEXT*//*Label 32*/ GIMT_Encode4(21853),
4556 /* 542 */ /*TargetOpcode::G_SEXT_INREG*//*Label 33*/ GIMT_Encode4(21928),
4557 /* 546 */ /*TargetOpcode::G_ZEXT*//*Label 34*/ GIMT_Encode4(22005),
4558 /* 550 */ /*TargetOpcode::G_SHL*//*Label 35*/ GIMT_Encode4(22135),
4559 /* 554 */ /*TargetOpcode::G_LSHR*//*Label 36*/ GIMT_Encode4(22333),
4560 /* 558 */ /*TargetOpcode::G_ASHR*//*Label 37*/ GIMT_Encode4(22680),
4561 /* 562 */ /*TargetOpcode::G_FSHL*//*Label 38*/ GIMT_Encode4(23009),
4562 /* 566 */ /*TargetOpcode::G_FSHR*//*Label 39*/ GIMT_Encode4(23052),
4563 /* 570 */ /*TargetOpcode::G_ROTR*//*Label 40*/ GIMT_Encode4(23095),
4564 /* 574 */ /*TargetOpcode::G_ROTL*//*Label 41*/ GIMT_Encode4(23119),
4565 /* 578 */ /*TargetOpcode::G_ICMP*//*Label 42*/ GIMT_Encode4(23143),
4566 /* 582 */ /*TargetOpcode::G_FCMP*//*Label 43*/ GIMT_Encode4(23188), GIMT_Encode4(0), GIMT_Encode4(0),
4567 /* 594 */ /*TargetOpcode::G_SELECT*//*Label 44*/ GIMT_Encode4(23200),
4568 /* 598 */ /*TargetOpcode::G_UADDO*//*Label 45*/ GIMT_Encode4(23406),
4569 /* 602 */ /*TargetOpcode::G_UADDE*//*Label 46*/ GIMT_Encode4(23429),
4570 /* 606 */ /*TargetOpcode::G_USUBO*//*Label 47*/ GIMT_Encode4(23441),
4571 /* 610 */ /*TargetOpcode::G_USUBE*//*Label 48*/ GIMT_Encode4(23453),
4572 /* 614 */ /*TargetOpcode::G_SADDO*//*Label 49*/ GIMT_Encode4(23465),
4573 /* 618 */ /*TargetOpcode::G_SADDE*//*Label 50*/ GIMT_Encode4(23488),
4574 /* 622 */ /*TargetOpcode::G_SSUBO*//*Label 51*/ GIMT_Encode4(23500),
4575 /* 626 */ /*TargetOpcode::G_SSUBE*//*Label 52*/ GIMT_Encode4(23512),
4576 /* 630 */ /*TargetOpcode::G_UMULO*//*Label 53*/ GIMT_Encode4(23524),
4577 /* 634 */ /*TargetOpcode::G_SMULO*//*Label 54*/ GIMT_Encode4(23558),
4578 /* 638 */ /*TargetOpcode::G_UMULH*//*Label 55*/ GIMT_Encode4(23592),
4579 /* 642 */ /*TargetOpcode::G_SMULH*//*Label 56*/ GIMT_Encode4(23615),
4580 /* 646 */ /*TargetOpcode::G_UADDSAT*//*Label 57*/ GIMT_Encode4(23627),
4581 /* 650 */ /*TargetOpcode::G_SADDSAT*//*Label 58*/ GIMT_Encode4(23639), GIMT_Encode4(0), GIMT_Encode4(0),
4582 /* 662 */ /*TargetOpcode::G_USHLSAT*//*Label 59*/ GIMT_Encode4(23651),
4583 /* 666 */ /*TargetOpcode::G_SSHLSAT*//*Label 60*/ GIMT_Encode4(23674),
4584 /* 670 */ /*TargetOpcode::G_SMULFIX*//*Label 61*/ GIMT_Encode4(23697),
4585 /* 674 */ /*TargetOpcode::G_UMULFIX*//*Label 62*/ GIMT_Encode4(23709),
4586 /* 678 */ /*TargetOpcode::G_SMULFIXSAT*//*Label 63*/ GIMT_Encode4(23721),
4587 /* 682 */ /*TargetOpcode::G_UMULFIXSAT*//*Label 64*/ GIMT_Encode4(23733), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4588 /* 702 */ /*TargetOpcode::G_FADD*//*Label 65*/ GIMT_Encode4(23745),
4589 /* 706 */ /*TargetOpcode::G_FSUB*//*Label 66*/ GIMT_Encode4(23886),
4590 /* 710 */ /*TargetOpcode::G_FMUL*//*Label 67*/ GIMT_Encode4(23975),
4591 /* 714 */ /*TargetOpcode::G_FMA*//*Label 68*/ GIMT_Encode4(24084),
4592 /* 718 */ /*TargetOpcode::G_FMAD*//*Label 69*/ GIMT_Encode4(24107),
4593 /* 722 */ /*TargetOpcode::G_FDIV*//*Label 70*/ GIMT_Encode4(24130),
4594 /* 726 */ /*TargetOpcode::G_FREM*//*Label 71*/ GIMT_Encode4(24214), GIMT_Encode4(0), GIMT_Encode4(0),
4595 /* 738 */ /*TargetOpcode::G_FPOWI*//*Label 72*/ GIMT_Encode4(24237), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4596 /* 758 */ /*TargetOpcode::G_FLOG2*//*Label 73*/ GIMT_Encode4(24259), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4597 /* 774 */ /*TargetOpcode::G_FNEG*//*Label 74*/ GIMT_Encode4(24281),
4598 /* 778 */ /*TargetOpcode::G_FPEXT*//*Label 75*/ GIMT_Encode4(24343),
4599 /* 782 */ /*TargetOpcode::G_FPTRUNC*//*Label 76*/ GIMT_Encode4(24365),
4600 /* 786 */ /*TargetOpcode::G_FPTOSI*//*Label 77*/ GIMT_Encode4(24431),
4601 /* 790 */ /*TargetOpcode::G_FPTOUI*//*Label 78*/ GIMT_Encode4(24453),
4602 /* 794 */ /*TargetOpcode::G_SITOFP*//*Label 79*/ GIMT_Encode4(24475),
4603 /* 798 */ /*TargetOpcode::G_UITOFP*//*Label 80*/ GIMT_Encode4(24513), GIMT_Encode4(0), GIMT_Encode4(0),
4604 /* 810 */ /*TargetOpcode::G_FABS*//*Label 81*/ GIMT_Encode4(24551),
4605 /* 814 */ /*TargetOpcode::G_FCOPYSIGN*//*Label 82*/ GIMT_Encode4(24651), GIMT_Encode4(0),
4606 /* 822 */ /*TargetOpcode::G_FCANONICALIZE*//*Label 83*/ GIMT_Encode4(24663),
4607 /* 826 */ /*TargetOpcode::G_FMINNUM*//*Label 84*/ GIMT_Encode4(24704),
4608 /* 830 */ /*TargetOpcode::G_FMAXNUM*//*Label 85*/ GIMT_Encode4(24749),
4609 /* 834 */ /*TargetOpcode::G_FMINNUM_IEEE*//*Label 86*/ GIMT_Encode4(24794),
4610 /* 838 */ /*TargetOpcode::G_FMAXNUM_IEEE*//*Label 87*/ GIMT_Encode4(24806),
4611 /* 842 */ /*TargetOpcode::G_FMINIMUM*//*Label 88*/ GIMT_Encode4(24818),
4612 /* 846 */ /*TargetOpcode::G_FMAXIMUM*//*Label 89*/ GIMT_Encode4(24863),
4613 /* 850 */ /*TargetOpcode::G_FMINIMUMNUM*//*Label 90*/ GIMT_Encode4(24908),
4614 /* 854 */ /*TargetOpcode::G_FMAXIMUMNUM*//*Label 91*/ GIMT_Encode4(24920), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4615 /* 890 */ /*TargetOpcode::G_PTR_ADD*//*Label 92*/ GIMT_Encode4(24932), GIMT_Encode4(0),
4616 /* 898 */ /*TargetOpcode::G_SMIN*//*Label 93*/ GIMT_Encode4(25022),
4617 /* 902 */ /*TargetOpcode::G_SMAX*//*Label 94*/ GIMT_Encode4(25056),
4618 /* 906 */ /*TargetOpcode::G_UMIN*//*Label 95*/ GIMT_Encode4(25090),
4619 /* 910 */ /*TargetOpcode::G_UMAX*//*Label 96*/ GIMT_Encode4(25124),
4620 /* 914 */ /*TargetOpcode::G_ABS*//*Label 97*/ GIMT_Encode4(25158), GIMT_Encode4(0), GIMT_Encode4(0),
4621 /* 926 */ /*TargetOpcode::G_BR*//*Label 98*/ GIMT_Encode4(25181), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4622 /* 946 */ /*TargetOpcode::G_INSERT_VECTOR_ELT*//*Label 99*/ GIMT_Encode4(25193),
4623 /* 950 */ /*TargetOpcode::G_EXTRACT_VECTOR_ELT*//*Label 100*/ GIMT_Encode4(25323),
4624 /* 954 */ /*TargetOpcode::G_SHUFFLE_VECTOR*//*Label 101*/ GIMT_Encode4(25700), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4625 /* 970 */ /*TargetOpcode::G_CTTZ*//*Label 102*/ GIMT_Encode4(25766),
4626 /* 974 */ /*TargetOpcode::G_CTTZ_ZERO_POISON*//*Label 103*/ GIMT_Encode4(25789),
4627 /* 978 */ /*TargetOpcode::G_CTLZ*//*Label 104*/ GIMT_Encode4(25801),
4628 /* 982 */ /*TargetOpcode::G_CTLZ_ZERO_POISON*//*Label 105*/ GIMT_Encode4(25835), GIMT_Encode4(0),
4629 /* 990 */ /*TargetOpcode::G_CTPOP*//*Label 106*/ GIMT_Encode4(25858),
4630 /* 994 */ /*TargetOpcode::G_BSWAP*//*Label 107*/ GIMT_Encode4(25870),
4631 /* 998 */ /*TargetOpcode::G_BITREVERSE*//*Label 108*/ GIMT_Encode4(25882), GIMT_Encode4(0),
4632 /* 1006 */ /*TargetOpcode::G_FCEIL*//*Label 109*/ GIMT_Encode4(25982), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4633 /* 1054 */ /*TargetOpcode::G_FSQRT*//*Label 110*/ GIMT_Encode4(26004),
4634 /* 1058 */ /*TargetOpcode::G_FFLOOR*//*Label 111*/ GIMT_Encode4(26037),
4635 /* 1062 */ /*TargetOpcode::G_FRINT*//*Label 112*/ GIMT_Encode4(26059),
4636 /* 1066 */ /*TargetOpcode::G_FNEARBYINT*//*Label 113*/ GIMT_Encode4(26081), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
4637 /* 16462 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE0*//*Label 114*/ GIMT_Encode4(26103),
4638 /* 16466 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE1*//*Label 115*/ GIMT_Encode4(26115),
4639 /* 16470 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE2*//*Label 116*/ GIMT_Encode4(26127),
4640 /* 16474 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE3*//*Label 117*/ GIMT_Encode4(26139),
4641 /* 16478 */ // Label 0: @16478
4642 /* 16478 */ GIM_Try, /*On fail goto*//*Label 119*/ GIMT_Encode4(16489), // Rule ID 19 //
4643 /* 16483 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule19Enabled),
4644 /* 16486 */ // MIs[0] d
4645 /* 16486 */ // No operand predicates
4646 /* 16486 */ // MIs[0] s
4647 /* 16486 */ // No operand predicates
4648 /* 16486 */ // Combiner Rule #19: copy_prop
4649 /* 16486 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner5),
4650 /* 16489 */ // Label 119: @16489
4651 /* 16489 */ GIM_Reject,
4652 /* 16490 */ // Label 1: @16490
4653 /* 16490 */ GIM_Try, /*On fail goto*//*Label 120*/ GIMT_Encode4(16501), // Rule ID 22 //
4654 /* 16495 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule22Enabled),
4655 /* 16498 */ // Combiner Rule #22: add_p2i_to_ptradd; wip_match_opcode 'G_ADD'
4656 /* 16498 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner8),
4657 /* 16501 */ // Label 120: @16501
4658 /* 16501 */ GIM_Try, /*On fail goto*//*Label 121*/ GIMT_Encode4(16512), // Rule ID 100 //
4659 /* 16506 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
4660 /* 16509 */ // Combiner Rule #84: propagate_undef_any_op; wip_match_opcode 'G_ADD'
4661 /* 16509 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
4662 /* 16512 */ // Label 121: @16512
4663 /* 16512 */ GIM_Try, /*On fail goto*//*Label 122*/ GIMT_Encode4(16523), // Rule ID 152 //
4664 /* 16517 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule112Enabled),
4665 /* 16520 */ // Combiner Rule #112: simplify_add_to_sub; wip_match_opcode 'G_ADD'
4666 /* 16520 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner53),
4667 /* 16523 */ // Label 122: @16523
4668 /* 16523 */ GIM_Try, /*On fail goto*//*Label 123*/ GIMT_Encode4(16534), // Rule ID 256 //
4669 /* 16528 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
4670 /* 16531 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_ADD'
4671 /* 16531 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
4672 /* 16534 */ // Label 123: @16534
4673 /* 16534 */ GIM_Try, /*On fail goto*//*Label 124*/ GIMT_Encode4(16545), // Rule ID 316 //
4674 /* 16539 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
4675 /* 16542 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_ADD'
4676 /* 16542 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
4677 /* 16545 */ // Label 124: @16545
4678 /* 16545 */ GIM_Try, /*On fail goto*//*Label 125*/ GIMT_Encode4(16556), // Rule ID 353 //
4679 /* 16550 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
4680 /* 16553 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_ADD'
4681 /* 16553 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
4682 /* 16556 */ // Label 125: @16556
4683 /* 16556 */ GIM_Try, /*On fail goto*//*Label 126*/ GIMT_Encode4(16644), // Rule ID 423 //
4684 /* 16561 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule256Enabled),
4685 /* 16564 */ // MIs[0] dst
4686 /* 16564 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
4687 /* 16568 */ // MIs[0] __add_shift_match_0.shl_neg
4688 /* 16568 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4689 /* 16572 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
4690 /* 16576 */ // MIs[1] __add_shift_match_0.neg_y
4691 /* 16576 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
4692 /* 16580 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
4693 /* 16584 */ // MIs[2] __add_shift_match_0.zero
4694 /* 16584 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
4695 /* 16588 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
4696 /* 16592 */ // MIs[3] Operand 1
4697 /* 16592 */ GIM_CheckLiteralInt, /*MI*/3, /*Op*/1, GIMT_Encode8(0),
4698 /* 16603 */ // MIs[2] y
4699 /* 16603 */ // No operand predicates
4700 /* 16603 */ // MIs[1] n
4701 /* 16603 */ // No operand predicates
4702 /* 16603 */ // MIs[0] x
4703 /* 16603 */ // No operand predicates
4704 /* 16603 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner18),
4705 /* 16607 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
4706 /* 16609 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
4707 /* 16612 */ // Combiner Rule #256: add_shift @ [__add_shift_match_0[1]]
4708 /* 16612 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
4709 /* 16615 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
4710 /* 16620 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // y
4711 /* 16624 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // n
4712 /* 16628 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4713 /* 16632 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
4714 /* 16636 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // x
4715 /* 16640 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
4716 /* 16643 */ GIR_EraseRootFromParent_Done,
4717 /* 16644 */ // Label 126: @16644
4718 /* 16644 */ GIM_Try, /*On fail goto*//*Label 127*/ GIMT_Encode4(16732), // Rule ID 422 //
4719 /* 16649 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule256Enabled),
4720 /* 16652 */ // MIs[0] dst
4721 /* 16652 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
4722 /* 16656 */ // MIs[0] x
4723 /* 16656 */ // No operand predicates
4724 /* 16656 */ // MIs[0] __add_shift_match_0.shl_neg
4725 /* 16656 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4726 /* 16660 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
4727 /* 16664 */ // MIs[1] __add_shift_match_0.neg_y
4728 /* 16664 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
4729 /* 16668 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
4730 /* 16672 */ // MIs[2] __add_shift_match_0.zero
4731 /* 16672 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
4732 /* 16676 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
4733 /* 16680 */ // MIs[3] Operand 1
4734 /* 16680 */ GIM_CheckLiteralInt, /*MI*/3, /*Op*/1, GIMT_Encode8(0),
4735 /* 16691 */ // MIs[2] y
4736 /* 16691 */ // No operand predicates
4737 /* 16691 */ // MIs[1] n
4738 /* 16691 */ // No operand predicates
4739 /* 16691 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner17),
4740 /* 16695 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
4741 /* 16697 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
4742 /* 16700 */ // Combiner Rule #256: add_shift @ [__add_shift_match_0[0]]
4743 /* 16700 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
4744 /* 16703 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
4745 /* 16708 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // y
4746 /* 16712 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // n
4747 /* 16716 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4748 /* 16720 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
4749 /* 16724 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // x
4750 /* 16728 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
4751 /* 16731 */ GIR_EraseRootFromParent_Done,
4752 /* 16732 */ // Label 127: @16732
4753 /* 16732 */ GIM_Try, /*On fail goto*//*Label 128*/ GIMT_Encode4(16766), // Rule ID 2 //
4754 /* 16737 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule2Enabled),
4755 /* 16740 */ // MIs[0] root
4756 /* 16740 */ // No operand predicates
4757 /* 16740 */ // MIs[0] sub
4758 /* 16740 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4759 /* 16744 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4760 /* 16748 */ // MIs[1] Operand 1
4761 /* 16748 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
4762 /* 16752 */ // MIs[1] A
4763 /* 16752 */ // No operand predicates
4764 /* 16752 */ // MIs[0] B
4765 /* 16752 */ // No operand predicates
4766 /* 16752 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4767 /* 16754 */ // Combiner Rule #2: ZeroMinusAPlusB
4768 /* 16754 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4769 /* 16757 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
4770 /* 16759 */ GIR_RootToRootCopy, /*OpIdx*/2, // B
4771 /* 16761 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // A
4772 /* 16765 */ GIR_EraseRootFromParent_Done,
4773 /* 16766 */ // Label 128: @16766
4774 /* 16766 */ GIM_Try, /*On fail goto*//*Label 129*/ GIMT_Encode4(16803), // Rule ID 18 //
4775 /* 16771 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule18Enabled),
4776 /* 16774 */ // MIs[0] root
4777 /* 16774 */ // No operand predicates
4778 /* 16774 */ // MIs[0] sub
4779 /* 16774 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4780 /* 16778 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4781 /* 16782 */ // MIs[1] A
4782 /* 16782 */ // No operand predicates
4783 /* 16782 */ // MIs[1] c1
4784 /* 16782 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
4785 /* 16786 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
4786 /* 16790 */ // MIs[2] imm1
4787 /* 16790 */ // No operand predicates
4788 /* 16790 */ // MIs[0] c2
4789 /* 16790 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
4790 /* 16794 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
4791 /* 16798 */ // MIs[3] imm2
4792 /* 16798 */ // No operand predicates
4793 /* 16798 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
4794 /* 16800 */ // Combiner Rule #18: AMinusC1PlusC2
4795 /* 16800 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner4),
4796 /* 16803 */ // Label 129: @16803
4797 /* 16803 */ GIM_Try, /*On fail goto*//*Label 130*/ GIMT_Encode4(16837), // Rule ID 5 //
4798 /* 16808 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule5Enabled),
4799 /* 16811 */ // MIs[0] root
4800 /* 16811 */ // No operand predicates
4801 /* 16811 */ // MIs[0] sub
4802 /* 16811 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4803 /* 16815 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4804 /* 16819 */ // MIs[1] B
4805 /* 16819 */ // No operand predicates
4806 /* 16819 */ // MIs[1] A
4807 /* 16819 */ // No operand predicates
4808 /* 16819 */ // MIs[0] A
4809 /* 16819 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
4810 /* 16824 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4811 /* 16829 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4812 /* 16831 */ // Combiner Rule #5: BMinusAPlusA
4813 /* 16831 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4814 /* 16836 */ GIR_EraseRootFromParent_Done,
4815 /* 16837 */ // Label 130: @16837
4816 /* 16837 */ GIM_Try, /*On fail goto*//*Label 131*/ GIMT_Encode4(16871), // Rule ID 140 //
4817 /* 16842 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule101Enabled),
4818 /* 16845 */ // MIs[0] dst
4819 /* 16845 */ // No operand predicates
4820 /* 16845 */ // MIs[0] __add_sub_reg_match_0.tmp
4821 /* 16845 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4822 /* 16849 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4823 /* 16853 */ // MIs[1] src
4824 /* 16853 */ // No operand predicates
4825 /* 16853 */ // MIs[1] __add_sub_reg_match_0.x
4826 /* 16853 */ // No operand predicates
4827 /* 16853 */ // MIs[0] __add_sub_reg_match_0.x
4828 /* 16853 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
4829 /* 16858 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4830 /* 16863 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4831 /* 16865 */ // Combiner Rule #101: add_sub_reg @ [__add_sub_reg_match_0[1]]
4832 /* 16865 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4833 /* 16870 */ GIR_EraseRootFromParent_Done,
4834 /* 16871 */ // Label 131: @16871
4835 /* 16871 */ GIM_Try, /*On fail goto*//*Label 132*/ GIMT_Encode4(16916), // Rule ID 7 //
4836 /* 16876 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule7Enabled),
4837 /* 16879 */ // MIs[0] root
4838 /* 16879 */ // No operand predicates
4839 /* 16879 */ // MIs[0] sub1
4840 /* 16879 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4841 /* 16883 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4842 /* 16887 */ // MIs[1] A
4843 /* 16887 */ // No operand predicates
4844 /* 16887 */ // MIs[1] B
4845 /* 16887 */ // No operand predicates
4846 /* 16887 */ // MIs[0] sub2
4847 /* 16887 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
4848 /* 16891 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
4849 /* 16895 */ // MIs[2] B
4850 /* 16895 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
4851 /* 16900 */ // MIs[2] C
4852 /* 16900 */ // No operand predicates
4853 /* 16900 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
4854 /* 16902 */ // Combiner Rule #7: AMinusBPlusBMinusC
4855 /* 16902 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4856 /* 16905 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
4857 /* 16907 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
4858 /* 16911 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
4859 /* 16915 */ GIR_EraseRootFromParent_Done,
4860 /* 16916 */ // Label 132: @16916
4861 /* 16916 */ GIM_Try, /*On fail goto*//*Label 133*/ GIMT_Encode4(16961), // Rule ID 6 //
4862 /* 16921 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule6Enabled),
4863 /* 16924 */ // MIs[0] root
4864 /* 16924 */ // No operand predicates
4865 /* 16924 */ // MIs[0] sub1
4866 /* 16924 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4867 /* 16928 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4868 /* 16932 */ // MIs[1] A
4869 /* 16932 */ // No operand predicates
4870 /* 16932 */ // MIs[1] B
4871 /* 16932 */ // No operand predicates
4872 /* 16932 */ // MIs[0] sub2
4873 /* 16932 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
4874 /* 16936 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
4875 /* 16940 */ // MIs[2] C
4876 /* 16940 */ // No operand predicates
4877 /* 16940 */ // MIs[2] A
4878 /* 16940 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
4879 /* 16945 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
4880 /* 16947 */ // Combiner Rule #6: AMinusBPlusCMinusA
4881 /* 16947 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4882 /* 16950 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
4883 /* 16952 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // C
4884 /* 16956 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
4885 /* 16960 */ GIR_EraseRootFromParent_Done,
4886 /* 16961 */ // Label 133: @16961
4887 /* 16961 */ GIM_Try, /*On fail goto*//*Label 134*/ GIMT_Encode4(16996), // Rule ID 45 //
4888 /* 16966 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule43Enabled),
4889 /* 16969 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
4890 /* 16975 */ // MIs[0] root
4891 /* 16975 */ // No operand predicates
4892 /* 16975 */ // MIs[0] left
4893 /* 16975 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
4894 /* 16979 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
4895 /* 16983 */ // MIs[1] imm1
4896 /* 16983 */ // No operand predicates
4897 /* 16983 */ // MIs[0] right
4898 /* 16983 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
4899 /* 16987 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_VSCALE),
4900 /* 16991 */ // MIs[2] imm2
4901 /* 16991 */ // No operand predicates
4902 /* 16991 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
4903 /* 16993 */ // Combiner Rule #43: add_of_vscale
4904 /* 16993 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner15),
4905 /* 16996 */ // Label 134: @16996
4906 /* 16996 */ GIM_Try, /*On fail goto*//*Label 135*/ GIMT_Encode4(17030), // Rule ID 3 //
4907 /* 17001 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule3Enabled),
4908 /* 17004 */ // MIs[0] root
4909 /* 17004 */ // No operand predicates
4910 /* 17004 */ // MIs[0] A
4911 /* 17004 */ // No operand predicates
4912 /* 17004 */ // MIs[0] sub
4913 /* 17004 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4914 /* 17008 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4915 /* 17012 */ // MIs[1] Operand 1
4916 /* 17012 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
4917 /* 17016 */ // MIs[1] B
4918 /* 17016 */ // No operand predicates
4919 /* 17016 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4920 /* 17018 */ // Combiner Rule #3: APlusZeroMinusB
4921 /* 17018 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4922 /* 17021 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
4923 /* 17023 */ GIR_RootToRootCopy, /*OpIdx*/1, // A
4924 /* 17025 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
4925 /* 17029 */ GIR_EraseRootFromParent_Done,
4926 /* 17030 */ // Label 135: @17030
4927 /* 17030 */ GIM_Try, /*On fail goto*//*Label 136*/ GIMT_Encode4(17064), // Rule ID 4 //
4928 /* 17035 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule4Enabled),
4929 /* 17038 */ // MIs[0] root
4930 /* 17038 */ // No operand predicates
4931 /* 17038 */ // MIs[0] A
4932 /* 17038 */ // No operand predicates
4933 /* 17038 */ // MIs[0] sub
4934 /* 17038 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4935 /* 17042 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4936 /* 17046 */ // MIs[1] B
4937 /* 17046 */ // No operand predicates
4938 /* 17046 */ // MIs[1] A
4939 /* 17046 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
4940 /* 17051 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4941 /* 17056 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4942 /* 17058 */ // Combiner Rule #4: APlusBMinusB
4943 /* 17058 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4944 /* 17063 */ GIR_EraseRootFromParent_Done,
4945 /* 17064 */ // Label 136: @17064
4946 /* 17064 */ GIM_Try, /*On fail goto*//*Label 137*/ GIMT_Encode4(17098), // Rule ID 139 //
4947 /* 17069 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule101Enabled),
4948 /* 17072 */ // MIs[0] dst
4949 /* 17072 */ // No operand predicates
4950 /* 17072 */ // MIs[0] __add_sub_reg_match_0.x
4951 /* 17072 */ // No operand predicates
4952 /* 17072 */ // MIs[0] __add_sub_reg_match_0.tmp
4953 /* 17072 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4954 /* 17076 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4955 /* 17080 */ // MIs[1] src
4956 /* 17080 */ // No operand predicates
4957 /* 17080 */ // MIs[1] __add_sub_reg_match_0.x
4958 /* 17080 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
4959 /* 17085 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4960 /* 17090 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
4961 /* 17092 */ // Combiner Rule #101: add_sub_reg @ [__add_sub_reg_match_0[0]]
4962 /* 17092 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
4963 /* 17097 */ GIR_EraseRootFromParent_Done,
4964 /* 17098 */ // Label 137: @17098
4965 /* 17098 */ GIM_Try, /*On fail goto*//*Label 138*/ GIMT_Encode4(17143), // Rule ID 8 //
4966 /* 17103 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule8Enabled),
4967 /* 17106 */ // MIs[0] root
4968 /* 17106 */ // No operand predicates
4969 /* 17106 */ // MIs[0] A
4970 /* 17106 */ // No operand predicates
4971 /* 17106 */ // MIs[0] sub1
4972 /* 17106 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4973 /* 17110 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
4974 /* 17114 */ // MIs[1] B
4975 /* 17114 */ // No operand predicates
4976 /* 17114 */ // MIs[1] add1
4977 /* 17114 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
4978 /* 17118 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
4979 /* 17122 */ // MIs[2] A
4980 /* 17122 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
4981 /* 17127 */ // MIs[2] C
4982 /* 17127 */ // No operand predicates
4983 /* 17127 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
4984 /* 17129 */ // Combiner Rule #8: APlusBMinusAplusC
4985 /* 17129 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
4986 /* 17132 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
4987 /* 17134 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
4988 /* 17138 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
4989 /* 17142 */ GIR_EraseRootFromParent_Done,
4990 /* 17143 */ // Label 138: @17143
4991 /* 17143 */ GIM_Try, /*On fail goto*//*Label 139*/ GIMT_Encode4(17188), // Rule ID 10 //
4992 /* 17148 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule10Enabled),
4993 /* 17151 */ // MIs[0] root
4994 /* 17151 */ // No operand predicates
4995 /* 17151 */ // MIs[0] A
4996 /* 17151 */ // No operand predicates
4997 /* 17151 */ // MIs[0] sub1
4998 /* 17151 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
4999 /* 17155 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5000 /* 17159 */ // MIs[1] B
5001 /* 17159 */ // No operand predicates
5002 /* 17159 */ // MIs[1] add1
5003 /* 17159 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5004 /* 17163 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
5005 /* 17167 */ // MIs[2] C
5006 /* 17167 */ // No operand predicates
5007 /* 17167 */ // MIs[2] A
5008 /* 17167 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
5009 /* 17172 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5010 /* 17174 */ // Combiner Rule #10: APlusBMinusCPlusA
5011 /* 17174 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5012 /* 17177 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5013 /* 17179 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
5014 /* 17183 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // C
5015 /* 17187 */ GIR_EraseRootFromParent_Done,
5016 /* 17188 */ // Label 139: @17188
5017 /* 17188 */ GIM_Try, /*On fail goto*//*Label 140*/ GIMT_Encode4(17211), // Rule ID 111 //
5018 /* 17193 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
5019 /* 17196 */ // MIs[0] dst
5020 /* 17196 */ // No operand predicates
5021 /* 17196 */ // MIs[0] lhs
5022 /* 17196 */ // No operand predicates
5023 /* 17196 */ // MIs[0] Operand 2
5024 /* 17196 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
5025 /* 17200 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5026 /* 17205 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[1]]
5027 /* 17205 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5028 /* 17210 */ GIR_EraseRootFromParent_Done,
5029 /* 17211 */ // Label 140: @17211
5030 /* 17211 */ GIM_Try, /*On fail goto*//*Label 141*/ GIMT_Encode4(17222), // Rule ID 160 //
5031 /* 17216 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule116Enabled),
5032 /* 17219 */ // MIs[0] root
5033 /* 17219 */ // No operand predicates
5034 /* 17219 */ // MIs[0] src1
5035 /* 17219 */ // No operand predicates
5036 /* 17219 */ // MIs[0] src2
5037 /* 17219 */ // No operand predicates
5038 /* 17219 */ // Combiner Rule #116: reassoc_comm_binops
5039 /* 17219 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner57),
5040 /* 17222 */ // Label 141: @17222
5041 /* 17222 */ GIM_Reject,
5042 /* 17223 */ // Label 2: @17223
5043 /* 17223 */ GIM_Try, /*On fail goto*//*Label 142*/ GIMT_Encode4(17234), // Rule ID 101 //
5044 /* 17228 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
5045 /* 17231 */ // Combiner Rule #84: propagate_undef_any_op; wip_match_opcode 'G_SUB'
5046 /* 17231 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
5047 /* 17234 */ // Label 142: @17234
5048 /* 17234 */ GIM_Try, /*On fail goto*//*Label 143*/ GIMT_Encode4(17245), // Rule ID 264 //
5049 /* 17239 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5050 /* 17242 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SUB'
5051 /* 17242 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5052 /* 17245 */ // Label 143: @17245
5053 /* 17245 */ GIM_Try, /*On fail goto*//*Label 144*/ GIMT_Encode4(17256), // Rule ID 317 //
5054 /* 17250 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5055 /* 17253 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SUB'
5056 /* 17253 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5057 /* 17256 */ // Label 144: @17256
5058 /* 17256 */ GIM_Try, /*On fail goto*//*Label 145*/ GIMT_Encode4(17267), // Rule ID 350 //
5059 /* 17261 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
5060 /* 17264 */ // Combiner Rule #213: sub_add_reg; wip_match_opcode 'G_SUB'
5061 /* 17264 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner126),
5062 /* 17267 */ // Label 145: @17267
5063 /* 17267 */ GIM_Try, /*On fail goto*//*Label 146*/ GIMT_Encode4(17278), // Rule ID 390 //
5064 /* 17272 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule226Enabled),
5065 /* 17275 */ // Combiner Rule #226: simplify_neg_minmax; wip_match_opcode 'G_SUB'
5066 /* 17275 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner133),
5067 /* 17278 */ // Label 146: @17278
5068 /* 17278 */ GIM_Try, /*On fail goto*//*Label 147*/ GIMT_Encode4(17355), // Rule ID 424 //
5069 /* 17283 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule257Enabled),
5070 /* 17286 */ // MIs[0] dst
5071 /* 17286 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5072 /* 17290 */ // MIs[0] sub1
5073 /* 17290 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5074 /* 17294 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5075 /* 17298 */ // MIs[1] a
5076 /* 17298 */ // No operand predicates
5077 /* 17298 */ // MIs[1] b
5078 /* 17298 */ // No operand predicates
5079 /* 17298 */ // MIs[0] Operand 2
5080 /* 17298 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
5081 /* 17302 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner1),
5082 /* 17306 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5083 /* 17308 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5084 /* 17311 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
5085 /* 17321 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5086 /* 17324 */ // Combiner Rule #257: sub_one_from_sub
5087 /* 17324 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
5088 /* 17327 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5089 /* 17332 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // b
5090 /* 17336 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5091 /* 17339 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5092 /* 17343 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5093 /* 17347 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5094 /* 17350 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // a
5095 /* 17354 */ GIR_EraseRootFromParent_Done,
5096 /* 17355 */ // Label 147: @17355
5097 /* 17355 */ GIM_Try, /*On fail goto*//*Label 148*/ GIMT_Encode4(17449), // Rule ID 430 //
5098 /* 17360 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule261Enabled),
5099 /* 17363 */ // MIs[0] root
5100 /* 17363 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5101 /* 17367 */ // MIs[0] Operand 1
5102 /* 17367 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
5103 /* 17371 */ // MIs[0] max
5104 /* 17371 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5105 /* 17375 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SMAX),
5106 /* 17379 */ // MIs[1] A
5107 /* 17379 */ // No operand predicates
5108 /* 17379 */ // MIs[1] sub
5109 /* 17379 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5110 /* 17383 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5111 /* 17387 */ // MIs[2] Operand 1
5112 /* 17387 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
5113 /* 17391 */ // MIs[2] A
5114 /* 17391 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
5115 /* 17396 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner19),
5116 /* 17400 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5117 /* 17402 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5118 /* 17405 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
5119 /* 17415 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5120 /* 17418 */ // Combiner Rule #261: SubSmaxSub
5121 /* 17418 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5122 /* 17421 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5123 /* 17426 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5124 /* 17429 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
5125 /* 17433 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMIN),
5126 /* 17437 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
5127 /* 17441 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
5128 /* 17445 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5129 /* 17448 */ GIR_EraseRootFromParent_Done,
5130 /* 17449 */ // Label 148: @17449
5131 /* 17449 */ GIM_Try, /*On fail goto*//*Label 149*/ GIMT_Encode4(17543), // Rule ID 431 //
5132 /* 17454 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule262Enabled),
5133 /* 17457 */ // MIs[0] root
5134 /* 17457 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5135 /* 17461 */ // MIs[0] Operand 1
5136 /* 17461 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
5137 /* 17465 */ // MIs[0] max
5138 /* 17465 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5139 /* 17469 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UMAX),
5140 /* 17473 */ // MIs[1] A
5141 /* 17473 */ // No operand predicates
5142 /* 17473 */ // MIs[1] sub
5143 /* 17473 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5144 /* 17477 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5145 /* 17481 */ // MIs[2] Operand 1
5146 /* 17481 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
5147 /* 17485 */ // MIs[2] A
5148 /* 17485 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
5149 /* 17490 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner19),
5150 /* 17494 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5151 /* 17496 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5152 /* 17499 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
5153 /* 17509 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5154 /* 17512 */ // Combiner Rule #262: SubUmaxSub
5155 /* 17512 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5156 /* 17515 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5157 /* 17520 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5158 /* 17523 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
5159 /* 17527 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMIN),
5160 /* 17531 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
5161 /* 17535 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
5162 /* 17539 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5163 /* 17542 */ GIR_EraseRootFromParent_Done,
5164 /* 17543 */ // Label 149: @17543
5165 /* 17543 */ GIM_Try, /*On fail goto*//*Label 150*/ GIMT_Encode4(17583), // Rule ID 428 //
5166 /* 17548 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule259Enabled),
5167 /* 17551 */ // MIs[0] root
5168 /* 17551 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5169 /* 17555 */ // MIs[0] Operand 1
5170 /* 17555 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 255,
5171 /* 17559 */ // MIs[0] op1
5172 /* 17559 */ // No operand predicates
5173 /* 17559 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5174 /* 17562 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(18446744073709551615u),
5175 /* 17572 */ // Combiner Rule #259: sub_minus_one
5176 /* 17572 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
5177 /* 17575 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5178 /* 17577 */ GIR_RootToRootCopy, /*OpIdx*/2, // op1
5179 /* 17579 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
5180 /* 17582 */ GIR_EraseRootFromParent_Done,
5181 /* 17583 */ // Label 150: @17583
5182 /* 17583 */ GIM_Try, /*On fail goto*//*Label 151*/ GIMT_Encode4(17683), // Rule ID 429 //
5183 /* 17588 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule260Enabled),
5184 /* 17591 */ // MIs[0] d
5185 /* 17591 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5186 /* 17595 */ // MIs[0] a
5187 /* 17595 */ // No operand predicates
5188 /* 17595 */ // MIs[0] mul
5189 /* 17595 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5190 /* 17599 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_MUL),
5191 /* 17603 */ // MIs[1] x
5192 /* 17603 */ // No operand predicates
5193 /* 17603 */ // MIs[1] c
5194 /* 17603 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5195 /* 17607 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5196 /* 17611 */ // MIs[2] imm
5197 /* 17611 */ // No operand predicates
5198 /* 17611 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner0),
5199 /* 17615 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5200 /* 17617 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
5201 /* 17620 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5202 /* 17623 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
5203 /* 17633 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5204 /* 17636 */ // Combiner Rule #260: sub_of_mul_const
5205 /* 17636 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5206 /* 17639 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5207 /* 17644 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5208 /* 17647 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // c
5209 /* 17651 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MUL),
5210 /* 17655 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5211 /* 17660 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
5212 /* 17664 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5213 /* 17667 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5214 /* 17671 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // d
5215 /* 17675 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/1, // a
5216 /* 17679 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
5217 /* 17682 */ GIR_EraseRootFromParent_Done,
5218 /* 17683 */ // Label 151: @17683
5219 /* 17683 */ GIM_Try, /*On fail goto*//*Label 152*/ GIMT_Encode4(17744), // Rule ID 9 //
5220 /* 17688 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule9Enabled),
5221 /* 17691 */ // MIs[0] root
5222 /* 17691 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5223 /* 17695 */ // MIs[0] A
5224 /* 17695 */ // No operand predicates
5225 /* 17695 */ // MIs[0] sub1
5226 /* 17695 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5227 /* 17699 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5228 /* 17703 */ // MIs[1] B
5229 /* 17703 */ // No operand predicates
5230 /* 17703 */ // MIs[1] C
5231 /* 17703 */ // No operand predicates
5232 /* 17703 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner0),
5233 /* 17707 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5234 /* 17709 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5235 /* 17712 */ // Combiner Rule #9: AMinusBMinusC
5236 /* 17712 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5237 /* 17715 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5238 /* 17720 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // C
5239 /* 17724 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
5240 /* 17728 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5241 /* 17732 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
5242 /* 17736 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // A
5243 /* 17740 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5244 /* 17743 */ GIR_EraseRootFromParent_Done,
5245 /* 17744 */ // Label 152: @17744
5246 /* 17744 */ GIM_Try, /*On fail goto*//*Label 153*/ GIMT_Encode4(17789), // Rule ID 0 //
5247 /* 17749 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule0Enabled),
5248 /* 17752 */ // MIs[0] root
5249 /* 17752 */ // No operand predicates
5250 /* 17752 */ // MIs[0] add1
5251 /* 17752 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5252 /* 17756 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
5253 /* 17760 */ // MIs[1] A
5254 /* 17760 */ // No operand predicates
5255 /* 17760 */ // MIs[1] sub1
5256 /* 17760 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5257 /* 17764 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5258 /* 17768 */ // MIs[2] B
5259 /* 17768 */ // No operand predicates
5260 /* 17768 */ // MIs[2] C
5261 /* 17768 */ // No operand predicates
5262 /* 17768 */ // MIs[0] B
5263 /* 17768 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
5264 /* 17773 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5265 /* 17775 */ // Combiner Rule #0: APlusBMinusCMinusB
5266 /* 17775 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5267 /* 17778 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5268 /* 17780 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
5269 /* 17784 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
5270 /* 17788 */ GIR_EraseRootFromParent_Done,
5271 /* 17789 */ // Label 153: @17789
5272 /* 17789 */ GIM_Try, /*On fail goto*//*Label 154*/ GIMT_Encode4(17826), // Rule ID 14 //
5273 /* 17794 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule14Enabled),
5274 /* 17797 */ // MIs[0] root
5275 /* 17797 */ // No operand predicates
5276 /* 17797 */ // MIs[0] add
5277 /* 17797 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5278 /* 17801 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
5279 /* 17805 */ // MIs[1] A
5280 /* 17805 */ // No operand predicates
5281 /* 17805 */ // MIs[1] c1
5282 /* 17805 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5283 /* 17809 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5284 /* 17813 */ // MIs[2] imm1
5285 /* 17813 */ // No operand predicates
5286 /* 17813 */ // MIs[0] c2
5287 /* 17813 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
5288 /* 17817 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5289 /* 17821 */ // MIs[3] imm2
5290 /* 17821 */ // No operand predicates
5291 /* 17821 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5292 /* 17823 */ // Combiner Rule #14: APlusC1MinusC2
5293 /* 17823 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner0),
5294 /* 17826 */ // Label 154: @17826
5295 /* 17826 */ GIM_Try, /*On fail goto*//*Label 155*/ GIMT_Encode4(17863), // Rule ID 17 //
5296 /* 17831 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule17Enabled),
5297 /* 17834 */ // MIs[0] root
5298 /* 17834 */ // No operand predicates
5299 /* 17834 */ // MIs[0] sub1
5300 /* 17834 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5301 /* 17838 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5302 /* 17842 */ // MIs[1] c1
5303 /* 17842 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
5304 /* 17846 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5305 /* 17850 */ // MIs[2] imm1
5306 /* 17850 */ // No operand predicates
5307 /* 17850 */ // MIs[1] A
5308 /* 17850 */ // No operand predicates
5309 /* 17850 */ // MIs[0] c2
5310 /* 17850 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
5311 /* 17854 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5312 /* 17858 */ // MIs[3] imm2
5313 /* 17858 */ // No operand predicates
5314 /* 17858 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5315 /* 17860 */ // Combiner Rule #17: C1Minus2MinusC2
5316 /* 17860 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner3),
5317 /* 17863 */ // Label 155: @17863
5318 /* 17863 */ GIM_Try, /*On fail goto*//*Label 156*/ GIMT_Encode4(17908), // Rule ID 1 //
5319 /* 17868 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule1Enabled),
5320 /* 17871 */ // MIs[0] root
5321 /* 17871 */ // No operand predicates
5322 /* 17871 */ // MIs[0] sub2
5323 /* 17871 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5324 /* 17875 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5325 /* 17879 */ // MIs[1] A
5326 /* 17879 */ // No operand predicates
5327 /* 17879 */ // MIs[1] sub1
5328 /* 17879 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5329 /* 17883 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5330 /* 17887 */ // MIs[2] B
5331 /* 17887 */ // No operand predicates
5332 /* 17887 */ // MIs[2] C
5333 /* 17887 */ // No operand predicates
5334 /* 17887 */ // MIs[0] C
5335 /* 17887 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/2,
5336 /* 17892 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5337 /* 17894 */ // Combiner Rule #1: AMinusBMinusCMinusC
5338 /* 17894 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5339 /* 17897 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5340 /* 17899 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
5341 /* 17903 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // B
5342 /* 17907 */ GIR_EraseRootFromParent_Done,
5343 /* 17908 */ // Label 156: @17908
5344 /* 17908 */ GIM_Try, /*On fail goto*//*Label 157*/ GIMT_Encode4(17945), // Rule ID 16 //
5345 /* 17913 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule16Enabled),
5346 /* 17916 */ // MIs[0] root
5347 /* 17916 */ // No operand predicates
5348 /* 17916 */ // MIs[0] sub1
5349 /* 17916 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5350 /* 17920 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5351 /* 17924 */ // MIs[1] A
5352 /* 17924 */ // No operand predicates
5353 /* 17924 */ // MIs[1] c1
5354 /* 17924 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5355 /* 17928 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5356 /* 17932 */ // MIs[2] imm1
5357 /* 17932 */ // No operand predicates
5358 /* 17932 */ // MIs[0] c2
5359 /* 17932 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
5360 /* 17936 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5361 /* 17940 */ // MIs[3] imm2
5362 /* 17940 */ // No operand predicates
5363 /* 17940 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5364 /* 17942 */ // Combiner Rule #16: AMinusC1MinusC2
5365 /* 17942 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner2),
5366 /* 17945 */ // Label 157: @17945
5367 /* 17945 */ GIM_Try, /*On fail goto*//*Label 158*/ GIMT_Encode4(17988), // Rule ID 170 //
5368 /* 17950 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule126Enabled),
5369 /* 17953 */ // MIs[0] dst
5370 /* 17953 */ // No operand predicates
5371 /* 17953 */ // MIs[0] Operand 1
5372 /* 17953 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
5373 /* 17957 */ // MIs[0] and
5374 /* 17957 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5375 /* 17961 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
5376 /* 17965 */ // MIs[1] x
5377 /* 17965 */ // No operand predicates
5378 /* 17965 */ // MIs[1] Operand 2
5379 /* 17965 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
5380 /* 17969 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner11),
5381 /* 17973 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5382 /* 17975 */ // Combiner Rule #126: neg_and_one_to_sext_inreg
5383 /* 17975 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT_INREG),
5384 /* 17978 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5385 /* 17980 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
5386 /* 17984 */ GIR_AddImm8, /*InsnID*/0, /*Imm*/1,
5387 /* 17987 */ GIR_EraseRootFromParent_Done,
5388 /* 17988 */ // Label 158: @17988
5389 /* 17988 */ GIM_Try, /*On fail goto*//*Label 159*/ GIMT_Encode4(18025), // Rule ID 15 //
5390 /* 17993 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule15Enabled),
5391 /* 17996 */ // MIs[0] root
5392 /* 17996 */ // No operand predicates
5393 /* 17996 */ // MIs[0] c2
5394 /* 17996 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5395 /* 18000 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5396 /* 18004 */ // MIs[1] imm2
5397 /* 18004 */ // No operand predicates
5398 /* 18004 */ // MIs[0] add
5399 /* 18004 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5400 /* 18008 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
5401 /* 18012 */ // MIs[2] A
5402 /* 18012 */ // No operand predicates
5403 /* 18012 */ // MIs[2] c1
5404 /* 18012 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/2, // MIs[3]
5405 /* 18016 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5406 /* 18020 */ // MIs[3] imm1
5407 /* 18020 */ // No operand predicates
5408 /* 18020 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5409 /* 18022 */ // Combiner Rule #15: C2MinusAPlusC1
5410 /* 18022 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner1),
5411 /* 18025 */ // Label 159: @18025
5412 /* 18025 */ GIM_Try, /*On fail goto*//*Label 160*/ GIMT_Encode4(18064), // Rule ID 122 //
5413 /* 18030 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
5414 /* 18033 */ // MIs[0] dst
5415 /* 18033 */ // No operand predicates
5416 /* 18033 */ // MIs[0] x
5417 /* 18033 */ GIM_RecordRegType, /*MI*/0, /*Op*/1, /*TempTypeIdx*/255,
5418 /* 18037 */ // MIs[0] x
5419 /* 18037 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
5420 /* 18042 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5421 /* 18045 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
5422 /* 18055 */ // Combiner Rule #92: same_val_zero @ [__same_val_zero_match_0[0]]
5423 /* 18055 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
5424 /* 18058 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5425 /* 18060 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
5426 /* 18063 */ GIR_EraseRootFromParent_Done,
5427 /* 18064 */ // Label 160: @18064
5428 /* 18064 */ GIM_Try, /*On fail goto*//*Label 161*/ GIMT_Encode4(18098), // Rule ID 12 //
5429 /* 18069 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule12Enabled),
5430 /* 18072 */ // MIs[0] root
5431 /* 18072 */ // No operand predicates
5432 /* 18072 */ // MIs[0] A
5433 /* 18072 */ // No operand predicates
5434 /* 18072 */ // MIs[0] add
5435 /* 18072 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5436 /* 18076 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5437 /* 18080 */ // MIs[1] A
5438 /* 18080 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
5439 /* 18085 */ // MIs[1] B
5440 /* 18085 */ // No operand predicates
5441 /* 18085 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
5442 /* 18090 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5443 /* 18092 */ // Combiner Rule #12: AMinusBMinusA
5444 /* 18092 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
5445 /* 18097 */ GIR_EraseRootFromParent_Done,
5446 /* 18098 */ // Label 161: @18098
5447 /* 18098 */ GIM_Try, /*On fail goto*//*Label 162*/ GIMT_Encode4(18132), // Rule ID 11 //
5448 /* 18103 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule11Enabled),
5449 /* 18106 */ // MIs[0] root
5450 /* 18106 */ // No operand predicates
5451 /* 18106 */ // MIs[0] A
5452 /* 18106 */ // No operand predicates
5453 /* 18106 */ // MIs[0] sub1
5454 /* 18106 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5455 /* 18110 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5456 /* 18114 */ // MIs[1] Operand 1
5457 /* 18114 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
5458 /* 18118 */ // MIs[1] B
5459 /* 18118 */ // No operand predicates
5460 /* 18118 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5461 /* 18120 */ // Combiner Rule #11: AMinusZeroMinusB
5462 /* 18120 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5463 /* 18123 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5464 /* 18125 */ GIR_RootToRootCopy, /*OpIdx*/1, // A
5465 /* 18127 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
5466 /* 18131 */ GIR_EraseRootFromParent_Done,
5467 /* 18132 */ // Label 162: @18132
5468 /* 18132 */ GIM_Try, /*On fail goto*//*Label 163*/ GIMT_Encode4(18159), // Rule ID 48 //
5469 /* 18137 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule46Enabled),
5470 /* 18140 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
5471 /* 18146 */ // MIs[0] root
5472 /* 18146 */ // No operand predicates
5473 /* 18146 */ // MIs[0] x
5474 /* 18146 */ // No operand predicates
5475 /* 18146 */ // MIs[0] right
5476 /* 18146 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5477 /* 18150 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
5478 /* 18154 */ // MIs[1] imm
5479 /* 18154 */ // No operand predicates
5480 /* 18154 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5481 /* 18156 */ // Combiner Rule #46: sub_of_vscale
5482 /* 18156 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
5483 /* 18159 */ // Label 163: @18159
5484 /* 18159 */ GIM_Try, /*On fail goto*//*Label 164*/ GIMT_Encode4(18182), // Rule ID 110 //
5485 /* 18164 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
5486 /* 18167 */ // MIs[0] dst
5487 /* 18167 */ // No operand predicates
5488 /* 18167 */ // MIs[0] lhs
5489 /* 18167 */ // No operand predicates
5490 /* 18167 */ // MIs[0] Operand 2
5491 /* 18167 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
5492 /* 18171 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5493 /* 18176 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[0]]
5494 /* 18176 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5495 /* 18181 */ GIR_EraseRootFromParent_Done,
5496 /* 18182 */ // Label 164: @18182
5497 /* 18182 */ GIM_Try, /*On fail goto*//*Label 165*/ GIMT_Encode4(18203), // Rule ID 21 //
5498 /* 18187 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule21Enabled),
5499 /* 18190 */ // MIs[0] d
5500 /* 18190 */ // No operand predicates
5501 /* 18190 */ // MIs[0] op1
5502 /* 18190 */ // No operand predicates
5503 /* 18190 */ // MIs[0] c
5504 /* 18190 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5505 /* 18194 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5506 /* 18198 */ // MIs[1] imm
5507 /* 18198 */ // No operand predicates
5508 /* 18198 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5509 /* 18200 */ // Combiner Rule #21: sub_to_add
5510 /* 18200 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner7),
5511 /* 18203 */ // Label 165: @18203
5512 /* 18203 */ GIM_Reject,
5513 /* 18204 */ // Label 3: @18204
5514 /* 18204 */ GIM_Try, /*On fail goto*//*Label 166*/ GIMT_Encode4(18215), // Rule ID 84 //
5515 /* 18209 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
5516 /* 18212 */ // Combiner Rule #78: undef_to_int_zero; wip_match_opcode 'G_MUL'
5517 /* 18212 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner34),
5518 /* 18215 */ // Label 166: @18215
5519 /* 18215 */ GIM_Try, /*On fail goto*//*Label 167*/ GIMT_Encode4(18226), // Rule ID 261 //
5520 /* 18220 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5521 /* 18223 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_MUL'
5522 /* 18223 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5523 /* 18226 */ // Label 167: @18226
5524 /* 18226 */ GIM_Try, /*On fail goto*//*Label 168*/ GIMT_Encode4(18237), // Rule ID 354 //
5525 /* 18231 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
5526 /* 18234 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_MUL'
5527 /* 18234 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
5528 /* 18237 */ // Label 168: @18237
5529 /* 18237 */ GIM_Try, /*On fail goto*//*Label 169*/ GIMT_Encode4(18248), // Rule ID 456 //
5530 /* 18242 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule279Enabled),
5531 /* 18245 */ // Combiner Rule #279: smulu64; wip_match_opcode 'G_MUL'
5532 /* 18245 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner171),
5533 /* 18248 */ // Label 169: @18248
5534 /* 18248 */ GIM_Try, /*On fail goto*//*Label 170*/ GIMT_Encode4(18288), // Rule ID 23 //
5535 /* 18253 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule23Enabled),
5536 /* 18256 */ // MIs[0] dst
5537 /* 18256 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5538 /* 18260 */ // MIs[0] x
5539 /* 18260 */ // No operand predicates
5540 /* 18260 */ // MIs[0] Operand 2
5541 /* 18260 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 255,
5542 /* 18264 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5543 /* 18267 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
5544 /* 18277 */ // Combiner Rule #23: mul_by_neg_one
5545 /* 18277 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5546 /* 18280 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5547 /* 18282 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
5548 /* 18285 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
5549 /* 18287 */ GIR_EraseRootFromParent_Done,
5550 /* 18288 */ // Label 170: @18288
5551 /* 18288 */ GIM_Try, /*On fail goto*//*Label 171*/ GIMT_Encode4(18323), // Rule ID 46 //
5552 /* 18293 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule44Enabled),
5553 /* 18296 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
5554 /* 18302 */ // MIs[0] root
5555 /* 18302 */ // No operand predicates
5556 /* 18302 */ // MIs[0] left
5557 /* 18302 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5558 /* 18306 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
5559 /* 18310 */ // MIs[1] scale
5560 /* 18310 */ // No operand predicates
5561 /* 18310 */ // MIs[0] x
5562 /* 18310 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5563 /* 18314 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5564 /* 18318 */ // MIs[2] imm1
5565 /* 18318 */ // No operand predicates
5566 /* 18318 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5567 /* 18320 */ // Combiner Rule #44: mul_of_vscale
5568 /* 18320 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner16),
5569 /* 18323 */ // Label 171: @18323
5570 /* 18323 */ GIM_Try, /*On fail goto*//*Label 172*/ GIMT_Encode4(18363), // Rule ID 131 //
5571 /* 18328 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5572 /* 18331 */ // MIs[0] dst
5573 /* 18331 */ // No operand predicates
5574 /* 18331 */ // MIs[0] zero
5575 /* 18331 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5576 /* 18335 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5577 /* 18339 */ // MIs[1] Operand 1
5578 /* 18339 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
5579 /* 18350 */ // MIs[0] rhs
5580 /* 18350 */ // No operand predicates
5581 /* 18350 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5582 /* 18355 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5583 /* 18357 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[7]]
5584 /* 18357 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5585 /* 18362 */ GIR_EraseRootFromParent_Done,
5586 /* 18363 */ // Label 172: @18363
5587 /* 18363 */ GIM_Try, /*On fail goto*//*Label 173*/ GIMT_Encode4(18386), // Rule ID 132 //
5588 /* 18368 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule94Enabled),
5589 /* 18371 */ // MIs[0] dst
5590 /* 18371 */ // No operand predicates
5591 /* 18371 */ // MIs[0] lhs
5592 /* 18371 */ // No operand predicates
5593 /* 18371 */ // MIs[0] zero
5594 /* 18371 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
5595 /* 18375 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
5596 /* 18380 */ // Combiner Rule #94: binop_right_to_zero
5597 /* 18380 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
5598 /* 18385 */ GIR_EraseRootFromParent_Done,
5599 /* 18386 */ // Label 173: @18386
5600 /* 18386 */ GIM_Try, /*On fail goto*//*Label 174*/ GIMT_Encode4(18409), // Rule ID 137 //
5601 /* 18391 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule99Enabled),
5602 /* 18394 */ // MIs[0] dst
5603 /* 18394 */ // No operand predicates
5604 /* 18394 */ // MIs[0] x
5605 /* 18394 */ // No operand predicates
5606 /* 18394 */ // MIs[0] Operand 2
5607 /* 18394 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
5608 /* 18398 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5609 /* 18403 */ // Combiner Rule #99: right_identity_one_int
5610 /* 18403 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5611 /* 18408 */ GIR_EraseRootFromParent_Done,
5612 /* 18409 */ // Label 174: @18409
5613 /* 18409 */ GIM_Try, /*On fail goto*//*Label 175*/ GIMT_Encode4(18420), // Rule ID 20 //
5614 /* 18414 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule20Enabled),
5615 /* 18417 */ // MIs[0] d
5616 /* 18417 */ // No operand predicates
5617 /* 18417 */ // MIs[0] op1
5618 /* 18417 */ // No operand predicates
5619 /* 18417 */ // MIs[0] op2
5620 /* 18417 */ // No operand predicates
5621 /* 18417 */ // Combiner Rule #20: mul_to_shl
5622 /* 18417 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner6),
5623 /* 18420 */ // Label 175: @18420
5624 /* 18420 */ GIM_Reject,
5625 /* 18421 */ // Label 4: @18421
5626 /* 18421 */ GIM_Try, /*On fail goto*//*Label 176*/ GIMT_Encode4(18432), // Rule ID 232 //
5627 /* 18426 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
5628 /* 18429 */ // Combiner Rule #172: div_rem_to_divrem; wip_match_opcode 'G_SDIV'
5629 /* 18429 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
5630 /* 18432 */ // Label 176: @18432
5631 /* 18432 */ GIM_Try, /*On fail goto*//*Label 177*/ GIMT_Encode4(18443), // Rule ID 267 //
5632 /* 18437 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5633 /* 18440 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SDIV'
5634 /* 18440 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5635 /* 18443 */ // Label 177: @18443
5636 /* 18443 */ GIM_Try, /*On fail goto*//*Label 178*/ GIMT_Encode4(18454), // Rule ID 322 //
5637 /* 18448 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5638 /* 18451 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SDIV'
5639 /* 18451 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5640 /* 18454 */ // Label 178: @18454
5641 /* 18454 */ GIM_Try, /*On fail goto*//*Label 179*/ GIMT_Encode4(18494), // Rule ID 127 //
5642 /* 18459 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5643 /* 18462 */ // MIs[0] dst
5644 /* 18462 */ // No operand predicates
5645 /* 18462 */ // MIs[0] zero
5646 /* 18462 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5647 /* 18466 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5648 /* 18470 */ // MIs[1] Operand 1
5649 /* 18470 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
5650 /* 18481 */ // MIs[0] rhs
5651 /* 18481 */ // No operand predicates
5652 /* 18481 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5653 /* 18486 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5654 /* 18488 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[3]]
5655 /* 18488 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5656 /* 18493 */ GIR_EraseRootFromParent_Done,
5657 /* 18494 */ // Label 179: @18494
5658 /* 18494 */ GIM_Try, /*On fail goto*//*Label 180*/ GIMT_Encode4(18511), // Rule ID 346 //
5659 /* 18499 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule209Enabled),
5660 /* 18502 */ GIM_MIFlagsNot, /*MI*/0, GIMT_Encode4(MachineInstr::IsExact),
5661 /* 18508 */ // MIs[0] dst
5662 /* 18508 */ // No operand predicates
5663 /* 18508 */ // MIs[0] x
5664 /* 18508 */ // No operand predicates
5665 /* 18508 */ // MIs[0] y
5666 /* 18508 */ // No operand predicates
5667 /* 18508 */ // Combiner Rule #209: sdiv_by_pow2
5668 /* 18508 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner124),
5669 /* 18511 */ // Label 180: @18511
5670 /* 18511 */ GIM_Try, /*On fail goto*//*Label 181*/ GIMT_Encode4(18522), // Rule ID 348 //
5671 /* 18516 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule211Enabled),
5672 /* 18519 */ // MIs[0] dst
5673 /* 18519 */ // No operand predicates
5674 /* 18519 */ // MIs[0] x
5675 /* 18519 */ // No operand predicates
5676 /* 18519 */ // MIs[0] y
5677 /* 18519 */ // No operand predicates
5678 /* 18519 */ // Combiner Rule #211: sdiv_by_const
5679 /* 18519 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner122),
5680 /* 18522 */ // Label 181: @18522
5681 /* 18522 */ GIM_Reject,
5682 /* 18523 */ // Label 5: @18523
5683 /* 18523 */ GIM_Try, /*On fail goto*//*Label 182*/ GIMT_Encode4(18534), // Rule ID 87 //
5684 /* 18528 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
5685 /* 18531 */ // Combiner Rule #80: binop_left_undef_to_zero; wip_match_opcode 'G_UDIV'
5686 /* 18531 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner36),
5687 /* 18534 */ // Label 182: @18534
5688 /* 18534 */ GIM_Try, /*On fail goto*//*Label 183*/ GIMT_Encode4(18545), // Rule ID 233 //
5689 /* 18539 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
5690 /* 18542 */ // Combiner Rule #172: div_rem_to_divrem; wip_match_opcode 'G_UDIV'
5691 /* 18542 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
5692 /* 18545 */ // Label 183: @18545
5693 /* 18545 */ GIM_Try, /*On fail goto*//*Label 184*/ GIMT_Encode4(18556), // Rule ID 266 //
5694 /* 18550 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5695 /* 18553 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_UDIV'
5696 /* 18553 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5697 /* 18556 */ // Label 184: @18556
5698 /* 18556 */ GIM_Try, /*On fail goto*//*Label 185*/ GIMT_Encode4(18567), // Rule ID 324 //
5699 /* 18561 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5700 /* 18564 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_UDIV'
5701 /* 18564 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5702 /* 18567 */ // Label 185: @18567
5703 /* 18567 */ GIM_Try, /*On fail goto*//*Label 186*/ GIMT_Encode4(18607), // Rule ID 128 //
5704 /* 18572 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5705 /* 18575 */ // MIs[0] dst
5706 /* 18575 */ // No operand predicates
5707 /* 18575 */ // MIs[0] zero
5708 /* 18575 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5709 /* 18579 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5710 /* 18583 */ // MIs[1] Operand 1
5711 /* 18583 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
5712 /* 18594 */ // MIs[0] rhs
5713 /* 18594 */ // No operand predicates
5714 /* 18594 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5715 /* 18599 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5716 /* 18601 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[4]]
5717 /* 18601 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5718 /* 18606 */ GIR_EraseRootFromParent_Done,
5719 /* 18607 */ // Label 186: @18607
5720 /* 18607 */ GIM_Try, /*On fail goto*//*Label 187*/ GIMT_Encode4(18624), // Rule ID 345 //
5721 /* 18612 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule208Enabled),
5722 /* 18615 */ GIM_MIFlagsNot, /*MI*/0, GIMT_Encode4(MachineInstr::IsExact),
5723 /* 18621 */ // MIs[0] dst
5724 /* 18621 */ // No operand predicates
5725 /* 18621 */ // MIs[0] x
5726 /* 18621 */ // No operand predicates
5727 /* 18621 */ // MIs[0] y
5728 /* 18621 */ // No operand predicates
5729 /* 18621 */ // Combiner Rule #208: udiv_by_pow2
5730 /* 18621 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner123),
5731 /* 18624 */ // Label 187: @18624
5732 /* 18624 */ GIM_Try, /*On fail goto*//*Label 188*/ GIMT_Encode4(18635), // Rule ID 347 //
5733 /* 18629 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule210Enabled),
5734 /* 18632 */ // MIs[0] dst
5735 /* 18632 */ // No operand predicates
5736 /* 18632 */ // MIs[0] x
5737 /* 18632 */ // No operand predicates
5738 /* 18632 */ // MIs[0] y
5739 /* 18632 */ // No operand predicates
5740 /* 18632 */ // Combiner Rule #210: udiv_by_const
5741 /* 18632 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner121),
5742 /* 18635 */ // Label 188: @18635
5743 /* 18635 */ GIM_Reject,
5744 /* 18636 */ // Label 6: @18636
5745 /* 18636 */ GIM_Try, /*On fail goto*//*Label 189*/ GIMT_Encode4(18647), // Rule ID 234 //
5746 /* 18641 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
5747 /* 18644 */ // Combiner Rule #172: div_rem_to_divrem; wip_match_opcode 'G_SREM'
5748 /* 18644 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
5749 /* 18647 */ // Label 189: @18647
5750 /* 18647 */ GIM_Try, /*On fail goto*//*Label 190*/ GIMT_Encode4(18658), // Rule ID 269 //
5751 /* 18652 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5752 /* 18655 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SREM'
5753 /* 18655 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5754 /* 18658 */ // Label 190: @18658
5755 /* 18658 */ GIM_Try, /*On fail goto*//*Label 191*/ GIMT_Encode4(18669), // Rule ID 323 //
5756 /* 18663 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5757 /* 18666 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SREM'
5758 /* 18666 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5759 /* 18669 */ // Label 191: @18669
5760 /* 18669 */ GIM_Try, /*On fail goto*//*Label 192*/ GIMT_Encode4(18709), // Rule ID 129 //
5761 /* 18674 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5762 /* 18677 */ // MIs[0] dst
5763 /* 18677 */ // No operand predicates
5764 /* 18677 */ // MIs[0] zero
5765 /* 18677 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5766 /* 18681 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5767 /* 18685 */ // MIs[1] Operand 1
5768 /* 18685 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
5769 /* 18696 */ // MIs[0] rhs
5770 /* 18696 */ // No operand predicates
5771 /* 18696 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5772 /* 18701 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5773 /* 18703 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[5]]
5774 /* 18703 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5775 /* 18708 */ GIR_EraseRootFromParent_Done,
5776 /* 18709 */ // Label 192: @18709
5777 /* 18709 */ GIM_Try, /*On fail goto*//*Label 193*/ GIMT_Encode4(18720), // Rule ID 342 //
5778 /* 18714 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule205Enabled),
5779 /* 18717 */ // MIs[0] dst
5780 /* 18717 */ // No operand predicates
5781 /* 18717 */ // MIs[0] x
5782 /* 18717 */ // No operand predicates
5783 /* 18717 */ // MIs[0] y
5784 /* 18717 */ // No operand predicates
5785 /* 18717 */ // Combiner Rule #205: srem_pow2_to_mask
5786 /* 18717 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner120),
5787 /* 18720 */ // Label 193: @18720
5788 /* 18720 */ GIM_Try, /*On fail goto*//*Label 194*/ GIMT_Encode4(18731), // Rule ID 344 //
5789 /* 18725 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule207Enabled),
5790 /* 18728 */ // MIs[0] dst
5791 /* 18728 */ // No operand predicates
5792 /* 18728 */ // MIs[0] x
5793 /* 18728 */ // No operand predicates
5794 /* 18728 */ // MIs[0] y
5795 /* 18728 */ // No operand predicates
5796 /* 18728 */ // Combiner Rule #207: srem_by_const
5797 /* 18728 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner122),
5798 /* 18731 */ // Label 194: @18731
5799 /* 18731 */ GIM_Reject,
5800 /* 18732 */ // Label 7: @18732
5801 /* 18732 */ GIM_Try, /*On fail goto*//*Label 195*/ GIMT_Encode4(18743), // Rule ID 88 //
5802 /* 18737 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
5803 /* 18740 */ // Combiner Rule #80: binop_left_undef_to_zero; wip_match_opcode 'G_UREM'
5804 /* 18740 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner36),
5805 /* 18743 */ // Label 195: @18743
5806 /* 18743 */ GIM_Try, /*On fail goto*//*Label 196*/ GIMT_Encode4(18754), // Rule ID 235 //
5807 /* 18748 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
5808 /* 18751 */ // Combiner Rule #172: div_rem_to_divrem; wip_match_opcode 'G_UREM'
5809 /* 18751 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
5810 /* 18754 */ // Label 196: @18754
5811 /* 18754 */ GIM_Try, /*On fail goto*//*Label 197*/ GIMT_Encode4(18765), // Rule ID 268 //
5812 /* 18759 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5813 /* 18762 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_UREM'
5814 /* 18762 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5815 /* 18765 */ // Label 197: @18765
5816 /* 18765 */ GIM_Try, /*On fail goto*//*Label 198*/ GIMT_Encode4(18776), // Rule ID 325 //
5817 /* 18770 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5818 /* 18773 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_UREM'
5819 /* 18773 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5820 /* 18776 */ // Label 198: @18776
5821 /* 18776 */ GIM_Try, /*On fail goto*//*Label 199*/ GIMT_Encode4(18816), // Rule ID 130 //
5822 /* 18781 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5823 /* 18784 */ // MIs[0] dst
5824 /* 18784 */ // No operand predicates
5825 /* 18784 */ // MIs[0] zero
5826 /* 18784 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5827 /* 18788 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5828 /* 18792 */ // MIs[1] Operand 1
5829 /* 18792 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
5830 /* 18803 */ // MIs[0] rhs
5831 /* 18803 */ // No operand predicates
5832 /* 18803 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5833 /* 18808 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5834 /* 18810 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[6]]
5835 /* 18810 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5836 /* 18815 */ GIR_EraseRootFromParent_Done,
5837 /* 18816 */ // Label 199: @18816
5838 /* 18816 */ GIM_Try, /*On fail goto*//*Label 200*/ GIMT_Encode4(18827), // Rule ID 183 //
5839 /* 18821 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule139Enabled),
5840 /* 18824 */ // MIs[0] dst
5841 /* 18824 */ // No operand predicates
5842 /* 18824 */ // MIs[0] x
5843 /* 18824 */ // No operand predicates
5844 /* 18824 */ // MIs[0] y
5845 /* 18824 */ // No operand predicates
5846 /* 18824 */ // Combiner Rule #139: urem_pow2_to_mask
5847 /* 18824 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner74),
5848 /* 18827 */ // Label 200: @18827
5849 /* 18827 */ GIM_Try, /*On fail goto*//*Label 201*/ GIMT_Encode4(18838), // Rule ID 343 //
5850 /* 18832 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule206Enabled),
5851 /* 18835 */ // MIs[0] dst
5852 /* 18835 */ // No operand predicates
5853 /* 18835 */ // MIs[0] x
5854 /* 18835 */ // No operand predicates
5855 /* 18835 */ // MIs[0] y
5856 /* 18835 */ // No operand predicates
5857 /* 18835 */ // Combiner Rule #206: urem_by_const
5858 /* 18835 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner121),
5859 /* 18838 */ // Label 201: @18838
5860 /* 18838 */ GIM_Reject,
5861 /* 18839 */ // Label 8: @18839
5862 /* 18839 */ GIM_Try, /*On fail goto*//*Label 202*/ GIMT_Encode4(18850), // Rule ID 79 //
5863 /* 18844 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
5864 /* 18847 */ // Combiner Rule #75: load_and_mask; wip_match_opcode 'G_AND'
5865 /* 18847 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
5866 /* 18850 */ // Label 202: @18850
5867 /* 18850 */ GIM_Try, /*On fail goto*//*Label 203*/ GIMT_Encode4(18861), // Rule ID 83 //
5868 /* 18855 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
5869 /* 18858 */ // Combiner Rule #78: undef_to_int_zero; wip_match_opcode 'G_AND'
5870 /* 18858 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner34),
5871 /* 18861 */ // Label 203: @18861
5872 /* 18861 */ GIM_Try, /*On fail goto*//*Label 204*/ GIMT_Encode4(18872), // Rule ID 153 //
5873 /* 18866 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
5874 /* 18869 */ // Combiner Rule #113: hoist_logic_op_with_same_opcode_hands; wip_match_opcode 'G_AND'
5875 /* 18869 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner54),
5876 /* 18872 */ // Label 204: @18872
5877 /* 18872 */ GIM_Try, /*On fail goto*//*Label 205*/ GIMT_Encode4(18883), // Rule ID 173 //
5878 /* 18877 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule129Enabled),
5879 /* 18880 */ // Combiner Rule #129: narrow_binop_feeding_and; wip_match_opcode 'G_AND'
5880 /* 18880 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner67),
5881 /* 18883 */ // Label 205: @18883
5882 /* 18883 */ GIM_Try, /*On fail goto*//*Label 206*/ GIMT_Encode4(18894), // Rule ID 180 //
5883 /* 18888 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule136Enabled),
5884 /* 18891 */ // Combiner Rule #136: redundant_and; wip_match_opcode 'G_AND'
5885 /* 18891 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner71),
5886 /* 18894 */ // Label 206: @18894
5887 /* 18894 */ GIM_Try, /*On fail goto*//*Label 207*/ GIMT_Encode4(18905), // Rule ID 205 //
5888 /* 18899 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule161Enabled),
5889 /* 18902 */ // Combiner Rule #161: overlapping_and; wip_match_opcode 'G_AND'
5890 /* 18902 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
5891 /* 18905 */ // Label 207: @18905
5892 /* 18905 */ GIM_Try, /*On fail goto*//*Label 208*/ GIMT_Encode4(18916), // Rule ID 258 //
5893 /* 18910 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
5894 /* 18913 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_AND'
5895 /* 18913 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
5896 /* 18916 */ // Label 208: @18916
5897 /* 18916 */ GIM_Try, /*On fail goto*//*Label 209*/ GIMT_Encode4(18927), // Rule ID 307 //
5898 /* 18921 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
5899 /* 18924 */ // Combiner Rule #195: and_or_disjoint_mask; wip_match_opcode 'G_AND'
5900 /* 18924 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner110),
5901 /* 18927 */ // Label 209: @18927
5902 /* 18927 */ GIM_Try, /*On fail goto*//*Label 210*/ GIMT_Encode4(18938), // Rule ID 319 //
5903 /* 18932 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
5904 /* 18935 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_AND'
5905 /* 18935 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
5906 /* 18938 */ // Label 210: @18938
5907 /* 18938 */ GIM_Try, /*On fail goto*//*Label 211*/ GIMT_Encode4(18949), // Rule ID 355 //
5908 /* 18943 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
5909 /* 18946 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_AND'
5910 /* 18946 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
5911 /* 18949 */ // Label 211: @18949
5912 /* 18949 */ GIM_Try, /*On fail goto*//*Label 212*/ GIMT_Encode4(18960), // Rule ID 382 //
5913 /* 18954 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule218Enabled),
5914 /* 18957 */ // Combiner Rule #218: match_ands; wip_match_opcode 'G_AND'
5915 /* 18957 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner131),
5916 /* 18960 */ // Label 212: @18960
5917 /* 18960 */ GIM_Try, /*On fail goto*//*Label 213*/ GIMT_Encode4(18971), // Rule ID 425 //
5918 /* 18965 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule258Enabled),
5919 /* 18968 */ // Combiner Rule #258: binop_with_neg; wip_match_opcode 'G_AND'
5920 /* 18968 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner159),
5921 /* 18971 */ // Label 213: @18971
5922 /* 18971 */ GIM_Try, /*On fail goto*//*Label 214*/ GIMT_Encode4(19057), // Rule ID 387 //
5923 /* 18976 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule223Enabled),
5924 /* 18979 */ // MIs[0] root
5925 /* 18979 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5926 /* 18983 */ // MIs[0] or
5927 /* 18983 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5928 /* 18987 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
5929 /* 18991 */ // MIs[1] x
5930 /* 18991 */ // No operand predicates
5931 /* 18991 */ // MIs[1] y
5932 /* 18991 */ // No operand predicates
5933 /* 18991 */ // MIs[0] not
5934 /* 18991 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5935 /* 18995 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
5936 /* 18999 */ // MIs[2] y
5937 /* 18999 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
5938 /* 19004 */ // MIs[2] Operand 2
5939 /* 19004 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
5940 /* 19008 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5941 /* 19010 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5942 /* 19013 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
5943 /* 19023 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5944 /* 19026 */ // Combiner Rule #223: and_xor_or_to_xor_and
5945 /* 19026 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
5946 /* 19029 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5947 /* 19034 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
5948 /* 19038 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5949 /* 19041 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
5950 /* 19045 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
5951 /* 19049 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
5952 /* 19053 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5953 /* 19056 */ GIR_EraseRootFromParent_Done,
5954 /* 19057 */ // Label 214: @19057
5955 /* 19057 */ GIM_Try, /*On fail goto*//*Label 215*/ GIMT_Encode4(19155), // Rule ID 166 //
5956 /* 19062 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule122Enabled),
5957 /* 19065 */ // MIs[0] root
5958 /* 19065 */ // No operand predicates
5959 /* 19065 */ // MIs[0] d1
5960 /* 19065 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5961 /* 19069 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
5962 /* 19073 */ // MIs[1] p
5963 /* 19073 */ // No operand predicates
5964 /* 19073 */ // MIs[1] s1
5965 /* 19073 */ GIM_RecordRegType, /*MI*/1, /*Op*/2, /*TempTypeIdx*/255,
5966 /* 19077 */ // MIs[1] Operand 3
5967 /* 19077 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
5968 /* 19081 */ // MIs[0] d2
5969 /* 19081 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5970 /* 19085 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ICMP),
5971 /* 19089 */ // MIs[2] p
5972 /* 19089 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
5973 /* 19094 */ // MIs[2] s2
5974 /* 19094 */ // No operand predicates
5975 /* 19094 */ // MIs[2] Operand 3
5976 /* 19094 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/3, 0,
5977 /* 19098 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner9),
5978 /* 19102 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5979 /* 19104 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5980 /* 19107 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
5981 /* 19117 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5982 /* 19120 */ // Combiner Rule #122: double_icmp_zero_and_combine
5983 /* 19120 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
5984 /* 19123 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5985 /* 19128 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // s1
5986 /* 19132 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // s2
5987 /* 19136 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ICMP),
5988 /* 19140 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
5989 /* 19144 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // p
5990 /* 19148 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5991 /* 19151 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
5992 /* 19154 */ GIR_EraseRootFromParent_Done,
5993 /* 19155 */ // Label 215: @19155
5994 /* 19155 */ GIM_Try, /*On fail goto*//*Label 216*/ GIMT_Encode4(19192), // Rule ID 251 //
5995 /* 19160 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule184Enabled),
5996 /* 19163 */ // MIs[0] root
5997 /* 19163 */ // No operand predicates
5998 /* 19163 */ // MIs[0] shift
5999 /* 19163 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6000 /* 19167 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
6001 /* 19171 */ // MIs[1] x
6002 /* 19171 */ // No operand predicates
6003 /* 19171 */ // MIs[1] lsb
6004 /* 19171 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6005 /* 19175 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6006 /* 19179 */ // MIs[2] imm1
6007 /* 19179 */ // No operand predicates
6008 /* 19179 */ // MIs[0] mask
6009 /* 19179 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
6010 /* 19183 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6011 /* 19187 */ // MIs[3] imm2
6012 /* 19187 */ // No operand predicates
6013 /* 19187 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
6014 /* 19189 */ // Combiner Rule #184: bitfield_extract_from_and
6015 /* 19189 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner100),
6016 /* 19192 */ // Label 216: @19192
6017 /* 19192 */ GIM_Try, /*On fail goto*//*Label 217*/ GIMT_Encode4(19241), // Rule ID 386 //
6018 /* 19197 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule222Enabled),
6019 /* 19200 */ // MIs[0] root
6020 /* 19200 */ // No operand predicates
6021 /* 19200 */ // MIs[0] or
6022 /* 19200 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6023 /* 19204 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
6024 /* 19208 */ // MIs[1] x
6025 /* 19208 */ // No operand predicates
6026 /* 19208 */ // MIs[1] not
6027 /* 19208 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6028 /* 19212 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
6029 /* 19216 */ // MIs[2] y
6030 /* 19216 */ // No operand predicates
6031 /* 19216 */ // MIs[2] Operand 2
6032 /* 19216 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
6033 /* 19220 */ // MIs[0] y
6034 /* 19220 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
6035 /* 19225 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6036 /* 19227 */ // Combiner Rule #222: and_xor_or_to_and
6037 /* 19227 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
6038 /* 19230 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6039 /* 19232 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
6040 /* 19236 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
6041 /* 19240 */ GIR_EraseRootFromParent_Done,
6042 /* 19241 */ // Label 217: @19241
6043 /* 19241 */ GIM_Try, /*On fail goto*//*Label 218*/ GIMT_Encode4(19355), // Rule ID 458 //
6044 /* 19246 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule281Enabled),
6045 /* 19249 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
6046 /* 19252 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
6047 /* 19255 */ // MIs[0] dst
6048 /* 19255 */ // No operand predicates
6049 /* 19255 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner24),
6050 /* 19259 */ GIR_MakeTempReg, /*TempRegID*/5, /*TypeID*/GILLT_i32,
6051 /* 19262 */ GIR_MakeTempReg, /*TempRegID*/4, /*TypeID*/GILLT_i32,
6052 /* 19265 */ GIR_MakeTempReg, /*TempRegID*/3, /*TypeID*/GILLT_i32,
6053 /* 19268 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/GILLT_i32,
6054 /* 19271 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i32,
6055 /* 19274 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i32,
6056 /* 19277 */ // Combiner Rule #281: combine_and_s64_with_s32_mask
6057 /* 19277 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6058 /* 19280 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6059 /* 19285 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6060 /* 19290 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
6061 /* 19292 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6062 /* 19296 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6063 /* 19301 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/3, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6064 /* 19306 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // y
6065 /* 19310 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
6066 /* 19314 */ GIR_AddTempRegister, /*InsnID*/2, /*TempRegID*/4, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6067 /* 19319 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
6068 /* 19322 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
6069 /* 19325 */ GIR_BuildMI, /*InsnID*/3, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
6070 /* 19329 */ GIR_AddTempRegister, /*InsnID*/3, /*TempRegID*/5, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6071 /* 19334 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/1,
6072 /* 19337 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/3,
6073 /* 19340 */ GIR_BuildMI, /*InsnID*/4, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
6074 /* 19344 */ GIR_Copy, /*NewInsnID*/4, /*OldInsnID*/0, /*OpIdx*/0, // dst
6075 /* 19348 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/4,
6076 /* 19351 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/5,
6077 /* 19354 */ GIR_EraseRootFromParent_Done,
6078 /* 19355 */ // Label 218: @19355
6079 /* 19355 */ GIM_Try, /*On fail goto*//*Label 219*/ GIMT_Encode4(19379), // Rule ID 120 //
6080 /* 19360 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule91Enabled),
6081 /* 19363 */ // MIs[0] dst
6082 /* 19363 */ // No operand predicates
6083 /* 19363 */ // MIs[0] src
6084 /* 19363 */ // No operand predicates
6085 /* 19363 */ // MIs[0] src
6086 /* 19363 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
6087 /* 19368 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6088 /* 19373 */ // Combiner Rule #91: binop_same_val @ [__binop_same_val_match_0[0]]
6089 /* 19373 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6090 /* 19378 */ GIR_EraseRootFromParent_Done,
6091 /* 19379 */ // Label 219: @19379
6092 /* 19379 */ GIM_Reject,
6093 /* 19380 */ // Label 9: @19380
6094 /* 19380 */ GIM_Try, /*On fail goto*//*Label 220*/ GIMT_Encode4(19391), // Rule ID 85 //
6095 /* 19385 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
6096 /* 19388 */ // Combiner Rule #79: undef_to_negative_one; wip_match_opcode 'G_OR'
6097 /* 19388 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner35),
6098 /* 19391 */ // Label 220: @19391
6099 /* 19391 */ GIM_Try, /*On fail goto*//*Label 221*/ GIMT_Encode4(19402), // Rule ID 154 //
6100 /* 19396 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
6101 /* 19399 */ // Combiner Rule #113: hoist_logic_op_with_same_opcode_hands; wip_match_opcode 'G_OR'
6102 /* 19399 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner54),
6103 /* 19402 */ // Label 221: @19402
6104 /* 19402 */ GIM_Try, /*On fail goto*//*Label 222*/ GIMT_Encode4(19413), // Rule ID 182 //
6105 /* 19407 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule138Enabled),
6106 /* 19410 */ // Combiner Rule #138: redundant_or; wip_match_opcode 'G_OR'
6107 /* 19410 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner73),
6108 /* 19413 */ // Label 222: @19413
6109 /* 19413 */ GIM_Try, /*On fail goto*//*Label 223*/ GIMT_Encode4(19424), // Rule ID 231 //
6110 /* 19418 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
6111 /* 19421 */ // Combiner Rule #171: load_or_combine; wip_match_opcode 'G_OR'
6112 /* 19421 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner93),
6113 /* 19424 */ // Label 223: @19424
6114 /* 19424 */ GIM_Try, /*On fail goto*//*Label 224*/ GIMT_Encode4(19435), // Rule ID 236 //
6115 /* 19429 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule173Enabled),
6116 /* 19432 */ // Combiner Rule #173: funnel_shift_from_or_shift; wip_match_opcode 'G_OR'
6117 /* 19432 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner95),
6118 /* 19435 */ // Label 224: @19435
6119 /* 19435 */ GIM_Try, /*On fail goto*//*Label 225*/ GIMT_Encode4(19446), // Rule ID 262 //
6120 /* 19440 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
6121 /* 19443 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_OR'
6122 /* 19443 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
6123 /* 19446 */ // Label 225: @19446
6124 /* 19446 */ GIM_Try, /*On fail goto*//*Label 226*/ GIMT_Encode4(19457), // Rule ID 320 //
6125 /* 19451 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
6126 /* 19454 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_OR'
6127 /* 19454 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
6128 /* 19457 */ // Label 226: @19457
6129 /* 19457 */ GIM_Try, /*On fail goto*//*Label 227*/ GIMT_Encode4(19468), // Rule ID 356 //
6130 /* 19462 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
6131 /* 19465 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_OR'
6132 /* 19465 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
6133 /* 19468 */ // Label 227: @19468
6134 /* 19468 */ GIM_Try, /*On fail goto*//*Label 228*/ GIMT_Encode4(19479), // Rule ID 383 //
6135 /* 19473 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule219Enabled),
6136 /* 19476 */ // Combiner Rule #219: match_ors; wip_match_opcode 'G_OR'
6137 /* 19476 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner132),
6138 /* 19479 */ // Label 228: @19479
6139 /* 19479 */ GIM_Try, /*On fail goto*//*Label 229*/ GIMT_Encode4(19490), // Rule ID 426 //
6140 /* 19484 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule258Enabled),
6141 /* 19487 */ // Combiner Rule #258: binop_with_neg; wip_match_opcode 'G_OR'
6142 /* 19487 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner159),
6143 /* 19490 */ // Label 229: @19490
6144 /* 19490 */ GIM_Try, /*On fail goto*//*Label 230*/ GIMT_Encode4(19576), // Rule ID 385 //
6145 /* 19495 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule221Enabled),
6146 /* 19498 */ // MIs[0] root
6147 /* 19498 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6148 /* 19502 */ // MIs[0] and
6149 /* 19502 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6150 /* 19506 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6151 /* 19510 */ // MIs[1] x
6152 /* 19510 */ // No operand predicates
6153 /* 19510 */ // MIs[1] y
6154 /* 19510 */ // No operand predicates
6155 /* 19510 */ // MIs[0] not
6156 /* 19510 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6157 /* 19514 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
6158 /* 19518 */ // MIs[2] y
6159 /* 19518 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
6160 /* 19523 */ // MIs[2] Operand 2
6161 /* 19523 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
6162 /* 19527 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6163 /* 19529 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6164 /* 19532 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
6165 /* 19542 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6166 /* 19545 */ // Combiner Rule #221: or_and_xor_to_xor_or
6167 /* 19545 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
6168 /* 19548 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6169 /* 19553 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
6170 /* 19557 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6171 /* 19560 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6172 /* 19564 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6173 /* 19568 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
6174 /* 19572 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6175 /* 19575 */ GIR_EraseRootFromParent_Done,
6176 /* 19576 */ // Label 230: @19576
6177 /* 19576 */ GIM_Try, /*On fail goto*//*Label 231*/ GIMT_Encode4(19663), // Rule ID 460 //
6178 /* 19581 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule282Enabled),
6179 /* 19584 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
6180 /* 19587 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
6181 /* 19590 */ // MIs[0] dst
6182 /* 19590 */ // No operand predicates
6183 /* 19590 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6184 /* 19594 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
6185 /* 19598 */ GIM_CheckType, /*MI*/1, /*Op*/1, /*Type*/GILLT_i32,
6186 /* 19602 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
6187 /* 19606 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6188 /* 19608 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
6189 /* 19611 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6190 /* 19614 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6191 /* 19617 */ // Combiner Rule #282: combine_or_s64_s32 @ [dst[1]]
6192 /* 19617 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6193 /* 19620 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6194 /* 19625 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6195 /* 19630 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
6196 /* 19632 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6197 /* 19636 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6198 /* 19641 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6199 /* 19644 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // y
6200 /* 19648 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
6201 /* 19652 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
6202 /* 19656 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
6203 /* 19659 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
6204 /* 19662 */ GIR_EraseRootFromParent_Done,
6205 /* 19663 */ // Label 231: @19663
6206 /* 19663 */ GIM_Try, /*On fail goto*//*Label 232*/ GIMT_Encode4(19710), // Rule ID 243 //
6207 /* 19668 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
6208 /* 19671 */ // MIs[0] root
6209 /* 19671 */ // No operand predicates
6210 /* 19671 */ // MIs[0] out1
6211 /* 19671 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6212 /* 19675 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSHL),
6213 /* 19679 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
6214 /* 19679 */ // No operand predicates
6215 /* 19679 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.z
6216 /* 19679 */ // No operand predicates
6217 /* 19679 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
6218 /* 19679 */ // No operand predicates
6219 /* 19679 */ // MIs[0] out2
6220 /* 19679 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6221 /* 19683 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SHL),
6222 /* 19687 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
6223 /* 19687 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
6224 /* 19692 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
6225 /* 19692 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
6226 /* 19697 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6227 /* 19702 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6228 /* 19704 */ // Combiner Rule #178: funnel_shift_or_shift_to_funnel_shift_left @ [__funnel_shift_or_shift_to_funnel_shift_left_match_0[0]]
6229 /* 19704 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6230 /* 19709 */ GIR_EraseRootFromParent_Done,
6231 /* 19710 */ // Label 232: @19710
6232 /* 19710 */ GIM_Try, /*On fail goto*//*Label 233*/ GIMT_Encode4(19757), // Rule ID 245 //
6233 /* 19715 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
6234 /* 19718 */ // MIs[0] root
6235 /* 19718 */ // No operand predicates
6236 /* 19718 */ // MIs[0] out1
6237 /* 19718 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6238 /* 19722 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSHR),
6239 /* 19726 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.z
6240 /* 19726 */ // No operand predicates
6241 /* 19726 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
6242 /* 19726 */ // No operand predicates
6243 /* 19726 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
6244 /* 19726 */ // No operand predicates
6245 /* 19726 */ // MIs[0] out2
6246 /* 19726 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6247 /* 19730 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_LSHR),
6248 /* 19734 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
6249 /* 19734 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
6250 /* 19739 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
6251 /* 19739 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
6252 /* 19744 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6253 /* 19749 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6254 /* 19751 */ // Combiner Rule #179: funnel_shift_or_shift_to_funnel_shift_right @ [__funnel_shift_or_shift_to_funnel_shift_right_match_0[0]]
6255 /* 19751 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6256 /* 19756 */ GIR_EraseRootFromParent_Done,
6257 /* 19757 */ // Label 233: @19757
6258 /* 19757 */ GIM_Try, /*On fail goto*//*Label 234*/ GIMT_Encode4(19855), // Rule ID 167 //
6259 /* 19762 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule123Enabled),
6260 /* 19765 */ // MIs[0] root
6261 /* 19765 */ // No operand predicates
6262 /* 19765 */ // MIs[0] d1
6263 /* 19765 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6264 /* 19769 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
6265 /* 19773 */ // MIs[1] p
6266 /* 19773 */ // No operand predicates
6267 /* 19773 */ // MIs[1] s1
6268 /* 19773 */ GIM_RecordRegType, /*MI*/1, /*Op*/2, /*TempTypeIdx*/255,
6269 /* 19777 */ // MIs[1] Operand 3
6270 /* 19777 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
6271 /* 19781 */ // MIs[0] d2
6272 /* 19781 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6273 /* 19785 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ICMP),
6274 /* 19789 */ // MIs[2] p
6275 /* 19789 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
6276 /* 19794 */ // MIs[2] s2
6277 /* 19794 */ // No operand predicates
6278 /* 19794 */ // MIs[2] Operand 3
6279 /* 19794 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/3, 0,
6280 /* 19798 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner10),
6281 /* 19802 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6282 /* 19804 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6283 /* 19807 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6284 /* 19817 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6285 /* 19820 */ // Combiner Rule #123: double_icmp_zero_or_combine
6286 /* 19820 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6287 /* 19823 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6288 /* 19828 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // s1
6289 /* 19832 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // s2
6290 /* 19836 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ICMP),
6291 /* 19840 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6292 /* 19844 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // p
6293 /* 19848 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6294 /* 19851 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
6295 /* 19854 */ GIR_EraseRootFromParent_Done,
6296 /* 19855 */ // Label 234: @19855
6297 /* 19855 */ GIM_Try, /*On fail goto*//*Label 235*/ GIMT_Encode4(19904), // Rule ID 384 //
6298 /* 19860 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule220Enabled),
6299 /* 19863 */ // MIs[0] root
6300 /* 19863 */ // No operand predicates
6301 /* 19863 */ // MIs[0] and
6302 /* 19863 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6303 /* 19867 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6304 /* 19871 */ // MIs[1] x
6305 /* 19871 */ // No operand predicates
6306 /* 19871 */ // MIs[1] not
6307 /* 19871 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6308 /* 19875 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
6309 /* 19879 */ // MIs[2] y
6310 /* 19879 */ // No operand predicates
6311 /* 19879 */ // MIs[2] Operand 2
6312 /* 19879 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
6313 /* 19883 */ // MIs[0] y
6314 /* 19883 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
6315 /* 19888 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6316 /* 19890 */ // Combiner Rule #220: or_and_xor_to_or
6317 /* 19890 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6318 /* 19893 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6319 /* 19895 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
6320 /* 19899 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
6321 /* 19903 */ GIR_EraseRootFromParent_Done,
6322 /* 19904 */ // Label 235: @19904
6323 /* 19904 */ GIM_Try, /*On fail goto*//*Label 236*/ GIMT_Encode4(19938), // Rule ID 436 //
6324 /* 19909 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule267Enabled),
6325 /* 19912 */ // MIs[0] dst
6326 /* 19912 */ // No operand predicates
6327 /* 19912 */ // MIs[0] __combine_or_of_and_match_0.and
6328 /* 19912 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6329 /* 19916 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6330 /* 19920 */ // MIs[1] x
6331 /* 19920 */ // No operand predicates
6332 /* 19920 */ // MIs[1] y
6333 /* 19920 */ // No operand predicates
6334 /* 19920 */ // MIs[0] x
6335 /* 19920 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6336 /* 19925 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
6337 /* 19930 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6338 /* 19932 */ // Combiner Rule #267: combine_or_of_and @ [__combine_or_of_and_match_0[0]]
6339 /* 19932 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
6340 /* 19937 */ GIR_EraseRootFromParent_Done,
6341 /* 19938 */ // Label 236: @19938
6342 /* 19938 */ GIM_Try, /*On fail goto*//*Label 237*/ GIMT_Encode4(19972), // Rule ID 437 //
6343 /* 19943 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule267Enabled),
6344 /* 19946 */ // MIs[0] dst
6345 /* 19946 */ // No operand predicates
6346 /* 19946 */ // MIs[0] __combine_or_of_and_match_0.and
6347 /* 19946 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6348 /* 19950 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6349 /* 19954 */ // MIs[1] y
6350 /* 19954 */ // No operand predicates
6351 /* 19954 */ // MIs[1] x
6352 /* 19954 */ // No operand predicates
6353 /* 19954 */ // MIs[0] x
6354 /* 19954 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
6355 /* 19959 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6356 /* 19964 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6357 /* 19966 */ // Combiner Rule #267: combine_or_of_and @ [__combine_or_of_and_match_0[1]]
6358 /* 19966 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6359 /* 19971 */ GIR_EraseRootFromParent_Done,
6360 /* 19972 */ // Label 237: @19972
6361 /* 19972 */ GIM_Try, /*On fail goto*//*Label 238*/ GIMT_Encode4(20019), // Rule ID 246 //
6362 /* 19977 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
6363 /* 19980 */ // MIs[0] root
6364 /* 19980 */ // No operand predicates
6365 /* 19980 */ // MIs[0] out2
6366 /* 19980 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6367 /* 19984 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
6368 /* 19988 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
6369 /* 19988 */ // No operand predicates
6370 /* 19988 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
6371 /* 19988 */ // No operand predicates
6372 /* 19988 */ // MIs[0] out1
6373 /* 19988 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6374 /* 19992 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FSHR),
6375 /* 19996 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.z
6376 /* 19996 */ // No operand predicates
6377 /* 19996 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
6378 /* 19996 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6379 /* 20001 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
6380 /* 20001 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
6381 /* 20006 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6382 /* 20011 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6383 /* 20013 */ // Combiner Rule #179: funnel_shift_or_shift_to_funnel_shift_right @ [__funnel_shift_or_shift_to_funnel_shift_right_match_0[1]]
6384 /* 20013 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6385 /* 20018 */ GIR_EraseRootFromParent_Done,
6386 /* 20019 */ // Label 238: @20019
6387 /* 20019 */ GIM_Try, /*On fail goto*//*Label 239*/ GIMT_Encode4(20066), // Rule ID 244 //
6388 /* 20024 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
6389 /* 20027 */ // MIs[0] root
6390 /* 20027 */ // No operand predicates
6391 /* 20027 */ // MIs[0] out2
6392 /* 20027 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6393 /* 20031 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
6394 /* 20035 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
6395 /* 20035 */ // No operand predicates
6396 /* 20035 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
6397 /* 20035 */ // No operand predicates
6398 /* 20035 */ // MIs[0] out1
6399 /* 20035 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6400 /* 20039 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FSHL),
6401 /* 20043 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
6402 /* 20043 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
6403 /* 20048 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.z
6404 /* 20048 */ // No operand predicates
6405 /* 20048 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
6406 /* 20048 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
6407 /* 20053 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6408 /* 20058 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6409 /* 20060 */ // Combiner Rule #178: funnel_shift_or_shift_to_funnel_shift_left @ [__funnel_shift_or_shift_to_funnel_shift_left_match_0[1]]
6410 /* 20060 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6411 /* 20065 */ GIR_EraseRootFromParent_Done,
6412 /* 20066 */ // Label 239: @20066
6413 /* 20066 */ GIM_Try, /*On fail goto*//*Label 240*/ GIMT_Encode4(20116), // Rule ID 389 //
6414 /* 20071 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule225Enabled),
6415 /* 20074 */ // MIs[0] root
6416 /* 20074 */ // No operand predicates
6417 /* 20074 */ // MIs[0] xor
6418 /* 20074 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6419 /* 20078 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
6420 /* 20082 */ // MIs[1] x
6421 /* 20082 */ // No operand predicates
6422 /* 20082 */ // MIs[1] y
6423 /* 20082 */ // No operand predicates
6424 /* 20082 */ // MIs[0] and
6425 /* 20082 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6426 /* 20086 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_AND),
6427 /* 20090 */ // MIs[2] x
6428 /* 20090 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
6429 /* 20095 */ // MIs[2] y
6430 /* 20095 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
6431 /* 20100 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6432 /* 20102 */ // Combiner Rule #225: or_xor_and
6433 /* 20102 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6434 /* 20105 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6435 /* 20107 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
6436 /* 20111 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
6437 /* 20115 */ GIR_EraseRootFromParent_Done,
6438 /* 20116 */ // Label 240: @20116
6439 /* 20116 */ GIM_Try, /*On fail goto*//*Label 241*/ GIMT_Encode4(20166), // Rule ID 388 //
6440 /* 20121 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule224Enabled),
6441 /* 20124 */ // MIs[0] root
6442 /* 20124 */ // No operand predicates
6443 /* 20124 */ // MIs[0] xor
6444 /* 20124 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6445 /* 20128 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
6446 /* 20132 */ // MIs[1] x
6447 /* 20132 */ // No operand predicates
6448 /* 20132 */ // MIs[1] y
6449 /* 20132 */ // No operand predicates
6450 /* 20132 */ // MIs[0] or
6451 /* 20132 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6452 /* 20136 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_OR),
6453 /* 20140 */ // MIs[2] x
6454 /* 20140 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
6455 /* 20145 */ // MIs[2] y
6456 /* 20145 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
6457 /* 20150 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6458 /* 20152 */ // Combiner Rule #224: or_xor_or
6459 /* 20152 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6460 /* 20155 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6461 /* 20157 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
6462 /* 20161 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
6463 /* 20165 */ GIR_EraseRootFromParent_Done,
6464 /* 20166 */ // Label 241: @20166
6465 /* 20166 */ GIM_Try, /*On fail goto*//*Label 242*/ GIMT_Encode4(20367),
6466 /* 20171 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
6467 /* 20174 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
6468 /* 20177 */ GIM_Try, /*On fail goto*//*Label 243*/ GIMT_Encode4(20258), // Rule ID 459 //
6469 /* 20182 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule282Enabled),
6470 /* 20185 */ // MIs[0] dst
6471 /* 20185 */ // No operand predicates
6472 /* 20185 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6473 /* 20189 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
6474 /* 20193 */ GIM_CheckType, /*MI*/1, /*Op*/1, /*Type*/GILLT_i32,
6475 /* 20197 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
6476 /* 20201 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6477 /* 20203 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
6478 /* 20206 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6479 /* 20209 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6480 /* 20212 */ // Combiner Rule #282: combine_or_s64_s32 @ [dst[0]]
6481 /* 20212 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6482 /* 20215 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6483 /* 20220 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6484 /* 20225 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
6485 /* 20227 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6486 /* 20231 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6487 /* 20236 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6488 /* 20239 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // y
6489 /* 20243 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
6490 /* 20247 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
6491 /* 20251 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
6492 /* 20254 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
6493 /* 20257 */ GIR_EraseRootFromParent_Done,
6494 /* 20258 */ // Label 243: @20258
6495 /* 20258 */ GIM_Try, /*On fail goto*//*Label 244*/ GIMT_Encode4(20366), // Rule ID 457 //
6496 /* 20263 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule280Enabled),
6497 /* 20266 */ // MIs[0] dst
6498 /* 20266 */ // No operand predicates
6499 /* 20266 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner24),
6500 /* 20270 */ GIR_MakeTempReg, /*TempRegID*/5, /*TypeID*/GILLT_i32,
6501 /* 20273 */ GIR_MakeTempReg, /*TempRegID*/4, /*TypeID*/GILLT_i32,
6502 /* 20276 */ GIR_MakeTempReg, /*TempRegID*/3, /*TypeID*/GILLT_i32,
6503 /* 20279 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/GILLT_i32,
6504 /* 20282 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i32,
6505 /* 20285 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i32,
6506 /* 20288 */ // Combiner Rule #280: combine_or_s64_with_s32_mask
6507 /* 20288 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6508 /* 20291 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6509 /* 20296 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6510 /* 20301 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
6511 /* 20303 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
6512 /* 20307 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6513 /* 20312 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/3, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6514 /* 20317 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // y
6515 /* 20321 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6516 /* 20325 */ GIR_AddTempRegister, /*InsnID*/2, /*TempRegID*/4, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6517 /* 20330 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
6518 /* 20333 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
6519 /* 20336 */ GIR_BuildMI, /*InsnID*/3, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
6520 /* 20340 */ GIR_AddTempRegister, /*InsnID*/3, /*TempRegID*/5, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6521 /* 20345 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/1,
6522 /* 20348 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/3,
6523 /* 20351 */ GIR_BuildMI, /*InsnID*/4, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
6524 /* 20355 */ GIR_Copy, /*NewInsnID*/4, /*OldInsnID*/0, /*OpIdx*/0, // dst
6525 /* 20359 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/4,
6526 /* 20362 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/5,
6527 /* 20365 */ GIR_EraseRootFromParent_Done,
6528 /* 20366 */ // Label 244: @20366
6529 /* 20366 */ GIM_Reject,
6530 /* 20367 */ // Label 242: @20367
6531 /* 20367 */ GIM_Try, /*On fail goto*//*Label 245*/ GIMT_Encode4(20391), // Rule ID 121 //
6532 /* 20372 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule91Enabled),
6533 /* 20375 */ // MIs[0] dst
6534 /* 20375 */ // No operand predicates
6535 /* 20375 */ // MIs[0] src
6536 /* 20375 */ // No operand predicates
6537 /* 20375 */ // MIs[0] src
6538 /* 20375 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
6539 /* 20380 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6540 /* 20385 */ // Combiner Rule #91: binop_same_val @ [__binop_same_val_match_0[1]]
6541 /* 20385 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6542 /* 20390 */ GIR_EraseRootFromParent_Done,
6543 /* 20391 */ // Label 245: @20391
6544 /* 20391 */ GIM_Try, /*On fail goto*//*Label 246*/ GIMT_Encode4(20425), // Rule ID 438 //
6545 /* 20396 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule267Enabled),
6546 /* 20399 */ // MIs[0] dst
6547 /* 20399 */ // No operand predicates
6548 /* 20399 */ // MIs[0] x
6549 /* 20399 */ // No operand predicates
6550 /* 20399 */ // MIs[0] __combine_or_of_and_match_0.and
6551 /* 20399 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6552 /* 20403 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6553 /* 20407 */ // MIs[1] x
6554 /* 20407 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
6555 /* 20412 */ // MIs[1] y
6556 /* 20412 */ // No operand predicates
6557 /* 20412 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6558 /* 20417 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6559 /* 20419 */ // Combiner Rule #267: combine_or_of_and @ [__combine_or_of_and_match_0[2]]
6560 /* 20419 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6561 /* 20424 */ GIR_EraseRootFromParent_Done,
6562 /* 20425 */ // Label 246: @20425
6563 /* 20425 */ GIM_Try, /*On fail goto*//*Label 247*/ GIMT_Encode4(20459), // Rule ID 439 //
6564 /* 20430 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule267Enabled),
6565 /* 20433 */ // MIs[0] dst
6566 /* 20433 */ // No operand predicates
6567 /* 20433 */ // MIs[0] x
6568 /* 20433 */ // No operand predicates
6569 /* 20433 */ // MIs[0] __combine_or_of_and_match_0.and
6570 /* 20433 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6571 /* 20437 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6572 /* 20441 */ // MIs[1] y
6573 /* 20441 */ // No operand predicates
6574 /* 20441 */ // MIs[1] x
6575 /* 20441 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
6576 /* 20446 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6577 /* 20451 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6578 /* 20453 */ // Combiner Rule #267: combine_or_of_and @ [__combine_or_of_and_match_0[3]]
6579 /* 20453 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6580 /* 20458 */ GIR_EraseRootFromParent_Done,
6581 /* 20459 */ // Label 247: @20459
6582 /* 20459 */ GIM_Try, /*On fail goto*//*Label 248*/ GIMT_Encode4(20482), // Rule ID 112 //
6583 /* 20464 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
6584 /* 20467 */ // MIs[0] dst
6585 /* 20467 */ // No operand predicates
6586 /* 20467 */ // MIs[0] lhs
6587 /* 20467 */ // No operand predicates
6588 /* 20467 */ // MIs[0] Operand 2
6589 /* 20467 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
6590 /* 20471 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6591 /* 20476 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[2]]
6592 /* 20476 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6593 /* 20481 */ GIR_EraseRootFromParent_Done,
6594 /* 20482 */ // Label 248: @20482
6595 /* 20482 */ GIM_Reject,
6596 /* 20483 */ // Label 10: @20483
6597 /* 20483 */ GIM_Try, /*On fail goto*//*Label 249*/ GIMT_Encode4(20494), // Rule ID 102 //
6598 /* 20488 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
6599 /* 20491 */ // Combiner Rule #84: propagate_undef_any_op; wip_match_opcode 'G_XOR'
6600 /* 20491 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
6601 /* 20494 */ // Label 249: @20494
6602 /* 20494 */ GIM_Try, /*On fail goto*//*Label 250*/ GIMT_Encode4(20505), // Rule ID 155 //
6603 /* 20499 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
6604 /* 20502 */ // Combiner Rule #113: hoist_logic_op_with_same_opcode_hands; wip_match_opcode 'G_XOR'
6605 /* 20502 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner54),
6606 /* 20505 */ // Label 250: @20505
6607 /* 20505 */ GIM_Try, /*On fail goto*//*Label 251*/ GIMT_Encode4(20516), // Rule ID 187 //
6608 /* 20510 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule143Enabled),
6609 /* 20513 */ // Combiner Rule #143: not_cmp_fold; wip_match_opcode 'G_XOR'
6610 /* 20513 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner78),
6611 /* 20516 */ // Label 251: @20516
6612 /* 20516 */ GIM_Try, /*On fail goto*//*Label 252*/ GIMT_Encode4(20527), // Rule ID 219 //
6613 /* 20521 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
6614 /* 20524 */ // Combiner Rule #167: xor_of_and_with_same_reg; wip_match_opcode 'G_XOR'
6615 /* 20524 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner89),
6616 /* 20527 */ // Label 252: @20527
6617 /* 20527 */ GIM_Try, /*On fail goto*//*Label 253*/ GIMT_Encode4(20538), // Rule ID 265 //
6618 /* 20532 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
6619 /* 20535 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_XOR'
6620 /* 20535 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
6621 /* 20538 */ // Label 253: @20538
6622 /* 20538 */ GIM_Try, /*On fail goto*//*Label 254*/ GIMT_Encode4(20549), // Rule ID 321 //
6623 /* 20543 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
6624 /* 20546 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_XOR'
6625 /* 20546 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
6626 /* 20549 */ // Label 254: @20549
6627 /* 20549 */ GIM_Try, /*On fail goto*//*Label 255*/ GIMT_Encode4(20560), // Rule ID 357 //
6628 /* 20554 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
6629 /* 20557 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_XOR'
6630 /* 20557 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
6631 /* 20560 */ // Label 255: @20560
6632 /* 20560 */ GIM_Try, /*On fail goto*//*Label 256*/ GIMT_Encode4(20571), // Rule ID 427 //
6633 /* 20565 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule258Enabled),
6634 /* 20568 */ // Combiner Rule #258: binop_with_neg; wip_match_opcode 'G_XOR'
6635 /* 20568 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner159),
6636 /* 20571 */ // Label 256: @20571
6637 /* 20571 */ GIM_Try, /*On fail goto*//*Label 257*/ GIMT_Encode4(20631), // Rule ID 13 //
6638 /* 20576 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule13Enabled),
6639 /* 20579 */ // MIs[0] root
6640 /* 20579 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6641 /* 20583 */ // MIs[0] add
6642 /* 20583 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6643 /* 20587 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6644 /* 20591 */ // MIs[1] A
6645 /* 20591 */ // No operand predicates
6646 /* 20591 */ // MIs[1] Operand 2
6647 /* 20591 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 255,
6648 /* 20595 */ // MIs[0] Operand 2
6649 /* 20595 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 255,
6650 /* 20599 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner1),
6651 /* 20603 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6652 /* 20605 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6653 /* 20608 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6654 /* 20618 */ // Combiner Rule #13: NotAPlusNegOne
6655 /* 20618 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6656 /* 20621 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6657 /* 20623 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6658 /* 20626 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6659 /* 20630 */ GIR_EraseRootFromParent_Done,
6660 /* 20631 */ // Label 257: @20631
6661 /* 20631 */ GIM_Try, /*On fail goto*//*Label 258*/ GIMT_Encode4(20670), // Rule ID 123 //
6662 /* 20636 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
6663 /* 20639 */ // MIs[0] dst
6664 /* 20639 */ // No operand predicates
6665 /* 20639 */ // MIs[0] x
6666 /* 20639 */ GIM_RecordRegType, /*MI*/0, /*Op*/1, /*TempTypeIdx*/255,
6667 /* 20643 */ // MIs[0] x
6668 /* 20643 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
6669 /* 20648 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6670 /* 20651 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6671 /* 20661 */ // Combiner Rule #92: same_val_zero @ [__same_val_zero_match_0[1]]
6672 /* 20661 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
6673 /* 20664 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6674 /* 20666 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6675 /* 20669 */ GIR_EraseRootFromParent_Done,
6676 /* 20670 */ // Label 258: @20670
6677 /* 20670 */ GIM_Try, /*On fail goto*//*Label 259*/ GIMT_Encode4(20693), // Rule ID 113 //
6678 /* 20675 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
6679 /* 20678 */ // MIs[0] dst
6680 /* 20678 */ // No operand predicates
6681 /* 20678 */ // MIs[0] lhs
6682 /* 20678 */ // No operand predicates
6683 /* 20678 */ // MIs[0] Operand 2
6684 /* 20678 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
6685 /* 20682 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6686 /* 20687 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[3]]
6687 /* 20687 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6688 /* 20692 */ GIR_EraseRootFromParent_Done,
6689 /* 20693 */ // Label 259: @20693
6690 /* 20693 */ GIM_Reject,
6691 /* 20694 */ // Label 11: @20694
6692 /* 20694 */ GIM_Try, /*On fail goto*//*Label 260*/ GIMT_Encode4(20705), // Rule ID 151 //
6693 /* 20699 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule111Enabled),
6694 /* 20702 */ // Combiner Rule #111: extend_through_phis; wip_match_opcode 'G_PHI'
6695 /* 20702 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner52),
6696 /* 20705 */ // Label 260: @20705
6697 /* 20705 */ GIM_Reject,
6698 /* 20706 */ // Label 12: @20706
6699 /* 20706 */ GIM_Try, /*On fail goto*//*Label 261*/ GIMT_Encode4(20717), // Rule ID 399 //
6700 /* 20711 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule235Enabled),
6701 /* 20714 */ // Combiner Rule #235: unmerge_anyext_build_vector; wip_match_opcode 'G_UNMERGE_VALUES'
6702 /* 20714 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner142),
6703 /* 20717 */ // Label 261: @20717
6704 /* 20717 */ GIM_Try, /*On fail goto*//*Label 262*/ GIMT_Encode4(20728), // Rule ID 400 //
6705 /* 20722 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
6706 /* 20725 */ // Combiner Rule #236: unmerge_merge; wip_match_opcode 'G_UNMERGE_VALUES'
6707 /* 20725 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner143),
6708 /* 20728 */ // Label 262: @20728
6709 /* 20728 */ GIM_Try, /*On fail goto*//*Label 263*/ GIMT_Encode4(20739), // Rule ID 402 //
6710 /* 20733 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule238Enabled),
6711 /* 20736 */ // Combiner Rule #238: unmerge_cst; wip_match_opcode 'G_UNMERGE_VALUES'
6712 /* 20736 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner145),
6713 /* 20739 */ // Label 263: @20739
6714 /* 20739 */ GIM_Try, /*On fail goto*//*Label 264*/ GIMT_Encode4(20750), // Rule ID 403 //
6715 /* 20744 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule239Enabled),
6716 /* 20747 */ // Combiner Rule #239: unmerge_undef; wip_match_opcode 'G_UNMERGE_VALUES'
6717 /* 20747 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner146),
6718 /* 20750 */ // Label 264: @20750
6719 /* 20750 */ GIM_Try, /*On fail goto*//*Label 265*/ GIMT_Encode4(20761), // Rule ID 404 //
6720 /* 20755 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule240Enabled),
6721 /* 20758 */ // Combiner Rule #240: unmerge_dead_to_trunc; wip_match_opcode 'G_UNMERGE_VALUES'
6722 /* 20758 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner147),
6723 /* 20761 */ // Label 265: @20761
6724 /* 20761 */ GIM_Try, /*On fail goto*//*Label 266*/ GIMT_Encode4(20772), // Rule ID 405 //
6725 /* 20766 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule241Enabled),
6726 /* 20769 */ // Combiner Rule #241: unmerge_zext_to_zext; wip_match_opcode 'G_UNMERGE_VALUES'
6727 /* 20769 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner148),
6728 /* 20772 */ // Label 266: @20772
6729 /* 20772 */ GIM_Reject,
6730 /* 20773 */ // Label 13: @20773
6731 /* 20773 */ GIM_Try, /*On fail goto*//*Label 267*/ GIMT_Encode4(20787), // Rule ID 401 //
6732 /* 20778 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
6733 /* 20781 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
6734 /* 20784 */ // MIs[0] dst
6735 /* 20784 */ // No operand predicates
6736 /* 20784 */ // MIs[0] merge_srcs
6737 /* 20784 */ // No operand predicates
6738 /* 20784 */ // Combiner Rule #237: merge_unmerge
6739 /* 20784 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner144),
6740 /* 20787 */ // Label 267: @20787
6741 /* 20787 */ GIM_Try, /*On fail goto*//*Label 268*/ GIMT_Encode4(20849),
6742 /* 20792 */ GIM_CheckNumOperands, /*MI*/0, /*Expected*/3,
6743 /* 20795 */ GIM_Try, /*On fail goto*//*Label 269*/ GIMT_Encode4(20816), // Rule ID 406 //
6744 /* 20800 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule242Enabled),
6745 /* 20803 */ // MIs[0] root
6746 /* 20803 */ // No operand predicates
6747 /* 20803 */ // MIs[0] x
6748 /* 20803 */ // No operand predicates
6749 /* 20803 */ // MIs[0] undef
6750 /* 20803 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6751 /* 20807 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6752 /* 20811 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6753 /* 20813 */ // Combiner Rule #242: merge_of_x_and_undef
6754 /* 20813 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner149),
6755 /* 20816 */ // Label 269: @20816
6756 /* 20816 */ GIM_Try, /*On fail goto*//*Label 270*/ GIMT_Encode4(20848), // Rule ID 407 //
6757 /* 20821 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule243Enabled),
6758 /* 20824 */ // MIs[0] root
6759 /* 20824 */ // No operand predicates
6760 /* 20824 */ // MIs[0] x
6761 /* 20824 */ // No operand predicates
6762 /* 20824 */ // MIs[0] zero
6763 /* 20824 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6764 /* 20828 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6765 /* 20832 */ // MIs[1] Operand 1
6766 /* 20832 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
6767 /* 20843 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6768 /* 20845 */ // Combiner Rule #243: merge_of_x_and_zero
6769 /* 20845 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner150),
6770 /* 20848 */ // Label 270: @20848
6771 /* 20848 */ GIM_Reject,
6772 /* 20849 */ // Label 268: @20849
6773 /* 20849 */ GIM_Reject,
6774 /* 20850 */ // Label 14: @20850
6775 /* 20850 */ GIM_Try, /*On fail goto*//*Label 271*/ GIMT_Encode4(20861), // Rule ID 75 //
6776 /* 20855 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
6777 /* 20858 */ // Combiner Rule #73: extract_all_elts_from_build_vector; wip_match_opcode 'G_BUILD_VECTOR'
6778 /* 20858 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner29),
6779 /* 20861 */ // Label 271: @20861
6780 /* 20861 */ GIM_Try, /*On fail goto*//*Label 272*/ GIMT_Encode4(20872), // Rule ID 104 //
6781 /* 20866 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule85Enabled),
6782 /* 20869 */ // Combiner Rule #85: propagate_undef_all_ops; wip_match_opcode 'G_BUILD_VECTOR'
6783 /* 20869 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner40),
6784 /* 20872 */ // Label 272: @20872
6785 /* 20872 */ GIM_Try, /*On fail goto*//*Label 273*/ GIMT_Encode4(20883), // Rule ID 142 //
6786 /* 20877 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
6787 /* 20880 */ // Combiner Rule #102: buildvector_identity_fold; wip_match_opcode 'G_BUILD_VECTOR'
6788 /* 20880 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner48),
6789 /* 20883 */ // Label 273: @20883
6790 /* 20883 */ GIM_Try, /*On fail goto*//*Label 274*/ GIMT_Encode4(20914),
6791 /* 20888 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
6792 /* 20891 */ GIM_Try, /*On fail goto*//*Label 275*/ GIMT_Encode4(20902), // Rule ID 398 //
6793 /* 20896 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule234Enabled),
6794 /* 20899 */ // MIs[0] dst
6795 /* 20899 */ // No operand predicates
6796 /* 20899 */ // MIs[0] unused
6797 /* 20899 */ // No operand predicates
6798 /* 20899 */ // Combiner Rule #234: combine_use_vector_truncate
6799 /* 20899 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner141),
6800 /* 20902 */ // Label 275: @20902
6801 /* 20902 */ GIM_Try, /*On fail goto*//*Label 276*/ GIMT_Encode4(20913), // Rule ID 408 //
6802 /* 20907 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule244Enabled),
6803 /* 20910 */ // MIs[0] dst
6804 /* 20910 */ // No operand predicates
6805 /* 20910 */ // MIs[0] unused
6806 /* 20910 */ // No operand predicates
6807 /* 20910 */ // Combiner Rule #244: combine_build_unmerge
6808 /* 20910 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner151),
6809 /* 20913 */ // Label 276: @20913
6810 /* 20913 */ GIM_Reject,
6811 /* 20914 */ // Label 274: @20914
6812 /* 20914 */ GIM_Reject,
6813 /* 20915 */ // Label 15: @20915
6814 /* 20915 */ GIM_Try, /*On fail goto*//*Label 277*/ GIMT_Encode4(20926), // Rule ID 141 //
6815 /* 20920 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
6816 /* 20923 */ // Combiner Rule #102: buildvector_identity_fold; wip_match_opcode 'G_BUILD_VECTOR_TRUNC'
6817 /* 20923 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner48),
6818 /* 20926 */ // Label 277: @20926
6819 /* 20926 */ GIM_Reject,
6820 /* 20927 */ // Label 16: @20927
6821 /* 20927 */ GIM_Try, /*On fail goto*//*Label 278*/ GIMT_Encode4(20938), // Rule ID 391 //
6822 /* 20932 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule227Enabled),
6823 /* 20935 */ // Combiner Rule #227: combine_concat_vector; wip_match_opcode 'G_CONCAT_VECTORS'
6824 /* 20935 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner134),
6825 /* 20938 */ // Label 278: @20938
6826 /* 20938 */ GIM_Reject,
6827 /* 20939 */ // Label 17: @20939
6828 /* 20939 */ GIM_Try, /*On fail goto*//*Label 279*/ GIMT_Encode4(20960), // Rule ID 134 //
6829 /* 20944 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
6830 /* 20947 */ // MIs[0] dst
6831 /* 20947 */ // No operand predicates
6832 /* 20947 */ // MIs[0] t
6833 /* 20947 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6834 /* 20951 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
6835 /* 20955 */ // MIs[1] ptr
6836 /* 20955 */ // No operand predicates
6837 /* 20955 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6838 /* 20957 */ // Combiner Rule #96: i2p_to_p2i
6839 /* 20957 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner46),
6840 /* 20960 */ // Label 279: @20960
6841 /* 20960 */ GIM_Try, /*On fail goto*//*Label 280*/ GIMT_Encode4(20981), // Rule ID 96 //
6842 /* 20965 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
6843 /* 20968 */ // MIs[0] dst
6844 /* 20968 */ // No operand predicates
6845 /* 20968 */ // MIs[0] __unary_undef_to_undef_match_0.x
6846 /* 20968 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6847 /* 20972 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6848 /* 20976 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6849 /* 20978 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[3]]
6850 /* 20978 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
6851 /* 20981 */ // Label 280: @20981
6852 /* 20981 */ GIM_Reject,
6853 /* 20982 */ // Label 18: @20982
6854 /* 20982 */ GIM_Try, /*On fail goto*//*Label 281*/ GIMT_Encode4(20993), // Rule ID 133 //
6855 /* 20987 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule95Enabled),
6856 /* 20990 */ // Combiner Rule #95: p2i_to_i2p; wip_match_opcode 'G_INTTOPTR'
6857 /* 20990 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner45),
6858 /* 20993 */ // Label 281: @20993
6859 /* 20993 */ GIM_Try, /*On fail goto*//*Label 282*/ GIMT_Encode4(21014), // Rule ID 97 //
6860 /* 20998 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
6861 /* 21001 */ // MIs[0] dst
6862 /* 21001 */ // No operand predicates
6863 /* 21001 */ // MIs[0] __unary_undef_to_undef_match_0.x
6864 /* 21001 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6865 /* 21005 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6866 /* 21009 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6867 /* 21011 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[4]]
6868 /* 21011 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
6869 /* 21014 */ // Label 282: @21014
6870 /* 21014 */ GIM_Reject,
6871 /* 21015 */ // Label 19: @21015
6872 /* 21015 */ GIM_Try, /*On fail goto*//*Label 283*/ GIMT_Encode4(21047), // Rule ID 146 //
6873 /* 21020 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule106Enabled),
6874 /* 21023 */ // MIs[0] dst
6875 /* 21023 */ // No operand predicates
6876 /* 21023 */ // MIs[0] src1
6877 /* 21023 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6878 /* 21027 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BITCAST),
6879 /* 21031 */ // MIs[1] src0
6880 /* 21031 */ // No operand predicates
6881 /* 21031 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner5),
6882 /* 21035 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6883 /* 21037 */ // Combiner Rule #106: bitcast_bitcast_to_bitcast
6884 /* 21037 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_BITCAST),
6885 /* 21040 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6886 /* 21042 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src0
6887 /* 21046 */ GIR_EraseRootFromParent_Done,
6888 /* 21047 */ // Label 283: @21047
6889 /* 21047 */ GIM_Try, /*On fail goto*//*Label 284*/ GIMT_Encode4(21068), // Rule ID 145 //
6890 /* 21052 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule105Enabled),
6891 /* 21055 */ // MIs[0] dst
6892 /* 21055 */ // No operand predicates
6893 /* 21055 */ // MIs[0] src1
6894 /* 21055 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6895 /* 21059 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BITCAST),
6896 /* 21063 */ // MIs[1] src0
6897 /* 21063 */ // No operand predicates
6898 /* 21063 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6899 /* 21065 */ // Combiner Rule #105: bitcast_bitcast_fold
6900 /* 21065 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner51),
6901 /* 21068 */ // Label 284: @21068
6902 /* 21068 */ GIM_Try, /*On fail goto*//*Label 285*/ GIMT_Encode4(21089), // Rule ID 94 //
6903 /* 21073 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
6904 /* 21076 */ // MIs[0] dst
6905 /* 21076 */ // No operand predicates
6906 /* 21076 */ // MIs[0] __unary_undef_to_undef_match_0.x
6907 /* 21076 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6908 /* 21080 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6909 /* 21084 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6910 /* 21086 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[1]]
6911 /* 21086 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
6912 /* 21089 */ // Label 285: @21089
6913 /* 21089 */ GIM_Reject,
6914 /* 21090 */ // Label 20: @21090
6915 /* 21090 */ GIM_Try, /*On fail goto*//*Label 286*/ GIMT_Encode4(21119), // Rule ID 24 //
6916 /* 21095 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
6917 /* 21098 */ // MIs[0] dst
6918 /* 21098 */ // No operand predicates
6919 /* 21098 */ // MIs[0] src
6920 /* 21098 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6921 /* 21102 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FREEZE),
6922 /* 21106 */ // MIs[1] __idempotent_prop_match_0.x
6923 /* 21106 */ // No operand predicates
6924 /* 21106 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6925 /* 21111 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6926 /* 21113 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[0]]
6927 /* 21113 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6928 /* 21118 */ GIR_EraseRootFromParent_Done,
6929 /* 21119 */ // Label 286: @21119
6930 /* 21119 */ GIM_Try, /*On fail goto*//*Label 287*/ GIMT_Encode4(21142), // Rule ID 49 //
6931 /* 21124 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule47Enabled),
6932 /* 21127 */ // MIs[0] root
6933 /* 21127 */ // No operand predicates
6934 /* 21127 */ // MIs[0] src
6935 /* 21127 */ // No operand predicates
6936 /* 21127 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner3),
6937 /* 21131 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6938 /* 21136 */ // Combiner Rule #47: freeze_of_non_undef_non_poison
6939 /* 21136 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6940 /* 21141 */ GIR_EraseRootFromParent_Done,
6941 /* 21142 */ // Label 287: @21142
6942 /* 21142 */ GIM_Try, /*On fail goto*//*Label 288*/ GIMT_Encode4(21153), // Rule ID 50 //
6943 /* 21147 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule48Enabled),
6944 /* 21150 */ // MIs[0] dst
6945 /* 21150 */ // No operand predicates
6946 /* 21150 */ // MIs[0] src
6947 /* 21150 */ // No operand predicates
6948 /* 21150 */ // Combiner Rule #48: push_freeze_to_prevent_poison_from_propagating
6949 /* 21150 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner19),
6950 /* 21153 */ // Label 288: @21153
6951 /* 21153 */ GIM_Reject,
6952 /* 21154 */ // Label 21: @21154
6953 /* 21154 */ GIM_Try, /*On fail goto*//*Label 289*/ GIMT_Encode4(21175), // Rule ID 197 //
6954 /* 21159 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
6955 /* 21162 */ // MIs[0] dst
6956 /* 21162 */ // No operand predicates
6957 /* 21162 */ // MIs[0] src0
6958 /* 21162 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6959 /* 21166 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
6960 /* 21170 */ // MIs[1] cst
6961 /* 21170 */ // No operand predicates
6962 /* 21170 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6963 /* 21172 */ // Combiner Rule #153: constant_fold_intrinsic_trunc
6964 /* 21172 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
6965 /* 21175 */ // Label 289: @21175
6966 /* 21175 */ GIM_Reject,
6967 /* 21176 */ // Label 22: @21176
6968 /* 21176 */ GIM_Try, /*On fail goto*//*Label 290*/ GIMT_Encode4(21197), // Rule ID 198 //
6969 /* 21181 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
6970 /* 21184 */ // MIs[0] dst
6971 /* 21184 */ // No operand predicates
6972 /* 21184 */ // MIs[0] src0
6973 /* 21184 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6974 /* 21188 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
6975 /* 21192 */ // MIs[1] cst
6976 /* 21192 */ // No operand predicates
6977 /* 21192 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6978 /* 21194 */ // Combiner Rule #154: constant_fold_intrinsic_round
6979 /* 21194 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
6980 /* 21197 */ // Label 290: @21197
6981 /* 21197 */ GIM_Reject,
6982 /* 21198 */ // Label 23: @21198
6983 /* 21198 */ GIM_Try, /*On fail goto*//*Label 291*/ GIMT_Encode4(21219), // Rule ID 199 //
6984 /* 21203 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
6985 /* 21206 */ // MIs[0] dst
6986 /* 21206 */ // No operand predicates
6987 /* 21206 */ // MIs[0] src0
6988 /* 21206 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6989 /* 21210 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
6990 /* 21214 */ // MIs[1] cst
6991 /* 21214 */ // No operand predicates
6992 /* 21214 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6993 /* 21216 */ // Combiner Rule #155: constant_fold_intrinsic_roundeven
6994 /* 21216 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
6995 /* 21219 */ // Label 291: @21219
6996 /* 21219 */ GIM_Reject,
6997 /* 21220 */ // Label 24: @21220
6998 /* 21220 */ GIM_Try, /*On fail goto*//*Label 292*/ GIMT_Encode4(21231), // Rule ID 76 //
6999 /* 21225 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
7000 /* 21228 */ // Combiner Rule #74: extending_loads; wip_match_opcode 'G_LOAD'
7001 /* 21228 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
7002 /* 21231 */ // Label 292: @21231
7003 /* 21231 */ GIM_Reject,
7004 /* 21232 */ // Label 25: @21232
7005 /* 21232 */ GIM_Try, /*On fail goto*//*Label 293*/ GIMT_Encode4(21243), // Rule ID 77 //
7006 /* 21237 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
7007 /* 21240 */ // Combiner Rule #74: extending_loads; wip_match_opcode 'G_SEXTLOAD'
7008 /* 21240 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
7009 /* 21243 */ // Label 293: @21243
7010 /* 21243 */ GIM_Reject,
7011 /* 21244 */ // Label 26: @21244
7012 /* 21244 */ GIM_Try, /*On fail goto*//*Label 294*/ GIMT_Encode4(21255), // Rule ID 78 //
7013 /* 21249 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
7014 /* 21252 */ // Combiner Rule #74: extending_loads; wip_match_opcode 'G_ZEXTLOAD'
7015 /* 21252 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
7016 /* 21255 */ // Label 294: @21255
7017 /* 21255 */ GIM_Reject,
7018 /* 21256 */ // Label 27: @21256
7019 /* 21256 */ GIM_Try, /*On fail goto*//*Label 295*/ GIMT_Encode4(21267), // Rule ID 106 //
7020 /* 21261 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule87Enabled),
7021 /* 21264 */ // Combiner Rule #87: erase_undef_store; wip_match_opcode 'G_STORE'
7022 /* 21264 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner42),
7023 /* 21267 */ // Label 295: @21267
7024 /* 21267 */ GIM_Reject,
7025 /* 21268 */ // Label 28: @21268
7026 /* 21268 */ GIM_Try, /*On fail goto*//*Label 296*/ GIMT_Encode4(21279), // Rule ID 452 //
7027 /* 21273 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule276Enabled),
7028 /* 21276 */ // Combiner Rule #276: rcp_sqrt_to_rsq; wip_match_opcode 'G_INTRINSIC'
7029 /* 21276 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner168),
7030 /* 21279 */ // Label 296: @21279
7031 /* 21279 */ GIM_Reject,
7032 /* 21280 */ // Label 29: @21280
7033 /* 21280 */ GIM_Try, /*On fail goto*//*Label 297*/ GIMT_Encode4(21291), // Rule ID 135 //
7034 /* 21285 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule97Enabled),
7035 /* 21288 */ // Combiner Rule #97: anyext_trunc_fold; wip_match_opcode 'G_ANYEXT'
7036 /* 21288 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner47),
7037 /* 21291 */ // Label 297: @21291
7038 /* 21291 */ GIM_Try, /*On fail goto*//*Label 298*/ GIMT_Encode4(21302), // Rule ID 290 //
7039 /* 21296 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
7040 /* 21299 */ // Combiner Rule #190: constant_fold_cast_op; wip_match_opcode 'G_ANYEXT'
7041 /* 21299 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner106),
7042 /* 21302 */ // Label 298: @21302
7043 /* 21302 */ GIM_Try, /*On fail goto*//*Label 299*/ GIMT_Encode4(21323), // Rule ID 63 //
7044 /* 21307 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule61Enabled),
7045 /* 21310 */ // MIs[0] root
7046 /* 21310 */ // No operand predicates
7047 /* 21310 */ // MIs[0] select
7048 /* 21310 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7049 /* 21314 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
7050 /* 21318 */ // MIs[1] cond
7051 /* 21318 */ // No operand predicates
7052 /* 21318 */ // MIs[1] true
7053 /* 21318 */ // No operand predicates
7054 /* 21318 */ // MIs[1] false
7055 /* 21318 */ // No operand predicates
7056 /* 21318 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7057 /* 21320 */ // Combiner Rule #61: select_of_anyext
7058 /* 21320 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner23),
7059 /* 21323 */ // Label 299: @21323
7060 /* 21323 */ GIM_Try, /*On fail goto*//*Label 300*/ GIMT_Encode4(21344), // Rule ID 58 //
7061 /* 21328 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule56Enabled),
7062 /* 21331 */ // MIs[0] root
7063 /* 21331 */ // No operand predicates
7064 /* 21331 */ // MIs[0] second
7065 /* 21331 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7066 /* 21335 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
7067 /* 21339 */ // MIs[1] src
7068 /* 21339 */ // No operand predicates
7069 /* 21339 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7070 /* 21341 */ // Combiner Rule #56: anyext_of_anyext
7071 /* 21341 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7072 /* 21344 */ // Label 300: @21344
7073 /* 21344 */ GIM_Try, /*On fail goto*//*Label 301*/ GIMT_Encode4(21365), // Rule ID 60 //
7074 /* 21349 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule58Enabled),
7075 /* 21352 */ // MIs[0] root
7076 /* 21352 */ // No operand predicates
7077 /* 21352 */ // MIs[0] second
7078 /* 21352 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7079 /* 21356 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
7080 /* 21360 */ // MIs[1] src
7081 /* 21360 */ // No operand predicates
7082 /* 21360 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7083 /* 21362 */ // Combiner Rule #58: anyext_of_sext
7084 /* 21362 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7085 /* 21365 */ // Label 301: @21365
7086 /* 21365 */ GIM_Try, /*On fail goto*//*Label 302*/ GIMT_Encode4(21386), // Rule ID 59 //
7087 /* 21370 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule57Enabled),
7088 /* 21373 */ // MIs[0] root
7089 /* 21373 */ // No operand predicates
7090 /* 21373 */ // MIs[0] second
7091 /* 21373 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7092 /* 21377 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
7093 /* 21381 */ // MIs[1] src
7094 /* 21381 */ // No operand predicates
7095 /* 21381 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7096 /* 21383 */ // Combiner Rule #57: anyext_of_zext
7097 /* 21383 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7098 /* 21386 */ // Label 302: @21386
7099 /* 21386 */ GIM_Try, /*On fail goto*//*Label 303*/ GIMT_Encode4(21407), // Rule ID 95 //
7100 /* 21391 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
7101 /* 21394 */ // MIs[0] dst
7102 /* 21394 */ // No operand predicates
7103 /* 21394 */ // MIs[0] __unary_undef_to_undef_match_0.x
7104 /* 21394 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7105 /* 21398 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7106 /* 21402 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7107 /* 21404 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[2]]
7108 /* 21404 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
7109 /* 21407 */ // Label 303: @21407
7110 /* 21407 */ GIM_Reject,
7111 /* 21408 */ // Label 30: @21408
7112 /* 21408 */ GIM_Try, /*On fail goto*//*Label 304*/ GIMT_Encode4(21419), // Rule ID 143 //
7113 /* 21413 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
7114 /* 21416 */ // Combiner Rule #103: trunc_buildvector_fold; wip_match_opcode 'G_TRUNC'
7115 /* 21416 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner49),
7116 /* 21419 */ // Label 304: @21419
7117 /* 21419 */ GIM_Try, /*On fail goto*//*Label 305*/ GIMT_Encode4(21430), // Rule ID 144 //
7118 /* 21424 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule104Enabled),
7119 /* 21427 */ // Combiner Rule #104: trunc_lshr_buildvector_fold; wip_match_opcode 'G_TRUNC'
7120 /* 21427 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner50),
7121 /* 21430 */ // Label 305: @21430
7122 /* 21430 */ GIM_Try, /*On fail goto*//*Label 306*/ GIMT_Encode4(21441), // Rule ID 186 //
7123 /* 21435 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule142Enabled),
7124 /* 21438 */ // Combiner Rule #142: trunc_shift; wip_match_opcode 'G_TRUNC'
7125 /* 21438 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner77),
7126 /* 21441 */ // Label 306: @21441
7127 /* 21441 */ GIM_Try, /*On fail goto*//*Label 307*/ GIMT_Encode4(21462), // Rule ID 64 //
7128 /* 21446 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule62Enabled),
7129 /* 21449 */ // MIs[0] root
7130 /* 21449 */ // No operand predicates
7131 /* 21449 */ // MIs[0] select
7132 /* 21449 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7133 /* 21453 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
7134 /* 21457 */ // MIs[1] cond
7135 /* 21457 */ // No operand predicates
7136 /* 21457 */ // MIs[1] true
7137 /* 21457 */ // No operand predicates
7138 /* 21457 */ // MIs[1] false
7139 /* 21457 */ // No operand predicates
7140 /* 21457 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7141 /* 21459 */ // Combiner Rule #62: select_of_truncate
7142 /* 21459 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner23),
7143 /* 21462 */ // Label 307: @21462
7144 /* 21462 */ GIM_Try, /*On fail goto*//*Label 308*/ GIMT_Encode4(21491), // Rule ID 66 //
7145 /* 21467 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule64Enabled),
7146 /* 21470 */ // MIs[0] root
7147 /* 21470 */ // No operand predicates
7148 /* 21470 */ // MIs[0] binop
7149 /* 21470 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7150 /* 21474 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
7151 /* 21478 */ // MIs[1] x
7152 /* 21478 */ // No operand predicates
7153 /* 21478 */ // MIs[1] const
7154 /* 21478 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7155 /* 21482 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7156 /* 21486 */ // MIs[2] imm
7157 /* 21486 */ // No operand predicates
7158 /* 21486 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7159 /* 21488 */ // Combiner Rule #64: narrow_binop_add
7160 /* 21488 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7161 /* 21491 */ // Label 308: @21491
7162 /* 21491 */ GIM_Try, /*On fail goto*//*Label 309*/ GIMT_Encode4(21520), // Rule ID 69 //
7163 /* 21496 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule67Enabled),
7164 /* 21499 */ // MIs[0] root
7165 /* 21499 */ // No operand predicates
7166 /* 21499 */ // MIs[0] binop
7167 /* 21499 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7168 /* 21503 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7169 /* 21507 */ // MIs[1] x
7170 /* 21507 */ // No operand predicates
7171 /* 21507 */ // MIs[1] const
7172 /* 21507 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7173 /* 21511 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7174 /* 21515 */ // MIs[2] imm
7175 /* 21515 */ // No operand predicates
7176 /* 21515 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7177 /* 21517 */ // Combiner Rule #67: narrow_binop_and
7178 /* 21517 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7179 /* 21520 */ // Label 309: @21520
7180 /* 21520 */ GIM_Try, /*On fail goto*//*Label 310*/ GIMT_Encode4(21549), // Rule ID 68 //
7181 /* 21525 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
7182 /* 21528 */ // MIs[0] root
7183 /* 21528 */ // No operand predicates
7184 /* 21528 */ // MIs[0] binop
7185 /* 21528 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7186 /* 21532 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_MUL),
7187 /* 21536 */ // MIs[1] x
7188 /* 21536 */ // No operand predicates
7189 /* 21536 */ // MIs[1] const
7190 /* 21536 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7191 /* 21540 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7192 /* 21544 */ // MIs[2] imm
7193 /* 21544 */ // No operand predicates
7194 /* 21544 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7195 /* 21546 */ // Combiner Rule #66: narrow_binop_mul
7196 /* 21546 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7197 /* 21549 */ // Label 310: @21549
7198 /* 21549 */ GIM_Try, /*On fail goto*//*Label 311*/ GIMT_Encode4(21578), // Rule ID 70 //
7199 /* 21554 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule68Enabled),
7200 /* 21557 */ // MIs[0] root
7201 /* 21557 */ // No operand predicates
7202 /* 21557 */ // MIs[0] binop
7203 /* 21557 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7204 /* 21561 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
7205 /* 21565 */ // MIs[1] x
7206 /* 21565 */ // No operand predicates
7207 /* 21565 */ // MIs[1] const
7208 /* 21565 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7209 /* 21569 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7210 /* 21573 */ // MIs[2] imm
7211 /* 21573 */ // No operand predicates
7212 /* 21573 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7213 /* 21575 */ // Combiner Rule #68: narrow_binop_or
7214 /* 21575 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7215 /* 21578 */ // Label 311: @21578
7216 /* 21578 */ GIM_Try, /*On fail goto*//*Label 312*/ GIMT_Encode4(21607), // Rule ID 67 //
7217 /* 21583 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule65Enabled),
7218 /* 21586 */ // MIs[0] root
7219 /* 21586 */ // No operand predicates
7220 /* 21586 */ // MIs[0] binop
7221 /* 21586 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7222 /* 21590 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
7223 /* 21594 */ // MIs[1] x
7224 /* 21594 */ // No operand predicates
7225 /* 21594 */ // MIs[1] const
7226 /* 21594 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7227 /* 21598 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7228 /* 21602 */ // MIs[2] imm
7229 /* 21602 */ // No operand predicates
7230 /* 21602 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7231 /* 21604 */ // Combiner Rule #65: narrow_binop_sub
7232 /* 21604 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7233 /* 21607 */ // Label 312: @21607
7234 /* 21607 */ GIM_Try, /*On fail goto*//*Label 313*/ GIMT_Encode4(21639), // Rule ID 415 //
7235 /* 21612 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule249Enabled),
7236 /* 21615 */ // MIs[0] dst
7237 /* 21615 */ // No operand predicates
7238 /* 21615 */ // MIs[0] min
7239 /* 21615 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7240 /* 21619 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UMIN),
7241 /* 21623 */ // MIs[1] x
7242 /* 21623 */ // No operand predicates
7243 /* 21623 */ // MIs[1] y
7244 /* 21623 */ // No operand predicates
7245 /* 21623 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner15),
7246 /* 21627 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7247 /* 21629 */ // Combiner Rule #249: trunc_usatu
7248 /* 21629 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_TRUNC_USAT_U),
7249 /* 21632 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
7250 /* 21634 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7251 /* 21638 */ GIR_EraseRootFromParent_Done,
7252 /* 21639 */ // Label 313: @21639
7253 /* 21639 */ GIM_Try, /*On fail goto*//*Label 314*/ GIMT_Encode4(21668), // Rule ID 71 //
7254 /* 21644 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule69Enabled),
7255 /* 21647 */ // MIs[0] root
7256 /* 21647 */ // No operand predicates
7257 /* 21647 */ // MIs[0] binop
7258 /* 21647 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7259 /* 21651 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
7260 /* 21655 */ // MIs[1] x
7261 /* 21655 */ // No operand predicates
7262 /* 21655 */ // MIs[1] const
7263 /* 21655 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7264 /* 21659 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7265 /* 21663 */ // MIs[2] imm
7266 /* 21663 */ // No operand predicates
7267 /* 21663 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7268 /* 21665 */ // Combiner Rule #69: narrow_binop_xor
7269 /* 21665 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
7270 /* 21668 */ // Label 314: @21668
7271 /* 21668 */ GIM_Try, /*On fail goto*//*Label 315*/ GIMT_Encode4(21689), // Rule ID 53 //
7272 /* 21673 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule51Enabled),
7273 /* 21676 */ // MIs[0] root
7274 /* 21676 */ // No operand predicates
7275 /* 21676 */ // MIs[0] ext
7276 /* 21676 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7277 /* 21680 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
7278 /* 21684 */ // MIs[1] src
7279 /* 21684 */ // No operand predicates
7280 /* 21684 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7281 /* 21686 */ // Combiner Rule #51: truncate_of_anyext
7282 /* 21686 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
7283 /* 21689 */ // Label 315: @21689
7284 /* 21689 */ GIM_Try, /*On fail goto*//*Label 316*/ GIMT_Encode4(21713), // Rule ID 65 //
7285 /* 21694 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule63Enabled),
7286 /* 21697 */ // MIs[0] root
7287 /* 21697 */ // No operand predicates
7288 /* 21697 */ // MIs[0] bv
7289 /* 21697 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7290 /* 21701 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
7291 /* 21705 */ GIM_CheckNumOperandsGE, /*MI*/1, /*Expected*/2,
7292 /* 21708 */ // MIs[1] unused
7293 /* 21708 */ // No operand predicates
7294 /* 21708 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7295 /* 21710 */ // Combiner Rule #63: buildvector_of_truncate
7296 /* 21710 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner24),
7297 /* 21713 */ // Label 316: @21713
7298 /* 21713 */ GIM_Try, /*On fail goto*//*Label 317*/ GIMT_Encode4(21734), // Rule ID 52 //
7299 /* 21718 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule50Enabled),
7300 /* 21721 */ // MIs[0] root
7301 /* 21721 */ // No operand predicates
7302 /* 21721 */ // MIs[0] ext
7303 /* 21721 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7304 /* 21725 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
7305 /* 21729 */ // MIs[1] src
7306 /* 21729 */ // No operand predicates
7307 /* 21729 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7308 /* 21731 */ // Combiner Rule #50: truncate_of_sext
7309 /* 21731 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
7310 /* 21734 */ // Label 317: @21734
7311 /* 21734 */ GIM_Try, /*On fail goto*//*Label 318*/ GIMT_Encode4(21755), // Rule ID 51 //
7312 /* 21739 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule49Enabled),
7313 /* 21742 */ // MIs[0] root
7314 /* 21742 */ // No operand predicates
7315 /* 21742 */ // MIs[0] ext
7316 /* 21742 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7317 /* 21746 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
7318 /* 21750 */ // MIs[1] src
7319 /* 21750 */ // No operand predicates
7320 /* 21750 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7321 /* 21752 */ // Combiner Rule #49: truncate_of_zext
7322 /* 21752 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
7323 /* 21755 */ // Label 318: @21755
7324 /* 21755 */ GIM_Try, /*On fail goto*//*Label 319*/ GIMT_Encode4(21776), // Rule ID 93 //
7325 /* 21760 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
7326 /* 21763 */ // MIs[0] dst
7327 /* 21763 */ // No operand predicates
7328 /* 21763 */ // MIs[0] __unary_undef_to_undef_match_0.x
7329 /* 21763 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7330 /* 21767 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7331 /* 21771 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7332 /* 21773 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[0]]
7333 /* 21773 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
7334 /* 21776 */ // Label 319: @21776
7335 /* 21776 */ GIM_Try, /*On fail goto*//*Label 320*/ GIMT_Encode4(21797), // Rule ID 72 //
7336 /* 21781 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule70Enabled),
7337 /* 21784 */ // MIs[0] root
7338 /* 21784 */ // No operand predicates
7339 /* 21784 */ // MIs[0] int
7340 /* 21784 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7341 /* 21788 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7342 /* 21792 */ // MIs[1] imm
7343 /* 21792 */ // No operand predicates
7344 /* 21792 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7345 /* 21794 */ // Combiner Rule #70: integer_of_truncate
7346 /* 21794 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner26),
7347 /* 21797 */ // Label 320: @21797
7348 /* 21797 */ GIM_Try, /*On fail goto*//*Label 321*/ GIMT_Encode4(21808), // Rule ID 413 //
7349 /* 21802 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule247Enabled),
7350 /* 21805 */ // MIs[0] dst
7351 /* 21805 */ // No operand predicates
7352 /* 21805 */ // MIs[0] src
7353 /* 21805 */ // No operand predicates
7354 /* 21805 */ // Combiner Rule #247: trunc_ssats
7355 /* 21805 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner154),
7356 /* 21808 */ // Label 321: @21808
7357 /* 21808 */ GIM_Try, /*On fail goto*//*Label 322*/ GIMT_Encode4(21819), // Rule ID 414 //
7358 /* 21813 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule248Enabled),
7359 /* 21816 */ // MIs[0] dst
7360 /* 21816 */ // No operand predicates
7361 /* 21816 */ // MIs[0] src
7362 /* 21816 */ // No operand predicates
7363 /* 21816 */ // Combiner Rule #248: trunc_ssatu
7364 /* 21816 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner155),
7365 /* 21819 */ // Label 322: @21819
7366 /* 21819 */ GIM_Reject,
7367 /* 21820 */ // Label 31: @21820
7368 /* 21820 */ GIM_Try, /*On fail goto*//*Label 323*/ GIMT_Encode4(21852), // Rule ID 416 //
7369 /* 21825 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule250Enabled),
7370 /* 21828 */ // MIs[0] dst
7371 /* 21828 */ // No operand predicates
7372 /* 21828 */ // MIs[0] src
7373 /* 21828 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7374 /* 21832 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPTOUI),
7375 /* 21836 */ // MIs[1] x
7376 /* 21836 */ // No operand predicates
7377 /* 21836 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner16),
7378 /* 21840 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7379 /* 21842 */ // Combiner Rule #250: truncusatu_to_fptouisat
7380 /* 21842 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FPTOUI_SAT),
7381 /* 21845 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
7382 /* 21847 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7383 /* 21851 */ GIR_EraseRootFromParent_Done,
7384 /* 21852 */ // Label 323: @21852
7385 /* 21852 */ GIM_Reject,
7386 /* 21853 */ // Label 32: @21853
7387 /* 21853 */ GIM_Try, /*On fail goto*//*Label 324*/ GIMT_Encode4(21864), // Rule ID 289 //
7388 /* 21858 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
7389 /* 21861 */ // Combiner Rule #190: constant_fold_cast_op; wip_match_opcode 'G_SEXT'
7390 /* 21861 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner106),
7391 /* 21864 */ // Label 324: @21864
7392 /* 21864 */ GIM_Try, /*On fail goto*//*Label 325*/ GIMT_Encode4(21885), // Rule ID 57 //
7393 /* 21869 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule55Enabled),
7394 /* 21872 */ // MIs[0] root
7395 /* 21872 */ // No operand predicates
7396 /* 21872 */ // MIs[0] second
7397 /* 21872 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7398 /* 21876 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
7399 /* 21880 */ // MIs[1] src
7400 /* 21880 */ // No operand predicates
7401 /* 21880 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7402 /* 21882 */ // Combiner Rule #55: sext_of_anyext
7403 /* 21882 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7404 /* 21885 */ // Label 325: @21885
7405 /* 21885 */ GIM_Try, /*On fail goto*//*Label 326*/ GIMT_Encode4(21906), // Rule ID 56 //
7406 /* 21890 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule54Enabled),
7407 /* 21893 */ // MIs[0] root
7408 /* 21893 */ // No operand predicates
7409 /* 21893 */ // MIs[0] second
7410 /* 21893 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7411 /* 21897 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
7412 /* 21901 */ // MIs[1] src
7413 /* 21901 */ // No operand predicates
7414 /* 21901 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7415 /* 21903 */ // Combiner Rule #54: sext_of_sext
7416 /* 21903 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7417 /* 21906 */ // Label 326: @21906
7418 /* 21906 */ GIM_Try, /*On fail goto*//*Label 327*/ GIMT_Encode4(21927), // Rule ID 392 //
7419 /* 21911 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule228Enabled),
7420 /* 21914 */ // MIs[0] root
7421 /* 21914 */ // No operand predicates
7422 /* 21914 */ // MIs[0] src
7423 /* 21914 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7424 /* 21918 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
7425 /* 21922 */ // MIs[1] x
7426 /* 21922 */ // No operand predicates
7427 /* 21922 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7428 /* 21924 */ // Combiner Rule #228: sext_trunc
7429 /* 21924 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner135),
7430 /* 21927 */ // Label 327: @21927
7431 /* 21927 */ GIM_Reject,
7432 /* 21928 */ // Label 33: @21928
7433 /* 21928 */ GIM_Try, /*On fail goto*//*Label 328*/ GIMT_Encode4(21939), // Rule ID 171 //
7434 /* 21933 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule127Enabled),
7435 /* 21936 */ // Combiner Rule #127: sext_inreg_of_load; wip_match_opcode 'G_SEXT_INREG'
7436 /* 21936 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner65),
7437 /* 21939 */ // Label 328: @21939
7438 /* 21939 */ GIM_Try, /*On fail goto*//*Label 329*/ GIMT_Encode4(21950), // Rule ID 181 //
7439 /* 21944 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule137Enabled),
7440 /* 21947 */ // Combiner Rule #137: redundant_sext_inreg; wip_match_opcode 'G_SEXT_INREG'
7441 /* 21947 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner72),
7442 /* 21950 */ // Label 329: @21950
7443 /* 21950 */ GIM_Try, /*On fail goto*//*Label 330*/ GIMT_Encode4(21961), // Rule ID 250 //
7444 /* 21955 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule183Enabled),
7445 /* 21958 */ // Combiner Rule #183: bitfield_extract_from_sext_inreg; wip_match_opcode 'G_SEXT_INREG'
7446 /* 21958 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner99),
7447 /* 21961 */ // Label 330: @21961
7448 /* 21961 */ GIM_Try, /*On fail goto*//*Label 331*/ GIMT_Encode4(21972), // Rule ID 455 //
7449 /* 21966 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule278Enabled),
7450 /* 21969 */ // Combiner Rule #278: sign_extension_in_reg; wip_match_opcode 'G_SEXT_INREG'
7451 /* 21969 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner170),
7452 /* 21972 */ // Label 331: @21972
7453 /* 21972 */ GIM_Try, /*On fail goto*//*Label 332*/ GIMT_Encode4(21993), // Rule ID 61 //
7454 /* 21977 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule59Enabled),
7455 /* 21980 */ // MIs[0] dst
7456 /* 21980 */ // No operand predicates
7457 /* 21980 */ // MIs[0] x
7458 /* 21980 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7459 /* 21984 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT_INREG),
7460 /* 21988 */ // MIs[1] src
7461 /* 21988 */ // No operand predicates
7462 /* 21988 */ // MIs[1] a
7463 /* 21988 */ // No operand predicates
7464 /* 21988 */ // MIs[0] b
7465 /* 21988 */ // No operand predicates
7466 /* 21988 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7467 /* 21990 */ // Combiner Rule #59: sext_inreg_of_sext_inreg
7468 /* 21990 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
7469 /* 21993 */ // Label 332: @21993
7470 /* 21993 */ GIM_Try, /*On fail goto*//*Label 333*/ GIMT_Encode4(22004), // Rule ID 185 //
7471 /* 21998 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule141Enabled),
7472 /* 22001 */ // MIs[0] dst
7473 /* 22001 */ // No operand predicates
7474 /* 22001 */ // MIs[0] src
7475 /* 22001 */ // No operand predicates
7476 /* 22001 */ // MIs[0] imm
7477 /* 22001 */ // No operand predicates
7478 /* 22001 */ // Combiner Rule #141: sext_inreg_to_zext_inreg
7479 /* 22001 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner76),
7480 /* 22004 */ // Label 333: @22004
7481 /* 22004 */ GIM_Reject,
7482 /* 22005 */ // Label 34: @22005
7483 /* 22005 */ GIM_Try, /*On fail goto*//*Label 334*/ GIMT_Encode4(22016), // Rule ID 184 //
7484 /* 22010 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule140Enabled),
7485 /* 22013 */ // Combiner Rule #140: zext_trunc_fold; wip_match_opcode 'G_ZEXT'
7486 /* 22013 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner75),
7487 /* 22016 */ // Label 334: @22016
7488 /* 22016 */ GIM_Try, /*On fail goto*//*Label 335*/ GIMT_Encode4(22027), // Rule ID 288 //
7489 /* 22021 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
7490 /* 22024 */ // Combiner Rule #190: constant_fold_cast_op; wip_match_opcode 'G_ZEXT'
7491 /* 22024 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner106),
7492 /* 22027 */ // Label 335: @22027
7493 /* 22027 */ GIM_Try, /*On fail goto*//*Label 336*/ GIMT_Encode4(22048), // Rule ID 62 //
7494 /* 22032 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule60Enabled),
7495 /* 22035 */ // MIs[0] root
7496 /* 22035 */ // No operand predicates
7497 /* 22035 */ // MIs[0] select
7498 /* 22035 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7499 /* 22039 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
7500 /* 22043 */ // MIs[1] cond
7501 /* 22043 */ // No operand predicates
7502 /* 22043 */ // MIs[1] true
7503 /* 22043 */ // No operand predicates
7504 /* 22043 */ // MIs[1] false
7505 /* 22043 */ // No operand predicates
7506 /* 22043 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7507 /* 22045 */ // Combiner Rule #60: select_of_zext
7508 /* 22045 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner23),
7509 /* 22048 */ // Label 336: @22048
7510 /* 22048 */ GIM_Try, /*On fail goto*//*Label 337*/ GIMT_Encode4(22069), // Rule ID 55 //
7511 /* 22053 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule53Enabled),
7512 /* 22056 */ // MIs[0] root
7513 /* 22056 */ // No operand predicates
7514 /* 22056 */ // MIs[0] second
7515 /* 22056 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7516 /* 22060 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
7517 /* 22064 */ // MIs[1] src
7518 /* 22064 */ // No operand predicates
7519 /* 22064 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7520 /* 22066 */ // Combiner Rule #53: zext_of_anyext
7521 /* 22066 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7522 /* 22069 */ // Label 337: @22069
7523 /* 22069 */ GIM_Try, /*On fail goto*//*Label 338*/ GIMT_Encode4(22096), // Rule ID 393 //
7524 /* 22074 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule229Enabled),
7525 /* 22077 */ // MIs[0] root
7526 /* 22077 */ // No operand predicates
7527 /* 22077 */ // MIs[0] src
7528 /* 22077 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7529 /* 22081 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
7530 /* 22085 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::NoUWrap),
7531 /* 22091 */ // MIs[1] x
7532 /* 22091 */ // No operand predicates
7533 /* 22091 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7534 /* 22093 */ // Combiner Rule #229: zext_trunc
7535 /* 22093 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner136),
7536 /* 22096 */ // Label 338: @22096
7537 /* 22096 */ GIM_Try, /*On fail goto*//*Label 339*/ GIMT_Encode4(22117), // Rule ID 54 //
7538 /* 22101 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule52Enabled),
7539 /* 22104 */ // MIs[0] root
7540 /* 22104 */ // No operand predicates
7541 /* 22104 */ // MIs[0] second
7542 /* 22104 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7543 /* 22108 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
7544 /* 22112 */ // MIs[1] src
7545 /* 22112 */ // No operand predicates
7546 /* 22112 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7547 /* 22114 */ // Combiner Rule #52: zext_of_zext
7548 /* 22114 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
7549 /* 22117 */ // Label 339: @22117
7550 /* 22117 */ GIM_Try, /*On fail goto*//*Label 340*/ GIMT_Encode4(22134), // Rule ID 394 //
7551 /* 22122 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule230Enabled),
7552 /* 22125 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NonNeg),
7553 /* 22131 */ // MIs[0] root
7554 /* 22131 */ // No operand predicates
7555 /* 22131 */ // MIs[0] x
7556 /* 22131 */ // No operand predicates
7557 /* 22131 */ // Combiner Rule #230: nneg_zext
7558 /* 22131 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner137),
7559 /* 22134 */ // Label 340: @22134
7560 /* 22134 */ GIM_Reject,
7561 /* 22135 */ // Label 35: @22135
7562 /* 22135 */ GIM_Try, /*On fail goto*//*Label 341*/ GIMT_Encode4(22146), // Rule ID 86 //
7563 /* 22140 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
7564 /* 22143 */ // Combiner Rule #80: binop_left_undef_to_zero; wip_match_opcode 'G_SHL'
7565 /* 22143 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner36),
7566 /* 22146 */ // Label 341: @22146
7567 /* 22146 */ GIM_Try, /*On fail goto*//*Label 342*/ GIMT_Encode4(22157), // Rule ID 89 //
7568 /* 22151 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
7569 /* 22154 */ // Combiner Rule #81: binop_right_undef_to_undef; wip_match_opcode 'G_SHL'
7570 /* 22154 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner37),
7571 /* 22157 */ // Label 342: @22157
7572 /* 22157 */ GIM_Try, /*On fail goto*//*Label 343*/ GIMT_Encode4(22168), // Rule ID 221 //
7573 /* 22162 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
7574 /* 22165 */ // Combiner Rule #169: shift_immed_chain; wip_match_opcode 'G_SHL'
7575 /* 22165 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
7576 /* 22168 */ // Label 343: @22168
7577 /* 22168 */ GIM_Try, /*On fail goto*//*Label 344*/ GIMT_Encode4(22179), // Rule ID 226 //
7578 /* 22173 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
7579 /* 22176 */ // Combiner Rule #170: shift_of_shifted_logic_chain; wip_match_opcode 'G_SHL'
7580 /* 22176 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
7581 /* 22179 */ // Label 344: @22179
7582 /* 22179 */ GIM_Try, /*On fail goto*//*Label 345*/ GIMT_Encode4(22190), // Rule ID 249 //
7583 /* 22184 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule182Enabled),
7584 /* 22187 */ // Combiner Rule #182: commute_shift; wip_match_opcode 'G_SHL'
7585 /* 22187 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner98),
7586 /* 22190 */ // Label 345: @22190
7587 /* 22190 */ GIM_Try, /*On fail goto*//*Label 346*/ GIMT_Encode4(22201), // Rule ID 263 //
7588 /* 22195 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
7589 /* 22198 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SHL'
7590 /* 22198 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
7591 /* 22201 */ // Label 346: @22201
7592 /* 22201 */ GIM_Try, /*On fail goto*//*Label 347*/ GIMT_Encode4(22212), // Rule ID 328 //
7593 /* 22206 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
7594 /* 22209 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SHL'
7595 /* 22209 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
7596 /* 22212 */ // Label 347: @22212
7597 /* 22212 */ GIM_Try, /*On fail goto*//*Label 348*/ GIMT_Encode4(22247), // Rule ID 47 //
7598 /* 22217 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule45Enabled),
7599 /* 22220 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
7600 /* 22226 */ // MIs[0] root
7601 /* 22226 */ // No operand predicates
7602 /* 22226 */ // MIs[0] left
7603 /* 22226 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7604 /* 22230 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
7605 /* 22234 */ // MIs[1] imm
7606 /* 22234 */ // No operand predicates
7607 /* 22234 */ // MIs[0] x
7608 /* 22234 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7609 /* 22238 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7610 /* 22242 */ // MIs[2] imm1
7611 /* 22242 */ // No operand predicates
7612 /* 22242 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7613 /* 22244 */ // Combiner Rule #45: shl_of_vscale
7614 /* 22244 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner17),
7615 /* 22247 */ // Label 348: @22247
7616 /* 22247 */ GIM_Try, /*On fail goto*//*Label 349*/ GIMT_Encode4(22287), // Rule ID 124 //
7617 /* 22252 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
7618 /* 22255 */ // MIs[0] dst
7619 /* 22255 */ // No operand predicates
7620 /* 22255 */ // MIs[0] zero
7621 /* 22255 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7622 /* 22259 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7623 /* 22263 */ // MIs[1] Operand 1
7624 /* 22263 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
7625 /* 22274 */ // MIs[0] rhs
7626 /* 22274 */ // No operand predicates
7627 /* 22274 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7628 /* 22279 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7629 /* 22281 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[0]]
7630 /* 22281 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7631 /* 22286 */ GIR_EraseRootFromParent_Done,
7632 /* 22287 */ // Label 349: @22287
7633 /* 22287 */ GIM_Try, /*On fail goto*//*Label 350*/ GIMT_Encode4(22310), // Rule ID 114 //
7634 /* 22292 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
7635 /* 22295 */ // MIs[0] dst
7636 /* 22295 */ // No operand predicates
7637 /* 22295 */ // MIs[0] lhs
7638 /* 22295 */ // No operand predicates
7639 /* 22295 */ // MIs[0] Operand 2
7640 /* 22295 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
7641 /* 22299 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7642 /* 22304 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[4]]
7643 /* 22304 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7644 /* 22309 */ GIR_EraseRootFromParent_Done,
7645 /* 22310 */ // Label 350: @22310
7646 /* 22310 */ GIM_Try, /*On fail goto*//*Label 351*/ GIMT_Encode4(22321), // Rule ID 156 //
7647 /* 22315 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
7648 /* 22318 */ // MIs[0] root
7649 /* 22318 */ // No operand predicates
7650 /* 22318 */ // MIs[0] mi.shifted
7651 /* 22318 */ // No operand predicates
7652 /* 22318 */ // MIs[0] mi.amt
7653 /* 22318 */ // No operand predicates
7654 /* 22318 */ // Combiner Rule #114: shifts_too_big @ [mi[0]]
7655 /* 22318 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner55),
7656 /* 22321 */ // Label 351: @22321
7657 /* 22321 */ GIM_Try, /*On fail goto*//*Label 352*/ GIMT_Encode4(22332), // Rule ID 172 //
7658 /* 22326 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule128Enabled),
7659 /* 22329 */ // MIs[0] dst
7660 /* 22329 */ // No operand predicates
7661 /* 22329 */ // MIs[0] src0
7662 /* 22329 */ // No operand predicates
7663 /* 22329 */ // MIs[0] src1
7664 /* 22329 */ // No operand predicates
7665 /* 22329 */ // Combiner Rule #128: reduce_shl_of_extend
7666 /* 22329 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner66),
7667 /* 22332 */ // Label 352: @22332
7668 /* 22332 */ GIM_Reject,
7669 /* 22333 */ // Label 36: @22333
7670 /* 22333 */ GIM_Try, /*On fail goto*//*Label 353*/ GIMT_Encode4(22344), // Rule ID 91 //
7671 /* 22338 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
7672 /* 22341 */ // Combiner Rule #81: binop_right_undef_to_undef; wip_match_opcode 'G_LSHR'
7673 /* 22341 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner37),
7674 /* 22344 */ // Label 353: @22344
7675 /* 22344 */ GIM_Try, /*On fail goto*//*Label 354*/ GIMT_Encode4(22355), // Rule ID 223 //
7676 /* 22349 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
7677 /* 22352 */ // Combiner Rule #169: shift_immed_chain; wip_match_opcode 'G_LSHR'
7678 /* 22352 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
7679 /* 22355 */ // Label 354: @22355
7680 /* 22355 */ GIM_Try, /*On fail goto*//*Label 355*/ GIMT_Encode4(22366), // Rule ID 228 //
7681 /* 22360 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
7682 /* 22363 */ // Combiner Rule #170: shift_of_shifted_logic_chain; wip_match_opcode 'G_LSHR'
7683 /* 22363 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
7684 /* 22366 */ // Label 355: @22366
7685 /* 22366 */ GIM_Try, /*On fail goto*//*Label 356*/ GIMT_Encode4(22377), // Rule ID 253 //
7686 /* 22371 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
7687 /* 22374 */ // Combiner Rule #185: bitfield_extract_from_shr; wip_match_opcode 'G_LSHR'
7688 /* 22374 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner101),
7689 /* 22377 */ // Label 356: @22377
7690 /* 22377 */ GIM_Try, /*On fail goto*//*Label 357*/ GIMT_Encode4(22388), // Rule ID 255 //
7691 /* 22382 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
7692 /* 22385 */ // Combiner Rule #186: bitfield_extract_from_shr_and; wip_match_opcode 'G_LSHR'
7693 /* 22385 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner102),
7694 /* 22388 */ // Label 357: @22388
7695 /* 22388 */ GIM_Try, /*On fail goto*//*Label 358*/ GIMT_Encode4(22399), // Rule ID 260 //
7696 /* 22393 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
7697 /* 22396 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_LSHR'
7698 /* 22396 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
7699 /* 22399 */ // Label 358: @22399
7700 /* 22399 */ GIM_Try, /*On fail goto*//*Label 359*/ GIMT_Encode4(22410), // Rule ID 326 //
7701 /* 22404 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
7702 /* 22407 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_LSHR'
7703 /* 22407 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
7704 /* 22410 */ // Label 359: @22410
7705 /* 22410 */ GIM_Try, /*On fail goto*//*Label 360*/ GIMT_Encode4(22499), // Rule ID 434 //
7706 /* 22415 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule265Enabled),
7707 /* 22418 */ // MIs[0] dst
7708 /* 22418 */ // No operand predicates
7709 /* 22418 */ // MIs[0] sum
7710 /* 22418 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7711 /* 22422 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
7712 /* 22426 */ // MIs[1] inner
7713 /* 22426 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
7714 /* 22430 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
7715 /* 22434 */ // MIs[2] ext1
7716 /* 22434 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
7717 /* 22438 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ZEXT),
7718 /* 22442 */ // MIs[3] x
7719 /* 22442 */ GIM_RecordRegType, /*MI*/3, /*Op*/1, /*TempTypeIdx*/255,
7720 /* 22446 */ // MIs[2] ext2
7721 /* 22446 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/4, /*MI*/2, /*OpIdx*/2, // MIs[4]
7722 /* 22450 */ GIM_CheckOpcode, /*MI*/4, GIMT_Encode2(TargetOpcode::G_ZEXT),
7723 /* 22454 */ // MIs[4] y
7724 /* 22454 */ // No operand predicates
7725 /* 22454 */ // MIs[1] Operand 2
7726 /* 22454 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
7727 /* 22458 */ // MIs[0] Operand 2
7728 /* 22458 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
7729 /* 22462 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner22),
7730 /* 22466 */ GIM_CheckIsSafeToFold, /*NumInsns*/4,
7731 /* 22468 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7732 /* 22471 */ // Combiner Rule #265: avgceil_u_match
7733 /* 22471 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UAVGCEIL),
7734 /* 22474 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7735 /* 22479 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // x
7736 /* 22483 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/4, /*OpIdx*/1, // y
7737 /* 22487 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
7738 /* 22491 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
7739 /* 22495 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7740 /* 22498 */ GIR_EraseRootFromParent_Done,
7741 /* 22499 */ // Label 360: @22499
7742 /* 22499 */ GIM_Try, /*On fail goto*//*Label 361*/ GIMT_Encode4(22576), // Rule ID 432 //
7743 /* 22504 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule263Enabled),
7744 /* 22507 */ // MIs[0] dst
7745 /* 22507 */ // No operand predicates
7746 /* 22507 */ // MIs[0] sum
7747 /* 22507 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7748 /* 22511 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
7749 /* 22515 */ // MIs[1] ext1
7750 /* 22515 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
7751 /* 22519 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ZEXT),
7752 /* 22523 */ // MIs[2] x
7753 /* 22523 */ GIM_RecordRegType, /*MI*/2, /*Op*/1, /*TempTypeIdx*/255,
7754 /* 22527 */ // MIs[1] ext2
7755 /* 22527 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/1, /*OpIdx*/2, // MIs[3]
7756 /* 22531 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ZEXT),
7757 /* 22535 */ // MIs[3] y
7758 /* 22535 */ // No operand predicates
7759 /* 22535 */ // MIs[0] Operand 2
7760 /* 22535 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
7761 /* 22539 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner20),
7762 /* 22543 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
7763 /* 22545 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7764 /* 22548 */ // Combiner Rule #263: avgfloor_u_match
7765 /* 22548 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UAVGFLOOR),
7766 /* 22551 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7767 /* 22556 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // x
7768 /* 22560 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // y
7769 /* 22564 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
7770 /* 22568 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
7771 /* 22572 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7772 /* 22575 */ GIR_EraseRootFromParent_Done,
7773 /* 22576 */ // Label 361: @22576
7774 /* 22576 */ GIM_Try, /*On fail goto*//*Label 362*/ GIMT_Encode4(22605), // Rule ID 417 //
7775 /* 22581 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule251Enabled),
7776 /* 22584 */ // MIs[0] dst
7777 /* 22584 */ // No operand predicates
7778 /* 22584 */ // MIs[0] d2
7779 /* 22584 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7780 /* 22588 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
7781 /* 22592 */ // MIs[1] d1
7782 /* 22592 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
7783 /* 22596 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_LSHR),
7784 /* 22600 */ // MIs[2] x
7785 /* 22600 */ // No operand predicates
7786 /* 22600 */ // MIs[2] y
7787 /* 22600 */ // No operand predicates
7788 /* 22600 */ // MIs[0] z
7789 /* 22600 */ // No operand predicates
7790 /* 22600 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7791 /* 22602 */ // Combiner Rule #251: lshr_of_trunc_of_lshr
7792 /* 22602 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner156),
7793 /* 22605 */ // Label 362: @22605
7794 /* 22605 */ GIM_Try, /*On fail goto*//*Label 363*/ GIMT_Encode4(22645), // Rule ID 125 //
7795 /* 22610 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
7796 /* 22613 */ // MIs[0] dst
7797 /* 22613 */ // No operand predicates
7798 /* 22613 */ // MIs[0] zero
7799 /* 22613 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7800 /* 22617 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7801 /* 22621 */ // MIs[1] Operand 1
7802 /* 22621 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
7803 /* 22632 */ // MIs[0] rhs
7804 /* 22632 */ // No operand predicates
7805 /* 22632 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7806 /* 22637 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7807 /* 22639 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[1]]
7808 /* 22639 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7809 /* 22644 */ GIR_EraseRootFromParent_Done,
7810 /* 22645 */ // Label 363: @22645
7811 /* 22645 */ GIM_Try, /*On fail goto*//*Label 364*/ GIMT_Encode4(22668), // Rule ID 116 //
7812 /* 22650 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
7813 /* 22653 */ // MIs[0] dst
7814 /* 22653 */ // No operand predicates
7815 /* 22653 */ // MIs[0] lhs
7816 /* 22653 */ // No operand predicates
7817 /* 22653 */ // MIs[0] Operand 2
7818 /* 22653 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
7819 /* 22657 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7820 /* 22662 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[6]]
7821 /* 22662 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7822 /* 22667 */ GIR_EraseRootFromParent_Done,
7823 /* 22668 */ // Label 364: @22668
7824 /* 22668 */ GIM_Try, /*On fail goto*//*Label 365*/ GIMT_Encode4(22679), // Rule ID 158 //
7825 /* 22673 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
7826 /* 22676 */ // MIs[0] root
7827 /* 22676 */ // No operand predicates
7828 /* 22676 */ // MIs[0] mi.shifted
7829 /* 22676 */ // No operand predicates
7830 /* 22676 */ // MIs[0] mi.amt
7831 /* 22676 */ // No operand predicates
7832 /* 22676 */ // Combiner Rule #114: shifts_too_big @ [mi[2]]
7833 /* 22676 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner55),
7834 /* 22679 */ // Label 365: @22679
7835 /* 22679 */ GIM_Reject,
7836 /* 22680 */ // Label 37: @22680
7837 /* 22680 */ GIM_Try, /*On fail goto*//*Label 366*/ GIMT_Encode4(22691), // Rule ID 90 //
7838 /* 22685 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
7839 /* 22688 */ // Combiner Rule #81: binop_right_undef_to_undef; wip_match_opcode 'G_ASHR'
7840 /* 22688 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner37),
7841 /* 22691 */ // Label 366: @22691
7842 /* 22691 */ GIM_Try, /*On fail goto*//*Label 367*/ GIMT_Encode4(22702), // Rule ID 169 //
7843 /* 22696 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule125Enabled),
7844 /* 22699 */ // Combiner Rule #125: shl_ashr_to_sext_inreg; wip_match_opcode 'G_ASHR'
7845 /* 22699 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner64),
7846 /* 22702 */ // Label 367: @22702
7847 /* 22702 */ GIM_Try, /*On fail goto*//*Label 368*/ GIMT_Encode4(22713), // Rule ID 222 //
7848 /* 22707 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
7849 /* 22710 */ // Combiner Rule #169: shift_immed_chain; wip_match_opcode 'G_ASHR'
7850 /* 22710 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
7851 /* 22713 */ // Label 368: @22713
7852 /* 22713 */ GIM_Try, /*On fail goto*//*Label 369*/ GIMT_Encode4(22724), // Rule ID 227 //
7853 /* 22718 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
7854 /* 22721 */ // Combiner Rule #170: shift_of_shifted_logic_chain; wip_match_opcode 'G_ASHR'
7855 /* 22721 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
7856 /* 22724 */ // Label 369: @22724
7857 /* 22724 */ GIM_Try, /*On fail goto*//*Label 370*/ GIMT_Encode4(22735), // Rule ID 252 //
7858 /* 22729 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
7859 /* 22732 */ // Combiner Rule #185: bitfield_extract_from_shr; wip_match_opcode 'G_ASHR'
7860 /* 22732 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner101),
7861 /* 22735 */ // Label 370: @22735
7862 /* 22735 */ GIM_Try, /*On fail goto*//*Label 371*/ GIMT_Encode4(22746), // Rule ID 254 //
7863 /* 22740 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
7864 /* 22743 */ // Combiner Rule #186: bitfield_extract_from_shr_and; wip_match_opcode 'G_ASHR'
7865 /* 22743 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner102),
7866 /* 22746 */ // Label 371: @22746
7867 /* 22746 */ GIM_Try, /*On fail goto*//*Label 372*/ GIMT_Encode4(22757), // Rule ID 259 //
7868 /* 22751 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
7869 /* 22754 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_ASHR'
7870 /* 22754 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
7871 /* 22757 */ // Label 372: @22757
7872 /* 22757 */ GIM_Try, /*On fail goto*//*Label 373*/ GIMT_Encode4(22768), // Rule ID 327 //
7873 /* 22762 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
7874 /* 22765 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_ASHR'
7875 /* 22765 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
7876 /* 22768 */ // Label 373: @22768
7877 /* 22768 */ GIM_Try, /*On fail goto*//*Label 374*/ GIMT_Encode4(22857), // Rule ID 435 //
7878 /* 22773 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule266Enabled),
7879 /* 22776 */ // MIs[0] dst
7880 /* 22776 */ // No operand predicates
7881 /* 22776 */ // MIs[0] sum
7882 /* 22776 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7883 /* 22780 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
7884 /* 22784 */ // MIs[1] inner
7885 /* 22784 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
7886 /* 22788 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
7887 /* 22792 */ // MIs[2] ext1
7888 /* 22792 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
7889 /* 22796 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_SEXT),
7890 /* 22800 */ // MIs[3] x
7891 /* 22800 */ GIM_RecordRegType, /*MI*/3, /*Op*/1, /*TempTypeIdx*/255,
7892 /* 22804 */ // MIs[2] ext2
7893 /* 22804 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/4, /*MI*/2, /*OpIdx*/2, // MIs[4]
7894 /* 22808 */ GIM_CheckOpcode, /*MI*/4, GIMT_Encode2(TargetOpcode::G_SEXT),
7895 /* 22812 */ // MIs[4] y
7896 /* 22812 */ // No operand predicates
7897 /* 22812 */ // MIs[1] Operand 2
7898 /* 22812 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
7899 /* 22816 */ // MIs[0] Operand 2
7900 /* 22816 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
7901 /* 22820 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner23),
7902 /* 22824 */ GIM_CheckIsSafeToFold, /*NumInsns*/4,
7903 /* 22826 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7904 /* 22829 */ // Combiner Rule #266: avgceil_s_match
7905 /* 22829 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SAVGCEIL),
7906 /* 22832 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7907 /* 22837 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // x
7908 /* 22841 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/4, /*OpIdx*/1, // y
7909 /* 22845 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
7910 /* 22849 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
7911 /* 22853 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7912 /* 22856 */ GIR_EraseRootFromParent_Done,
7913 /* 22857 */ // Label 374: @22857
7914 /* 22857 */ GIM_Try, /*On fail goto*//*Label 375*/ GIMT_Encode4(22934), // Rule ID 433 //
7915 /* 22862 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule264Enabled),
7916 /* 22865 */ // MIs[0] dst
7917 /* 22865 */ // No operand predicates
7918 /* 22865 */ // MIs[0] sum
7919 /* 22865 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7920 /* 22869 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
7921 /* 22873 */ // MIs[1] ext1
7922 /* 22873 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
7923 /* 22877 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SEXT),
7924 /* 22881 */ // MIs[2] x
7925 /* 22881 */ GIM_RecordRegType, /*MI*/2, /*Op*/1, /*TempTypeIdx*/255,
7926 /* 22885 */ // MIs[1] ext2
7927 /* 22885 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/1, /*OpIdx*/2, // MIs[3]
7928 /* 22889 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_SEXT),
7929 /* 22893 */ // MIs[3] y
7930 /* 22893 */ // No operand predicates
7931 /* 22893 */ // MIs[0] Operand 2
7932 /* 22893 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
7933 /* 22897 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner21),
7934 /* 22901 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
7935 /* 22903 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7936 /* 22906 */ // Combiner Rule #264: avgfloor_s_match
7937 /* 22906 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SAVGFLOOR),
7938 /* 22909 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7939 /* 22914 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // x
7940 /* 22918 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // y
7941 /* 22922 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
7942 /* 22926 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
7943 /* 22930 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7944 /* 22933 */ GIR_EraseRootFromParent_Done,
7945 /* 22934 */ // Label 375: @22934
7946 /* 22934 */ GIM_Try, /*On fail goto*//*Label 376*/ GIMT_Encode4(22974), // Rule ID 126 //
7947 /* 22939 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
7948 /* 22942 */ // MIs[0] dst
7949 /* 22942 */ // No operand predicates
7950 /* 22942 */ // MIs[0] zero
7951 /* 22942 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7952 /* 22946 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7953 /* 22950 */ // MIs[1] Operand 1
7954 /* 22950 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
7955 /* 22961 */ // MIs[0] rhs
7956 /* 22961 */ // No operand predicates
7957 /* 22961 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7958 /* 22966 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7959 /* 22968 */ // Combiner Rule #93: binop_left_to_zero @ [__binop_left_to_zero_match_0[2]]
7960 /* 22968 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7961 /* 22973 */ GIR_EraseRootFromParent_Done,
7962 /* 22974 */ // Label 376: @22974
7963 /* 22974 */ GIM_Try, /*On fail goto*//*Label 377*/ GIMT_Encode4(22997), // Rule ID 115 //
7964 /* 22979 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
7965 /* 22982 */ // MIs[0] dst
7966 /* 22982 */ // No operand predicates
7967 /* 22982 */ // MIs[0] lhs
7968 /* 22982 */ // No operand predicates
7969 /* 22982 */ // MIs[0] Operand 2
7970 /* 22982 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
7971 /* 22986 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7972 /* 22991 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[5]]
7973 /* 22991 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7974 /* 22996 */ GIR_EraseRootFromParent_Done,
7975 /* 22997 */ // Label 377: @22997
7976 /* 22997 */ GIM_Try, /*On fail goto*//*Label 378*/ GIMT_Encode4(23008), // Rule ID 157 //
7977 /* 23002 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
7978 /* 23005 */ // MIs[0] root
7979 /* 23005 */ // No operand predicates
7980 /* 23005 */ // MIs[0] mi.shifted
7981 /* 23005 */ // No operand predicates
7982 /* 23005 */ // MIs[0] mi.amt
7983 /* 23005 */ // No operand predicates
7984 /* 23005 */ // Combiner Rule #114: shifts_too_big @ [mi[1]]
7985 /* 23005 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner55),
7986 /* 23008 */ // Label 378: @23008
7987 /* 23008 */ GIM_Reject,
7988 /* 23009 */ // Label 38: @23009
7989 /* 23009 */ GIM_Try, /*On fail goto*//*Label 379*/ GIMT_Encode4(23020), // Rule ID 237 //
7990 /* 23014 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule174Enabled),
7991 /* 23017 */ // Combiner Rule #174: funnel_shift_to_rotate; wip_match_opcode 'G_FSHL'
7992 /* 23017 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner96),
7993 /* 23020 */ // Label 379: @23020
7994 /* 23020 */ GIM_Try, /*On fail goto*//*Label 380*/ GIMT_Encode4(23031), // Rule ID 241 //
7995 /* 23025 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule177Enabled),
7996 /* 23028 */ // Combiner Rule #177: funnel_shift_overshift; wip_match_opcode 'G_FSHL'
7997 /* 23028 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner97),
7998 /* 23031 */ // Label 380: @23031
7999 /* 23031 */ GIM_Try, /*On fail goto*//*Label 381*/ GIMT_Encode4(23051), // Rule ID 240 //
8000 /* 23036 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule176Enabled),
8001 /* 23039 */ // MIs[0] x
8002 /* 23039 */ // No operand predicates
8003 /* 23039 */ // MIs[0] y
8004 /* 23039 */ // No operand predicates
8005 /* 23039 */ // MIs[0] z
8006 /* 23039 */ // No operand predicates
8007 /* 23039 */ // MIs[0] Operand 3
8008 /* 23039 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
8009 /* 23043 */ // Combiner Rule #176: funnel_shift_left_zero
8010 /* 23043 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
8011 /* 23046 */ GIR_RootToRootCopy, /*OpIdx*/0, // x
8012 /* 23048 */ GIR_RootToRootCopy, /*OpIdx*/1, // y
8013 /* 23050 */ GIR_EraseRootFromParent_Done,
8014 /* 23051 */ // Label 381: @23051
8015 /* 23051 */ GIM_Reject,
8016 /* 23052 */ // Label 39: @23052
8017 /* 23052 */ GIM_Try, /*On fail goto*//*Label 382*/ GIMT_Encode4(23063), // Rule ID 238 //
8018 /* 23057 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule174Enabled),
8019 /* 23060 */ // Combiner Rule #174: funnel_shift_to_rotate; wip_match_opcode 'G_FSHR'
8020 /* 23060 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner96),
8021 /* 23063 */ // Label 382: @23063
8022 /* 23063 */ GIM_Try, /*On fail goto*//*Label 383*/ GIMT_Encode4(23074), // Rule ID 242 //
8023 /* 23068 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule177Enabled),
8024 /* 23071 */ // Combiner Rule #177: funnel_shift_overshift; wip_match_opcode 'G_FSHR'
8025 /* 23071 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner97),
8026 /* 23074 */ // Label 383: @23074
8027 /* 23074 */ GIM_Try, /*On fail goto*//*Label 384*/ GIMT_Encode4(23094), // Rule ID 239 //
8028 /* 23079 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule175Enabled),
8029 /* 23082 */ // MIs[0] x
8030 /* 23082 */ // No operand predicates
8031 /* 23082 */ // MIs[0] y
8032 /* 23082 */ // No operand predicates
8033 /* 23082 */ // MIs[0] z
8034 /* 23082 */ // No operand predicates
8035 /* 23082 */ // MIs[0] Operand 3
8036 /* 23082 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
8037 /* 23086 */ // Combiner Rule #175: funnel_shift_right_zero
8038 /* 23086 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
8039 /* 23089 */ GIR_RootToRootCopy, /*OpIdx*/0, // x
8040 /* 23091 */ GIR_RootToRootCopy, /*OpIdx*/2, // z
8041 /* 23093 */ GIR_EraseRootFromParent_Done,
8042 /* 23094 */ // Label 384: @23094
8043 /* 23094 */ GIM_Reject,
8044 /* 23095 */ // Label 40: @23095
8045 /* 23095 */ GIM_Try, /*On fail goto*//*Label 385*/ GIMT_Encode4(23118), // Rule ID 119 //
8046 /* 23100 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
8047 /* 23103 */ // MIs[0] dst
8048 /* 23103 */ // No operand predicates
8049 /* 23103 */ // MIs[0] lhs
8050 /* 23103 */ // No operand predicates
8051 /* 23103 */ // MIs[0] Operand 2
8052 /* 23103 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
8053 /* 23107 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8054 /* 23112 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[9]]
8055 /* 23112 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8056 /* 23117 */ GIR_EraseRootFromParent_Done,
8057 /* 23118 */ // Label 385: @23118
8058 /* 23118 */ GIM_Reject,
8059 /* 23119 */ // Label 41: @23119
8060 /* 23119 */ GIM_Try, /*On fail goto*//*Label 386*/ GIMT_Encode4(23142), // Rule ID 118 //
8061 /* 23124 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
8062 /* 23127 */ // MIs[0] dst
8063 /* 23127 */ // No operand predicates
8064 /* 23127 */ // MIs[0] lhs
8065 /* 23127 */ // No operand predicates
8066 /* 23127 */ // MIs[0] Operand 2
8067 /* 23127 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
8068 /* 23131 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8069 /* 23136 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[8]]
8070 /* 23136 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8071 /* 23141 */ GIR_EraseRootFromParent_Done,
8072 /* 23142 */ // Label 386: @23142
8073 /* 23142 */ GIM_Reject,
8074 /* 23143 */ // Label 42: @23143
8075 /* 23143 */ GIM_Try, /*On fail goto*//*Label 387*/ GIMT_Encode4(23154), // Rule ID 164 //
8076 /* 23148 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
8077 /* 23151 */ // Combiner Rule #120: icmp_to_true_false_known_bits; wip_match_opcode 'G_ICMP'
8078 /* 23151 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner61),
8079 /* 23154 */ // Label 387: @23154
8080 /* 23154 */ GIM_Try, /*On fail goto*//*Label 388*/ GIMT_Encode4(23165), // Rule ID 165 //
8081 /* 23159 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule121Enabled),
8082 /* 23162 */ // Combiner Rule #121: icmp_to_lhs_known_bits; wip_match_opcode 'G_ICMP'
8083 /* 23162 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner62),
8084 /* 23165 */ // Label 388: @23165
8085 /* 23165 */ GIM_Try, /*On fail goto*//*Label 389*/ GIMT_Encode4(23176), // Rule ID 168 //
8086 /* 23170 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule124Enabled),
8087 /* 23173 */ // Combiner Rule #124: redundant_binop_in_equality; wip_match_opcode 'G_ICMP'
8088 /* 23173 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
8089 /* 23176 */ // Label 389: @23176
8090 /* 23176 */ GIM_Try, /*On fail goto*//*Label 390*/ GIMT_Encode4(23187), // Rule ID 162 //
8091 /* 23181 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule118Enabled),
8092 /* 23184 */ // MIs[0] root
8093 /* 23184 */ // No operand predicates
8094 /* 23184 */ // MIs[0] pred
8095 /* 23184 */ // No operand predicates
8096 /* 23184 */ // MIs[0] lhs
8097 /* 23184 */ // No operand predicates
8098 /* 23184 */ // MIs[0] rhs
8099 /* 23184 */ // No operand predicates
8100 /* 23184 */ // Combiner Rule #118: canonicalize_icmp
8101 /* 23184 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner59),
8102 /* 23187 */ // Label 390: @23187
8103 /* 23187 */ GIM_Reject,
8104 /* 23188 */ // Label 43: @23188
8105 /* 23188 */ GIM_Try, /*On fail goto*//*Label 391*/ GIMT_Encode4(23199), // Rule ID 163 //
8106 /* 23193 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
8107 /* 23196 */ // MIs[0] root
8108 /* 23196 */ // No operand predicates
8109 /* 23196 */ // MIs[0] pred
8110 /* 23196 */ // No operand predicates
8111 /* 23196 */ // MIs[0] lhs
8112 /* 23196 */ // No operand predicates
8113 /* 23196 */ // MIs[0] rhs
8114 /* 23196 */ // No operand predicates
8115 /* 23196 */ // Combiner Rule #119: canonicalize_fcmp
8116 /* 23196 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner60),
8117 /* 23199 */ // Label 391: @23199
8118 /* 23199 */ GIM_Reject,
8119 /* 23200 */ // Label 44: @23200
8120 /* 23200 */ GIM_Try, /*On fail goto*//*Label 392*/ GIMT_Encode4(23211), // Rule ID 109 //
8121 /* 23205 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule89Enabled),
8122 /* 23208 */ // Combiner Rule #89: select_same_val; wip_match_opcode 'G_SELECT'
8123 /* 23208 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner44),
8124 /* 23211 */ // Label 392: @23211
8125 /* 23211 */ GIM_Try, /*On fail goto*//*Label 393*/ GIMT_Encode4(23222), // Rule ID 175 //
8126 /* 23216 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule131Enabled),
8127 /* 23219 */ // Combiner Rule #131: select_constant_cmp; wip_match_opcode 'G_SELECT'
8128 /* 23219 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner68),
8129 /* 23222 */ // Label 393: @23222
8130 /* 23222 */ GIM_Try, /*On fail goto*//*Label 394*/ GIMT_Encode4(23233), // Rule ID 177 //
8131 /* 23227 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule133Enabled),
8132 /* 23230 */ // Combiner Rule #133: match_selects; wip_match_opcode 'G_SELECT'
8133 /* 23230 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner70),
8134 /* 23233 */ // Label 394: @23233
8135 /* 23233 */ GIM_Try, /*On fail goto*//*Label 395*/ GIMT_Encode4(23244), // Rule ID 351 //
8136 /* 23238 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
8137 /* 23241 */ // Combiner Rule #214: select_to_minmax; wip_match_opcode 'G_SELECT'
8138 /* 23241 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner127),
8139 /* 23244 */ // Label 395: @23244
8140 /* 23244 */ GIM_Try_CheckFeatures, /*On fail goto*//*Label 396*/ GIMT_Encode4(23270), GIMT_Encode2(GIFBS_HasFminFmaxLegacy), // Rule ID 440 //
8141 /* 23251 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule268Enabled),
8142 /* 23254 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_f32,
8143 /* 23257 */ // MIs[0] cond
8144 /* 23257 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8145 /* 23261 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCMP),
8146 /* 23265 */ // MIs[1] pred
8147 /* 23265 */ // No operand predicates
8148 /* 23265 */ // MIs[1] lhs
8149 /* 23265 */ // No operand predicates
8150 /* 23265 */ // MIs[1] rhs
8151 /* 23265 */ // No operand predicates
8152 /* 23265 */ // MIs[0] true
8153 /* 23265 */ // No operand predicates
8154 /* 23265 */ // MIs[0] false
8155 /* 23265 */ // No operand predicates
8156 /* 23265 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8157 /* 23267 */ // Combiner Rule #268: fcmp_select_to_fmin_fmax_legacy
8158 /* 23267 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner160),
8159 /* 23270 */ // Label 396: @23270
8160 /* 23270 */ GIM_Try, /*On fail goto*//*Label 397*/ GIMT_Encode4(23319), // Rule ID 178 //
8161 /* 23275 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule134Enabled),
8162 /* 23278 */ // MIs[0] dst
8163 /* 23278 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
8164 /* 23282 */ // MIs[0] c
8165 /* 23282 */ // No operand predicates
8166 /* 23282 */ // MIs[0] x
8167 /* 23282 */ // No operand predicates
8168 /* 23282 */ // MIs[0] Operand 3
8169 /* 23282 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
8170 /* 23286 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner12),
8171 /* 23290 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
8172 /* 23293 */ // Combiner Rule #134: select_zero_false
8173 /* 23293 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FREEZE),
8174 /* 23296 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8175 /* 23301 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
8176 /* 23303 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
8177 /* 23307 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
8178 /* 23311 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // c
8179 /* 23315 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
8180 /* 23318 */ GIR_EraseRootFromParent_Done,
8181 /* 23319 */ // Label 397: @23319
8182 /* 23319 */ GIM_Try, /*On fail goto*//*Label 398*/ GIMT_Encode4(23340), // Rule ID 176 //
8183 /* 23324 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule132Enabled),
8184 /* 23327 */ // MIs[0] root
8185 /* 23327 */ // No operand predicates
8186 /* 23327 */ // MIs[0] tst
8187 /* 23327 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8188 /* 23331 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
8189 /* 23335 */ // MIs[1] tst1
8190 /* 23335 */ // No operand predicates
8191 /* 23335 */ // MIs[1] a
8192 /* 23335 */ // No operand predicates
8193 /* 23335 */ // MIs[1] b
8194 /* 23335 */ // No operand predicates
8195 /* 23335 */ // MIs[0] x
8196 /* 23335 */ // No operand predicates
8197 /* 23335 */ // MIs[0] y
8198 /* 23335 */ // No operand predicates
8199 /* 23335 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8200 /* 23337 */ // Combiner Rule #132: select_to_iminmax
8201 /* 23337 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
8202 /* 23340 */ // Label 398: @23340
8203 /* 23340 */ GIM_Try, /*On fail goto*//*Label 399*/ GIMT_Encode4(23376), // Rule ID 179 //
8204 /* 23345 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule135Enabled),
8205 /* 23348 */ // MIs[0] dst
8206 /* 23348 */ // No operand predicates
8207 /* 23348 */ // MIs[0] c
8208 /* 23348 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8209 /* 23352 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
8210 /* 23356 */ // MIs[1] src
8211 /* 23356 */ // No operand predicates
8212 /* 23356 */ // MIs[1] Operand 2
8213 /* 23356 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 255,
8214 /* 23360 */ // MIs[0] x
8215 /* 23360 */ // No operand predicates
8216 /* 23360 */ // MIs[0] y
8217 /* 23360 */ // No operand predicates
8218 /* 23360 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8219 /* 23362 */ // Combiner Rule #135: select_not
8220 /* 23362 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SELECT),
8221 /* 23365 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8222 /* 23367 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
8223 /* 23371 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
8224 /* 23373 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
8225 /* 23375 */ GIR_EraseRootFromParent_Done,
8226 /* 23376 */ // Label 399: @23376
8227 /* 23376 */ GIM_Try, /*On fail goto*//*Label 400*/ GIMT_Encode4(23405), // Rule ID 174 //
8228 /* 23381 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule130Enabled),
8229 /* 23384 */ // MIs[0] dst
8230 /* 23384 */ // No operand predicates
8231 /* 23384 */ // MIs[0] undef
8232 /* 23384 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8233 /* 23388 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8234 /* 23392 */ // MIs[0] x
8235 /* 23392 */ // No operand predicates
8236 /* 23392 */ // MIs[0] y
8237 /* 23392 */ // No operand predicates
8238 /* 23392 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
8239 /* 23397 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8240 /* 23399 */ // Combiner Rule #130: select_undef_cmp
8241 /* 23399 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
8242 /* 23404 */ GIR_EraseRootFromParent_Done,
8243 /* 23405 */ // Label 400: @23405
8244 /* 23405 */ GIM_Reject,
8245 /* 23406 */ // Label 45: @23406
8246 /* 23406 */ GIM_Try, /*On fail goto*//*Label 401*/ GIMT_Encode4(23417), // Rule ID 362 //
8247 /* 23411 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8248 /* 23414 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UADDO'
8249 /* 23414 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8250 /* 23417 */ // Label 401: @23417
8251 /* 23417 */ GIM_Try, /*On fail goto*//*Label 402*/ GIMT_Encode4(23428), // Rule ID 410 //
8252 /* 23422 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule245Enabled),
8253 /* 23425 */ // Combiner Rule #245: match_addos; wip_match_opcode 'G_UADDO'
8254 /* 23425 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner152),
8255 /* 23428 */ // Label 402: @23428
8256 /* 23428 */ GIM_Reject,
8257 /* 23429 */ // Label 46: @23429
8258 /* 23429 */ GIM_Try, /*On fail goto*//*Label 403*/ GIMT_Encode4(23440), // Rule ID 210 //
8259 /* 23434 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
8260 /* 23437 */ // Combiner Rule #164: adde_to_addo; wip_match_opcode 'G_UADDE'
8261 /* 23437 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner86),
8262 /* 23440 */ // Label 403: @23440
8263 /* 23440 */ GIM_Reject,
8264 /* 23441 */ // Label 47: @23441
8265 /* 23441 */ GIM_Try, /*On fail goto*//*Label 404*/ GIMT_Encode4(23452), // Rule ID 412 //
8266 /* 23446 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule246Enabled),
8267 /* 23449 */ // Combiner Rule #246: match_subo_no_overflow; wip_match_opcode 'G_USUBO'
8268 /* 23449 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner153),
8269 /* 23452 */ // Label 404: @23452
8270 /* 23452 */ GIM_Reject,
8271 /* 23453 */ // Label 48: @23453
8272 /* 23453 */ GIM_Try, /*On fail goto*//*Label 405*/ GIMT_Encode4(23464), // Rule ID 212 //
8273 /* 23458 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
8274 /* 23461 */ // Combiner Rule #164: adde_to_addo; wip_match_opcode 'G_USUBE'
8275 /* 23461 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner86),
8276 /* 23464 */ // Label 405: @23464
8277 /* 23464 */ GIM_Reject,
8278 /* 23465 */ // Label 49: @23465
8279 /* 23465 */ GIM_Try, /*On fail goto*//*Label 406*/ GIMT_Encode4(23476), // Rule ID 363 //
8280 /* 23470 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8281 /* 23473 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SADDO'
8282 /* 23473 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8283 /* 23476 */ // Label 406: @23476
8284 /* 23476 */ GIM_Try, /*On fail goto*//*Label 407*/ GIMT_Encode4(23487), // Rule ID 409 //
8285 /* 23481 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule245Enabled),
8286 /* 23484 */ // Combiner Rule #245: match_addos; wip_match_opcode 'G_SADDO'
8287 /* 23484 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner152),
8288 /* 23487 */ // Label 407: @23487
8289 /* 23487 */ GIM_Reject,
8290 /* 23488 */ // Label 50: @23488
8291 /* 23488 */ GIM_Try, /*On fail goto*//*Label 408*/ GIMT_Encode4(23499), // Rule ID 211 //
8292 /* 23493 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
8293 /* 23496 */ // Combiner Rule #164: adde_to_addo; wip_match_opcode 'G_SADDE'
8294 /* 23496 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner86),
8295 /* 23499 */ // Label 408: @23499
8296 /* 23499 */ GIM_Reject,
8297 /* 23500 */ // Label 51: @23500
8298 /* 23500 */ GIM_Try, /*On fail goto*//*Label 409*/ GIMT_Encode4(23511), // Rule ID 411 //
8299 /* 23505 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule246Enabled),
8300 /* 23508 */ // Combiner Rule #246: match_subo_no_overflow; wip_match_opcode 'G_SSUBO'
8301 /* 23508 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner153),
8302 /* 23511 */ // Label 409: @23511
8303 /* 23511 */ GIM_Reject,
8304 /* 23512 */ // Label 52: @23512
8305 /* 23512 */ GIM_Try, /*On fail goto*//*Label 410*/ GIMT_Encode4(23523), // Rule ID 213 //
8306 /* 23517 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
8307 /* 23520 */ // Combiner Rule #164: adde_to_addo; wip_match_opcode 'G_SSUBE'
8308 /* 23520 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner86),
8309 /* 23523 */ // Label 410: @23523
8310 /* 23523 */ GIM_Reject,
8311 /* 23524 */ // Label 53: @23524
8312 /* 23524 */ GIM_Try, /*On fail goto*//*Label 411*/ GIMT_Encode4(23535), // Rule ID 206 //
8313 /* 23529 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule162Enabled),
8314 /* 23532 */ // Combiner Rule #162: mulo_by_2; wip_match_opcode 'G_UMULO'
8315 /* 23532 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner84),
8316 /* 23535 */ // Label 411: @23535
8317 /* 23535 */ GIM_Try, /*On fail goto*//*Label 412*/ GIMT_Encode4(23546), // Rule ID 208 //
8318 /* 23540 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule163Enabled),
8319 /* 23543 */ // Combiner Rule #163: mulo_by_0; wip_match_opcode 'G_UMULO'
8320 /* 23543 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner85),
8321 /* 23546 */ // Label 412: @23546
8322 /* 23546 */ GIM_Try, /*On fail goto*//*Label 413*/ GIMT_Encode4(23557), // Rule ID 364 //
8323 /* 23551 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8324 /* 23554 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMULO'
8325 /* 23554 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8326 /* 23557 */ // Label 413: @23557
8327 /* 23557 */ GIM_Reject,
8328 /* 23558 */ // Label 54: @23558
8329 /* 23558 */ GIM_Try, /*On fail goto*//*Label 414*/ GIMT_Encode4(23569), // Rule ID 207 //
8330 /* 23563 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule162Enabled),
8331 /* 23566 */ // Combiner Rule #162: mulo_by_2; wip_match_opcode 'G_SMULO'
8332 /* 23566 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner84),
8333 /* 23569 */ // Label 414: @23569
8334 /* 23569 */ GIM_Try, /*On fail goto*//*Label 415*/ GIMT_Encode4(23580), // Rule ID 209 //
8335 /* 23574 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule163Enabled),
8336 /* 23577 */ // Combiner Rule #163: mulo_by_0; wip_match_opcode 'G_SMULO'
8337 /* 23577 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner85),
8338 /* 23580 */ // Label 415: @23580
8339 /* 23580 */ GIM_Try, /*On fail goto*//*Label 416*/ GIMT_Encode4(23591), // Rule ID 365 //
8340 /* 23585 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8341 /* 23588 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMULO'
8342 /* 23588 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8343 /* 23591 */ // Label 416: @23591
8344 /* 23591 */ GIM_Reject,
8345 /* 23592 */ // Label 55: @23592
8346 /* 23592 */ GIM_Try, /*On fail goto*//*Label 417*/ GIMT_Encode4(23603), // Rule ID 300 //
8347 /* 23597 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
8348 /* 23600 */ // Combiner Rule #193: mulh_to_lshr; wip_match_opcode 'G_UMULH'
8349 /* 23600 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner108),
8350 /* 23603 */ // Label 417: @23603
8351 /* 23603 */ GIM_Try, /*On fail goto*//*Label 418*/ GIMT_Encode4(23614), // Rule ID 366 //
8352 /* 23608 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8353 /* 23611 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMULH'
8354 /* 23611 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8355 /* 23614 */ // Label 418: @23614
8356 /* 23614 */ GIM_Reject,
8357 /* 23615 */ // Label 56: @23615
8358 /* 23615 */ GIM_Try, /*On fail goto*//*Label 419*/ GIMT_Encode4(23626), // Rule ID 367 //
8359 /* 23620 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8360 /* 23623 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMULH'
8361 /* 23623 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8362 /* 23626 */ // Label 419: @23626
8363 /* 23626 */ GIM_Reject,
8364 /* 23627 */ // Label 57: @23627
8365 /* 23627 */ GIM_Try, /*On fail goto*//*Label 420*/ GIMT_Encode4(23638), // Rule ID 368 //
8366 /* 23632 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8367 /* 23635 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UADDSAT'
8368 /* 23635 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8369 /* 23638 */ // Label 420: @23638
8370 /* 23638 */ GIM_Reject,
8371 /* 23639 */ // Label 58: @23639
8372 /* 23639 */ GIM_Try, /*On fail goto*//*Label 421*/ GIMT_Encode4(23650), // Rule ID 369 //
8373 /* 23644 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8374 /* 23647 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SADDSAT'
8375 /* 23647 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8376 /* 23650 */ // Label 421: @23650
8377 /* 23650 */ GIM_Reject,
8378 /* 23651 */ // Label 59: @23651
8379 /* 23651 */ GIM_Try, /*On fail goto*//*Label 422*/ GIMT_Encode4(23662), // Rule ID 225 //
8380 /* 23656 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
8381 /* 23659 */ // Combiner Rule #169: shift_immed_chain; wip_match_opcode 'G_USHLSAT'
8382 /* 23659 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
8383 /* 23662 */ // Label 422: @23662
8384 /* 23662 */ GIM_Try, /*On fail goto*//*Label 423*/ GIMT_Encode4(23673), // Rule ID 229 //
8385 /* 23667 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
8386 /* 23670 */ // Combiner Rule #170: shift_of_shifted_logic_chain; wip_match_opcode 'G_USHLSAT'
8387 /* 23670 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
8388 /* 23673 */ // Label 423: @23673
8389 /* 23673 */ GIM_Reject,
8390 /* 23674 */ // Label 60: @23674
8391 /* 23674 */ GIM_Try, /*On fail goto*//*Label 424*/ GIMT_Encode4(23685), // Rule ID 224 //
8392 /* 23679 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
8393 /* 23682 */ // Combiner Rule #169: shift_immed_chain; wip_match_opcode 'G_SSHLSAT'
8394 /* 23682 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
8395 /* 23685 */ // Label 424: @23685
8396 /* 23685 */ GIM_Try, /*On fail goto*//*Label 425*/ GIMT_Encode4(23696), // Rule ID 230 //
8397 /* 23690 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
8398 /* 23693 */ // Combiner Rule #170: shift_of_shifted_logic_chain; wip_match_opcode 'G_SSHLSAT'
8399 /* 23693 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
8400 /* 23696 */ // Label 425: @23696
8401 /* 23696 */ GIM_Reject,
8402 /* 23697 */ // Label 61: @23697
8403 /* 23697 */ GIM_Try, /*On fail goto*//*Label 426*/ GIMT_Encode4(23708), // Rule ID 370 //
8404 /* 23702 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8405 /* 23705 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMULFIX'
8406 /* 23705 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8407 /* 23708 */ // Label 426: @23708
8408 /* 23708 */ GIM_Reject,
8409 /* 23709 */ // Label 62: @23709
8410 /* 23709 */ GIM_Try, /*On fail goto*//*Label 427*/ GIMT_Encode4(23720), // Rule ID 371 //
8411 /* 23714 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8412 /* 23717 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMULFIX'
8413 /* 23717 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8414 /* 23720 */ // Label 427: @23720
8415 /* 23720 */ GIM_Reject,
8416 /* 23721 */ // Label 63: @23721
8417 /* 23721 */ GIM_Try, /*On fail goto*//*Label 428*/ GIMT_Encode4(23732), // Rule ID 372 //
8418 /* 23726 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8419 /* 23729 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMULFIXSAT'
8420 /* 23729 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8421 /* 23732 */ // Label 428: @23732
8422 /* 23732 */ GIM_Reject,
8423 /* 23733 */ // Label 64: @23733
8424 /* 23733 */ GIM_Try, /*On fail goto*//*Label 429*/ GIMT_Encode4(23744), // Rule ID 373 //
8425 /* 23738 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8426 /* 23741 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMULFIXSAT'
8427 /* 23741 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
8428 /* 23744 */ // Label 429: @23744
8429 /* 23744 */ GIM_Reject,
8430 /* 23745 */ // Label 65: @23745
8431 /* 23745 */ GIM_Try, /*On fail goto*//*Label 430*/ GIMT_Encode4(23756), // Rule ID 301 //
8432 /* 23750 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8433 /* 23753 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FADD'
8434 /* 23753 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8435 /* 23756 */ // Label 430: @23756
8436 /* 23756 */ GIM_Try, /*On fail goto*//*Label 431*/ GIMT_Encode4(23767), // Rule ID 308 //
8437 /* 23761 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
8438 /* 23764 */ // Combiner Rule #196: combine_fadd_fmul_to_fmad_or_fma; wip_match_opcode 'G_FADD'
8439 /* 23764 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner111),
8440 /* 23767 */ // Label 431: @23767
8441 /* 23767 */ GIM_Try, /*On fail goto*//*Label 432*/ GIMT_Encode4(23778), // Rule ID 309 //
8442 /* 23772 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule197Enabled),
8443 /* 23775 */ // Combiner Rule #197: combine_fadd_fpext_fmul_to_fmad_or_fma; wip_match_opcode 'G_FADD'
8444 /* 23775 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner112),
8445 /* 23778 */ // Label 432: @23778
8446 /* 23778 */ GIM_Try, /*On fail goto*//*Label 433*/ GIMT_Encode4(23789), // Rule ID 310 //
8447 /* 23783 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule198Enabled),
8448 /* 23786 */ // Combiner Rule #198: combine_fadd_fma_fmul_to_fmad_or_fma; wip_match_opcode 'G_FADD'
8449 /* 23786 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner113),
8450 /* 23789 */ // Label 433: @23789
8451 /* 23789 */ GIM_Try, /*On fail goto*//*Label 434*/ GIMT_Encode4(23800), // Rule ID 311 //
8452 /* 23794 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule199Enabled),
8453 /* 23797 */ // Combiner Rule #199: combine_fadd_fpext_fma_fmul_to_fmad_or_fma; wip_match_opcode 'G_FADD'
8454 /* 23797 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner114),
8455 /* 23800 */ // Label 434: @23800
8456 /* 23800 */ GIM_Try, /*On fail goto*//*Label 435*/ GIMT_Encode4(23811), // Rule ID 334 //
8457 /* 23805 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
8458 /* 23808 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FADD'
8459 /* 23808 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8460 /* 23811 */ // Label 435: @23811
8461 /* 23811 */ GIM_Try, /*On fail goto*//*Label 436*/ GIMT_Encode4(23822), // Rule ID 374 //
8462 /* 23816 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
8463 /* 23819 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FADD'
8464 /* 23819 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
8465 /* 23822 */ // Label 436: @23822
8466 /* 23822 */ GIM_Try, /*On fail goto*//*Label 437*/ GIMT_Encode4(23845), // Rule ID 148 //
8467 /* 23827 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
8468 /* 23830 */ // MIs[0] dst
8469 /* 23830 */ // No operand predicates
8470 /* 23830 */ // MIs[0] x
8471 /* 23830 */ // No operand predicates
8472 /* 23830 */ // MIs[0] y
8473 /* 23830 */ // No operand predicates
8474 /* 23830 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner6),
8475 /* 23834 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8476 /* 23839 */ // Combiner Rule #108: right_identity_neg_zero_fp
8477 /* 23839 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8478 /* 23844 */ GIR_EraseRootFromParent_Done,
8479 /* 23845 */ // Label 437: @23845
8480 /* 23845 */ GIM_Try, /*On fail goto*//*Label 438*/ GIMT_Encode4(23874), // Rule ID 149 //
8481 /* 23850 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
8482 /* 23853 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmNsz),
8483 /* 23859 */ // MIs[0] dst
8484 /* 23859 */ // No operand predicates
8485 /* 23859 */ // MIs[0] x
8486 /* 23859 */ // No operand predicates
8487 /* 23859 */ // MIs[0] y
8488 /* 23859 */ // No operand predicates
8489 /* 23859 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner7),
8490 /* 23863 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8491 /* 23868 */ // Combiner Rule #109: right_identity_neg_zero_fp_nsz
8492 /* 23868 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8493 /* 23873 */ GIR_EraseRootFromParent_Done,
8494 /* 23874 */ // Label 438: @23874
8495 /* 23874 */ GIM_Try, /*On fail goto*//*Label 439*/ GIMT_Encode4(23885), // Rule ID 274 //
8496 /* 23879 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8497 /* 23882 */ // MIs[0] d
8498 /* 23882 */ // No operand predicates
8499 /* 23882 */ // MIs[0] mi.src0
8500 /* 23882 */ // No operand predicates
8501 /* 23882 */ // MIs[0] mi.src1
8502 /* 23882 */ // No operand predicates
8503 /* 23882 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[0]]
8504 /* 23882 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8505 /* 23885 */ // Label 439: @23885
8506 /* 23885 */ GIM_Reject,
8507 /* 23886 */ // Label 66: @23886
8508 /* 23886 */ GIM_Try, /*On fail goto*//*Label 440*/ GIMT_Encode4(23897), // Rule ID 302 //
8509 /* 23891 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8510 /* 23894 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FSUB'
8511 /* 23894 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8512 /* 23897 */ // Label 440: @23897
8513 /* 23897 */ GIM_Try, /*On fail goto*//*Label 441*/ GIMT_Encode4(23908), // Rule ID 312 //
8514 /* 23902 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule200Enabled),
8515 /* 23905 */ // Combiner Rule #200: combine_fsub_fmul_to_fmad_or_fma; wip_match_opcode 'G_FSUB'
8516 /* 23905 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner115),
8517 /* 23908 */ // Label 441: @23908
8518 /* 23908 */ GIM_Try, /*On fail goto*//*Label 442*/ GIMT_Encode4(23919), // Rule ID 313 //
8519 /* 23913 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule201Enabled),
8520 /* 23916 */ // Combiner Rule #201: combine_fsub_fneg_fmul_to_fmad_or_fma; wip_match_opcode 'G_FSUB'
8521 /* 23916 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner116),
8522 /* 23919 */ // Label 442: @23919
8523 /* 23919 */ GIM_Try, /*On fail goto*//*Label 443*/ GIMT_Encode4(23930), // Rule ID 314 //
8524 /* 23924 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule202Enabled),
8525 /* 23927 */ // Combiner Rule #202: combine_fsub_fpext_fmul_to_fmad_or_fma; wip_match_opcode 'G_FSUB'
8526 /* 23927 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner117),
8527 /* 23930 */ // Label 443: @23930
8528 /* 23930 */ GIM_Try, /*On fail goto*//*Label 444*/ GIMT_Encode4(23941), // Rule ID 315 //
8529 /* 23935 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule203Enabled),
8530 /* 23938 */ // Combiner Rule #203: combine_fsub_fpext_fneg_fmul_to_fmad_or_fma; wip_match_opcode 'G_FSUB'
8531 /* 23938 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner118),
8532 /* 23941 */ // Label 444: @23941
8533 /* 23941 */ GIM_Try, /*On fail goto*//*Label 445*/ GIMT_Encode4(23952), // Rule ID 335 //
8534 /* 23946 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
8535 /* 23949 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FSUB'
8536 /* 23949 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8537 /* 23952 */ // Label 445: @23952
8538 /* 23952 */ GIM_Try, /*On fail goto*//*Label 446*/ GIMT_Encode4(23963), // Rule ID 352 //
8539 /* 23957 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule215Enabled),
8540 /* 23960 */ // Combiner Rule #215: fsub_to_fneg; wip_match_opcode 'G_FSUB'
8541 /* 23960 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner128),
8542 /* 23963 */ // Label 446: @23963
8543 /* 23963 */ GIM_Try, /*On fail goto*//*Label 447*/ GIMT_Encode4(23974), // Rule ID 275 //
8544 /* 23968 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8545 /* 23971 */ // MIs[0] d
8546 /* 23971 */ // No operand predicates
8547 /* 23971 */ // MIs[0] mi.src0
8548 /* 23971 */ // No operand predicates
8549 /* 23971 */ // MIs[0] mi.src1
8550 /* 23971 */ // No operand predicates
8551 /* 23971 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[1]]
8552 /* 23971 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8553 /* 23974 */ // Label 447: @23974
8554 /* 23974 */ GIM_Reject,
8555 /* 23975 */ // Label 67: @23975
8556 /* 23975 */ GIM_Try, /*On fail goto*//*Label 448*/ GIMT_Encode4(23986), // Rule ID 303 //
8557 /* 23980 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8558 /* 23983 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FMUL'
8559 /* 23983 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8560 /* 23986 */ // Label 448: @23986
8561 /* 23986 */ GIM_Try, /*On fail goto*//*Label 449*/ GIMT_Encode4(23997), // Rule ID 333 //
8562 /* 23991 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
8563 /* 23994 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FMUL'
8564 /* 23994 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8565 /* 23997 */ // Label 449: @23997
8566 /* 23997 */ GIM_Try, /*On fail goto*//*Label 450*/ GIMT_Encode4(24008), // Rule ID 375 //
8567 /* 24002 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
8568 /* 24005 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMUL'
8569 /* 24005 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
8570 /* 24008 */ // Label 450: @24008
8571 /* 24008 */ GIM_Try, /*On fail goto*//*Label 451*/ GIMT_Encode4(24029), // Rule ID 442 //
8572 /* 24013 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule270Enabled),
8573 /* 24016 */ // MIs[0] dst
8574 /* 24016 */ // No operand predicates
8575 /* 24016 */ // MIs[0] x
8576 /* 24016 */ // No operand predicates
8577 /* 24016 */ // MIs[0] select
8578 /* 24016 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8579 /* 24020 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
8580 /* 24024 */ // MIs[1] y
8581 /* 24024 */ // No operand predicates
8582 /* 24024 */ // MIs[1] A
8583 /* 24024 */ // No operand predicates
8584 /* 24024 */ // MIs[1] B
8585 /* 24024 */ // No operand predicates
8586 /* 24024 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8587 /* 24026 */ // Combiner Rule #270: combine_fmul_with_select_to_fldexp
8588 /* 24026 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner162),
8589 /* 24029 */ // Label 451: @24029
8590 /* 24029 */ GIM_Try, /*On fail goto*//*Label 452*/ GIMT_Encode4(24052), // Rule ID 138 //
8591 /* 24034 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule100Enabled),
8592 /* 24037 */ // MIs[0] dst
8593 /* 24037 */ // No operand predicates
8594 /* 24037 */ // MIs[0] x
8595 /* 24037 */ // No operand predicates
8596 /* 24037 */ // MIs[0] y
8597 /* 24037 */ // No operand predicates
8598 /* 24037 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner4),
8599 /* 24041 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8600 /* 24046 */ // Combiner Rule #100: right_identity_one_fp
8601 /* 24046 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8602 /* 24051 */ GIR_EraseRootFromParent_Done,
8603 /* 24052 */ // Label 452: @24052
8604 /* 24052 */ GIM_Try, /*On fail goto*//*Label 453*/ GIMT_Encode4(24072), // Rule ID 150 //
8605 /* 24057 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule110Enabled),
8606 /* 24060 */ // MIs[0] dst
8607 /* 24060 */ // No operand predicates
8608 /* 24060 */ // MIs[0] x
8609 /* 24060 */ // No operand predicates
8610 /* 24060 */ // MIs[0] y
8611 /* 24060 */ // No operand predicates
8612 /* 24060 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner8),
8613 /* 24064 */ // Combiner Rule #110: right_identity_neg_one_fp
8614 /* 24064 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FNEG),
8615 /* 24067 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8616 /* 24069 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
8617 /* 24071 */ GIR_EraseRootFromParent_Done,
8618 /* 24072 */ // Label 453: @24072
8619 /* 24072 */ GIM_Try, /*On fail goto*//*Label 454*/ GIMT_Encode4(24083), // Rule ID 276 //
8620 /* 24077 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8621 /* 24080 */ // MIs[0] d
8622 /* 24080 */ // No operand predicates
8623 /* 24080 */ // MIs[0] mi.src0
8624 /* 24080 */ // No operand predicates
8625 /* 24080 */ // MIs[0] mi.src1
8626 /* 24080 */ // No operand predicates
8627 /* 24080 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[2]]
8628 /* 24080 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8629 /* 24083 */ // Label 454: @24083
8630 /* 24083 */ GIM_Reject,
8631 /* 24084 */ // Label 68: @24084
8632 /* 24084 */ GIM_Try, /*On fail goto*//*Label 455*/ GIMT_Encode4(24095), // Rule ID 287 //
8633 /* 24089 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
8634 /* 24092 */ // Combiner Rule #189: constant_fold_fma; wip_match_opcode 'G_FMA'
8635 /* 24092 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner105),
8636 /* 24095 */ // Label 455: @24095
8637 /* 24095 */ GIM_Try, /*On fail goto*//*Label 456*/ GIMT_Encode4(24106), // Rule ID 306 //
8638 /* 24100 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8639 /* 24103 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FMA'
8640 /* 24103 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8641 /* 24106 */ // Label 456: @24106
8642 /* 24106 */ GIM_Reject,
8643 /* 24107 */ // Label 69: @24107
8644 /* 24107 */ GIM_Try, /*On fail goto*//*Label 457*/ GIMT_Encode4(24118), // Rule ID 286 //
8645 /* 24112 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
8646 /* 24115 */ // Combiner Rule #189: constant_fold_fma; wip_match_opcode 'G_FMAD'
8647 /* 24115 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner105),
8648 /* 24118 */ // Label 457: @24118
8649 /* 24118 */ GIM_Try, /*On fail goto*//*Label 458*/ GIMT_Encode4(24129), // Rule ID 305 //
8650 /* 24123 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8651 /* 24126 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FMAD'
8652 /* 24126 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8653 /* 24129 */ // Label 458: @24129
8654 /* 24129 */ GIM_Reject,
8655 /* 24130 */ // Label 70: @24130
8656 /* 24130 */ GIM_Try, /*On fail goto*//*Label 459*/ GIMT_Encode4(24141), // Rule ID 304 //
8657 /* 24135 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
8658 /* 24138 */ // Combiner Rule #194: redundant_neg_operands; wip_match_opcode 'G_FDIV'
8659 /* 24138 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
8660 /* 24141 */ // Label 459: @24141
8661 /* 24141 */ GIM_Try, /*On fail goto*//*Label 460*/ GIMT_Encode4(24152), // Rule ID 336 //
8662 /* 24146 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
8663 /* 24149 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FDIV'
8664 /* 24149 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8665 /* 24152 */ // Label 460: @24152
8666 /* 24152 */ GIM_Try, /*On fail goto*//*Label 461*/ GIMT_Encode4(24191), // Rule ID 454 //
8667 /* 24157 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule277Enabled),
8668 /* 24160 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_f16,
8669 /* 24163 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_f16,
8670 /* 24166 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
8671 /* 24172 */ // MIs[0] y
8672 /* 24172 */ // No operand predicates
8673 /* 24172 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8674 /* 24176 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSQRT),
8675 /* 24180 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
8676 /* 24186 */ // MIs[1] x
8677 /* 24186 */ // No operand predicates
8678 /* 24186 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8679 /* 24188 */ // Combiner Rule #277: fdiv_by_sqrt_to_rsq_f16
8680 /* 24188 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner169),
8681 /* 24191 */ // Label 461: @24191
8682 /* 24191 */ GIM_Try, /*On fail goto*//*Label 462*/ GIMT_Encode4(24202), // Rule ID 277 //
8683 /* 24196 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8684 /* 24199 */ // MIs[0] d
8685 /* 24199 */ // No operand predicates
8686 /* 24199 */ // MIs[0] mi.src0
8687 /* 24199 */ // No operand predicates
8688 /* 24199 */ // MIs[0] mi.src1
8689 /* 24199 */ // No operand predicates
8690 /* 24199 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[3]]
8691 /* 24199 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8692 /* 24202 */ // Label 462: @24202
8693 /* 24202 */ GIM_Try, /*On fail goto*//*Label 463*/ GIMT_Encode4(24213), // Rule ID 349 //
8694 /* 24207 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule212Enabled),
8695 /* 24210 */ // MIs[0] dst
8696 /* 24210 */ // No operand predicates
8697 /* 24210 */ // MIs[0] src1
8698 /* 24210 */ // No operand predicates
8699 /* 24210 */ // MIs[0] src2
8700 /* 24210 */ // No operand predicates
8701 /* 24210 */ // Combiner Rule #212: fdiv_repeated_divison
8702 /* 24210 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner125),
8703 /* 24213 */ // Label 463: @24213
8704 /* 24213 */ GIM_Reject,
8705 /* 24214 */ // Label 71: @24214
8706 /* 24214 */ GIM_Try, /*On fail goto*//*Label 464*/ GIMT_Encode4(24225), // Rule ID 337 //
8707 /* 24219 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
8708 /* 24222 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FREM'
8709 /* 24222 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8710 /* 24225 */ // Label 464: @24225
8711 /* 24225 */ GIM_Try, /*On fail goto*//*Label 465*/ GIMT_Encode4(24236), // Rule ID 278 //
8712 /* 24230 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8713 /* 24233 */ // MIs[0] d
8714 /* 24233 */ // No operand predicates
8715 /* 24233 */ // MIs[0] mi.src0
8716 /* 24233 */ // No operand predicates
8717 /* 24233 */ // MIs[0] mi.src1
8718 /* 24233 */ // No operand predicates
8719 /* 24233 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[4]]
8720 /* 24233 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8721 /* 24236 */ // Label 465: @24236
8722 /* 24236 */ GIM_Reject,
8723 /* 24237 */ // Label 72: @24237
8724 /* 24237 */ GIM_Try, /*On fail goto*//*Label 466*/ GIMT_Encode4(24258), // Rule ID 218 //
8725 /* 24242 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule166Enabled),
8726 /* 24245 */ // MIs[0] dst
8727 /* 24245 */ // No operand predicates
8728 /* 24245 */ // MIs[0] float
8729 /* 24245 */ // No operand predicates
8730 /* 24245 */ // MIs[0] int
8731 /* 24245 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8732 /* 24249 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
8733 /* 24253 */ // MIs[1] imm
8734 /* 24253 */ // No operand predicates
8735 /* 24253 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8736 /* 24255 */ // Combiner Rule #166: expand_const_fpowi
8737 /* 24255 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner88),
8738 /* 24258 */ // Label 466: @24258
8739 /* 24258 */ GIM_Reject,
8740 /* 24259 */ // Label 73: @24259
8741 /* 24259 */ GIM_Try, /*On fail goto*//*Label 467*/ GIMT_Encode4(24280), // Rule ID 192 //
8742 /* 24264 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
8743 /* 24267 */ // MIs[0] dst
8744 /* 24267 */ // No operand predicates
8745 /* 24267 */ // MIs[0] src0
8746 /* 24267 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8747 /* 24271 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
8748 /* 24275 */ // MIs[1] cst
8749 /* 24275 */ // No operand predicates
8750 /* 24275 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8751 /* 24277 */ // Combiner Rule #148: constant_fold_flog2
8752 /* 24277 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
8753 /* 24280 */ // Label 467: @24280
8754 /* 24280 */ GIM_Reject,
8755 /* 24281 */ // Label 74: @24281
8756 /* 24281 */ GIM_Try, /*On fail goto*//*Label 468*/ GIMT_Encode4(24292), // Rule ID 450 //
8757 /* 24286 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule274Enabled),
8758 /* 24289 */ // Combiner Rule #274: foldable_fneg; wip_match_opcode 'G_FNEG'
8759 /* 24289 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner166),
8760 /* 24292 */ // Label 468: @24292
8761 /* 24292 */ GIM_Try, /*On fail goto*//*Label 469*/ GIMT_Encode4(24313), // Rule ID 189 //
8762 /* 24297 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule145Enabled),
8763 /* 24300 */ // MIs[0] dst
8764 /* 24300 */ // No operand predicates
8765 /* 24300 */ // MIs[0] src0
8766 /* 24300 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8767 /* 24304 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
8768 /* 24308 */ // MIs[1] cst
8769 /* 24308 */ // No operand predicates
8770 /* 24308 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8771 /* 24310 */ // Combiner Rule #145: constant_fold_fneg
8772 /* 24310 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
8773 /* 24313 */ // Label 469: @24313
8774 /* 24313 */ GIM_Try, /*On fail goto*//*Label 470*/ GIMT_Encode4(24342), // Rule ID 136 //
8775 /* 24318 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule98Enabled),
8776 /* 24321 */ // MIs[0] dst
8777 /* 24321 */ // No operand predicates
8778 /* 24321 */ // MIs[0] t
8779 /* 24321 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8780 /* 24325 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
8781 /* 24329 */ // MIs[1] src
8782 /* 24329 */ // No operand predicates
8783 /* 24329 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8784 /* 24334 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8785 /* 24336 */ // Combiner Rule #98: fneg_fneg_fold
8786 /* 24336 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8787 /* 24341 */ GIR_EraseRootFromParent_Done,
8788 /* 24342 */ // Label 470: @24342
8789 /* 24342 */ GIM_Reject,
8790 /* 24343 */ // Label 75: @24343
8791 /* 24343 */ GIM_Try, /*On fail goto*//*Label 471*/ GIMT_Encode4(24364), // Rule ID 194 //
8792 /* 24348 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule150Enabled),
8793 /* 24351 */ // MIs[0] dst
8794 /* 24351 */ // No operand predicates
8795 /* 24351 */ // MIs[0] src0
8796 /* 24351 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8797 /* 24355 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
8798 /* 24359 */ // MIs[1] cst
8799 /* 24359 */ // No operand predicates
8800 /* 24359 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8801 /* 24361 */ // Combiner Rule #150: constant_fold_fpext
8802 /* 24361 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
8803 /* 24364 */ // Label 471: @24364
8804 /* 24364 */ GIM_Reject,
8805 /* 24365 */ // Label 76: @24365
8806 /* 24365 */ GIM_Try_CheckFeatures, /*On fail goto*//*Label 472*/ GIMT_Encode4(24388), GIMT_Encode2(GIFBS_Has16BitInsts_NotHasMed3_16), // Rule ID 441 //
8807 /* 24372 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule269Enabled),
8808 /* 24375 */ // MIs[0] fptrunc_dst
8809 /* 24375 */ // No operand predicates
8810 /* 24375 */ // MIs[0] fmed3_dst
8811 /* 24375 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8812 /* 24379 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(AMDGPU::G_AMDGPU_FMED3),
8813 /* 24383 */ // MIs[1] src0
8814 /* 24383 */ // No operand predicates
8815 /* 24383 */ // MIs[1] src1
8816 /* 24383 */ // No operand predicates
8817 /* 24383 */ // MIs[1] src2
8818 /* 24383 */ // No operand predicates
8819 /* 24383 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8820 /* 24385 */ // Combiner Rule #269: expand_promoted_fmed3
8821 /* 24385 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner161),
8822 /* 24388 */ // Label 472: @24388
8823 /* 24388 */ GIM_Try, /*On fail goto*//*Label 473*/ GIMT_Encode4(24409), // Rule ID 193 //
8824 /* 24393 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
8825 /* 24396 */ // MIs[0] dst
8826 /* 24396 */ // No operand predicates
8827 /* 24396 */ // MIs[0] src0
8828 /* 24396 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8829 /* 24400 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
8830 /* 24404 */ // MIs[1] cst
8831 /* 24404 */ // No operand predicates
8832 /* 24404 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8833 /* 24406 */ // Combiner Rule #149: constant_fold_fptrunc
8834 /* 24406 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
8835 /* 24409 */ // Label 473: @24409
8836 /* 24409 */ GIM_Try, /*On fail goto*//*Label 474*/ GIMT_Encode4(24430), // Rule ID 147 //
8837 /* 24414 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule107Enabled),
8838 /* 24417 */ // MIs[0] dst
8839 /* 24417 */ // No operand predicates
8840 /* 24417 */ // MIs[0] src1
8841 /* 24417 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8842 /* 24421 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPEXT),
8843 /* 24425 */ // MIs[1] src0
8844 /* 24425 */ // No operand predicates
8845 /* 24425 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8846 /* 24427 */ // Combiner Rule #107: fptrunc_fpext_fold
8847 /* 24427 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner51),
8848 /* 24430 */ // Label 474: @24430
8849 /* 24430 */ GIM_Reject,
8850 /* 24431 */ // Label 77: @24431
8851 /* 24431 */ GIM_Try, /*On fail goto*//*Label 475*/ GIMT_Encode4(24452), // Rule ID 98 //
8852 /* 24436 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8853 /* 24439 */ // MIs[0] dst
8854 /* 24439 */ // No operand predicates
8855 /* 24439 */ // MIs[0] __unary_undef_to_undef_match_0.x
8856 /* 24439 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8857 /* 24443 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8858 /* 24447 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8859 /* 24449 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[5]]
8860 /* 24449 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
8861 /* 24452 */ // Label 475: @24452
8862 /* 24452 */ GIM_Reject,
8863 /* 24453 */ // Label 78: @24453
8864 /* 24453 */ GIM_Try, /*On fail goto*//*Label 476*/ GIMT_Encode4(24474), // Rule ID 99 //
8865 /* 24458 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8866 /* 24461 */ // MIs[0] dst
8867 /* 24461 */ // No operand predicates
8868 /* 24461 */ // MIs[0] __unary_undef_to_undef_match_0.x
8869 /* 24461 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8870 /* 24465 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8871 /* 24469 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8872 /* 24471 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[6]]
8873 /* 24471 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
8874 /* 24474 */ // Label 476: @24474
8875 /* 24474 */ GIM_Reject,
8876 /* 24475 */ // Label 79: @24475
8877 /* 24475 */ GIM_Try, /*On fail goto*//*Label 477*/ GIMT_Encode4(24486), // Rule ID 82 //
8878 /* 24480 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
8879 /* 24483 */ // Combiner Rule #77: undef_to_fp_zero; wip_match_opcode 'G_SITOFP'
8880 /* 24483 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner33),
8881 /* 24486 */ // Label 477: @24486
8882 /* 24486 */ GIM_Try, /*On fail goto*//*Label 478*/ GIMT_Encode4(24497), // Rule ID 444 //
8883 /* 24491 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule271Enabled),
8884 /* 24494 */ // Combiner Rule #271: uchar_to_float; wip_match_opcode 'G_SITOFP'
8885 /* 24494 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner163),
8886 /* 24497 */ // Label 478: @24497
8887 /* 24497 */ GIM_Try, /*On fail goto*//*Label 479*/ GIMT_Encode4(24512), // Rule ID 202 //
8888 /* 24502 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule158Enabled),
8889 /* 24505 */ // MIs[0] dst
8890 /* 24505 */ // No operand predicates
8891 /* 24505 */ // MIs[0] Operand 1
8892 /* 24505 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
8893 /* 24509 */ // Combiner Rule #158: itof_const_zero_fold_si
8894 /* 24509 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner81),
8895 /* 24512 */ // Label 479: @24512
8896 /* 24512 */ GIM_Reject,
8897 /* 24513 */ // Label 80: @24513
8898 /* 24513 */ GIM_Try, /*On fail goto*//*Label 480*/ GIMT_Encode4(24524), // Rule ID 81 //
8899 /* 24518 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
8900 /* 24521 */ // Combiner Rule #77: undef_to_fp_zero; wip_match_opcode 'G_UITOFP'
8901 /* 24521 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner33),
8902 /* 24524 */ // Label 480: @24524
8903 /* 24524 */ GIM_Try, /*On fail goto*//*Label 481*/ GIMT_Encode4(24535), // Rule ID 443 //
8904 /* 24529 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule271Enabled),
8905 /* 24532 */ // Combiner Rule #271: uchar_to_float; wip_match_opcode 'G_UITOFP'
8906 /* 24532 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner163),
8907 /* 24535 */ // Label 481: @24535
8908 /* 24535 */ GIM_Try, /*On fail goto*//*Label 482*/ GIMT_Encode4(24550), // Rule ID 203 //
8909 /* 24540 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule159Enabled),
8910 /* 24543 */ // MIs[0] dst
8911 /* 24543 */ // No operand predicates
8912 /* 24543 */ // MIs[0] Operand 1
8913 /* 24543 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
8914 /* 24547 */ // Combiner Rule #159: itof_const_zero_fold_ui
8915 /* 24547 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner81),
8916 /* 24550 */ // Label 482: @24550
8917 /* 24550 */ GIM_Reject,
8918 /* 24551 */ // Label 81: @24551
8919 /* 24551 */ GIM_Try, /*On fail goto*//*Label 483*/ GIMT_Encode4(24580), // Rule ID 25 //
8920 /* 24556 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
8921 /* 24559 */ // MIs[0] dst
8922 /* 24559 */ // No operand predicates
8923 /* 24559 */ // MIs[0] src
8924 /* 24559 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8925 /* 24563 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FABS),
8926 /* 24567 */ // MIs[1] __idempotent_prop_match_0.x
8927 /* 24567 */ // No operand predicates
8928 /* 24567 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8929 /* 24572 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8930 /* 24574 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[1]]
8931 /* 24574 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8932 /* 24579 */ GIR_EraseRootFromParent_Done,
8933 /* 24580 */ // Label 483: @24580
8934 /* 24580 */ GIM_Try, /*On fail goto*//*Label 484*/ GIMT_Encode4(24601), // Rule ID 190 //
8935 /* 24585 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
8936 /* 24588 */ // MIs[0] dst
8937 /* 24588 */ // No operand predicates
8938 /* 24588 */ // MIs[0] src0
8939 /* 24588 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8940 /* 24592 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
8941 /* 24596 */ // MIs[1] cst
8942 /* 24596 */ // No operand predicates
8943 /* 24596 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8944 /* 24598 */ // Combiner Rule #146: constant_fold_fabs
8945 /* 24598 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
8946 /* 24601 */ // Label 484: @24601
8947 /* 24601 */ GIM_Try, /*On fail goto*//*Label 485*/ GIMT_Encode4(24629), // Rule ID 299 //
8948 /* 24606 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
8949 /* 24609 */ // MIs[0] dst
8950 /* 24609 */ // No operand predicates
8951 /* 24609 */ // MIs[0] tmp
8952 /* 24609 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8953 /* 24613 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
8954 /* 24617 */ // MIs[1] x
8955 /* 24617 */ // No operand predicates
8956 /* 24617 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8957 /* 24619 */ // Combiner Rule #192: fabs_fneg_fold
8958 /* 24619 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FABS),
8959 /* 24622 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8960 /* 24624 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
8961 /* 24628 */ GIR_EraseRootFromParent_Done,
8962 /* 24629 */ // Label 485: @24629
8963 /* 24629 */ GIM_Try, /*On fail goto*//*Label 486*/ GIMT_Encode4(24650), // Rule ID 451 //
8964 /* 24634 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule275Enabled),
8965 /* 24637 */ // MIs[0] dst
8966 /* 24637 */ // No operand predicates
8967 /* 24637 */ // MIs[0] round
8968 /* 24637 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8969 /* 24641 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPTRUNC),
8970 /* 24645 */ // MIs[1] src
8971 /* 24645 */ // No operand predicates
8972 /* 24645 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8973 /* 24647 */ // Combiner Rule #275: fold_fabs_fptrunc
8974 /* 24647 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner167),
8975 /* 24650 */ // Label 486: @24650
8976 /* 24650 */ GIM_Reject,
8977 /* 24651 */ // Label 82: @24651
8978 /* 24651 */ GIM_Try, /*On fail goto*//*Label 487*/ GIMT_Encode4(24662), // Rule ID 279 //
8979 /* 24656 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
8980 /* 24659 */ // MIs[0] d
8981 /* 24659 */ // No operand predicates
8982 /* 24659 */ // MIs[0] mi.src0
8983 /* 24659 */ // No operand predicates
8984 /* 24659 */ // MIs[0] mi.src1
8985 /* 24659 */ // No operand predicates
8986 /* 24659 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[5]]
8987 /* 24659 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8988 /* 24662 */ // Label 487: @24662
8989 /* 24662 */ GIM_Reject,
8990 /* 24663 */ // Label 83: @24663
8991 /* 24663 */ GIM_Try, /*On fail goto*//*Label 488*/ GIMT_Encode4(24674), // Rule ID 449 //
8992 /* 24668 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule273Enabled),
8993 /* 24671 */ // Combiner Rule #273: remove_fcanonicalize; wip_match_opcode 'G_FCANONICALIZE'
8994 /* 24671 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner165),
8995 /* 24674 */ // Label 488: @24674
8996 /* 24674 */ GIM_Try, /*On fail goto*//*Label 489*/ GIMT_Encode4(24703), // Rule ID 26 //
8997 /* 24679 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
8998 /* 24682 */ // MIs[0] dst
8999 /* 24682 */ // No operand predicates
9000 /* 24682 */ // MIs[0] src
9001 /* 24682 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9002 /* 24686 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCANONICALIZE),
9003 /* 24690 */ // MIs[1] __idempotent_prop_match_0.x
9004 /* 24690 */ // No operand predicates
9005 /* 24690 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9006 /* 24695 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9007 /* 24697 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[2]]
9008 /* 24697 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9009 /* 24702 */ GIR_EraseRootFromParent_Done,
9010 /* 24703 */ // Label 489: @24703
9011 /* 24703 */ GIM_Reject,
9012 /* 24704 */ // Label 84: @24704
9013 /* 24704 */ GIM_Try, /*On fail goto*//*Label 490*/ GIMT_Encode4(24715), // Rule ID 214 //
9014 /* 24709 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
9015 /* 24712 */ // Combiner Rule #165: combine_minmax_nan; wip_match_opcode 'G_FMINNUM'
9016 /* 24712 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner87),
9017 /* 24715 */ // Label 490: @24715
9018 /* 24715 */ GIM_Try, /*On fail goto*//*Label 491*/ GIMT_Encode4(24726), // Rule ID 338 //
9019 /* 24720 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9020 /* 24723 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FMINNUM'
9021 /* 24723 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9022 /* 24726 */ // Label 491: @24726
9023 /* 24726 */ GIM_Try, /*On fail goto*//*Label 492*/ GIMT_Encode4(24737), // Rule ID 376 //
9024 /* 24731 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9025 /* 24734 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMINNUM'
9026 /* 24734 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9027 /* 24737 */ // Label 492: @24737
9028 /* 24737 */ GIM_Try, /*On fail goto*//*Label 493*/ GIMT_Encode4(24748), // Rule ID 280 //
9029 /* 24742 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9030 /* 24745 */ // MIs[0] d
9031 /* 24745 */ // No operand predicates
9032 /* 24745 */ // MIs[0] mi.src0
9033 /* 24745 */ // No operand predicates
9034 /* 24745 */ // MIs[0] mi.src1
9035 /* 24745 */ // No operand predicates
9036 /* 24745 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[6]]
9037 /* 24745 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9038 /* 24748 */ // Label 493: @24748
9039 /* 24748 */ GIM_Reject,
9040 /* 24749 */ // Label 85: @24749
9041 /* 24749 */ GIM_Try, /*On fail goto*//*Label 494*/ GIMT_Encode4(24760), // Rule ID 215 //
9042 /* 24754 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
9043 /* 24757 */ // Combiner Rule #165: combine_minmax_nan; wip_match_opcode 'G_FMAXNUM'
9044 /* 24757 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner87),
9045 /* 24760 */ // Label 494: @24760
9046 /* 24760 */ GIM_Try, /*On fail goto*//*Label 495*/ GIMT_Encode4(24771), // Rule ID 339 //
9047 /* 24765 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9048 /* 24768 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FMAXNUM'
9049 /* 24768 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9050 /* 24771 */ // Label 495: @24771
9051 /* 24771 */ GIM_Try, /*On fail goto*//*Label 496*/ GIMT_Encode4(24782), // Rule ID 377 //
9052 /* 24776 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9053 /* 24779 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMAXNUM'
9054 /* 24779 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9055 /* 24782 */ // Label 496: @24782
9056 /* 24782 */ GIM_Try, /*On fail goto*//*Label 497*/ GIMT_Encode4(24793), // Rule ID 281 //
9057 /* 24787 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9058 /* 24790 */ // MIs[0] d
9059 /* 24790 */ // No operand predicates
9060 /* 24790 */ // MIs[0] mi.src0
9061 /* 24790 */ // No operand predicates
9062 /* 24790 */ // MIs[0] mi.src1
9063 /* 24790 */ // No operand predicates
9064 /* 24790 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[7]]
9065 /* 24790 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9066 /* 24793 */ // Label 497: @24793
9067 /* 24793 */ GIM_Reject,
9068 /* 24794 */ // Label 86: @24794
9069 /* 24794 */ GIM_Try, /*On fail goto*//*Label 498*/ GIMT_Encode4(24805), // Rule ID 378 //
9070 /* 24799 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9071 /* 24802 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMINNUM_IEEE'
9072 /* 24802 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9073 /* 24805 */ // Label 498: @24805
9074 /* 24805 */ GIM_Reject,
9075 /* 24806 */ // Label 87: @24806
9076 /* 24806 */ GIM_Try, /*On fail goto*//*Label 499*/ GIMT_Encode4(24817), // Rule ID 379 //
9077 /* 24811 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9078 /* 24814 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMAXNUM_IEEE'
9079 /* 24814 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9080 /* 24817 */ // Label 499: @24817
9081 /* 24817 */ GIM_Reject,
9082 /* 24818 */ // Label 88: @24818
9083 /* 24818 */ GIM_Try, /*On fail goto*//*Label 500*/ GIMT_Encode4(24829), // Rule ID 216 //
9084 /* 24823 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
9085 /* 24826 */ // Combiner Rule #165: combine_minmax_nan; wip_match_opcode 'G_FMINIMUM'
9086 /* 24826 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner87),
9087 /* 24829 */ // Label 500: @24829
9088 /* 24829 */ GIM_Try, /*On fail goto*//*Label 501*/ GIMT_Encode4(24840), // Rule ID 340 //
9089 /* 24834 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9090 /* 24837 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FMINIMUM'
9091 /* 24837 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9092 /* 24840 */ // Label 501: @24840
9093 /* 24840 */ GIM_Try, /*On fail goto*//*Label 502*/ GIMT_Encode4(24851), // Rule ID 380 //
9094 /* 24845 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9095 /* 24848 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMINIMUM'
9096 /* 24848 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9097 /* 24851 */ // Label 502: @24851
9098 /* 24851 */ GIM_Try, /*On fail goto*//*Label 503*/ GIMT_Encode4(24862), // Rule ID 282 //
9099 /* 24856 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9100 /* 24859 */ // MIs[0] d
9101 /* 24859 */ // No operand predicates
9102 /* 24859 */ // MIs[0] mi.src0
9103 /* 24859 */ // No operand predicates
9104 /* 24859 */ // MIs[0] mi.src1
9105 /* 24859 */ // No operand predicates
9106 /* 24859 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[8]]
9107 /* 24859 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9108 /* 24862 */ // Label 503: @24862
9109 /* 24862 */ GIM_Reject,
9110 /* 24863 */ // Label 89: @24863
9111 /* 24863 */ GIM_Try, /*On fail goto*//*Label 504*/ GIMT_Encode4(24874), // Rule ID 217 //
9112 /* 24868 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
9113 /* 24871 */ // Combiner Rule #165: combine_minmax_nan; wip_match_opcode 'G_FMAXIMUM'
9114 /* 24871 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner87),
9115 /* 24874 */ // Label 504: @24874
9116 /* 24874 */ GIM_Try, /*On fail goto*//*Label 505*/ GIMT_Encode4(24885), // Rule ID 341 //
9117 /* 24879 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9118 /* 24882 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_FMAXIMUM'
9119 /* 24882 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9120 /* 24885 */ // Label 505: @24885
9121 /* 24885 */ GIM_Try, /*On fail goto*//*Label 506*/ GIMT_Encode4(24896), // Rule ID 381 //
9122 /* 24890 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
9123 /* 24893 */ // Combiner Rule #217: commute_fp_constant_to_rhs; wip_match_opcode 'G_FMAXIMUM'
9124 /* 24893 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
9125 /* 24896 */ // Label 506: @24896
9126 /* 24896 */ GIM_Try, /*On fail goto*//*Label 507*/ GIMT_Encode4(24907), // Rule ID 283 //
9127 /* 24901 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9128 /* 24904 */ // MIs[0] d
9129 /* 24904 */ // No operand predicates
9130 /* 24904 */ // MIs[0] mi.src0
9131 /* 24904 */ // No operand predicates
9132 /* 24904 */ // MIs[0] mi.src1
9133 /* 24904 */ // No operand predicates
9134 /* 24904 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[9]]
9135 /* 24904 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9136 /* 24907 */ // Label 507: @24907
9137 /* 24907 */ GIM_Reject,
9138 /* 24908 */ // Label 90: @24908
9139 /* 24908 */ GIM_Try, /*On fail goto*//*Label 508*/ GIMT_Encode4(24919), // Rule ID 284 //
9140 /* 24913 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9141 /* 24916 */ // MIs[0] d
9142 /* 24916 */ // No operand predicates
9143 /* 24916 */ // MIs[0] mi.src0
9144 /* 24916 */ // No operand predicates
9145 /* 24916 */ // MIs[0] mi.src1
9146 /* 24916 */ // No operand predicates
9147 /* 24916 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[10]]
9148 /* 24916 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9149 /* 24919 */ // Label 508: @24919
9150 /* 24919 */ GIM_Reject,
9151 /* 24920 */ // Label 91: @24920
9152 /* 24920 */ GIM_Try, /*On fail goto*//*Label 509*/ GIMT_Encode4(24931), // Rule ID 285 //
9153 /* 24925 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
9154 /* 24928 */ // MIs[0] d
9155 /* 24928 */ // No operand predicates
9156 /* 24928 */ // MIs[0] mi.src0
9157 /* 24928 */ // No operand predicates
9158 /* 24928 */ // MIs[0] mi.src1
9159 /* 24928 */ // No operand predicates
9160 /* 24928 */ // Combiner Rule #188: constant_fold_fp_binop @ [mi[11]]
9161 /* 24928 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
9162 /* 24931 */ // Label 509: @24931
9163 /* 24931 */ GIM_Reject,
9164 /* 24932 */ // Label 92: @24932
9165 /* 24932 */ GIM_Try, /*On fail goto*//*Label 510*/ GIMT_Encode4(24943), // Rule ID 159 //
9166 /* 24937 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule115Enabled),
9167 /* 24940 */ // Combiner Rule #115: reassoc_ptradd; wip_match_opcode 'G_PTR_ADD'
9168 /* 24940 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner56),
9169 /* 24943 */ // Label 510: @24943
9170 /* 24943 */ GIM_Try, /*On fail goto*//*Label 511*/ GIMT_Encode4(24954), // Rule ID 161 //
9171 /* 24948 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule117Enabled),
9172 /* 24951 */ // Combiner Rule #117: ptr_add_immed_chain; wip_match_opcode 'G_PTR_ADD'
9173 /* 24951 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner58),
9174 /* 24954 */ // Label 511: @24954
9175 /* 24954 */ GIM_Try, /*On fail goto*//*Label 512*/ GIMT_Encode4(24965), // Rule ID 204 //
9176 /* 24959 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule160Enabled),
9177 /* 24962 */ // Combiner Rule #160: const_ptradd_to_i2p; wip_match_opcode 'G_PTR_ADD'
9178 /* 24962 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner82),
9179 /* 24965 */ // Label 512: @24965
9180 /* 24965 */ GIM_Try, /*On fail goto*//*Label 513*/ GIMT_Encode4(24976), // Rule ID 220 //
9181 /* 24970 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
9182 /* 24973 */ // Combiner Rule #168: ptr_add_with_zero; wip_match_opcode 'G_PTR_ADD'
9183 /* 24973 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner90),
9184 /* 24976 */ // Label 513: @24976
9185 /* 24976 */ GIM_Try, /*On fail goto*//*Label 514*/ GIMT_Encode4(24987), // Rule ID 257 //
9186 /* 24981 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
9187 /* 24984 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_PTR_ADD'
9188 /* 24984 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
9189 /* 24987 */ // Label 514: @24987
9190 /* 24987 */ GIM_Try, /*On fail goto*//*Label 515*/ GIMT_Encode4(24998), // Rule ID 318 //
9191 /* 24992 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9192 /* 24995 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_PTR_ADD'
9193 /* 24995 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9194 /* 24998 */ // Label 515: @24998
9195 /* 24998 */ GIM_Try, /*On fail goto*//*Label 516*/ GIMT_Encode4(25021), // Rule ID 117 //
9196 /* 25003 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
9197 /* 25006 */ // MIs[0] dst
9198 /* 25006 */ // No operand predicates
9199 /* 25006 */ // MIs[0] lhs
9200 /* 25006 */ // No operand predicates
9201 /* 25006 */ // MIs[0] Operand 2
9202 /* 25006 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
9203 /* 25010 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9204 /* 25015 */ // Combiner Rule #90: right_identity_zero @ [__right_identity_zero_match_0[7]]
9205 /* 25015 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9206 /* 25020 */ GIR_EraseRootFromParent_Done,
9207 /* 25021 */ // Label 516: @25021
9208 /* 25021 */ GIM_Reject,
9209 /* 25022 */ // Label 93: @25022
9210 /* 25022 */ GIM_Try, /*On fail goto*//*Label 517*/ GIMT_Encode4(25033), // Rule ID 270 //
9211 /* 25027 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
9212 /* 25030 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SMIN'
9213 /* 25030 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
9214 /* 25033 */ // Label 517: @25033
9215 /* 25033 */ GIM_Try, /*On fail goto*//*Label 518*/ GIMT_Encode4(25044), // Rule ID 329 //
9216 /* 25038 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9217 /* 25041 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SMIN'
9218 /* 25041 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9219 /* 25044 */ // Label 518: @25044
9220 /* 25044 */ GIM_Try, /*On fail goto*//*Label 519*/ GIMT_Encode4(25055), // Rule ID 358 //
9221 /* 25049 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9222 /* 25052 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMIN'
9223 /* 25052 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
9224 /* 25055 */ // Label 519: @25055
9225 /* 25055 */ GIM_Reject,
9226 /* 25056 */ // Label 94: @25056
9227 /* 25056 */ GIM_Try, /*On fail goto*//*Label 520*/ GIMT_Encode4(25067), // Rule ID 271 //
9228 /* 25061 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
9229 /* 25064 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_SMAX'
9230 /* 25064 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
9231 /* 25067 */ // Label 520: @25067
9232 /* 25067 */ GIM_Try, /*On fail goto*//*Label 521*/ GIMT_Encode4(25078), // Rule ID 330 //
9233 /* 25072 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9234 /* 25075 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_SMAX'
9235 /* 25075 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9236 /* 25078 */ // Label 521: @25078
9237 /* 25078 */ GIM_Try, /*On fail goto*//*Label 522*/ GIMT_Encode4(25089), // Rule ID 359 //
9238 /* 25083 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9239 /* 25086 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_SMAX'
9240 /* 25086 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
9241 /* 25089 */ // Label 522: @25089
9242 /* 25089 */ GIM_Reject,
9243 /* 25090 */ // Label 95: @25090
9244 /* 25090 */ GIM_Try, /*On fail goto*//*Label 523*/ GIMT_Encode4(25101), // Rule ID 272 //
9245 /* 25095 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
9246 /* 25098 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_UMIN'
9247 /* 25098 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
9248 /* 25101 */ // Label 523: @25101
9249 /* 25101 */ GIM_Try, /*On fail goto*//*Label 524*/ GIMT_Encode4(25112), // Rule ID 331 //
9250 /* 25106 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9251 /* 25109 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_UMIN'
9252 /* 25109 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9253 /* 25112 */ // Label 524: @25112
9254 /* 25112 */ GIM_Try, /*On fail goto*//*Label 525*/ GIMT_Encode4(25123), // Rule ID 360 //
9255 /* 25117 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9256 /* 25120 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMIN'
9257 /* 25120 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
9258 /* 25123 */ // Label 525: @25123
9259 /* 25123 */ GIM_Reject,
9260 /* 25124 */ // Label 96: @25124
9261 /* 25124 */ GIM_Try, /*On fail goto*//*Label 526*/ GIMT_Encode4(25135), // Rule ID 273 //
9262 /* 25129 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
9263 /* 25132 */ // Combiner Rule #187: constant_fold_binop; wip_match_opcode 'G_UMAX'
9264 /* 25132 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
9265 /* 25135 */ // Label 526: @25135
9266 /* 25135 */ GIM_Try, /*On fail goto*//*Label 527*/ GIMT_Encode4(25146), // Rule ID 332 //
9267 /* 25140 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
9268 /* 25143 */ // Combiner Rule #204: fold_binop_into_select; wip_match_opcode 'G_UMAX'
9269 /* 25143 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
9270 /* 25146 */ // Label 527: @25146
9271 /* 25146 */ GIM_Try, /*On fail goto*//*Label 528*/ GIMT_Encode4(25157), // Rule ID 361 //
9272 /* 25151 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9273 /* 25154 */ // Combiner Rule #216: commute_int_constant_to_rhs; wip_match_opcode 'G_UMAX'
9274 /* 25154 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
9275 /* 25157 */ // Label 528: @25157
9276 /* 25157 */ GIM_Reject,
9277 /* 25158 */ // Label 97: @25158
9278 /* 25158 */ GIM_Try, /*On fail goto*//*Label 529*/ GIMT_Encode4(25169), // Rule ID 92 //
9279 /* 25163 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
9280 /* 25166 */ // Combiner Rule #82: unary_undef_to_zero; wip_match_opcode 'G_ABS'
9281 /* 25166 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner36),
9282 /* 25169 */ // Label 529: @25169
9283 /* 25169 */ GIM_Try, /*On fail goto*//*Label 530*/ GIMT_Encode4(25180), // Rule ID 296 //
9284 /* 25174 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9285 /* 25177 */ // MIs[0] dst
9286 /* 25177 */ // No operand predicates
9287 /* 25177 */ // MIs[0] mi.src
9288 /* 25177 */ // No operand predicates
9289 /* 25177 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[5]]
9290 /* 25177 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9291 /* 25180 */ // Label 530: @25180
9292 /* 25180 */ GIM_Reject,
9293 /* 25181 */ // Label 98: @25181
9294 /* 25181 */ GIM_Try, /*On fail goto*//*Label 531*/ GIMT_Encode4(25192), // Rule ID 188 //
9295 /* 25186 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule144Enabled),
9296 /* 25189 */ // Combiner Rule #144: opt_brcond_by_inverting_cond; wip_match_opcode 'G_BR'
9297 /* 25189 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
9298 /* 25192 */ // Label 531: @25192
9299 /* 25192 */ GIM_Reject,
9300 /* 25193 */ // Label 99: @25193
9301 /* 25193 */ GIM_Try, /*On fail goto*//*Label 532*/ GIMT_Encode4(25204), // Rule ID 32 //
9302 /* 25198 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule30Enabled),
9303 /* 25201 */ // Combiner Rule #30: insert_vector_elt_oob; wip_match_opcode 'G_INSERT_VECTOR_ELT'
9304 /* 25201 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
9305 /* 25204 */ // Label 532: @25204
9306 /* 25204 */ GIM_Try, /*On fail goto*//*Label 533*/ GIMT_Encode4(25215), // Rule ID 73 //
9307 /* 25209 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule71Enabled),
9308 /* 25212 */ // Combiner Rule #71: combine_insert_vec_elts_build_vector; wip_match_opcode 'G_INSERT_VECTOR_ELT'
9309 /* 25212 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner27),
9310 /* 25215 */ // Label 533: @25215
9311 /* 25215 */ GIM_Try, /*On fail goto*//*Label 534*/ GIMT_Encode4(25226), // Rule ID 107 //
9312 /* 25220 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
9313 /* 25223 */ // Combiner Rule #88: insert_extract_vec_elt_out_of_bounds; wip_match_opcode 'G_INSERT_VECTOR_ELT'
9314 /* 25223 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner43),
9315 /* 25226 */ // Label 534: @25226
9316 /* 25226 */ GIM_Try, /*On fail goto*//*Label 535*/ GIMT_Encode4(25265), // Rule ID 44 //
9317 /* 25231 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule42Enabled),
9318 /* 25234 */ // MIs[0] root
9319 /* 25234 */ // No operand predicates
9320 /* 25234 */ // MIs[0] src
9321 /* 25234 */ // No operand predicates
9322 /* 25234 */ // MIs[0] elt
9323 /* 25234 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9324 /* 25238 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_EXTRACT_VECTOR_ELT),
9325 /* 25242 */ // MIs[1] src
9326 /* 25242 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
9327 /* 25247 */ // MIs[1] idx
9328 /* 25247 */ // No operand predicates
9329 /* 25247 */ // MIs[0] idx
9330 /* 25247 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
9331 /* 25252 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9332 /* 25257 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9333 /* 25259 */ // Combiner Rule #42: insert_vector_element_extract_vector_element
9334 /* 25259 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9335 /* 25264 */ GIR_EraseRootFromParent_Done,
9336 /* 25265 */ // Label 535: @25265
9337 /* 25265 */ GIM_Try, /*On fail goto*//*Label 536*/ GIMT_Encode4(25298), // Rule ID 30 //
9338 /* 25270 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule28Enabled),
9339 /* 25273 */ // MIs[0] root
9340 /* 25273 */ // No operand predicates
9341 /* 25273 */ // MIs[0] src
9342 /* 25273 */ // No operand predicates
9343 /* 25273 */ // MIs[0] elt
9344 /* 25273 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9345 /* 25277 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9346 /* 25281 */ // MIs[0] idx
9347 /* 25281 */ // No operand predicates
9348 /* 25281 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner2),
9349 /* 25285 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9350 /* 25290 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9351 /* 25292 */ // Combiner Rule #28: insert_vector_element_elt_undef
9352 /* 25292 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9353 /* 25297 */ GIR_EraseRootFromParent_Done,
9354 /* 25298 */ // Label 536: @25298
9355 /* 25298 */ GIM_Try, /*On fail goto*//*Label 537*/ GIMT_Encode4(25322), // Rule ID 29 //
9356 /* 25303 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule27Enabled),
9357 /* 25306 */ // MIs[0] root
9358 /* 25306 */ // No operand predicates
9359 /* 25306 */ // MIs[0] src
9360 /* 25306 */ // No operand predicates
9361 /* 25306 */ // MIs[0] elt
9362 /* 25306 */ // No operand predicates
9363 /* 25306 */ // MIs[0] idx
9364 /* 25306 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/3, // MIs[1]
9365 /* 25310 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9366 /* 25314 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9367 /* 25316 */ // Combiner Rule #27: insert_vector_element_idx_undef
9368 /* 25316 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9369 /* 25319 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
9370 /* 25321 */ GIR_EraseRootFromParent_Done,
9371 /* 25322 */ // Label 537: @25322
9372 /* 25322 */ GIM_Reject,
9373 /* 25323 */ // Label 100: @25323
9374 /* 25323 */ GIM_Try, /*On fail goto*//*Label 538*/ GIMT_Encode4(25334), // Rule ID 31 //
9375 /* 25328 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule29Enabled),
9376 /* 25331 */ // Combiner Rule #29: match_extract_of_element; wip_match_opcode 'G_EXTRACT_VECTOR_ELT'
9377 /* 25331 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner9),
9378 /* 25334 */ // Label 538: @25334
9379 /* 25334 */ GIM_Try, /*On fail goto*//*Label 539*/ GIMT_Encode4(25345), // Rule ID 74 //
9380 /* 25339 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
9381 /* 25342 */ // Combiner Rule #72: extract_vec_elt_build_vec; wip_match_opcode 'G_EXTRACT_VECTOR_ELT'
9382 /* 25342 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner28),
9383 /* 25345 */ // Label 539: @25345
9384 /* 25345 */ GIM_Try, /*On fail goto*//*Label 540*/ GIMT_Encode4(25356), // Rule ID 80 //
9385 /* 25350 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule76Enabled),
9386 /* 25353 */ // Combiner Rule #76: combine_extracted_vector_load; wip_match_opcode 'G_EXTRACT_VECTOR_ELT'
9387 /* 25353 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner32),
9388 /* 25356 */ // Label 540: @25356
9389 /* 25356 */ GIM_Try, /*On fail goto*//*Label 541*/ GIMT_Encode4(25367), // Rule ID 108 //
9390 /* 25361 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
9391 /* 25364 */ // Combiner Rule #88: insert_extract_vec_elt_out_of_bounds; wip_match_opcode 'G_EXTRACT_VECTOR_ELT'
9392 /* 25364 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner43),
9393 /* 25367 */ // Label 541: @25367
9394 /* 25367 */ GIM_Try, /*On fail goto*//*Label 542*/ GIMT_Encode4(25391), // Rule ID 42 //
9395 /* 25372 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule40Enabled),
9396 /* 25375 */ // MIs[0] root
9397 /* 25375 */ // No operand predicates
9398 /* 25375 */ // MIs[0] src
9399 /* 25375 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9400 /* 25379 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9401 /* 25383 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/9,
9402 /* 25386 */ // MIs[1] x
9403 /* 25386 */ // No operand predicates
9404 /* 25386 */ // MIs[1] y
9405 /* 25386 */ // No operand predicates
9406 /* 25386 */ // MIs[1] z
9407 /* 25386 */ // No operand predicates
9408 /* 25386 */ // MIs[1] a
9409 /* 25386 */ // No operand predicates
9410 /* 25386 */ // MIs[1] b
9411 /* 25386 */ // No operand predicates
9412 /* 25386 */ // MIs[1] c
9413 /* 25386 */ // No operand predicates
9414 /* 25386 */ // MIs[1] d
9415 /* 25386 */ // No operand predicates
9416 /* 25386 */ // MIs[1] e
9417 /* 25386 */ // No operand predicates
9418 /* 25386 */ // MIs[0] idx
9419 /* 25386 */ // No operand predicates
9420 /* 25386 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9421 /* 25388 */ // Combiner Rule #40: extract_vector_element_build_vector_trunc8
9422 /* 25388 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9423 /* 25391 */ // Label 542: @25391
9424 /* 25391 */ GIM_Try, /*On fail goto*//*Label 543*/ GIMT_Encode4(25415), // Rule ID 41 //
9425 /* 25396 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule39Enabled),
9426 /* 25399 */ // MIs[0] root
9427 /* 25399 */ // No operand predicates
9428 /* 25399 */ // MIs[0] src
9429 /* 25399 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9430 /* 25403 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9431 /* 25407 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/8,
9432 /* 25410 */ // MIs[1] x
9433 /* 25410 */ // No operand predicates
9434 /* 25410 */ // MIs[1] y
9435 /* 25410 */ // No operand predicates
9436 /* 25410 */ // MIs[1] z
9437 /* 25410 */ // No operand predicates
9438 /* 25410 */ // MIs[1] a
9439 /* 25410 */ // No operand predicates
9440 /* 25410 */ // MIs[1] b
9441 /* 25410 */ // No operand predicates
9442 /* 25410 */ // MIs[1] c
9443 /* 25410 */ // No operand predicates
9444 /* 25410 */ // MIs[1] d
9445 /* 25410 */ // No operand predicates
9446 /* 25410 */ // MIs[0] idx
9447 /* 25410 */ // No operand predicates
9448 /* 25410 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9449 /* 25412 */ // Combiner Rule #39: extract_vector_element_build_vector_trunc7
9450 /* 25412 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9451 /* 25415 */ // Label 543: @25415
9452 /* 25415 */ GIM_Try, /*On fail goto*//*Label 544*/ GIMT_Encode4(25439), // Rule ID 40 //
9453 /* 25420 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule38Enabled),
9454 /* 25423 */ // MIs[0] root
9455 /* 25423 */ // No operand predicates
9456 /* 25423 */ // MIs[0] src
9457 /* 25423 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9458 /* 25427 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9459 /* 25431 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/7,
9460 /* 25434 */ // MIs[1] x
9461 /* 25434 */ // No operand predicates
9462 /* 25434 */ // MIs[1] y
9463 /* 25434 */ // No operand predicates
9464 /* 25434 */ // MIs[1] z
9465 /* 25434 */ // No operand predicates
9466 /* 25434 */ // MIs[1] a
9467 /* 25434 */ // No operand predicates
9468 /* 25434 */ // MIs[1] b
9469 /* 25434 */ // No operand predicates
9470 /* 25434 */ // MIs[1] c
9471 /* 25434 */ // No operand predicates
9472 /* 25434 */ // MIs[0] idx
9473 /* 25434 */ // No operand predicates
9474 /* 25434 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9475 /* 25436 */ // Combiner Rule #38: extract_vector_element_build_vector_trunc6
9476 /* 25436 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9477 /* 25439 */ // Label 544: @25439
9478 /* 25439 */ GIM_Try, /*On fail goto*//*Label 545*/ GIMT_Encode4(25463), // Rule ID 39 //
9479 /* 25444 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule37Enabled),
9480 /* 25447 */ // MIs[0] root
9481 /* 25447 */ // No operand predicates
9482 /* 25447 */ // MIs[0] src
9483 /* 25447 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9484 /* 25451 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9485 /* 25455 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/6,
9486 /* 25458 */ // MIs[1] x
9487 /* 25458 */ // No operand predicates
9488 /* 25458 */ // MIs[1] y
9489 /* 25458 */ // No operand predicates
9490 /* 25458 */ // MIs[1] z
9491 /* 25458 */ // No operand predicates
9492 /* 25458 */ // MIs[1] a
9493 /* 25458 */ // No operand predicates
9494 /* 25458 */ // MIs[1] b
9495 /* 25458 */ // No operand predicates
9496 /* 25458 */ // MIs[0] idx
9497 /* 25458 */ // No operand predicates
9498 /* 25458 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9499 /* 25460 */ // Combiner Rule #37: extract_vector_element_build_vector_trunc5
9500 /* 25460 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9501 /* 25463 */ // Label 545: @25463
9502 /* 25463 */ GIM_Try, /*On fail goto*//*Label 546*/ GIMT_Encode4(25487), // Rule ID 38 //
9503 /* 25468 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule36Enabled),
9504 /* 25471 */ // MIs[0] root
9505 /* 25471 */ // No operand predicates
9506 /* 25471 */ // MIs[0] src
9507 /* 25471 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9508 /* 25475 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9509 /* 25479 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/5,
9510 /* 25482 */ // MIs[1] x
9511 /* 25482 */ // No operand predicates
9512 /* 25482 */ // MIs[1] y
9513 /* 25482 */ // No operand predicates
9514 /* 25482 */ // MIs[1] z
9515 /* 25482 */ // No operand predicates
9516 /* 25482 */ // MIs[1] a
9517 /* 25482 */ // No operand predicates
9518 /* 25482 */ // MIs[0] idx
9519 /* 25482 */ // No operand predicates
9520 /* 25482 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9521 /* 25484 */ // Combiner Rule #36: extract_vector_element_build_vector_trunc4
9522 /* 25484 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9523 /* 25487 */ // Label 546: @25487
9524 /* 25487 */ GIM_Try, /*On fail goto*//*Label 547*/ GIMT_Encode4(25511), // Rule ID 37 //
9525 /* 25492 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule35Enabled),
9526 /* 25495 */ // MIs[0] root
9527 /* 25495 */ // No operand predicates
9528 /* 25495 */ // MIs[0] src
9529 /* 25495 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9530 /* 25499 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9531 /* 25503 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/4,
9532 /* 25506 */ // MIs[1] x
9533 /* 25506 */ // No operand predicates
9534 /* 25506 */ // MIs[1] y
9535 /* 25506 */ // No operand predicates
9536 /* 25506 */ // MIs[1] z
9537 /* 25506 */ // No operand predicates
9538 /* 25506 */ // MIs[0] idx
9539 /* 25506 */ // No operand predicates
9540 /* 25506 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9541 /* 25508 */ // Combiner Rule #35: extract_vector_element_build_vector_trunc3
9542 /* 25508 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9543 /* 25511 */ // Label 547: @25511
9544 /* 25511 */ GIM_Try, /*On fail goto*//*Label 548*/ GIMT_Encode4(25545), // Rule ID 33 //
9545 /* 25516 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule31Enabled),
9546 /* 25519 */ // MIs[0] root
9547 /* 25519 */ // No operand predicates
9548 /* 25519 */ // MIs[0] src
9549 /* 25519 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9550 /* 25523 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
9551 /* 25527 */ // MIs[1] x
9552 /* 25527 */ // No operand predicates
9553 /* 25527 */ // MIs[1] value
9554 /* 25527 */ // No operand predicates
9555 /* 25527 */ // MIs[1] idx
9556 /* 25527 */ // No operand predicates
9557 /* 25527 */ // MIs[0] idx
9558 /* 25527 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
9559 /* 25532 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
9560 /* 25537 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9561 /* 25539 */ // Combiner Rule #31: extract_vector_element_not_const
9562 /* 25539 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
9563 /* 25544 */ GIR_EraseRootFromParent_Done,
9564 /* 25545 */ // Label 548: @25545
9565 /* 25545 */ GIM_Try, /*On fail goto*//*Label 549*/ GIMT_Encode4(25566), // Rule ID 34 //
9566 /* 25550 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule32Enabled),
9567 /* 25553 */ // MIs[0] root
9568 /* 25553 */ // No operand predicates
9569 /* 25553 */ // MIs[0] src
9570 /* 25553 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9571 /* 25557 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
9572 /* 25561 */ // MIs[1] x
9573 /* 25561 */ // No operand predicates
9574 /* 25561 */ // MIs[1] value
9575 /* 25561 */ // No operand predicates
9576 /* 25561 */ // MIs[1] idx2
9577 /* 25561 */ // No operand predicates
9578 /* 25561 */ // MIs[0] idx1
9579 /* 25561 */ // No operand predicates
9580 /* 25561 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9581 /* 25563 */ // Combiner Rule #32: extract_vector_element_different_indices
9582 /* 25563 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner11),
9583 /* 25566 */ // Label 549: @25566
9584 /* 25566 */ GIM_Try, /*On fail goto*//*Label 550*/ GIMT_Encode4(25595), // Rule ID 43 //
9585 /* 25571 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule41Enabled),
9586 /* 25574 */ // MIs[0] root
9587 /* 25574 */ // No operand predicates
9588 /* 25574 */ // MIs[0] src
9589 /* 25574 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9590 /* 25578 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHUFFLE_VECTOR),
9591 /* 25582 */ // MIs[1] src1
9592 /* 25582 */ // No operand predicates
9593 /* 25582 */ // MIs[1] src2
9594 /* 25582 */ // No operand predicates
9595 /* 25582 */ // MIs[1] mask
9596 /* 25582 */ // No operand predicates
9597 /* 25582 */ // MIs[0] idx
9598 /* 25582 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
9599 /* 25586 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9600 /* 25590 */ // MIs[2] imm
9601 /* 25590 */ // No operand predicates
9602 /* 25590 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9603 /* 25592 */ // Combiner Rule #41: extract_vector_element_shuffle_vector
9604 /* 25592 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner14),
9605 /* 25595 */ // Label 550: @25595
9606 /* 25595 */ GIM_Try, /*On fail goto*//*Label 551*/ GIMT_Encode4(25619), // Rule ID 36 //
9607 /* 25600 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule34Enabled),
9608 /* 25603 */ // MIs[0] root
9609 /* 25603 */ // No operand predicates
9610 /* 25603 */ // MIs[0] src
9611 /* 25603 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9612 /* 25607 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
9613 /* 25611 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/3,
9614 /* 25614 */ // MIs[1] x
9615 /* 25614 */ // No operand predicates
9616 /* 25614 */ // MIs[1] y
9617 /* 25614 */ // No operand predicates
9618 /* 25614 */ // MIs[0] idx
9619 /* 25614 */ // No operand predicates
9620 /* 25614 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9621 /* 25616 */ // Combiner Rule #34: extract_vector_element_build_vector_trunc2
9622 /* 25616 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
9623 /* 25619 */ // Label 551: @25619
9624 /* 25619 */ GIM_Try, /*On fail goto*//*Label 552*/ GIMT_Encode4(25651), // Rule ID 35 //
9625 /* 25624 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule33Enabled),
9626 /* 25627 */ // MIs[0] root
9627 /* 25627 */ // No operand predicates
9628 /* 25627 */ // MIs[0] src
9629 /* 25627 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9630 /* 25631 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
9631 /* 25635 */ GIM_CheckNumOperandsGE, /*MI*/1, /*Expected*/2,
9632 /* 25638 */ // MIs[1] unused
9633 /* 25638 */ // No operand predicates
9634 /* 25638 */ // MIs[0] idx
9635 /* 25638 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
9636 /* 25642 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9637 /* 25646 */ // MIs[2] imm
9638 /* 25646 */ // No operand predicates
9639 /* 25646 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9640 /* 25648 */ // Combiner Rule #33: extract_vector_element_build_vector
9641 /* 25648 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner12),
9642 /* 25651 */ // Label 552: @25651
9643 /* 25651 */ GIM_Try, /*On fail goto*//*Label 553*/ GIMT_Encode4(25675), // Rule ID 27 //
9644 /* 25656 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule25Enabled),
9645 /* 25659 */ // MIs[0] root
9646 /* 25659 */ // No operand predicates
9647 /* 25659 */ // MIs[0] vector
9648 /* 25659 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9649 /* 25663 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9650 /* 25667 */ // MIs[0] idx
9651 /* 25667 */ // No operand predicates
9652 /* 25667 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9653 /* 25669 */ // Combiner Rule #25: match_extract_of_element_undef_vector
9654 /* 25669 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9655 /* 25672 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
9656 /* 25674 */ GIR_EraseRootFromParent_Done,
9657 /* 25675 */ // Label 553: @25675
9658 /* 25675 */ GIM_Try, /*On fail goto*//*Label 554*/ GIMT_Encode4(25699), // Rule ID 28 //
9659 /* 25680 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule26Enabled),
9660 /* 25683 */ // MIs[0] root
9661 /* 25683 */ // No operand predicates
9662 /* 25683 */ // MIs[0] vector
9663 /* 25683 */ // No operand predicates
9664 /* 25683 */ // MIs[0] idx
9665 /* 25683 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9666 /* 25687 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9667 /* 25691 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9668 /* 25693 */ // Combiner Rule #26: match_extract_of_element_undef_index
9669 /* 25693 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9670 /* 25696 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
9671 /* 25698 */ GIR_EraseRootFromParent_Done,
9672 /* 25699 */ // Label 554: @25699
9673 /* 25699 */ GIM_Reject,
9674 /* 25700 */ // Label 101: @25700
9675 /* 25700 */ GIM_Try, /*On fail goto*//*Label 555*/ GIMT_Encode4(25711), // Rule ID 103 //
9676 /* 25705 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule85Enabled),
9677 /* 25708 */ // Combiner Rule #85: propagate_undef_all_ops; wip_match_opcode 'G_SHUFFLE_VECTOR'
9678 /* 25708 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner40),
9679 /* 25711 */ // Label 555: @25711
9680 /* 25711 */ GIM_Try, /*On fail goto*//*Label 556*/ GIMT_Encode4(25722), // Rule ID 105 //
9681 /* 25716 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule86Enabled),
9682 /* 25719 */ // Combiner Rule #86: propagate_undef_shuffle_mask; wip_match_opcode 'G_SHUFFLE_VECTOR'
9683 /* 25719 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner41),
9684 /* 25722 */ // Label 556: @25722
9685 /* 25722 */ GIM_Try, /*On fail goto*//*Label 557*/ GIMT_Encode4(25733), // Rule ID 395 //
9686 /* 25727 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule231Enabled),
9687 /* 25730 */ // Combiner Rule #231: combine_shuffle_concat; wip_match_opcode 'G_SHUFFLE_VECTOR'
9688 /* 25730 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner138),
9689 /* 25733 */ // Label 557: @25733
9690 /* 25733 */ GIM_Try, /*On fail goto*//*Label 558*/ GIMT_Encode4(25744), // Rule ID 397 //
9691 /* 25738 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule233Enabled),
9692 /* 25741 */ // Combiner Rule #233: combine_shuffle_disjoint_mask; wip_match_opcode 'G_SHUFFLE_VECTOR'
9693 /* 25741 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
9694 /* 25744 */ // Label 558: @25744
9695 /* 25744 */ GIM_Try, /*On fail goto*//*Label 559*/ GIMT_Encode4(25765), // Rule ID 396 //
9696 /* 25749 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule232Enabled),
9697 /* 25752 */ // MIs[0] root
9698 /* 25752 */ // No operand predicates
9699 /* 25752 */ // MIs[0] src1
9700 /* 25752 */ // No operand predicates
9701 /* 25752 */ // MIs[0] undef
9702 /* 25752 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9703 /* 25756 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9704 /* 25760 */ // MIs[0] mask
9705 /* 25760 */ // No operand predicates
9706 /* 25760 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9707 /* 25762 */ // Combiner Rule #232: combine_shuffle_undef_rhs
9708 /* 25762 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner139),
9709 /* 25765 */ // Label 559: @25765
9710 /* 25765 */ GIM_Reject,
9711 /* 25766 */ // Label 102: @25766
9712 /* 25766 */ GIM_Try, /*On fail goto*//*Label 560*/ GIMT_Encode4(25777), // Rule ID 293 //
9713 /* 25771 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9714 /* 25774 */ // MIs[0] dst
9715 /* 25774 */ // No operand predicates
9716 /* 25774 */ // MIs[0] mi.src
9717 /* 25774 */ // No operand predicates
9718 /* 25774 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[2]]
9719 /* 25774 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9720 /* 25777 */ // Label 560: @25777
9721 /* 25777 */ GIM_Try, /*On fail goto*//*Label 561*/ GIMT_Encode4(25788), // Rule ID 421 //
9722 /* 25782 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule255Enabled),
9723 /* 25785 */ // MIs[0] dst
9724 /* 25785 */ // No operand predicates
9725 /* 25785 */ // MIs[0] src
9726 /* 25785 */ // No operand predicates
9727 /* 25785 */ // Combiner Rule #255: cttz_to_cttz_zero_poison
9728 /* 25785 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner158),
9729 /* 25788 */ // Label 561: @25788
9730 /* 25788 */ GIM_Reject,
9731 /* 25789 */ // Label 103: @25789
9732 /* 25789 */ GIM_Try, /*On fail goto*//*Label 562*/ GIMT_Encode4(25800), // Rule ID 294 //
9733 /* 25794 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9734 /* 25797 */ // MIs[0] dst
9735 /* 25797 */ // No operand predicates
9736 /* 25797 */ // MIs[0] mi.src
9737 /* 25797 */ // No operand predicates
9738 /* 25797 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[3]]
9739 /* 25797 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9740 /* 25800 */ // Label 562: @25800
9741 /* 25800 */ GIM_Reject,
9742 /* 25801 */ // Label 104: @25801
9743 /* 25801 */ GIM_Try, /*On fail goto*//*Label 563*/ GIMT_Encode4(25812), // Rule ID 291 //
9744 /* 25806 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9745 /* 25809 */ // MIs[0] dst
9746 /* 25809 */ // No operand predicates
9747 /* 25809 */ // MIs[0] mi.src
9748 /* 25809 */ // No operand predicates
9749 /* 25809 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[0]]
9750 /* 25809 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9751 /* 25812 */ // Label 563: @25812
9752 /* 25812 */ GIM_Try, /*On fail goto*//*Label 564*/ GIMT_Encode4(25823), // Rule ID 418 //
9753 /* 25817 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule252Enabled),
9754 /* 25820 */ // MIs[0] dst
9755 /* 25820 */ // No operand predicates
9756 /* 25820 */ // MIs[0] src
9757 /* 25820 */ // No operand predicates
9758 /* 25820 */ // Combiner Rule #252: ctlz_to_ctls
9759 /* 25820 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner157),
9760 /* 25823 */ // Label 564: @25823
9761 /* 25823 */ GIM_Try, /*On fail goto*//*Label 565*/ GIMT_Encode4(25834), // Rule ID 420 //
9762 /* 25828 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule254Enabled),
9763 /* 25831 */ // MIs[0] dst
9764 /* 25831 */ // No operand predicates
9765 /* 25831 */ // MIs[0] src
9766 /* 25831 */ // No operand predicates
9767 /* 25831 */ // Combiner Rule #254: ctlz_to_ctlz_zero_poison
9768 /* 25831 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner158),
9769 /* 25834 */ // Label 565: @25834
9770 /* 25834 */ GIM_Reject,
9771 /* 25835 */ // Label 105: @25835
9772 /* 25835 */ GIM_Try, /*On fail goto*//*Label 566*/ GIMT_Encode4(25846), // Rule ID 292 //
9773 /* 25840 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9774 /* 25843 */ // MIs[0] dst
9775 /* 25843 */ // No operand predicates
9776 /* 25843 */ // MIs[0] mi.src
9777 /* 25843 */ // No operand predicates
9778 /* 25843 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[1]]
9779 /* 25843 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9780 /* 25846 */ // Label 566: @25846
9781 /* 25846 */ GIM_Try, /*On fail goto*//*Label 567*/ GIMT_Encode4(25857), // Rule ID 419 //
9782 /* 25851 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule253Enabled),
9783 /* 25854 */ // MIs[0] dst
9784 /* 25854 */ // No operand predicates
9785 /* 25854 */ // MIs[0] src
9786 /* 25854 */ // No operand predicates
9787 /* 25854 */ // Combiner Rule #253: ctlz_zero_poison_to_ctls
9788 /* 25854 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner157),
9789 /* 25857 */ // Label 567: @25857
9790 /* 25857 */ GIM_Reject,
9791 /* 25858 */ // Label 106: @25858
9792 /* 25858 */ GIM_Try, /*On fail goto*//*Label 568*/ GIMT_Encode4(25869), // Rule ID 295 //
9793 /* 25863 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9794 /* 25866 */ // MIs[0] dst
9795 /* 25866 */ // No operand predicates
9796 /* 25866 */ // MIs[0] mi.src
9797 /* 25866 */ // No operand predicates
9798 /* 25866 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[4]]
9799 /* 25866 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9800 /* 25869 */ // Label 568: @25869
9801 /* 25869 */ GIM_Reject,
9802 /* 25870 */ // Label 107: @25870
9803 /* 25870 */ GIM_Try, /*On fail goto*//*Label 569*/ GIMT_Encode4(25881), // Rule ID 297 //
9804 /* 25875 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9805 /* 25878 */ // MIs[0] dst
9806 /* 25878 */ // No operand predicates
9807 /* 25878 */ // MIs[0] mi.src
9808 /* 25878 */ // No operand predicates
9809 /* 25878 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[6]]
9810 /* 25878 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9811 /* 25881 */ // Label 569: @25881
9812 /* 25881 */ GIM_Reject,
9813 /* 25882 */ // Label 108: @25882
9814 /* 25882 */ GIM_Try, /*On fail goto*//*Label 570*/ GIMT_Encode4(25926), // Rule ID 248 //
9815 /* 25887 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule181Enabled),
9816 /* 25890 */ // MIs[0] d
9817 /* 25890 */ // No operand predicates
9818 /* 25890 */ // MIs[0] src
9819 /* 25890 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9820 /* 25894 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
9821 /* 25898 */ // MIs[1] rev
9822 /* 25898 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9823 /* 25902 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
9824 /* 25906 */ // MIs[2] val
9825 /* 25906 */ // No operand predicates
9826 /* 25906 */ // MIs[1] amt
9827 /* 25906 */ // No operand predicates
9828 /* 25906 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner14),
9829 /* 25910 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9830 /* 25912 */ // Combiner Rule #181: bitreverse_lshr
9831 /* 25912 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
9832 /* 25915 */ GIR_RootToRootCopy, /*OpIdx*/0, // d
9833 /* 25917 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // val
9834 /* 25921 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // amt
9835 /* 25925 */ GIR_EraseRootFromParent_Done,
9836 /* 25926 */ // Label 570: @25926
9837 /* 25926 */ GIM_Try, /*On fail goto*//*Label 571*/ GIMT_Encode4(25970), // Rule ID 247 //
9838 /* 25931 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule180Enabled),
9839 /* 25934 */ // MIs[0] d
9840 /* 25934 */ // No operand predicates
9841 /* 25934 */ // MIs[0] src
9842 /* 25934 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9843 /* 25938 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
9844 /* 25942 */ // MIs[1] rev
9845 /* 25942 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9846 /* 25946 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
9847 /* 25950 */ // MIs[2] val
9848 /* 25950 */ // No operand predicates
9849 /* 25950 */ // MIs[1] amt
9850 /* 25950 */ // No operand predicates
9851 /* 25950 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
9852 /* 25954 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9853 /* 25956 */ // Combiner Rule #180: bitreverse_shl
9854 /* 25956 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_LSHR),
9855 /* 25959 */ GIR_RootToRootCopy, /*OpIdx*/0, // d
9856 /* 25961 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // val
9857 /* 25965 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // amt
9858 /* 25969 */ GIR_EraseRootFromParent_Done,
9859 /* 25970 */ // Label 571: @25970
9860 /* 25970 */ GIM_Try, /*On fail goto*//*Label 572*/ GIMT_Encode4(25981), // Rule ID 298 //
9861 /* 25975 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
9862 /* 25978 */ // MIs[0] dst
9863 /* 25978 */ // No operand predicates
9864 /* 25978 */ // MIs[0] mi.src
9865 /* 25978 */ // No operand predicates
9866 /* 25978 */ // Combiner Rule #191: constant_fold_unary_int_op @ [mi[7]]
9867 /* 25978 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9868 /* 25981 */ // Label 572: @25981
9869 /* 25981 */ GIM_Reject,
9870 /* 25982 */ // Label 109: @25982
9871 /* 25982 */ GIM_Try, /*On fail goto*//*Label 573*/ GIMT_Encode4(26003), // Rule ID 195 //
9872 /* 25987 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule151Enabled),
9873 /* 25990 */ // MIs[0] dst
9874 /* 25990 */ // No operand predicates
9875 /* 25990 */ // MIs[0] src0
9876 /* 25990 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9877 /* 25994 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
9878 /* 25998 */ // MIs[1] cst
9879 /* 25998 */ // No operand predicates
9880 /* 25998 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9881 /* 26000 */ // Combiner Rule #151: constant_fold_fceil
9882 /* 26000 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
9883 /* 26003 */ // Label 573: @26003
9884 /* 26003 */ GIM_Reject,
9885 /* 26004 */ // Label 110: @26004
9886 /* 26004 */ GIM_Try, /*On fail goto*//*Label 574*/ GIMT_Encode4(26015), // Rule ID 453 //
9887 /* 26009 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule276Enabled),
9888 /* 26012 */ // Combiner Rule #276: rcp_sqrt_to_rsq; wip_match_opcode 'G_FSQRT'
9889 /* 26012 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner168),
9890 /* 26015 */ // Label 574: @26015
9891 /* 26015 */ GIM_Try, /*On fail goto*//*Label 575*/ GIMT_Encode4(26036), // Rule ID 191 //
9892 /* 26020 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
9893 /* 26023 */ // MIs[0] dst
9894 /* 26023 */ // No operand predicates
9895 /* 26023 */ // MIs[0] src0
9896 /* 26023 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9897 /* 26027 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
9898 /* 26031 */ // MIs[1] cst
9899 /* 26031 */ // No operand predicates
9900 /* 26031 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9901 /* 26033 */ // Combiner Rule #147: constant_fold_fsqrt
9902 /* 26033 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
9903 /* 26036 */ // Label 575: @26036
9904 /* 26036 */ GIM_Reject,
9905 /* 26037 */ // Label 111: @26037
9906 /* 26037 */ GIM_Try, /*On fail goto*//*Label 576*/ GIMT_Encode4(26058), // Rule ID 196 //
9907 /* 26042 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
9908 /* 26045 */ // MIs[0] dst
9909 /* 26045 */ // No operand predicates
9910 /* 26045 */ // MIs[0] src0
9911 /* 26045 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9912 /* 26049 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
9913 /* 26053 */ // MIs[1] cst
9914 /* 26053 */ // No operand predicates
9915 /* 26053 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9916 /* 26055 */ // Combiner Rule #152: constant_fold_ffloor
9917 /* 26055 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
9918 /* 26058 */ // Label 576: @26058
9919 /* 26058 */ GIM_Reject,
9920 /* 26059 */ // Label 112: @26059
9921 /* 26059 */ GIM_Try, /*On fail goto*//*Label 577*/ GIMT_Encode4(26080), // Rule ID 200 //
9922 /* 26064 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
9923 /* 26067 */ // MIs[0] dst
9924 /* 26067 */ // No operand predicates
9925 /* 26067 */ // MIs[0] src0
9926 /* 26067 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9927 /* 26071 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
9928 /* 26075 */ // MIs[1] cst
9929 /* 26075 */ // No operand predicates
9930 /* 26075 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9931 /* 26077 */ // Combiner Rule #156: constant_fold_frint
9932 /* 26077 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
9933 /* 26080 */ // Label 577: @26080
9934 /* 26080 */ GIM_Reject,
9935 /* 26081 */ // Label 113: @26081
9936 /* 26081 */ GIM_Try, /*On fail goto*//*Label 578*/ GIMT_Encode4(26102), // Rule ID 201 //
9937 /* 26086 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule157Enabled),
9938 /* 26089 */ // MIs[0] dst
9939 /* 26089 */ // No operand predicates
9940 /* 26089 */ // MIs[0] src0
9941 /* 26089 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9942 /* 26093 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
9943 /* 26097 */ // MIs[1] cst
9944 /* 26097 */ // No operand predicates
9945 /* 26097 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9946 /* 26099 */ // Combiner Rule #157: constant_fold_fnearbyint
9947 /* 26099 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
9948 /* 26102 */ // Label 578: @26102
9949 /* 26102 */ GIM_Reject,
9950 /* 26103 */ // Label 114: @26103
9951 /* 26103 */ GIM_Try, /*On fail goto*//*Label 579*/ GIMT_Encode4(26114), // Rule ID 445 //
9952 /* 26108 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule272Enabled),
9953 /* 26111 */ // Combiner Rule #272: cvt_f32_ubyteN; wip_match_opcode 'G_AMDGPU_CVT_F32_UBYTE0'
9954 /* 26111 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner164),
9955 /* 26114 */ // Label 579: @26114
9956 /* 26114 */ GIM_Reject,
9957 /* 26115 */ // Label 115: @26115
9958 /* 26115 */ GIM_Try, /*On fail goto*//*Label 580*/ GIMT_Encode4(26126), // Rule ID 446 //
9959 /* 26120 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule272Enabled),
9960 /* 26123 */ // Combiner Rule #272: cvt_f32_ubyteN; wip_match_opcode 'G_AMDGPU_CVT_F32_UBYTE1'
9961 /* 26123 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner164),
9962 /* 26126 */ // Label 580: @26126
9963 /* 26126 */ GIM_Reject,
9964 /* 26127 */ // Label 116: @26127
9965 /* 26127 */ GIM_Try, /*On fail goto*//*Label 581*/ GIMT_Encode4(26138), // Rule ID 447 //
9966 /* 26132 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule272Enabled),
9967 /* 26135 */ // Combiner Rule #272: cvt_f32_ubyteN; wip_match_opcode 'G_AMDGPU_CVT_F32_UBYTE2'
9968 /* 26135 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner164),
9969 /* 26138 */ // Label 581: @26138
9970 /* 26138 */ GIM_Reject,
9971 /* 26139 */ // Label 117: @26139
9972 /* 26139 */ GIM_Try, /*On fail goto*//*Label 582*/ GIMT_Encode4(26150), // Rule ID 448 //
9973 /* 26144 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule272Enabled),
9974 /* 26147 */ // Combiner Rule #272: cvt_f32_ubyteN; wip_match_opcode 'G_AMDGPU_CVT_F32_UBYTE3'
9975 /* 26147 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner164),
9976 /* 26150 */ // Label 582: @26150
9977 /* 26150 */ GIM_Reject,
9978 /* 26151 */ // Label 118: @26151
9979 /* 26151 */ GIM_Reject,
9980 /* 26152 */ }; // Size: 26152 bytes
9981 return MatchTable0;
9982}
9983#undef GIMT_Encode2
9984#undef GIMT_Encode4
9985#undef GIMT_Encode8
9986
9987
9988#endif // GET_GICOMBINER_IMPL
9989
9990#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
9991
9992AvailableModuleFeatures(computeAvailableModuleFeatures(&STI)),
9993AvailableFunctionFeatures()
9994
9995#endif // GET_GICOMBINER_CONSTRUCTOR_INITS
9996
9997#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
9998
9999, State(0),
10000ExecInfo(TypeObjects, NumTypeObjects, FeatureBitsets, ComplexPredicateFns, CustomRenderers)
10001
10002#endif // GET_GICOMBINER_CONSTRUCTOR_INITS
10003
10004