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 354; // "smulu64"
45 case 9: // 5 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 326; // "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': // 1 string to match.
57 if (memcmp(RuleIdentifier.data()+1, "atch_ors", 8) != 0)
58 break;
59 return 283; // "match_ors"
60 case 'n': // 1 string to match.
61 if (memcmp(RuleIdentifier.data()+1, "neg_zext", 8) != 0)
62 break;
63 return 294; // "nneg_zext"
64 case 'o': // 1 string to match.
65 if (memcmp(RuleIdentifier.data()+1, "r_xor_or", 8) != 0)
66 break;
67 return 288; // "or_xor_or"
68 }
69 break;
70 case 10: // 12 strings to match.
71 switch (RuleIdentifier[0]) {
72 default: break;
73 case 'N': // 2 strings to match.
74 if (memcmp(RuleIdentifier.data()+1, "eg", 2) != 0)
75 break;
76 switch (RuleIdentifier[3]) {
77 default: break;
78 case 'S': // 1 string to match.
79 if (memcmp(RuleIdentifier.data()+4, "minNeg", 6) != 0)
80 break;
81 return 333; // "NegSminNeg"
82 case 'U': // 1 string to match.
83 if (memcmp(RuleIdentifier.data()+4, "minNeg", 6) != 0)
84 break;
85 return 334; // "NegUminNeg"
86 }
87 break;
88 case 'S': // 2 strings to match.
89 if (memcmp(RuleIdentifier.data()+1, "ub", 2) != 0)
90 break;
91 switch (RuleIdentifier[3]) {
92 default: break;
93 case 'S': // 1 string to match.
94 if (memcmp(RuleIdentifier.data()+4, "maxSub", 6) != 0)
95 break;
96 return 331; // "SubSmaxSub"
97 case 'U': // 1 string to match.
98 if (memcmp(RuleIdentifier.data()+4, "maxSub", 6) != 0)
99 break;
100 return 332; // "SubUmaxSub"
101 }
102 break;
103 case 'm': // 2 strings to match.
104 switch (RuleIdentifier[1]) {
105 default: break;
106 case 'a': // 1 string to match.
107 if (memcmp(RuleIdentifier.data()+2, "tch_ands", 8) != 0)
108 break;
109 return 282; // "match_ands"
110 case 'u': // 1 string to match.
111 if (memcmp(RuleIdentifier.data()+2, "l_to_shl", 8) != 0)
112 break;
113 return 20; // "mul_to_shl"
114 }
115 break;
116 case 'o': // 1 string to match.
117 if (memcmp(RuleIdentifier.data()+1, "r_xor_and", 9) != 0)
118 break;
119 return 289; // "or_xor_and"
120 case 'p': // 1 string to match.
121 if (memcmp(RuleIdentifier.data()+1, "2i_to_i2p", 9) != 0)
122 break;
123 return 98; // "p2i_to_i2p"
124 case 's': // 3 strings to match.
125 switch (RuleIdentifier[1]) {
126 default: break;
127 case 'e': // 2 strings to match.
128 switch (RuleIdentifier[2]) {
129 default: break;
130 case 'l': // 1 string to match.
131 if (memcmp(RuleIdentifier.data()+3, "ect_not", 7) != 0)
132 break;
133 return 144; // "select_not"
134 case 'x': // 1 string to match.
135 if (memcmp(RuleIdentifier.data()+3, "t_trunc", 7) != 0)
136 break;
137 return 292; // "sext_trunc"
138 }
139 break;
140 case 'u': // 1 string to match.
141 if (memcmp(RuleIdentifier.data()+2, "b_to_add", 8) != 0)
142 break;
143 return 21; // "sub_to_add"
144 }
145 break;
146 case 'z': // 1 string to match.
147 if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
148 break;
149 return 293; // "zext_trunc"
150 }
151 break;
152 case 11: // 6 strings to match.
153 switch (RuleIdentifier[0]) {
154 default: break;
155 case 'a': // 1 string to match.
156 if (memcmp(RuleIdentifier.data()+1, "dd_sub_reg", 10) != 0)
157 break;
158 return 106; // "add_sub_reg"
159 case 't': // 4 strings to match.
160 if (memcmp(RuleIdentifier.data()+1, "runc_", 5) != 0)
161 break;
162 switch (RuleIdentifier[6]) {
163 default: break;
164 case 's': // 3 strings to match.
165 switch (RuleIdentifier[7]) {
166 default: break;
167 case 'h': // 1 string to match.
168 if (memcmp(RuleIdentifier.data()+8, "ift", 3) != 0)
169 break;
170 return 157; // "trunc_shift"
171 case 's': // 2 strings to match.
172 if (memcmp(RuleIdentifier.data()+8, "at", 2) != 0)
173 break;
174 switch (RuleIdentifier[10]) {
175 default: break;
176 case 's': // 1 string to match.
177 return 315; // "trunc_ssats"
178 case 'u': // 1 string to match.
179 return 316; // "trunc_ssatu"
180 }
181 break;
182 }
183 break;
184 case 'u': // 1 string to match.
185 if (memcmp(RuleIdentifier.data()+7, "satu", 4) != 0)
186 break;
187 return 317; // "trunc_usatu"
188 }
189 break;
190 case 'u': // 1 string to match.
191 if (memcmp(RuleIdentifier.data()+1, "nmerge_cst", 10) != 0)
192 break;
193 return 302; // "unmerge_cst"
194 }
195 break;
196 case 12: // 11 strings to match.
197 switch (RuleIdentifier[0]) {
198 default: break;
199 case 'A': // 1 string to match.
200 if (memcmp(RuleIdentifier.data()+1, "PlusBMinusB", 11) != 0)
201 break;
202 return 4; // "APlusBMinusB"
203 case 'B': // 1 string to match.
204 if (memcmp(RuleIdentifier.data()+1, "MinusAPlusA", 11) != 0)
205 break;
206 return 5; // "BMinusAPlusA"
207 case 'c': // 1 string to match.
208 if (memcmp(RuleIdentifier.data()+1, "tlz_to_ctls", 11) != 0)
209 break;
210 return 322; // "ctlz_to_ctls"
211 case 'f': // 1 string to match.
212 if (memcmp(RuleIdentifier.data()+1, "sub_to_fneg", 11) != 0)
213 break;
214 return 252; // "fsub_to_fneg"
215 case 'm': // 1 string to match.
216 if (memcmp(RuleIdentifier.data()+1, "ulh_to_lshr", 11) != 0)
217 break;
218 return 219; // "mulh_to_lshr"
219 case 'n': // 1 string to match.
220 if (memcmp(RuleIdentifier.data()+1, "ot_cmp_fold", 11) != 0)
221 break;
222 return 158; // "not_cmp_fold"
223 case 'r': // 1 string to match.
224 if (memcmp(RuleIdentifier.data()+1, "edundant_or", 11) != 0)
225 break;
226 return 151; // "redundant_or"
227 case 's': // 2 strings to match.
228 switch (RuleIdentifier[1]) {
229 default: break;
230 case 'd': // 1 string to match.
231 if (memcmp(RuleIdentifier.data()+2, "iv_by_pow2", 10) != 0)
232 break;
233 return 243; // "sdiv_by_pow2"
234 case 'e': // 1 string to match.
235 if (memcmp(RuleIdentifier.data()+2, "xt_of_sext", 10) != 0)
236 break;
237 return 54; // "sext_of_sext"
238 }
239 break;
240 case 'u': // 1 string to match.
241 if (memcmp(RuleIdentifier.data()+1, "div_by_pow2", 11) != 0)
242 break;
243 return 241; // "udiv_by_pow2"
244 case 'z': // 1 string to match.
245 if (memcmp(RuleIdentifier.data()+1, "ext_of_zext", 11) != 0)
246 break;
247 return 52; // "zext_of_zext"
248 }
249 break;
250 case 13: // 19 strings to match.
251 switch (RuleIdentifier[0]) {
252 default: break;
253 case 'A': // 2 strings to match.
254 if (memcmp(RuleIdentifier.data()+1, "MinusBMinus", 11) != 0)
255 break;
256 switch (RuleIdentifier[12]) {
257 default: break;
258 case 'A': // 1 string to match.
259 return 12; // "AMinusBMinusA"
260 case 'C': // 1 string to match.
261 return 9; // "AMinusBMinusC"
262 }
263 break;
264 case 'a': // 1 string to match.
265 if (memcmp(RuleIdentifier.data()+1, "dd_of_vscale", 12) != 0)
266 break;
267 return 42; // "add_of_vscale"
268 case 'f': // 1 string to match.
269 if (memcmp(RuleIdentifier.data()+1, "oldable_fneg", 12) != 0)
270 break;
271 return 346; // "foldable_fneg"
272 case 'l': // 1 string to match.
273 if (memcmp(RuleIdentifier.data()+1, "oad_and_mask", 12) != 0)
274 break;
275 return 75; // "load_and_mask"
276 case 'm': // 3 strings to match.
277 switch (RuleIdentifier[1]) {
278 default: break;
279 case 'a': // 1 string to match.
280 if (memcmp(RuleIdentifier.data()+2, "tch_selects", 11) != 0)
281 break;
282 return 142; // "match_selects"
283 case 'e': // 1 string to match.
284 if (memcmp(RuleIdentifier.data()+2, "rge_unmerge", 11) != 0)
285 break;
286 return 301; // "merge_unmerge"
287 case 'u': // 1 string to match.
288 if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
289 break;
290 return 43; // "mul_of_vscale"
291 }
292 break;
293 case 'r': // 1 string to match.
294 if (memcmp(RuleIdentifier.data()+1, "edundant_and", 12) != 0)
295 break;
296 return 150; // "redundant_and"
297 case 's': // 6 strings to match.
298 switch (RuleIdentifier[1]) {
299 default: break;
300 case 'a': // 1 string to match.
301 if (memcmp(RuleIdentifier.data()+2, "me_val_zero", 11) != 0)
302 break;
303 return 95; // "same_val_zero"
304 case 'd': // 1 string to match.
305 if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
306 break;
307 return 245; // "sdiv_by_const"
308 case 'h': // 1 string to match.
309 if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
310 break;
311 return 44; // "shl_of_vscale"
312 case 'r': // 1 string to match.
313 if (memcmp(RuleIdentifier.data()+2, "em_by_const", 11) != 0)
314 break;
315 return 240; // "srem_by_const"
316 case 'u': // 2 strings to match.
317 if (memcmp(RuleIdentifier.data()+2, "b_", 2) != 0)
318 break;
319 switch (RuleIdentifier[4]) {
320 default: break;
321 case 'm': // 1 string to match.
322 if (memcmp(RuleIdentifier.data()+5, "inus_one", 8) != 0)
323 break;
324 return 329; // "sub_minus_one"
325 case 'o': // 1 string to match.
326 if (memcmp(RuleIdentifier.data()+5, "f_vscale", 8) != 0)
327 break;
328 return 45; // "sub_of_vscale"
329 }
330 break;
331 }
332 break;
333 case 'u': // 4 strings to match.
334 switch (RuleIdentifier[1]) {
335 default: break;
336 case 'd': // 1 string to match.
337 if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
338 break;
339 return 244; // "udiv_by_const"
340 case 'n': // 2 strings to match.
341 if (memcmp(RuleIdentifier.data()+2, "merge_", 6) != 0)
342 break;
343 switch (RuleIdentifier[8]) {
344 default: break;
345 case 'm': // 1 string to match.
346 if (memcmp(RuleIdentifier.data()+9, "erge", 4) != 0)
347 break;
348 return 300; // "unmerge_merge"
349 case 'u': // 1 string to match.
350 if (memcmp(RuleIdentifier.data()+9, "ndef", 4) != 0)
351 break;
352 return 303; // "unmerge_undef"
353 }
354 break;
355 case 'r': // 1 string to match.
356 if (memcmp(RuleIdentifier.data()+2, "em_by_const", 11) != 0)
357 break;
358 return 239; // "urem_by_const"
359 }
360 break;
361 }
362 break;
363 case 14: // 19 strings to match.
364 switch (RuleIdentifier[0]) {
365 default: break;
366 case 'A': // 2 strings to match.
367 switch (RuleIdentifier[1]) {
368 default: break;
369 case 'M': // 1 string to match.
370 if (memcmp(RuleIdentifier.data()+2, "inusC1PlusC2", 12) != 0)
371 break;
372 return 18; // "AMinusC1PlusC2"
373 case 'P': // 1 string to match.
374 if (memcmp(RuleIdentifier.data()+2, "lusC1MinusC2", 12) != 0)
375 break;
376 return 14; // "APlusC1MinusC2"
377 }
378 break;
379 case 'C': // 1 string to match.
380 if (memcmp(RuleIdentifier.data()+1, "2MinusAPlusC1", 13) != 0)
381 break;
382 return 15; // "C2MinusAPlusC1"
383 case 'N': // 1 string to match.
384 if (memcmp(RuleIdentifier.data()+1, "otAPlusNegOne", 13) != 0)
385 break;
386 return 13; // "NotAPlusNegOne"
387 case 'a': // 2 strings to match.
388 if (memcmp(RuleIdentifier.data()+1, "nyext_of_", 9) != 0)
389 break;
390 switch (RuleIdentifier[10]) {
391 default: break;
392 case 's': // 1 string to match.
393 if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
394 break;
395 return 58; // "anyext_of_sext"
396 case 'z': // 1 string to match.
397 if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
398 break;
399 return 57; // "anyext_of_zext"
400 }
401 break;
402 case 'b': // 3 strings to match.
403 if (RuleIdentifier[1] != 'i')
404 break;
405 switch (RuleIdentifier[2]) {
406 default: break;
407 case 'n': // 2 strings to match.
408 if (memcmp(RuleIdentifier.data()+3, "op_", 3) != 0)
409 break;
410 switch (RuleIdentifier[6]) {
411 default: break;
412 case 's': // 1 string to match.
413 if (memcmp(RuleIdentifier.data()+7, "ame_val", 7) != 0)
414 break;
415 return 94; // "binop_same_val"
416 case 'w': // 1 string to match.
417 if (memcmp(RuleIdentifier.data()+7, "ith_neg", 7) != 0)
418 break;
419 return 328; // "binop_with_neg"
420 }
421 break;
422 case 't': // 1 string to match.
423 if (memcmp(RuleIdentifier.data()+3, "reverse_shl", 11) != 0)
424 break;
425 return 205; // "bitreverse_shl"
426 }
427 break;
428 case 'c': // 1 string to match.
429 if (memcmp(RuleIdentifier.data()+1, "vt_f32_ubyteN", 13) != 0)
430 break;
431 return 344; // "cvt_f32_ubyteN"
432 case 'f': // 2 strings to match.
433 switch (RuleIdentifier[1]) {
434 default: break;
435 case 'a': // 1 string to match.
436 if (memcmp(RuleIdentifier.data()+2, "bs_fneg_fold", 12) != 0)
437 break;
438 return 218; // "fabs_fneg_fold"
439 case 'n': // 1 string to match.
440 if (memcmp(RuleIdentifier.data()+2, "eg_fneg_fold", 12) != 0)
441 break;
442 return 103; // "fneg_fneg_fold"
443 }
444 break;
445 case 'm': // 1 string to match.
446 if (memcmp(RuleIdentifier.data()+1, "ul_by_neg_one", 13) != 0)
447 break;
448 return 23; // "mul_by_neg_one"
449 case 'r': // 1 string to match.
450 if (memcmp(RuleIdentifier.data()+1, "eassoc_ptradd", 13) != 0)
451 break;
452 return 121; // "reassoc_ptradd"
453 case 's': // 3 strings to match.
454 switch (RuleIdentifier[1]) {
455 default: break;
456 case 'e': // 2 strings to match.
457 switch (RuleIdentifier[2]) {
458 default: break;
459 case 'l': // 1 string to match.
460 if (memcmp(RuleIdentifier.data()+3, "ect_of_zext", 11) != 0)
461 break;
462 return 60; // "select_of_zext"
463 case 'x': // 1 string to match.
464 if (memcmp(RuleIdentifier.data()+3, "t_of_anyext", 11) != 0)
465 break;
466 return 55; // "sext_of_anyext"
467 }
468 break;
469 case 'h': // 1 string to match.
470 if (memcmp(RuleIdentifier.data()+2, "ifts_too_big", 12) != 0)
471 break;
472 return 120; // "shifts_too_big"
473 }
474 break;
475 case 'u': // 1 string to match.
476 if (memcmp(RuleIdentifier.data()+1, "char_to_float", 13) != 0)
477 break;
478 return 343; // "uchar_to_float"
479 case 'z': // 1 string to match.
480 if (memcmp(RuleIdentifier.data()+1, "ext_of_anyext", 13) != 0)
481 break;
482 return 53; // "zext_of_anyext"
483 }
484 break;
485 case 15: // 28 strings to match.
486 switch (RuleIdentifier[0]) {
487 default: break;
488 case 'A': // 2 strings to match.
489 switch (RuleIdentifier[1]) {
490 default: break;
491 case 'M': // 1 string to match.
492 if (memcmp(RuleIdentifier.data()+2, "inusC1MinusC2", 13) != 0)
493 break;
494 return 16; // "AMinusC1MinusC2"
495 case 'P': // 1 string to match.
496 if (memcmp(RuleIdentifier.data()+2, "lusZeroMinusB", 13) != 0)
497 break;
498 return 3; // "APlusZeroMinusB"
499 }
500 break;
501 case 'C': // 1 string to match.
502 if (memcmp(RuleIdentifier.data()+1, "1Minus2MinusC2", 14) != 0)
503 break;
504 return 17; // "C1Minus2MinusC2"
505 case 'G': // 1 string to match.
506 if (memcmp(RuleIdentifier.data()+1, "_FMA_fneg_fneg", 14) != 0)
507 break;
508 return 226; // "G_FMA_fneg_fneg"
509 case 'Z': // 1 string to match.
510 if (memcmp(RuleIdentifier.data()+1, "eroMinusAPlusB", 14) != 0)
511 break;
512 return 2; // "ZeroMinusAPlusB"
513 case 'a': // 7 strings to match.
514 switch (RuleIdentifier[1]) {
515 default: break;
516 case 'n': // 5 strings to match.
517 if (memcmp(RuleIdentifier.data()+2, "onymous_570", 11) != 0)
518 break;
519 switch (RuleIdentifier[13]) {
520 default: break;
521 case '5': // 4 strings to match.
522 switch (RuleIdentifier[14]) {
523 default: break;
524 case '5': // 1 string to match.
525 return 361; // "anonymous_57055"
526 case '6': // 1 string to match.
527 return 362; // "anonymous_57056"
528 case '7': // 1 string to match.
529 return 363; // "anonymous_57057"
530 case '9': // 1 string to match.
531 return 364; // "anonymous_57059"
532 }
533 break;
534 case '6': // 1 string to match.
535 if (RuleIdentifier[14] != '0')
536 break;
537 return 365; // "anonymous_57060"
538 }
539 break;
540 case 'v': // 2 strings to match.
541 if (memcmp(RuleIdentifier.data()+2, "gceil_", 6) != 0)
542 break;
543 switch (RuleIdentifier[8]) {
544 default: break;
545 case 's': // 1 string to match.
546 if (memcmp(RuleIdentifier.data()+9, "_match", 6) != 0)
547 break;
548 return 338; // "avgceil_s_match"
549 case 'u': // 1 string to match.
550 if (memcmp(RuleIdentifier.data()+9, "_match", 6) != 0)
551 break;
552 return 337; // "avgceil_u_match"
553 }
554 break;
555 }
556 break;
557 case 'b': // 1 string to match.
558 if (memcmp(RuleIdentifier.data()+1, "itreverse_lshr", 14) != 0)
559 break;
560 return 206; // "bitreverse_lshr"
561 case 'e': // 1 string to match.
562 if (memcmp(RuleIdentifier.data()+1, "xtending_loads", 14) != 0)
563 break;
564 return 74; // "extending_loads"
565 case 'i': // 2 strings to match.
566 switch (RuleIdentifier[1]) {
567 default: break;
568 case '2': // 1 string to match.
569 if (memcmp(RuleIdentifier.data()+2, "p_to_p2i_zext", 13) != 0)
570 break;
571 return 100; // "i2p_to_p2i_zext"
572 case 'd': // 1 string to match.
573 if (memcmp(RuleIdentifier.data()+2, "empotent_prop", 13) != 0)
574 break;
575 return 24; // "idempotent_prop"
576 }
577 break;
578 case 'l': // 1 string to match.
579 if (memcmp(RuleIdentifier.data()+1, "oad_or_combine", 14) != 0)
580 break;
581 return 195; // "load_or_combine"
582 case 'm': // 4 strings to match.
583 if (memcmp(RuleIdentifier.data()+1, "ulo_by_", 7) != 0)
584 break;
585 switch (RuleIdentifier[8]) {
586 default: break;
587 case '0': // 2 strings to match.
588 if (RuleIdentifier[9] != '_')
589 break;
590 switch (RuleIdentifier[10]) {
591 default: break;
592 case 's': // 1 string to match.
593 if (memcmp(RuleIdentifier.data()+11, "mulo", 4) != 0)
594 break;
595 return 180; // "mulo_by_0_smulo"
596 case 'u': // 1 string to match.
597 if (memcmp(RuleIdentifier.data()+11, "mulo", 4) != 0)
598 break;
599 return 179; // "mulo_by_0_umulo"
600 }
601 break;
602 case '2': // 2 strings to match.
603 if (RuleIdentifier[9] != '_')
604 break;
605 switch (RuleIdentifier[10]) {
606 default: break;
607 case 's': // 1 string to match.
608 if (memcmp(RuleIdentifier.data()+11, "mulo", 4) != 0)
609 break;
610 return 178; // "mulo_by_2_smulo"
611 case 'u': // 1 string to match.
612 if (memcmp(RuleIdentifier.data()+11, "mulo", 4) != 0)
613 break;
614 return 177; // "mulo_by_2_umulo"
615 }
616 break;
617 }
618 break;
619 case 'n': // 1 string to match.
620 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_or", 14) != 0)
621 break;
622 return 68; // "narrow_binop_or"
623 case 'o': // 1 string to match.
624 if (memcmp(RuleIdentifier.data()+1, "verlapping_and", 14) != 0)
625 break;
626 return 176; // "overlapping_and"
627 case 's': // 4 strings to match.
628 if (memcmp(RuleIdentifier.data()+1, "ub_add_", 7) != 0)
629 break;
630 switch (RuleIdentifier[8]) {
631 default: break;
632 case 'n': // 2 strings to match.
633 if (memcmp(RuleIdentifier.data()+9, "eg_", 3) != 0)
634 break;
635 switch (RuleIdentifier[12]) {
636 default: break;
637 case 'l': // 1 string to match.
638 if (memcmp(RuleIdentifier.data()+13, "hs", 2) != 0)
639 break;
640 return 250; // "sub_add_neg_lhs"
641 case 'r': // 1 string to match.
642 if (memcmp(RuleIdentifier.data()+13, "hs", 2) != 0)
643 break;
644 return 249; // "sub_add_neg_rhs"
645 }
646 break;
647 case 'r': // 2 strings to match.
648 if (memcmp(RuleIdentifier.data()+9, "eg_", 3) != 0)
649 break;
650 switch (RuleIdentifier[12]) {
651 default: break;
652 case 'l': // 1 string to match.
653 if (memcmp(RuleIdentifier.data()+13, "hs", 2) != 0)
654 break;
655 return 248; // "sub_add_reg_lhs"
656 case 'r': // 1 string to match.
657 if (memcmp(RuleIdentifier.data()+13, "hs", 2) != 0)
658 break;
659 return 247; // "sub_add_reg_rhs"
660 }
661 break;
662 }
663 break;
664 case 'z': // 1 string to match.
665 if (memcmp(RuleIdentifier.data()+1, "ext_trunc_fold", 14) != 0)
666 break;
667 return 153; // "zext_trunc_fold"
668 }
669 break;
670 case 16: // 25 strings to match.
671 switch (RuleIdentifier[0]) {
672 default: break;
673 case 'A': // 1 string to match.
674 if (memcmp(RuleIdentifier.data()+1, "MinusZeroMinusB", 15) != 0)
675 break;
676 return 11; // "AMinusZeroMinusB"
677 case 'G': // 3 strings to match.
678 if (memcmp(RuleIdentifier.data()+1, "_F", 2) != 0)
679 break;
680 switch (RuleIdentifier[3]) {
681 default: break;
682 case 'D': // 1 string to match.
683 if (memcmp(RuleIdentifier.data()+4, "IV_fneg_fneg", 12) != 0)
684 break;
685 return 224; // "G_FDIV_fneg_fneg"
686 case 'M': // 2 strings to match.
687 switch (RuleIdentifier[4]) {
688 default: break;
689 case 'A': // 1 string to match.
690 if (memcmp(RuleIdentifier.data()+5, "D_fneg_fneg", 11) != 0)
691 break;
692 return 225; // "G_FMAD_fneg_fneg"
693 case 'U': // 1 string to match.
694 if (memcmp(RuleIdentifier.data()+5, "L_fneg_fneg", 11) != 0)
695 break;
696 return 223; // "G_FMUL_fneg_fneg"
697 }
698 break;
699 }
700 break;
701 case 'a': // 3 strings to match.
702 switch (RuleIdentifier[1]) {
703 default: break;
704 case 'n': // 1 string to match.
705 if (memcmp(RuleIdentifier.data()+2, "yext_of_anyext", 14) != 0)
706 break;
707 return 56; // "anyext_of_anyext"
708 case 'v': // 2 strings to match.
709 if (memcmp(RuleIdentifier.data()+2, "gfloor_", 7) != 0)
710 break;
711 switch (RuleIdentifier[9]) {
712 default: break;
713 case 's': // 1 string to match.
714 if (memcmp(RuleIdentifier.data()+10, "_match", 6) != 0)
715 break;
716 return 336; // "avgfloor_s_match"
717 case 'u': // 1 string to match.
718 if (memcmp(RuleIdentifier.data()+10, "_match", 6) != 0)
719 break;
720 return 335; // "avgfloor_u_match"
721 }
722 break;
723 }
724 break;
725 case 'c': // 1 string to match.
726 if (memcmp(RuleIdentifier.data()+1, "ommute_shift_or", 15) != 0)
727 break;
728 return 208; // "commute_shift_or"
729 case 'i': // 1 string to match.
730 if (memcmp(RuleIdentifier.data()+1, "2p_to_p2i_trunc", 15) != 0)
731 break;
732 return 101; // "i2p_to_p2i_trunc"
733 case 'n': // 5 strings to match.
734 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_", 12) != 0)
735 break;
736 switch (RuleIdentifier[13]) {
737 default: break;
738 case 'a': // 2 strings to match.
739 switch (RuleIdentifier[14]) {
740 default: break;
741 case 'd': // 1 string to match.
742 if (RuleIdentifier[15] != 'd')
743 break;
744 return 64; // "narrow_binop_add"
745 case 'n': // 1 string to match.
746 if (RuleIdentifier[15] != 'd')
747 break;
748 return 67; // "narrow_binop_and"
749 }
750 break;
751 case 'm': // 1 string to match.
752 if (memcmp(RuleIdentifier.data()+14, "ul", 2) != 0)
753 break;
754 return 66; // "narrow_binop_mul"
755 case 's': // 1 string to match.
756 if (memcmp(RuleIdentifier.data()+14, "ub", 2) != 0)
757 break;
758 return 65; // "narrow_binop_sub"
759 case 'x': // 1 string to match.
760 if (memcmp(RuleIdentifier.data()+14, "or", 2) != 0)
761 break;
762 return 69; // "narrow_binop_xor"
763 }
764 break;
765 case 'o': // 1 string to match.
766 if (memcmp(RuleIdentifier.data()+1, "r_and_xor_to_or", 15) != 0)
767 break;
768 return 284; // "or_and_xor_to_or"
769 case 's': // 7 strings to match.
770 switch (RuleIdentifier[1]) {
771 default: break;
772 case 'd': // 1 string to match.
773 if (memcmp(RuleIdentifier.data()+2, "iv_to_unsigned", 14) != 0)
774 break;
775 return 155; // "sdiv_to_unsigned"
776 case 'e': // 3 strings to match.
777 if (memcmp(RuleIdentifier.data()+2, "lect_", 5) != 0)
778 break;
779 switch (RuleIdentifier[7]) {
780 default: break;
781 case 'o': // 1 string to match.
782 if (memcmp(RuleIdentifier.data()+8, "f_anyext", 8) != 0)
783 break;
784 return 61; // "select_of_anyext"
785 case 't': // 1 string to match.
786 if (memcmp(RuleIdentifier.data()+8, "o_minmax", 8) != 0)
787 break;
788 return 251; // "select_to_minmax"
789 case 'u': // 1 string to match.
790 if (memcmp(RuleIdentifier.data()+8, "ndef_cmp", 8) != 0)
791 break;
792 return 136; // "select_undef_cmp"
793 }
794 break;
795 case 'r': // 1 string to match.
796 if (memcmp(RuleIdentifier.data()+2, "em_to_unsigned", 14) != 0)
797 break;
798 return 156; // "srem_to_unsigned"
799 case 'u': // 2 strings to match.
800 if (memcmp(RuleIdentifier.data()+2, "b_o", 3) != 0)
801 break;
802 switch (RuleIdentifier[5]) {
803 default: break;
804 case 'f': // 1 string to match.
805 if (memcmp(RuleIdentifier.data()+6, "_mul_const", 10) != 0)
806 break;
807 return 330; // "sub_of_mul_const"
808 case 'n': // 1 string to match.
809 if (memcmp(RuleIdentifier.data()+6, "e_from_sub", 10) != 0)
810 break;
811 return 327; // "sub_one_from_sub"
812 }
813 break;
814 }
815 break;
816 case 't': // 2 strings to match.
817 if (memcmp(RuleIdentifier.data()+1, "runcate_of_", 11) != 0)
818 break;
819 switch (RuleIdentifier[12]) {
820 default: break;
821 case 's': // 1 string to match.
822 if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
823 break;
824 return 50; // "truncate_of_sext"
825 case 'z': // 1 string to match.
826 if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
827 break;
828 return 49; // "truncate_of_zext"
829 }
830 break;
831 case 'u': // 1 string to match.
832 if (memcmp(RuleIdentifier.data()+1, "ndef_to_fp_zero", 15) != 0)
833 break;
834 return 77; // "undef_to_fp_zero"
835 }
836 break;
837 case 17: // 21 strings to match.
838 switch (RuleIdentifier[0]) {
839 default: break;
840 case 'A': // 2 strings to match.
841 if (memcmp(RuleIdentifier.data()+1, "PlusBMinus", 10) != 0)
842 break;
843 switch (RuleIdentifier[11]) {
844 default: break;
845 case 'A': // 1 string to match.
846 if (memcmp(RuleIdentifier.data()+12, "plusC", 5) != 0)
847 break;
848 return 8; // "APlusBMinusAplusC"
849 case 'C': // 1 string to match.
850 if (memcmp(RuleIdentifier.data()+12, "PlusA", 5) != 0)
851 break;
852 return 10; // "APlusBMinusCPlusA"
853 }
854 break;
855 case 'a': // 3 strings to match.
856 switch (RuleIdentifier[1]) {
857 default: break;
858 case 'd': // 1 string to match.
859 if (memcmp(RuleIdentifier.data()+2, "d_p2i_to_ptradd", 15) != 0)
860 break;
861 return 22; // "add_p2i_to_ptradd"
862 case 'n': // 2 strings to match.
863 switch (RuleIdentifier[2]) {
864 default: break;
865 case 'd': // 1 string to match.
866 if (memcmp(RuleIdentifier.data()+3, "_xor_or_to_and", 14) != 0)
867 break;
868 return 286; // "and_xor_or_to_and"
869 case 'y': // 1 string to match.
870 if (memcmp(RuleIdentifier.data()+3, "ext_trunc_fold", 14) != 0)
871 break;
872 return 102; // "anyext_trunc_fold"
873 }
874 break;
875 }
876 break;
877 case 'c': // 5 strings to match.
878 switch (RuleIdentifier[1]) {
879 default: break;
880 case 'a': // 2 strings to match.
881 if (memcmp(RuleIdentifier.data()+2, "nonicalize_", 11) != 0)
882 break;
883 switch (RuleIdentifier[13]) {
884 default: break;
885 case 'f': // 1 string to match.
886 if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
887 break;
888 return 125; // "canonicalize_fcmp"
889 case 'i': // 1 string to match.
890 if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
891 break;
892 return 124; // "canonicalize_icmp"
893 }
894 break;
895 case 'o': // 3 strings to match.
896 switch (RuleIdentifier[2]) {
897 default: break;
898 case 'm': // 2 strings to match.
899 switch (RuleIdentifier[3]) {
900 default: break;
901 case 'b': // 1 string to match.
902 if (memcmp(RuleIdentifier.data()+4, "ine_or_of_and", 13) != 0)
903 break;
904 return 339; // "combine_or_of_and"
905 case 'm': // 1 string to match.
906 if (memcmp(RuleIdentifier.data()+4, "ute_shift_add", 13) != 0)
907 break;
908 return 207; // "commute_shift_add"
909 }
910 break;
911 case 'n': // 1 string to match.
912 if (memcmp(RuleIdentifier.data()+3, "stant_fold_fma", 14) != 0)
913 break;
914 return 215; // "constant_fold_fma"
915 }
916 break;
917 }
918 break;
919 case 'd': // 1 string to match.
920 if (memcmp(RuleIdentifier.data()+1, "iv_rem_to_divrem", 16) != 0)
921 break;
922 return 196; // "div_rem_to_divrem"
923 case 'e': // 1 string to match.
924 if (memcmp(RuleIdentifier.data()+1, "rase_undef_store", 16) != 0)
925 break;
926 return 88; // "erase_undef_store"
927 case 'f': // 1 string to match.
928 if (memcmp(RuleIdentifier.data()+1, "old_fabs_fptrunc", 16) != 0)
929 break;
930 return 347; // "fold_fabs_fptrunc"
931 case 'm': // 2 strings to match.
932 if (memcmp(RuleIdentifier.data()+1, "atch_addos_", 11) != 0)
933 break;
934 switch (RuleIdentifier[12]) {
935 default: break;
936 case 's': // 1 string to match.
937 if (memcmp(RuleIdentifier.data()+13, "addo", 4) != 0)
938 break;
939 return 311; // "match_addos_saddo"
940 case 'u': // 1 string to match.
941 if (memcmp(RuleIdentifier.data()+13, "addo", 4) != 0)
942 break;
943 return 312; // "match_addos_uaddo"
944 }
945 break;
946 case 's': // 4 strings to match.
947 switch (RuleIdentifier[1]) {
948 default: break;
949 case 'e': // 2 strings to match.
950 if (memcmp(RuleIdentifier.data()+2, "lect_", 5) != 0)
951 break;
952 switch (RuleIdentifier[7]) {
953 default: break;
954 case 't': // 1 string to match.
955 if (memcmp(RuleIdentifier.data()+8, "o_iminmax", 9) != 0)
956 break;
957 return 141; // "select_to_iminmax"
958 case 'z': // 1 string to match.
959 if (memcmp(RuleIdentifier.data()+8, "ero_false", 9) != 0)
960 break;
961 return 143; // "select_zero_false"
962 }
963 break;
964 case 'h': // 1 string to match.
965 if (memcmp(RuleIdentifier.data()+2, "ift_immed_chain", 15) != 0)
966 break;
967 return 193; // "shift_immed_chain"
968 case 'r': // 1 string to match.
969 if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
970 break;
971 return 238; // "srem_pow2_to_mask"
972 }
973 break;
974 case 'u': // 2 strings to match.
975 switch (RuleIdentifier[1]) {
976 default: break;
977 case 'n': // 1 string to match.
978 if (memcmp(RuleIdentifier.data()+2, "def_to_int_zero", 15) != 0)
979 break;
980 return 78; // "undef_to_int_zero"
981 case 'r': // 1 string to match.
982 if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
983 break;
984 return 152; // "urem_pow2_to_mask"
985 }
986 break;
987 }
988 break;
989 case 18: // 19 strings to match.
990 switch (RuleIdentifier[0]) {
991 default: break;
992 case 'A': // 3 strings to match.
993 switch (RuleIdentifier[1]) {
994 default: break;
995 case 'M': // 2 strings to match.
996 if (memcmp(RuleIdentifier.data()+2, "inusBPlus", 9) != 0)
997 break;
998 switch (RuleIdentifier[11]) {
999 default: break;
1000 case 'B': // 1 string to match.
1001 if (memcmp(RuleIdentifier.data()+12, "MinusC", 6) != 0)
1002 break;
1003 return 7; // "AMinusBPlusBMinusC"
1004 case 'C': // 1 string to match.
1005 if (memcmp(RuleIdentifier.data()+12, "MinusA", 6) != 0)
1006 break;
1007 return 6; // "AMinusBPlusCMinusA"
1008 }
1009 break;
1010 case 'P': // 1 string to match.
1011 if (memcmp(RuleIdentifier.data()+2, "lusBMinusCMinusB", 16) != 0)
1012 break;
1013 return 0; // "APlusBMinusCMinusB"
1014 }
1015 break;
1016 case 'a': // 4 strings to match.
1017 if (memcmp(RuleIdentifier.data()+1, "dde_to_addo_", 12) != 0)
1018 break;
1019 switch (RuleIdentifier[13]) {
1020 default: break;
1021 case 's': // 2 strings to match.
1022 switch (RuleIdentifier[14]) {
1023 default: break;
1024 case 'a': // 1 string to match.
1025 if (memcmp(RuleIdentifier.data()+15, "dde", 3) != 0)
1026 break;
1027 return 182; // "adde_to_addo_sadde"
1028 case 's': // 1 string to match.
1029 if (memcmp(RuleIdentifier.data()+15, "ube", 3) != 0)
1030 break;
1031 return 184; // "adde_to_addo_ssube"
1032 }
1033 break;
1034 case 'u': // 2 strings to match.
1035 switch (RuleIdentifier[14]) {
1036 default: break;
1037 case 'a': // 1 string to match.
1038 if (memcmp(RuleIdentifier.data()+15, "dde", 3) != 0)
1039 break;
1040 return 181; // "adde_to_addo_uadde"
1041 case 's': // 1 string to match.
1042 if (memcmp(RuleIdentifier.data()+15, "ube", 3) != 0)
1043 break;
1044 return 183; // "adde_to_addo_usube"
1045 }
1046 break;
1047 }
1048 break;
1049 case 'b': // 1 string to match.
1050 if (memcmp(RuleIdentifier.data()+1, "inop_left_to_zero", 17) != 0)
1051 break;
1052 return 96; // "binop_left_to_zero"
1053 case 'c': // 3 strings to match.
1054 if (RuleIdentifier[1] != 'o')
1055 break;
1056 switch (RuleIdentifier[2]) {
1057 default: break;
1058 case 'm': // 1 string to match.
1059 if (memcmp(RuleIdentifier.data()+3, "bine_or_s64_s32", 15) != 0)
1060 break;
1061 return 360; // "combine_or_s64_s32"
1062 case 'n': // 2 strings to match.
1063 if (memcmp(RuleIdentifier.data()+3, "stant_fold_f", 12) != 0)
1064 break;
1065 switch (RuleIdentifier[15]) {
1066 default: break;
1067 case 'a': // 1 string to match.
1068 if (memcmp(RuleIdentifier.data()+16, "bs", 2) != 0)
1069 break;
1070 return 161; // "constant_fold_fabs"
1071 case 'n': // 1 string to match.
1072 if (memcmp(RuleIdentifier.data()+16, "eg", 2) != 0)
1073 break;
1074 return 160; // "constant_fold_fneg"
1075 }
1076 break;
1077 }
1078 break;
1079 case 'e': // 1 string to match.
1080 if (memcmp(RuleIdentifier.data()+1, "xpand_const_fpowi", 17) != 0)
1081 break;
1082 return 189; // "expand_const_fpowi"
1083 case 'f': // 2 strings to match.
1084 if (memcmp(RuleIdentifier.data()+1, "pt", 2) != 0)
1085 break;
1086 switch (RuleIdentifier[3]) {
1087 default: break;
1088 case 'o': // 1 string to match.
1089 if (memcmp(RuleIdentifier.data()+4, "ui_ffloor_fold", 14) != 0)
1090 break;
1091 return 319; // "fptoui_ffloor_fold"
1092 case 'r': // 1 string to match.
1093 if (memcmp(RuleIdentifier.data()+4, "unc_fpext_fold", 14) != 0)
1094 break;
1095 return 113; // "fptrunc_fpext_fold"
1096 }
1097 break;
1098 case 'm': // 2 strings to match.
1099 if (memcmp(RuleIdentifier.data()+1, "inmax_nan_num_", 14) != 0)
1100 break;
1101 switch (RuleIdentifier[15]) {
1102 default: break;
1103 case 'l': // 1 string to match.
1104 if (memcmp(RuleIdentifier.data()+16, "hs", 2) != 0)
1105 break;
1106 return 185; // "minmax_nan_num_lhs"
1107 case 'r': // 1 string to match.
1108 if (memcmp(RuleIdentifier.data()+16, "hs", 2) != 0)
1109 break;
1110 return 186; // "minmax_nan_num_rhs"
1111 }
1112 break;
1113 case 's': // 2 strings to match.
1114 if (RuleIdentifier[1] != 'e')
1115 break;
1116 switch (RuleIdentifier[2]) {
1117 default: break;
1118 case 'l': // 1 string to match.
1119 if (memcmp(RuleIdentifier.data()+3, "ect_of_truncate", 15) != 0)
1120 break;
1121 return 62; // "select_of_truncate"
1122 case 'x': // 1 string to match.
1123 if (memcmp(RuleIdentifier.data()+3, "t_inreg_of_load", 15) != 0)
1124 break;
1125 return 133; // "sext_inreg_of_load"
1126 }
1127 break;
1128 case 't': // 1 string to match.
1129 if (memcmp(RuleIdentifier.data()+1, "runcate_of_anyext", 17) != 0)
1130 break;
1131 return 51; // "truncate_of_anyext"
1132 }
1133 break;
1134 case 19: // 23 strings to match.
1135 switch (RuleIdentifier[0]) {
1136 default: break;
1137 case 'A': // 1 string to match.
1138 if (memcmp(RuleIdentifier.data()+1, "MinusBMinusCMinusC", 18) != 0)
1139 break;
1140 return 1; // "AMinusBMinusCMinusC"
1141 case 'b': // 1 string to match.
1142 if (memcmp(RuleIdentifier.data()+1, "inop_right_to_zero", 18) != 0)
1143 break;
1144 return 97; // "binop_right_to_zero"
1145 case 'c': // 7 strings to match.
1146 if (memcmp(RuleIdentifier.data()+1, "onst", 4) != 0)
1147 break;
1148 switch (RuleIdentifier[5]) {
1149 default: break;
1150 case '_': // 1 string to match.
1151 if (memcmp(RuleIdentifier.data()+6, "ptradd_to_i2p", 13) != 0)
1152 break;
1153 return 175; // "const_ptradd_to_i2p"
1154 case 'a': // 6 strings to match.
1155 if (memcmp(RuleIdentifier.data()+6, "nt_fold_", 8) != 0)
1156 break;
1157 switch (RuleIdentifier[14]) {
1158 default: break;
1159 case 'b': // 1 string to match.
1160 if (memcmp(RuleIdentifier.data()+15, "inop", 4) != 0)
1161 break;
1162 return 213; // "constant_fold_binop"
1163 case 'f': // 5 strings to match.
1164 switch (RuleIdentifier[15]) {
1165 default: break;
1166 case 'c': // 1 string to match.
1167 if (memcmp(RuleIdentifier.data()+16, "eil", 3) != 0)
1168 break;
1169 return 166; // "constant_fold_fceil"
1170 case 'l': // 1 string to match.
1171 if (memcmp(RuleIdentifier.data()+16, "og2", 3) != 0)
1172 break;
1173 return 163; // "constant_fold_flog2"
1174 case 'p': // 1 string to match.
1175 if (memcmp(RuleIdentifier.data()+16, "ext", 3) != 0)
1176 break;
1177 return 165; // "constant_fold_fpext"
1178 case 'r': // 1 string to match.
1179 if (memcmp(RuleIdentifier.data()+16, "int", 3) != 0)
1180 break;
1181 return 171; // "constant_fold_frint"
1182 case 's': // 1 string to match.
1183 if (memcmp(RuleIdentifier.data()+16, "qrt", 3) != 0)
1184 break;
1185 return 162; // "constant_fold_fsqrt"
1186 }
1187 break;
1188 }
1189 break;
1190 }
1191 break;
1192 case 'e': // 1 string to match.
1193 if (memcmp(RuleIdentifier.data()+1, "xtend_through_phis", 18) != 0)
1194 break;
1195 return 117; // "extend_through_phis"
1196 case 'f': // 2 strings to match.
1197 switch (RuleIdentifier[1]) {
1198 default: break;
1199 case 'o': // 1 string to match.
1200 if (memcmp(RuleIdentifier.data()+2, "ld_sub_into_usube", 17) != 0)
1201 break;
1202 return 366; // "fold_sub_into_usube"
1203 case 's': // 1 string to match.
1204 if (memcmp(RuleIdentifier.data()+2, "qrt_of_rcp_to_rsq", 17) != 0)
1205 break;
1206 return 350; // "fsqrt_of_rcp_to_rsq"
1207 }
1208 break;
1209 case 'i': // 1 string to match.
1210 if (memcmp(RuleIdentifier.data()+1, "nteger_of_truncate", 18) != 0)
1211 break;
1212 return 70; // "integer_of_truncate"
1213 case 'm': // 3 strings to match.
1214 switch (RuleIdentifier[1]) {
1215 default: break;
1216 case 'e': // 1 string to match.
1217 if (memcmp(RuleIdentifier.data()+2, "rge_of_x_and_zero", 17) != 0)
1218 break;
1219 return 307; // "merge_of_x_and_zero"
1220 case 'i': // 2 strings to match.
1221 if (memcmp(RuleIdentifier.data()+2, "nmax_nan_ieee_", 14) != 0)
1222 break;
1223 switch (RuleIdentifier[16]) {
1224 default: break;
1225 case 'l': // 1 string to match.
1226 if (memcmp(RuleIdentifier.data()+17, "hs", 2) != 0)
1227 break;
1228 return 187; // "minmax_nan_ieee_lhs"
1229 case 'r': // 1 string to match.
1230 if (memcmp(RuleIdentifier.data()+17, "hs", 2) != 0)
1231 break;
1232 return 188; // "minmax_nan_ieee_rhs"
1233 }
1234 break;
1235 }
1236 break;
1237 case 'p': // 1 string to match.
1238 if (memcmp(RuleIdentifier.data()+1, "tr_add_immed_chain", 18) != 0)
1239 break;
1240 return 123; // "ptr_add_immed_chain"
1241 case 'r': // 3 strings to match.
1242 switch (RuleIdentifier[1]) {
1243 default: break;
1244 case 'c': // 1 string to match.
1245 if (memcmp(RuleIdentifier.data()+2, "p_of_fsqrt_to_rsq", 17) != 0)
1246 break;
1247 return 348; // "rcp_of_fsqrt_to_rsq"
1248 case 'e': // 1 string to match.
1249 if (memcmp(RuleIdentifier.data()+2, "assoc_comm_binops", 17) != 0)
1250 break;
1251 return 122; // "reassoc_comm_binops"
1252 case 'i': // 1 string to match.
1253 if (memcmp(RuleIdentifier.data()+2, "ght_identity_zero", 17) != 0)
1254 break;
1255 return 93; // "right_identity_zero"
1256 }
1257 break;
1258 case 's': // 2 strings to match.
1259 if (memcmp(RuleIdentifier.data()+1, "implify_", 8) != 0)
1260 break;
1261 switch (RuleIdentifier[9]) {
1262 default: break;
1263 case 'a': // 1 string to match.
1264 if (memcmp(RuleIdentifier.data()+10, "dd_to_sub", 9) != 0)
1265 break;
1266 return 118; // "simplify_add_to_sub"
1267 case 'n': // 1 string to match.
1268 if (memcmp(RuleIdentifier.data()+10, "eg_minmax", 9) != 0)
1269 break;
1270 return 290; // "simplify_neg_minmax"
1271 }
1272 break;
1273 case 'u': // 1 string to match.
1274 if (memcmp(RuleIdentifier.data()+1, "nary_undef_to_zero", 18) != 0)
1275 break;
1276 return 82; // "unary_undef_to_zero"
1277 }
1278 break;
1279 case 20: // 12 strings to match.
1280 switch (RuleIdentifier[0]) {
1281 default: break;
1282 case 'a': // 1 string to match.
1283 if (memcmp(RuleIdentifier.data()+1, "nd_or_disjoint_mask", 19) != 0)
1284 break;
1285 return 227; // "and_or_disjoint_mask"
1286 case 'b': // 1 string to match.
1287 if (memcmp(RuleIdentifier.data()+1, "itcast_bitcast_fold", 19) != 0)
1288 break;
1289 return 111; // "bitcast_bitcast_fold"
1290 case 'c': // 1 string to match.
1291 if (memcmp(RuleIdentifier.data()+1, "onstant_fold_ffloor", 19) != 0)
1292 break;
1293 return 167; // "constant_fold_ffloor"
1294 case 'i': // 1 string to match.
1295 if (memcmp(RuleIdentifier.data()+1, "2p_to_p2i_same_size", 19) != 0)
1296 break;
1297 return 99; // "i2p_to_p2i_same_size"
1298 case 'm': // 1 string to match.
1299 if (memcmp(RuleIdentifier.data()+1, "erge_of_x_and_undef", 19) != 0)
1300 break;
1301 return 306; // "merge_of_x_and_undef"
1302 case 'o': // 1 string to match.
1303 if (memcmp(RuleIdentifier.data()+1, "r_and_xor_to_xor_or", 19) != 0)
1304 break;
1305 return 285; // "or_and_xor_to_xor_or"
1306 case 'r': // 3 strings to match.
1307 if (RuleIdentifier[1] != 'e')
1308 break;
1309 switch (RuleIdentifier[2]) {
1310 default: break;
1311 case 'd': // 2 strings to match.
1312 if (RuleIdentifier[3] != 'u')
1313 break;
1314 switch (RuleIdentifier[4]) {
1315 default: break;
1316 case 'c': // 1 string to match.
1317 if (memcmp(RuleIdentifier.data()+5, "e_shl_of_extend", 15) != 0)
1318 break;
1319 return 134; // "reduce_shl_of_extend"
1320 case 'n': // 1 string to match.
1321 if (memcmp(RuleIdentifier.data()+5, "dant_sext_inreg", 15) != 0)
1322 break;
1323 return 145; // "redundant_sext_inreg"
1324 }
1325 break;
1326 case 'm': // 1 string to match.
1327 if (memcmp(RuleIdentifier.data()+3, "ove_fcanonicalize", 17) != 0)
1328 break;
1329 return 345; // "remove_fcanonicalize"
1330 }
1331 break;
1332 case 'u': // 3 strings to match.
1333 switch (RuleIdentifier[1]) {
1334 default: break;
1335 case 'd': // 1 string to match.
1336 if (memcmp(RuleIdentifier.data()+2, "iv_by_shifted_pow2", 18) != 0)
1337 break;
1338 return 242; // "udiv_by_shifted_pow2"
1339 case 'n': // 2 strings to match.
1340 switch (RuleIdentifier[2]) {
1341 default: break;
1342 case 'a': // 1 string to match.
1343 if (memcmp(RuleIdentifier.data()+3, "ry_undef_to_undef", 17) != 0)
1344 break;
1345 return 83; // "unary_undef_to_undef"
1346 case 'm': // 1 string to match.
1347 if (memcmp(RuleIdentifier.data()+3, "erge_zext_to_zext", 17) != 0)
1348 break;
1349 return 305; // "unmerge_zext_to_zext"
1350 }
1351 break;
1352 }
1353 break;
1354 }
1355 break;
1356 case 21: // 15 strings to match.
1357 switch (RuleIdentifier[0]) {
1358 default: break;
1359 case 'a': // 1 string to match.
1360 if (memcmp(RuleIdentifier.data()+1, "nd_xor_or_to_xor_and", 20) != 0)
1361 break;
1362 return 287; // "and_xor_or_to_xor_and"
1363 case 'c': // 4 strings to match.
1364 if (RuleIdentifier[1] != 'o')
1365 break;
1366 switch (RuleIdentifier[2]) {
1367 default: break;
1368 case 'm': // 2 strings to match.
1369 if (memcmp(RuleIdentifier.data()+3, "bine_", 5) != 0)
1370 break;
1371 switch (RuleIdentifier[8]) {
1372 default: break;
1373 case 'b': // 1 string to match.
1374 if (memcmp(RuleIdentifier.data()+9, "uild_unmerge", 12) != 0)
1375 break;
1376 return 308; // "combine_build_unmerge"
1377 case 'c': // 1 string to match.
1378 if (memcmp(RuleIdentifier.data()+9, "oncat_vector", 12) != 0)
1379 break;
1380 return 291; // "combine_concat_vector"
1381 }
1382 break;
1383 case 'n': // 2 strings to match.
1384 if (memcmp(RuleIdentifier.data()+3, "stant_fold_", 11) != 0)
1385 break;
1386 switch (RuleIdentifier[14]) {
1387 default: break;
1388 case 'c': // 1 string to match.
1389 if (memcmp(RuleIdentifier.data()+15, "ast_op", 6) != 0)
1390 break;
1391 return 216; // "constant_fold_cast_op"
1392 case 'f': // 1 string to match.
1393 if (memcmp(RuleIdentifier.data()+15, "ptrunc", 6) != 0)
1394 break;
1395 return 164; // "constant_fold_fptrunc"
1396 }
1397 break;
1398 }
1399 break;
1400 case 'e': // 1 string to match.
1401 if (memcmp(RuleIdentifier.data()+1, "xpand_promoted_fmed3", 20) != 0)
1402 break;
1403 return 341; // "expand_promoted_fmed3"
1404 case 'f': // 2 strings to match.
1405 switch (RuleIdentifier[1]) {
1406 default: break;
1407 case 'd': // 1 string to match.
1408 if (memcmp(RuleIdentifier.data()+2, "iv_repeated_divison", 19) != 0)
1409 break;
1410 return 246; // "fdiv_repeated_divison"
1411 case 'p': // 1 string to match.
1412 if (memcmp(RuleIdentifier.data()+2, "touisat_ffloor_fold", 19) != 0)
1413 break;
1414 return 320; // "fptouisat_ffloor_fold"
1415 }
1416 break;
1417 case 'i': // 1 string to match.
1418 if (memcmp(RuleIdentifier.data()+1, "nsert_vector_elt_oob", 20) != 0)
1419 break;
1420 return 29; // "insert_vector_elt_oob"
1421 case 'l': // 1 string to match.
1422 if (memcmp(RuleIdentifier.data()+1, "shr_of_trunc_of_lshr", 20) != 0)
1423 break;
1424 return 321; // "lshr_of_trunc_of_lshr"
1425 case 'r': // 1 string to match.
1426 if (memcmp(RuleIdentifier.data()+1, "ight_identity_one_fp", 20) != 0)
1427 break;
1428 return 105; // "right_identity_one_fp"
1429 case 's': // 2 strings to match.
1430 switch (RuleIdentifier[1]) {
1431 default: break;
1432 case 'e': // 1 string to match.
1433 if (memcmp(RuleIdentifier.data()+2, "lect_same_val_equiv", 19) != 0)
1434 break;
1435 return 92; // "select_same_val_equiv"
1436 case 'i': // 1 string to match.
1437 if (memcmp(RuleIdentifier.data()+2, "gn_extension_in_reg", 19) != 0)
1438 break;
1439 return 353; // "sign_extension_in_reg"
1440 }
1441 break;
1442 case 'u': // 2 strings to match.
1443 if (RuleIdentifier[1] != 'n')
1444 break;
1445 switch (RuleIdentifier[2]) {
1446 default: break;
1447 case 'd': // 1 string to match.
1448 if (memcmp(RuleIdentifier.data()+3, "ef_to_negative_one", 18) != 0)
1449 break;
1450 return 79; // "undef_to_negative_one"
1451 case 'm': // 1 string to match.
1452 if (memcmp(RuleIdentifier.data()+3, "erge_dead_to_trunc", 18) != 0)
1453 break;
1454 return 304; // "unmerge_dead_to_trunc"
1455 }
1456 break;
1457 }
1458 break;
1459 case 22: // 11 strings to match.
1460 switch (RuleIdentifier[0]) {
1461 default: break;
1462 case 'c': // 2 strings to match.
1463 if (RuleIdentifier[1] != 'o')
1464 break;
1465 switch (RuleIdentifier[2]) {
1466 default: break;
1467 case 'm': // 1 string to match.
1468 if (memcmp(RuleIdentifier.data()+3, "bine_shuffle_concat", 19) != 0)
1469 break;
1470 return 295; // "combine_shuffle_concat"
1471 case 'n': // 1 string to match.
1472 if (memcmp(RuleIdentifier.data()+3, "stant_fold_fp_binop", 19) != 0)
1473 break;
1474 return 214; // "constant_fold_fp_binop"
1475 }
1476 break;
1477 case 'f': // 2 strings to match.
1478 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_", 12) != 0)
1479 break;
1480 switch (RuleIdentifier[13]) {
1481 default: break;
1482 case 'l': // 1 string to match.
1483 if (memcmp(RuleIdentifier.data()+14, "eft_zero", 8) != 0)
1484 break;
1485 return 201; // "funnel_shift_left_zero"
1486 case 'o': // 1 string to match.
1487 if (memcmp(RuleIdentifier.data()+14, "vershift", 8) != 0)
1488 break;
1489 return 202; // "funnel_shift_overshift"
1490 }
1491 break;
1492 case 'i': // 1 string to match.
1493 if (memcmp(RuleIdentifier.data()+1, "cmp_to_lhs_known_bits", 21) != 0)
1494 break;
1495 return 127; // "icmp_to_lhs_known_bits"
1496 case 'm': // 1 string to match.
1497 if (memcmp(RuleIdentifier.data()+1, "ul_by_zero_one_vector", 21) != 0)
1498 break;
1499 return 46; // "mul_by_zero_one_vector"
1500 case 'p': // 1 string to match.
1501 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_any_op", 21) != 0)
1502 break;
1503 return 84; // "propagate_undef_any_op"
1504 case 'r': // 1 string to match.
1505 if (memcmp(RuleIdentifier.data()+1, "ight_identity_one_int", 21) != 0)
1506 break;
1507 return 104; // "right_identity_one_int"
1508 case 's': // 2 strings to match.
1509 switch (RuleIdentifier[1]) {
1510 default: break;
1511 case 'h': // 1 string to match.
1512 if (memcmp(RuleIdentifier.data()+2, "l_ashr_to_sext_inreg", 20) != 0)
1513 break;
1514 return 131; // "shl_ashr_to_sext_inreg"
1515 case 'i': // 1 string to match.
1516 if (memcmp(RuleIdentifier.data()+2, "mplify_demanded_bits", 20) != 0)
1517 break;
1518 return 367; // "simplify_demanded_bits"
1519 }
1520 break;
1521 case 't': // 1 string to match.
1522 if (memcmp(RuleIdentifier.data()+1, "runc_buildvector_fold", 21) != 0)
1523 break;
1524 return 109; // "trunc_buildvector_fold"
1525 }
1526 break;
1527 case 23: // 7 strings to match.
1528 switch (RuleIdentifier[0]) {
1529 default: break;
1530 case 'b': // 1 string to match.
1531 if (memcmp(RuleIdentifier.data()+1, "uildvector_of_truncate", 22) != 0)
1532 break;
1533 return 63; // "buildvector_of_truncate"
1534 case 'f': // 2 strings to match.
1535 switch (RuleIdentifier[1]) {
1536 default: break;
1537 case 'd': // 1 string to match.
1538 if (memcmp(RuleIdentifier.data()+2, "iv_by_sqrt_to_rsq_f16", 21) != 0)
1539 break;
1540 return 352; // "fdiv_by_sqrt_to_rsq_f16"
1541 case 'u': // 1 string to match.
1542 if (memcmp(RuleIdentifier.data()+2, "nnel_shift_right_zero", 21) != 0)
1543 break;
1544 return 200; // "funnel_shift_right_zero"
1545 }
1546 break;
1547 case 'i': // 2 strings to match.
1548 if (memcmp(RuleIdentifier.data()+1, "tof_const_zero_fold_", 20) != 0)
1549 break;
1550 switch (RuleIdentifier[21]) {
1551 default: break;
1552 case 's': // 1 string to match.
1553 if (RuleIdentifier[22] != 'i')
1554 break;
1555 return 173; // "itof_const_zero_fold_si"
1556 case 'u': // 1 string to match.
1557 if (RuleIdentifier[22] != 'i')
1558 break;
1559 return 174; // "itof_const_zero_fold_ui"
1560 }
1561 break;
1562 case 's': // 1 string to match.
1563 if (memcmp(RuleIdentifier.data()+1, "elect_same_val_trivial", 22) != 0)
1564 break;
1565 return 91; // "select_same_val_trivial"
1566 case 't': // 1 string to match.
1567 if (memcmp(RuleIdentifier.data()+1, "runcusatu_to_fptouisat", 22) != 0)
1568 break;
1569 return 318; // "truncusatu_to_fptouisat"
1570 }
1571 break;
1572 case 24: // 17 strings to match.
1573 switch (RuleIdentifier[0]) {
1574 default: break;
1575 case 'b': // 1 string to match.
1576 if (memcmp(RuleIdentifier.data()+1, "inop_left_undef_to_zero", 23) != 0)
1577 break;
1578 return 80; // "binop_left_undef_to_zero"
1579 case 'c': // 4 strings to match.
1580 switch (RuleIdentifier[1]) {
1581 default: break;
1582 case 'o': // 1 string to match.
1583 if (memcmp(RuleIdentifier.data()+2, "nstant_fold_fnearbyint", 22) != 0)
1584 break;
1585 return 172; // "constant_fold_fnearbyint"
1586 case 't': // 3 strings to match.
1587 switch (RuleIdentifier[2]) {
1588 default: break;
1589 case 'l': // 2 strings to match.
1590 if (memcmp(RuleIdentifier.data()+3, "z_", 2) != 0)
1591 break;
1592 switch (RuleIdentifier[5]) {
1593 default: break;
1594 case 't': // 1 string to match.
1595 if (memcmp(RuleIdentifier.data()+6, "o_ctlz_zero_poison", 18) != 0)
1596 break;
1597 return 324; // "ctlz_to_ctlz_zero_poison"
1598 case 'z': // 1 string to match.
1599 if (memcmp(RuleIdentifier.data()+6, "ero_poison_to_ctls", 18) != 0)
1600 break;
1601 return 323; // "ctlz_zero_poison_to_ctls"
1602 }
1603 break;
1604 case 't': // 1 string to match.
1605 if (memcmp(RuleIdentifier.data()+3, "z_to_cttz_zero_poison", 21) != 0)
1606 break;
1607 return 325; // "cttz_to_cttz_zero_poison"
1608 }
1609 break;
1610 }
1611 break;
1612 case 'f': // 2 strings to match.
1613 if (memcmp(RuleIdentifier.data()+1, "old_binop_into_select_", 22) != 0)
1614 break;
1615 switch (RuleIdentifier[23]) {
1616 default: break;
1617 case 'a': // 1 string to match.
1618 return 236; // "fold_binop_into_select_a"
1619 case 'b': // 1 string to match.
1620 return 237; // "fold_binop_into_select_b"
1621 }
1622 break;
1623 case 'm': // 1 string to match.
1624 if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element", 23) != 0)
1625 break;
1626 return 28; // "match_extract_of_element"
1627 case 'n': // 1 string to match.
1628 if (memcmp(RuleIdentifier.data()+1, "arrow_binop_feeding_and", 23) != 0)
1629 break;
1630 return 135; // "narrow_binop_feeding_and"
1631 case 'p': // 2 strings to match.
1632 if (memcmp(RuleIdentifier.data()+1, "tr_add_with_zero_", 17) != 0)
1633 break;
1634 switch (RuleIdentifier[18]) {
1635 default: break;
1636 case 's': // 1 string to match.
1637 if (memcmp(RuleIdentifier.data()+19, "calar", 5) != 0)
1638 break;
1639 return 191; // "ptr_add_with_zero_scalar"
1640 case 'v': // 1 string to match.
1641 if (memcmp(RuleIdentifier.data()+19, "ector", 5) != 0)
1642 break;
1643 return 192; // "ptr_add_with_zero_vector"
1644 }
1645 break;
1646 case 's': // 3 strings to match.
1647 if (RuleIdentifier[1] != 'e')
1648 break;
1649 switch (RuleIdentifier[2]) {
1650 default: break;
1651 case 'l': // 1 string to match.
1652 if (memcmp(RuleIdentifier.data()+3, "ect_constant_cmp_true", 21) != 0)
1653 break;
1654 return 138; // "select_constant_cmp_true"
1655 case 'x': // 2 strings to match.
1656 if (memcmp(RuleIdentifier.data()+3, "t_inreg_", 8) != 0)
1657 break;
1658 switch (RuleIdentifier[11]) {
1659 default: break;
1660 case 'o': // 1 string to match.
1661 if (memcmp(RuleIdentifier.data()+12, "f_sext_inreg", 12) != 0)
1662 break;
1663 return 59; // "sext_inreg_of_sext_inreg"
1664 case 't': // 1 string to match.
1665 if (memcmp(RuleIdentifier.data()+12, "o_zext_inreg", 12) != 0)
1666 break;
1667 return 154; // "sext_inreg_to_zext_inreg"
1668 }
1669 break;
1670 }
1671 break;
1672 case 't': // 2 strings to match.
1673 if (memcmp(RuleIdentifier.data()+1, "runc_lshr16_unmerge_", 20) != 0)
1674 break;
1675 switch (RuleIdentifier[21]) {
1676 default: break;
1677 case 'f': // 1 string to match.
1678 if (memcmp(RuleIdentifier.data()+22, "16", 2) != 0)
1679 break;
1680 return 356; // "trunc_lshr16_unmerge_f16"
1681 case 'i': // 1 string to match.
1682 if (memcmp(RuleIdentifier.data()+22, "16", 2) != 0)
1683 break;
1684 return 355; // "trunc_lshr16_unmerge_i16"
1685 }
1686 break;
1687 case 'x': // 1 string to match.
1688 if (memcmp(RuleIdentifier.data()+1, "or_of_and_with_same_reg", 23) != 0)
1689 break;
1690 return 190; // "xor_of_and_with_same_reg"
1691 }
1692 break;
1693 case 25: // 12 strings to match.
1694 switch (RuleIdentifier[0]) {
1695 default: break;
1696 case 'a': // 1 string to match.
1697 if (memcmp(RuleIdentifier.data()+1, "mdgcn_sqrt_of_rcp_to_rsq", 24) != 0)
1698 break;
1699 return 351; // "amdgcn_sqrt_of_rcp_to_rsq"
1700 case 'b': // 2 strings to match.
1701 if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_", 21) != 0)
1702 break;
1703 switch (RuleIdentifier[22]) {
1704 default: break;
1705 case 'a': // 1 string to match.
1706 if (memcmp(RuleIdentifier.data()+23, "nd", 2) != 0)
1707 break;
1708 return 210; // "bitfield_extract_from_and"
1709 case 's': // 1 string to match.
1710 if (memcmp(RuleIdentifier.data()+23, "hr", 2) != 0)
1711 break;
1712 return 211; // "bitfield_extract_from_shr"
1713 }
1714 break;
1715 case 'c': // 1 string to match.
1716 if (memcmp(RuleIdentifier.data()+1, "ombine_shuffle_undef_rhs", 24) != 0)
1717 break;
1718 return 296; // "combine_shuffle_undef_rhs"
1719 case 'e': // 1 string to match.
1720 if (memcmp(RuleIdentifier.data()+1, "xtract_vec_elt_build_vec", 24) != 0)
1721 break;
1722 return 72; // "extract_vec_elt_build_vec"
1723 case 'n': // 1 string to match.
1724 if (memcmp(RuleIdentifier.data()+1, "eg_and_one_to_sext_inreg", 24) != 0)
1725 break;
1726 return 132; // "neg_and_one_to_sext_inreg"
1727 case 'r': // 4 strings to match.
1728 switch (RuleIdentifier[1]) {
1729 default: break;
1730 case 'c': // 1 string to match.
1731 if (memcmp(RuleIdentifier.data()+2, "p_of_amdgcn_sqrt_to_rsq", 23) != 0)
1732 break;
1733 return 349; // "rcp_of_amdgcn_sqrt_to_rsq"
1734 case 'e': // 2 strings to match.
1735 if (memcmp(RuleIdentifier.data()+2, "dundant_", 8) != 0)
1736 break;
1737 switch (RuleIdentifier[10]) {
1738 default: break;
1739 case 'a': // 1 string to match.
1740 if (memcmp(RuleIdentifier.data()+11, "ext_sext_inreg", 14) != 0)
1741 break;
1742 return 147; // "redundant_aext_sext_inreg"
1743 case 'z': // 1 string to match.
1744 if (memcmp(RuleIdentifier.data()+11, "ext_sext_inreg", 14) != 0)
1745 break;
1746 return 146; // "redundant_zext_sext_inreg"
1747 }
1748 break;
1749 case 'i': // 1 string to match.
1750 if (memcmp(RuleIdentifier.data()+2, "ght_identity_neg_one_fp", 23) != 0)
1751 break;
1752 return 116; // "right_identity_neg_one_fp"
1753 }
1754 break;
1755 case 's': // 1 string to match.
1756 if (memcmp(RuleIdentifier.data()+1, "elect_constant_cmp_false", 24) != 0)
1757 break;
1758 return 137; // "select_constant_cmp_false"
1759 case 't': // 1 string to match.
1760 if (memcmp(RuleIdentifier.data()+1, "runc_lshr16_unmerge_bf16", 24) != 0)
1761 break;
1762 return 357; // "trunc_lshr16_unmerge_bf16"
1763 }
1764 break;
1765 case 26: // 5 strings to match.
1766 switch (RuleIdentifier[0]) {
1767 default: break;
1768 case 'b': // 2 strings to match.
1769 if (RuleIdentifier[1] != 'i')
1770 break;
1771 switch (RuleIdentifier[2]) {
1772 default: break;
1773 case 'n': // 1 string to match.
1774 if (memcmp(RuleIdentifier.data()+3, "op_right_undef_to_undef", 23) != 0)
1775 break;
1776 return 81; // "binop_right_undef_to_undef"
1777 case 't': // 1 string to match.
1778 if (memcmp(RuleIdentifier.data()+3, "cast_bitcast_to_bitcast", 23) != 0)
1779 break;
1780 return 112; // "bitcast_bitcast_to_bitcast"
1781 }
1782 break;
1783 case 'c': // 1 string to match.
1784 if (memcmp(RuleIdentifier.data()+1, "onstant_fold_unary_int_op", 25) != 0)
1785 break;
1786 return 217; // "constant_fold_unary_int_op"
1787 case 'f': // 1 string to match.
1788 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_from_or_shift", 25) != 0)
1789 break;
1790 return 197; // "funnel_shift_from_or_shift"
1791 case 'r': // 1 string to match.
1792 if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp", 25) != 0)
1793 break;
1794 return 114; // "right_identity_neg_zero_fp"
1795 }
1796 break;
1797 case 27: // 7 strings to match.
1798 switch (RuleIdentifier[0]) {
1799 default: break;
1800 case 'c': // 1 string to match.
1801 if (memcmp(RuleIdentifier.data()+1, "ombine_use_vector_truncate", 26) != 0)
1802 break;
1803 return 298; // "combine_use_vector_truncate"
1804 case 'd': // 1 string to match.
1805 if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_or_combine", 26) != 0)
1806 break;
1807 return 129; // "double_icmp_zero_or_combine"
1808 case 'f': // 1 string to match.
1809 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_to_rotate_left", 26) != 0)
1810 break;
1811 return 198; // "funnel_shift_to_rotate_left"
1812 case 'r': // 2 strings to match.
1813 if (memcmp(RuleIdentifier.data()+1, "edundant_", 9) != 0)
1814 break;
1815 switch (RuleIdentifier[10]) {
1816 default: break;
1817 case 'b': // 1 string to match.
1818 if (memcmp(RuleIdentifier.data()+11, "inop_in_equality", 16) != 0)
1819 break;
1820 return 130; // "redundant_binop_in_equality"
1821 case 'n': // 1 string to match.
1822 if (memcmp(RuleIdentifier.data()+11, "eg_operands_fsub", 16) != 0)
1823 break;
1824 return 222; // "redundant_neg_operands_fsub"
1825 }
1826 break;
1827 case 't': // 1 string to match.
1828 if (memcmp(RuleIdentifier.data()+1, "runc_lshr_buildvector_fold", 26) != 0)
1829 break;
1830 return 110; // "trunc_lshr_buildvector_fold"
1831 case 'u': // 1 string to match.
1832 if (memcmp(RuleIdentifier.data()+1, "nmerge_anyext_build_vector", 26) != 0)
1833 break;
1834 return 299; // "unmerge_anyext_build_vector"
1835 }
1836 break;
1837 case 28: // 14 strings to match.
1838 switch (RuleIdentifier[0]) {
1839 default: break;
1840 case 'G': // 1 string to match.
1841 if (memcmp(RuleIdentifier.data()+1, "_OR_commute_constant_to_rhs", 27) != 0)
1842 break;
1843 return 256; // "G_OR_commute_constant_to_rhs"
1844 case 'b': // 1 string to match.
1845 if (memcmp(RuleIdentifier.data()+1, "uildvector_identity_fold_bv", 27) != 0)
1846 break;
1847 return 107; // "buildvector_identity_fold_bv"
1848 case 'c': // 1 string to match.
1849 if (memcmp(RuleIdentifier.data()+1, "ombine_or_s64_with_s32_mask", 27) != 0)
1850 break;
1851 return 358; // "combine_or_s64_with_s32_mask"
1852 case 'd': // 1 string to match.
1853 if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_and_combine", 27) != 0)
1854 break;
1855 return 128; // "double_icmp_zero_and_combine"
1856 case 'e': // 1 string to match.
1857 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_undef", 27) != 0)
1858 break;
1859 return 25; // "extract_vector_element_undef"
1860 case 'f': // 1 string to match.
1861 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_to_rotate_right", 27) != 0)
1862 break;
1863 return 199; // "funnel_shift_to_rotate_right"
1864 case 'i': // 1 string to match.
1865 if (memcmp(RuleIdentifier.data()+1, "nsert_vec_elt_out_of_bounds", 27) != 0)
1866 break;
1867 return 89; // "insert_vec_elt_out_of_bounds"
1868 case 'm': // 4 strings to match.
1869 if (memcmp(RuleIdentifier.data()+1, "atch_", 5) != 0)
1870 break;
1871 switch (RuleIdentifier[6]) {
1872 default: break;
1873 case 'a': // 2 strings to match.
1874 if (memcmp(RuleIdentifier.data()+7, "ddos_", 5) != 0)
1875 break;
1876 switch (RuleIdentifier[12]) {
1877 default: break;
1878 case 's': // 1 string to match.
1879 if (memcmp(RuleIdentifier.data()+13, "addo_dead_carry", 15) != 0)
1880 break;
1881 return 309; // "match_addos_saddo_dead_carry"
1882 case 'u': // 1 string to match.
1883 if (memcmp(RuleIdentifier.data()+13, "addo_dead_carry", 15) != 0)
1884 break;
1885 return 310; // "match_addos_uaddo_dead_carry"
1886 }
1887 break;
1888 case 's': // 2 strings to match.
1889 if (memcmp(RuleIdentifier.data()+7, "ubo_no_overflow_", 16) != 0)
1890 break;
1891 switch (RuleIdentifier[23]) {
1892 default: break;
1893 case 's': // 1 string to match.
1894 if (memcmp(RuleIdentifier.data()+24, "subo", 4) != 0)
1895 break;
1896 return 313; // "match_subo_no_overflow_ssubo"
1897 case 'u': // 1 string to match.
1898 if (memcmp(RuleIdentifier.data()+24, "subo", 4) != 0)
1899 break;
1900 return 314; // "match_subo_no_overflow_usubo"
1901 }
1902 break;
1903 }
1904 break;
1905 case 'o': // 1 string to match.
1906 if (memcmp(RuleIdentifier.data()+1, "pt_brcond_by_inverting_cond", 27) != 0)
1907 break;
1908 return 159; // "opt_brcond_by_inverting_cond"
1909 case 'p': // 1 string to match.
1910 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_shuffle_mask", 27) != 0)
1911 break;
1912 return 87; // "propagate_undef_shuffle_mask"
1913 case 's': // 1 string to match.
1914 if (memcmp(RuleIdentifier.data()+1, "hift_of_shifted_logic_chain", 27) != 0)
1915 break;
1916 return 194; // "shift_of_shifted_logic_chain"
1917 }
1918 break;
1919 case 29: // 13 strings to match.
1920 switch (RuleIdentifier[0]) {
1921 default: break;
1922 case 'G': // 4 strings to match.
1923 if (RuleIdentifier[1] != '_')
1924 break;
1925 switch (RuleIdentifier[2]) {
1926 default: break;
1927 case 'A': // 2 strings to match.
1928 switch (RuleIdentifier[3]) {
1929 default: break;
1930 case 'D': // 1 string to match.
1931 if (memcmp(RuleIdentifier.data()+4, "D_commute_constant_to_rhs", 25) != 0)
1932 break;
1933 return 253; // "G_ADD_commute_constant_to_rhs"
1934 case 'N': // 1 string to match.
1935 if (memcmp(RuleIdentifier.data()+4, "D_commute_constant_to_rhs", 25) != 0)
1936 break;
1937 return 255; // "G_AND_commute_constant_to_rhs"
1938 }
1939 break;
1940 case 'M': // 1 string to match.
1941 if (memcmp(RuleIdentifier.data()+3, "UL_commute_constant_to_rhs", 26) != 0)
1942 break;
1943 return 254; // "G_MUL_commute_constant_to_rhs"
1944 case 'X': // 1 string to match.
1945 if (memcmp(RuleIdentifier.data()+3, "OR_commute_constant_to_rhs", 26) != 0)
1946 break;
1947 return 257; // "G_XOR_commute_constant_to_rhs"
1948 }
1949 break;
1950 case 'b': // 2 strings to match.
1951 switch (RuleIdentifier[1]) {
1952 default: break;
1953 case 'i': // 1 string to match.
1954 if (memcmp(RuleIdentifier.data()+2, "tfield_extract_from_shr_and", 27) != 0)
1955 break;
1956 return 212; // "bitfield_extract_from_shr_and"
1957 case 'u': // 1 string to match.
1958 if (memcmp(RuleIdentifier.data()+2, "ildvector_identity_fold_bvt", 27) != 0)
1959 break;
1960 return 108; // "buildvector_identity_fold_bvt"
1961 }
1962 break;
1963 case 'c': // 5 strings to match.
1964 if (RuleIdentifier[1] != 'o')
1965 break;
1966 switch (RuleIdentifier[2]) {
1967 default: break;
1968 case 'm': // 3 strings to match.
1969 if (memcmp(RuleIdentifier.data()+3, "bine_", 5) != 0)
1970 break;
1971 switch (RuleIdentifier[8]) {
1972 default: break;
1973 case 'a': // 1 string to match.
1974 if (memcmp(RuleIdentifier.data()+9, "nd_s64_with_s32_mask", 20) != 0)
1975 break;
1976 return 359; // "combine_and_s64_with_s32_mask"
1977 case 'e': // 1 string to match.
1978 if (memcmp(RuleIdentifier.data()+9, "xtracted_vector_load", 20) != 0)
1979 break;
1980 return 76; // "combine_extracted_vector_load"
1981 case 's': // 1 string to match.
1982 if (memcmp(RuleIdentifier.data()+9, "huffle_disjoint_mask", 20) != 0)
1983 break;
1984 return 297; // "combine_shuffle_disjoint_mask"
1985 }
1986 break;
1987 case 'n': // 2 strings to match.
1988 if (memcmp(RuleIdentifier.data()+3, "stant_fold_intrinsic_", 21) != 0)
1989 break;
1990 switch (RuleIdentifier[24]) {
1991 default: break;
1992 case 'r': // 1 string to match.
1993 if (memcmp(RuleIdentifier.data()+25, "ound", 4) != 0)
1994 break;
1995 return 169; // "constant_fold_intrinsic_round"
1996 case 't': // 1 string to match.
1997 if (memcmp(RuleIdentifier.data()+25, "runc", 4) != 0)
1998 break;
1999 return 168; // "constant_fold_intrinsic_trunc"
2000 }
2001 break;
2002 }
2003 break;
2004 case 'e': // 1 string to match.
2005 if (memcmp(RuleIdentifier.data()+1, "xtract_vec_elt_out_of_bounds", 28) != 0)
2006 break;
2007 return 90; // "extract_vec_elt_out_of_bounds"
2008 case 'i': // 1 string to match.
2009 if (memcmp(RuleIdentifier.data()+1, "cmp_to_true_false_known_bits", 28) != 0)
2010 break;
2011 return 126; // "icmp_to_true_false_known_bits"
2012 }
2013 break;
2014 case 30: // 6 strings to match.
2015 switch (RuleIdentifier[0]) {
2016 default: break;
2017 case 'G': // 4 strings to match.
2018 if (RuleIdentifier[1] != '_')
2019 break;
2020 switch (RuleIdentifier[2]) {
2021 default: break;
2022 case 'S': // 2 strings to match.
2023 if (RuleIdentifier[3] != 'M')
2024 break;
2025 switch (RuleIdentifier[4]) {
2026 default: break;
2027 case 'A': // 1 string to match.
2028 if (memcmp(RuleIdentifier.data()+5, "X_commute_constant_to_rhs", 25) != 0)
2029 break;
2030 return 259; // "G_SMAX_commute_constant_to_rhs"
2031 case 'I': // 1 string to match.
2032 if (memcmp(RuleIdentifier.data()+5, "N_commute_constant_to_rhs", 25) != 0)
2033 break;
2034 return 258; // "G_SMIN_commute_constant_to_rhs"
2035 }
2036 break;
2037 case 'U': // 2 strings to match.
2038 if (RuleIdentifier[3] != 'M')
2039 break;
2040 switch (RuleIdentifier[4]) {
2041 default: break;
2042 case 'A': // 1 string to match.
2043 if (memcmp(RuleIdentifier.data()+5, "X_commute_constant_to_rhs", 25) != 0)
2044 break;
2045 return 261; // "G_UMAX_commute_constant_to_rhs"
2046 case 'I': // 1 string to match.
2047 if (memcmp(RuleIdentifier.data()+5, "N_commute_constant_to_rhs", 25) != 0)
2048 break;
2049 return 260; // "G_UMIN_commute_constant_to_rhs"
2050 }
2051 break;
2052 }
2053 break;
2054 case 'f': // 1 string to match.
2055 if (memcmp(RuleIdentifier.data()+1, "reeze_of_non_undef_non_poison", 29) != 0)
2056 break;
2057 return 47; // "freeze_of_non_undef_non_poison"
2058 case 'r': // 1 string to match.
2059 if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp_nsz", 29) != 0)
2060 break;
2061 return 115; // "right_identity_neg_zero_fp_nsz"
2062 }
2063 break;
2064 case 31: // 11 strings to match.
2065 switch (RuleIdentifier[0]) {
2066 default: break;
2067 case 'G': // 6 strings to match.
2068 if (RuleIdentifier[1] != '_')
2069 break;
2070 switch (RuleIdentifier[2]) {
2071 default: break;
2072 case 'S': // 3 strings to match.
2073 switch (RuleIdentifier[3]) {
2074 default: break;
2075 case 'A': // 1 string to match.
2076 if (memcmp(RuleIdentifier.data()+4, "DDO_commute_constant_to_rhs", 27) != 0)
2077 break;
2078 return 271; // "G_SADDO_commute_constant_to_rhs"
2079 case 'M': // 2 strings to match.
2080 if (memcmp(RuleIdentifier.data()+4, "UL", 2) != 0)
2081 break;
2082 switch (RuleIdentifier[6]) {
2083 default: break;
2084 case 'H': // 1 string to match.
2085 if (memcmp(RuleIdentifier.data()+7, "_commute_constant_to_rhs", 24) != 0)
2086 break;
2087 return 263; // "G_SMULH_commute_constant_to_rhs"
2088 case 'O': // 1 string to match.
2089 if (memcmp(RuleIdentifier.data()+7, "_commute_constant_to_rhs", 24) != 0)
2090 break;
2091 return 273; // "G_SMULO_commute_constant_to_rhs"
2092 }
2093 break;
2094 }
2095 break;
2096 case 'U': // 3 strings to match.
2097 switch (RuleIdentifier[3]) {
2098 default: break;
2099 case 'A': // 1 string to match.
2100 if (memcmp(RuleIdentifier.data()+4, "DDO_commute_constant_to_rhs", 27) != 0)
2101 break;
2102 return 270; // "G_UADDO_commute_constant_to_rhs"
2103 case 'M': // 2 strings to match.
2104 if (memcmp(RuleIdentifier.data()+4, "UL", 2) != 0)
2105 break;
2106 switch (RuleIdentifier[6]) {
2107 default: break;
2108 case 'H': // 1 string to match.
2109 if (memcmp(RuleIdentifier.data()+7, "_commute_constant_to_rhs", 24) != 0)
2110 break;
2111 return 262; // "G_UMULH_commute_constant_to_rhs"
2112 case 'O': // 1 string to match.
2113 if (memcmp(RuleIdentifier.data()+7, "_commute_constant_to_rhs", 24) != 0)
2114 break;
2115 return 272; // "G_UMULO_commute_constant_to_rhs"
2116 }
2117 break;
2118 }
2119 break;
2120 }
2121 break;
2122 case 'f': // 1 string to match.
2123 if (memcmp(RuleIdentifier.data()+1, "cmp_select_to_fmin_fmax_legacy", 30) != 0)
2124 break;
2125 return 340; // "fcmp_select_to_fmin_fmax_legacy"
2126 case 'i': // 2 strings to match.
2127 if (memcmp(RuleIdentifier.data()+1, "nsert_vector_element_", 21) != 0)
2128 break;
2129 switch (RuleIdentifier[22]) {
2130 default: break;
2131 case 'e': // 1 string to match.
2132 if (memcmp(RuleIdentifier.data()+23, "lt_undef", 8) != 0)
2133 break;
2134 return 27; // "insert_vector_element_elt_undef"
2135 case 'i': // 1 string to match.
2136 if (memcmp(RuleIdentifier.data()+23, "dx_undef", 8) != 0)
2137 break;
2138 return 26; // "insert_vector_element_idx_undef"
2139 }
2140 break;
2141 case 'r': // 2 strings to match.
2142 if (memcmp(RuleIdentifier.data()+1, "edundant_neg_operands_fadd_", 27) != 0)
2143 break;
2144 switch (RuleIdentifier[28]) {
2145 default: break;
2146 case 'l': // 1 string to match.
2147 if (memcmp(RuleIdentifier.data()+29, "hs", 2) != 0)
2148 break;
2149 return 221; // "redundant_neg_operands_fadd_lhs"
2150 case 'r': // 1 string to match.
2151 if (memcmp(RuleIdentifier.data()+29, "hs", 2) != 0)
2152 break;
2153 return 220; // "redundant_neg_operands_fadd_rhs"
2154 }
2155 break;
2156 }
2157 break;
2158 case 32: // 5 strings to match.
2159 switch (RuleIdentifier[0]) {
2160 default: break;
2161 case 'b': // 1 string to match.
2162 if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_sext_inreg", 31) != 0)
2163 break;
2164 return 209; // "bitfield_extract_from_sext_inreg"
2165 case 'c': // 2 strings to match.
2166 if (memcmp(RuleIdentifier.data()+1, "ombine_f", 8) != 0)
2167 break;
2168 switch (RuleIdentifier[9]) {
2169 default: break;
2170 case 'a': // 1 string to match.
2171 if (memcmp(RuleIdentifier.data()+10, "dd_fmul_to_fmad_or_fma", 22) != 0)
2172 break;
2173 return 228; // "combine_fadd_fmul_to_fmad_or_fma"
2174 case 's': // 1 string to match.
2175 if (memcmp(RuleIdentifier.data()+10, "ub_fmul_to_fmad_or_fma", 22) != 0)
2176 break;
2177 return 232; // "combine_fsub_fmul_to_fmad_or_fma"
2178 }
2179 break;
2180 case 'e': // 1 string to match.
2181 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_not_const", 31) != 0)
2182 break;
2183 return 30; // "extract_vector_element_not_const"
2184 case 's': // 1 string to match.
2185 if (memcmp(RuleIdentifier.data()+1, "elect_constant_cmp_general_true", 31) != 0)
2186 break;
2187 return 140; // "select_constant_cmp_general_true"
2188 }
2189 break;
2190 case 33: // 10 strings to match.
2191 switch (RuleIdentifier[0]) {
2192 default: break;
2193 case 'G': // 6 strings to match.
2194 if (RuleIdentifier[1] != '_')
2195 break;
2196 switch (RuleIdentifier[2]) {
2197 default: break;
2198 case 'F': // 2 strings to match.
2199 switch (RuleIdentifier[3]) {
2200 default: break;
2201 case 'A': // 1 string to match.
2202 if (memcmp(RuleIdentifier.data()+4, "DD_commute_fp_constant_to_rhs", 29) != 0)
2203 break;
2204 return 274; // "G_FADD_commute_fp_constant_to_rhs"
2205 case 'M': // 1 string to match.
2206 if (memcmp(RuleIdentifier.data()+4, "UL_commute_fp_constant_to_rhs", 29) != 0)
2207 break;
2208 return 275; // "G_FMUL_commute_fp_constant_to_rhs"
2209 }
2210 break;
2211 case 'S': // 2 strings to match.
2212 switch (RuleIdentifier[3]) {
2213 default: break;
2214 case 'A': // 1 string to match.
2215 if (memcmp(RuleIdentifier.data()+4, "DDSAT_commute_constant_to_rhs", 29) != 0)
2216 break;
2217 return 265; // "G_SADDSAT_commute_constant_to_rhs"
2218 case 'M': // 1 string to match.
2219 if (memcmp(RuleIdentifier.data()+4, "ULFIX_commute_constant_to_rhs", 29) != 0)
2220 break;
2221 return 266; // "G_SMULFIX_commute_constant_to_rhs"
2222 }
2223 break;
2224 case 'U': // 2 strings to match.
2225 switch (RuleIdentifier[3]) {
2226 default: break;
2227 case 'A': // 1 string to match.
2228 if (memcmp(RuleIdentifier.data()+4, "DDSAT_commute_constant_to_rhs", 29) != 0)
2229 break;
2230 return 264; // "G_UADDSAT_commute_constant_to_rhs"
2231 case 'M': // 1 string to match.
2232 if (memcmp(RuleIdentifier.data()+4, "ULFIX_commute_constant_to_rhs", 29) != 0)
2233 break;
2234 return 267; // "G_UMULFIX_commute_constant_to_rhs"
2235 }
2236 break;
2237 }
2238 break;
2239 case 'c': // 1 string to match.
2240 if (memcmp(RuleIdentifier.data()+1, "onstant_fold_intrinsic_roundeven", 32) != 0)
2241 break;
2242 return 170; // "constant_fold_intrinsic_roundeven"
2243 case 'r': // 2 strings to match.
2244 if (memcmp(RuleIdentifier.data()+1, "edundant_", 9) != 0)
2245 break;
2246 switch (RuleIdentifier[10]) {
2247 default: break;
2248 case 'a': // 1 string to match.
2249 if (memcmp(RuleIdentifier.data()+11, "ext_unmerge_sext_inreg", 22) != 0)
2250 break;
2251 return 149; // "redundant_aext_unmerge_sext_inreg"
2252 case 'z': // 1 string to match.
2253 if (memcmp(RuleIdentifier.data()+11, "ext_unmerge_sext_inreg", 22) != 0)
2254 break;
2255 return 148; // "redundant_zext_unmerge_sext_inreg"
2256 }
2257 break;
2258 case 's': // 1 string to match.
2259 if (memcmp(RuleIdentifier.data()+1, "elect_constant_cmp_general_false", 32) != 0)
2260 break;
2261 return 139; // "select_constant_cmp_general_false"
2262 }
2263 break;
2264 case 34: // 2 strings to match.
2265 switch (RuleIdentifier[0]) {
2266 default: break;
2267 case 'c': // 1 string to match.
2268 if (memcmp(RuleIdentifier.data()+1, "ombine_fmul_with_select_to_fldexp", 33) != 0)
2269 break;
2270 return 342; // "combine_fmul_with_select_to_fldexp"
2271 case 'e': // 1 string to match.
2272 if (memcmp(RuleIdentifier.data()+1, "xtract_all_elts_from_build_vector", 33) != 0)
2273 break;
2274 return 73; // "extract_all_elts_from_build_vector"
2275 }
2276 break;
2277 case 35: // 1 string to match.
2278 if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_build_vector", 35) != 0)
2279 break;
2280 return 32; // "extract_vector_element_build_vector"
2281 case 36: // 7 strings to match.
2282 switch (RuleIdentifier[0]) {
2283 default: break;
2284 case 'G': // 4 strings to match.
2285 if (RuleIdentifier[1] != '_')
2286 break;
2287 switch (RuleIdentifier[2]) {
2288 default: break;
2289 case 'F': // 2 strings to match.
2290 if (RuleIdentifier[3] != 'M')
2291 break;
2292 switch (RuleIdentifier[4]) {
2293 default: break;
2294 case 'A': // 1 string to match.
2295 if (memcmp(RuleIdentifier.data()+5, "XNUM_commute_fp_constant_to_rhs", 31) != 0)
2296 break;
2297 return 277; // "G_FMAXNUM_commute_fp_constant_to_rhs"
2298 case 'I': // 1 string to match.
2299 if (memcmp(RuleIdentifier.data()+5, "NNUM_commute_fp_constant_to_rhs", 31) != 0)
2300 break;
2301 return 276; // "G_FMINNUM_commute_fp_constant_to_rhs"
2302 }
2303 break;
2304 case 'S': // 1 string to match.
2305 if (memcmp(RuleIdentifier.data()+3, "MULFIXSAT_commute_constant_to_rhs", 33) != 0)
2306 break;
2307 return 268; // "G_SMULFIXSAT_commute_constant_to_rhs"
2308 case 'U': // 1 string to match.
2309 if (memcmp(RuleIdentifier.data()+3, "MULFIXSAT_commute_constant_to_rhs", 33) != 0)
2310 break;
2311 return 269; // "G_UMULFIXSAT_commute_constant_to_rhs"
2312 }
2313 break;
2314 case 'c': // 2 strings to match.
2315 if (memcmp(RuleIdentifier.data()+1, "ombine_", 7) != 0)
2316 break;
2317 switch (RuleIdentifier[8]) {
2318 default: break;
2319 case 'f': // 1 string to match.
2320 if (memcmp(RuleIdentifier.data()+9, "add_fma_fmul_to_fmad_or_fma", 27) != 0)
2321 break;
2322 return 230; // "combine_fadd_fma_fmul_to_fmad_or_fma"
2323 case 'i': // 1 string to match.
2324 if (memcmp(RuleIdentifier.data()+9, "nsert_vec_elts_build_vector", 27) != 0)
2325 break;
2326 return 71; // "combine_insert_vec_elts_build_vector"
2327 }
2328 break;
2329 case 'p': // 1 string to match.
2330 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_all_ops_build_vector", 35) != 0)
2331 break;
2332 return 86; // "propagate_undef_all_ops_build_vector"
2333 }
2334 break;
2335 case 37: // 5 strings to match.
2336 switch (RuleIdentifier[0]) {
2337 default: break;
2338 case 'G': // 2 strings to match.
2339 if (memcmp(RuleIdentifier.data()+1, "_FM", 3) != 0)
2340 break;
2341 switch (RuleIdentifier[4]) {
2342 default: break;
2343 case 'A': // 1 string to match.
2344 if (memcmp(RuleIdentifier.data()+5, "XIMUM_commute_fp_constant_to_rhs", 32) != 0)
2345 break;
2346 return 281; // "G_FMAXIMUM_commute_fp_constant_to_rhs"
2347 case 'I': // 1 string to match.
2348 if (memcmp(RuleIdentifier.data()+5, "NIMUM_commute_fp_constant_to_rhs", 32) != 0)
2349 break;
2350 return 280; // "G_FMINIMUM_commute_fp_constant_to_rhs"
2351 }
2352 break;
2353 case 'c': // 1 string to match.
2354 if (memcmp(RuleIdentifier.data()+1, "ombine_fsub_fneg_fmul_to_fmad_or_fma", 36) != 0)
2355 break;
2356 return 233; // "combine_fsub_fneg_fmul_to_fmad_or_fma"
2357 case 'e': // 1 string to match.
2358 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_shuffle_vector", 36) != 0)
2359 break;
2360 return 40; // "extract_vector_element_shuffle_vector"
2361 case 'h': // 1 string to match.
2362 if (memcmp(RuleIdentifier.data()+1, "oist_logic_op_with_same_opcode_hands", 36) != 0)
2363 break;
2364 return 119; // "hoist_logic_op_with_same_opcode_hands"
2365 }
2366 break;
2367 case 38: // 3 strings to match.
2368 switch (RuleIdentifier[0]) {
2369 default: break;
2370 case 'c': // 2 strings to match.
2371 if (memcmp(RuleIdentifier.data()+1, "ombine_f", 8) != 0)
2372 break;
2373 switch (RuleIdentifier[9]) {
2374 default: break;
2375 case 'a': // 1 string to match.
2376 if (memcmp(RuleIdentifier.data()+10, "dd_fpext_fmul_to_fmad_or_fma", 28) != 0)
2377 break;
2378 return 229; // "combine_fadd_fpext_fmul_to_fmad_or_fma"
2379 case 's': // 1 string to match.
2380 if (memcmp(RuleIdentifier.data()+10, "ub_fpext_fmul_to_fmad_or_fma", 28) != 0)
2381 break;
2382 return 234; // "combine_fsub_fpext_fmul_to_fmad_or_fma"
2383 }
2384 break;
2385 case 'p': // 1 string to match.
2386 if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_all_ops_shuffle_vector", 37) != 0)
2387 break;
2388 return 85; // "propagate_undef_all_ops_shuffle_vector"
2389 }
2390 break;
2391 case 40: // 1 string to match.
2392 if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_different_indices", 40) != 0)
2393 break;
2394 return 31; // "extract_vector_element_different_indices"
2395 case 41: // 2 strings to match.
2396 if (memcmp(RuleIdentifier.data()+0, "G_FM", 4) != 0)
2397 break;
2398 switch (RuleIdentifier[4]) {
2399 default: break;
2400 case 'A': // 1 string to match.
2401 if (memcmp(RuleIdentifier.data()+5, "XNUM_IEEE_commute_fp_constant_to_rhs", 36) != 0)
2402 break;
2403 return 279; // "G_FMAXNUM_IEEE_commute_fp_constant_to_rhs"
2404 case 'I': // 1 string to match.
2405 if (memcmp(RuleIdentifier.data()+5, "NNUM_IEEE_commute_fp_constant_to_rhs", 36) != 0)
2406 break;
2407 return 278; // "G_FMINNUM_IEEE_commute_fp_constant_to_rhs"
2408 }
2409 break;
2410 case 42: // 9 strings to match.
2411 switch (RuleIdentifier[0]) {
2412 default: break;
2413 case 'c': // 1 string to match.
2414 if (memcmp(RuleIdentifier.data()+1, "ombine_fadd_fpext_fma_fmul_to_fmad_or_fma", 41) != 0)
2415 break;
2416 return 231; // "combine_fadd_fpext_fma_fmul_to_fmad_or_fma"
2417 case 'e': // 7 strings to match.
2418 if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_build_vector_trunc", 40) != 0)
2419 break;
2420 switch (RuleIdentifier[41]) {
2421 default: break;
2422 case '2': // 1 string to match.
2423 return 33; // "extract_vector_element_build_vector_trunc2"
2424 case '3': // 1 string to match.
2425 return 34; // "extract_vector_element_build_vector_trunc3"
2426 case '4': // 1 string to match.
2427 return 35; // "extract_vector_element_build_vector_trunc4"
2428 case '5': // 1 string to match.
2429 return 36; // "extract_vector_element_build_vector_trunc5"
2430 case '6': // 1 string to match.
2431 return 37; // "extract_vector_element_build_vector_trunc6"
2432 case '7': // 1 string to match.
2433 return 38; // "extract_vector_element_build_vector_trunc7"
2434 case '8': // 1 string to match.
2435 return 39; // "extract_vector_element_build_vector_trunc8"
2436 }
2437 break;
2438 case 'f': // 1 string to match.
2439 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_or_shift_to_funnel_shift_left", 41) != 0)
2440 break;
2441 return 203; // "funnel_shift_or_shift_to_funnel_shift_left"
2442 }
2443 break;
2444 case 43: // 2 strings to match.
2445 switch (RuleIdentifier[0]) {
2446 default: break;
2447 case 'c': // 1 string to match.
2448 if (memcmp(RuleIdentifier.data()+1, "ombine_fsub_fpext_fneg_fmul_to_fmad_or_fma", 42) != 0)
2449 break;
2450 return 235; // "combine_fsub_fpext_fneg_fmul_to_fmad_or_fma"
2451 case 'f': // 1 string to match.
2452 if (memcmp(RuleIdentifier.data()+1, "unnel_shift_or_shift_to_funnel_shift_right", 42) != 0)
2453 break;
2454 return 204; // "funnel_shift_or_shift_to_funnel_shift_right"
2455 }
2456 break;
2457 case 44: // 1 string to match.
2458 if (memcmp(RuleIdentifier.data()+0, "insert_vector_element_extract_vector_element", 44) != 0)
2459 break;
2460 return 41; // "insert_vector_element_extract_vector_element"
2461 case 46: // 1 string to match.
2462 if (memcmp(RuleIdentifier.data()+0, "push_freeze_to_prevent_poison_from_propagating", 46) != 0)
2463 break;
2464 return 48; // "push_freeze_to_prevent_poison_from_propagating"
2465 }
2466#endif // ifndef NDEBUG
2467
2468 return std::nullopt;
2469}
2470static std::optional<std::pair<uint64_t, uint64_t>> getRuleRangeForIdentifier(StringRef RuleIdentifier) {
2471 std::pair<StringRef, StringRef> RangePair = RuleIdentifier.split(Separator: '-');
2472 if (!RangePair.second.empty()) {
2473 const auto First = getRuleIdxForIdentifier(RuleIdentifier: RangePair.first);
2474 const auto Last = getRuleIdxForIdentifier(RuleIdentifier: RangePair.second);
2475 if (!First || !Last)
2476 return std::nullopt;
2477 if (First >= Last)
2478 report_fatal_error(reason: "Beginning of range should be before end of range");
2479 return {{*First, *Last + 1}};
2480 }
2481 if (RangePair.first == "*") {
2482 return {{0, 368}};
2483 }
2484 const auto I = getRuleIdxForIdentifier(RuleIdentifier: RangePair.first);
2485 if (!I)
2486 return std::nullopt;
2487 return {{*I, *I + 1}};
2488}
2489
2490bool AMDGPUPostLegalizerCombinerImplRuleConfig::setRuleEnabled(StringRef RuleIdentifier) {
2491 auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
2492 if (!MaybeRange)
2493 return false;
2494 for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
2495 DisabledRules.reset(Idx: I);
2496 return true;
2497}
2498
2499bool AMDGPUPostLegalizerCombinerImplRuleConfig::setRuleDisabled(StringRef RuleIdentifier) {
2500 auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
2501 if (!MaybeRange)
2502 return false;
2503 for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
2504 DisabledRules.set(I);
2505 return true;
2506}
2507
2508static std::vector<std::string> AMDGPUPostLegalizerCombinerOption;
2509static cl::list<std::string> AMDGPUPostLegalizerCombinerDisableOption(
2510 "amdgpupostlegalizercombiner-disable-rule",
2511 cl::desc("Disable one or more combiner rules temporarily in the AMDGPUPostLegalizerCombiner pass"),
2512 cl::CommaSeparated,
2513 cl::Hidden,
2514 cl::cat(GICombinerOptionCategory),
2515 cl::callback(CB: [](const std::string &Str) {
2516 AMDGPUPostLegalizerCombinerOption.push_back(x: Str);
2517 }));
2518static cl::list<std::string> AMDGPUPostLegalizerCombinerOnlyEnableOption(
2519 "amdgpupostlegalizercombiner-only-enable-rule",
2520 cl::desc("Disable all rules in the AMDGPUPostLegalizerCombiner pass then re-enable the specified ones"),
2521 cl::Hidden,
2522 cl::cat(GICombinerOptionCategory),
2523 cl::callback(CB: [](const std::string &CommaSeparatedArg) {
2524 StringRef Str = CommaSeparatedArg;
2525 AMDGPUPostLegalizerCombinerOption.push_back(x: "*");
2526 do {
2527 auto X = Str.split(Separator: ",");
2528 AMDGPUPostLegalizerCombinerOption.push_back(x: ("!" + X.first).str());
2529 Str = X.second;
2530 } while (!Str.empty());
2531 }));
2532
2533
2534bool AMDGPUPostLegalizerCombinerImplRuleConfig::isRuleEnabled(unsigned RuleID) const {
2535 return !DisabledRules.test(Idx: RuleID);
2536}
2537bool AMDGPUPostLegalizerCombinerImplRuleConfig::parseCommandLineOption() {
2538 for (StringRef Identifier : AMDGPUPostLegalizerCombinerOption) {
2539 bool Enabled = Identifier.consume_front(Prefix: "!");
2540 if (Enabled && !setRuleEnabled(Identifier))
2541 return false;
2542 if (!Enabled && !setRuleDisabled(Identifier))
2543 return false;
2544 }
2545 return true;
2546}
2547
2548
2549#endif // GET_GICOMBINER_TYPES
2550
2551#ifdef GET_GICOMBINER_TYPES
2552
2553const unsigned MAX_SUBTARGET_PREDICATES = 3;
2554using PredicateBitset = llvm::Bitset<MAX_SUBTARGET_PREDICATES>;
2555
2556#endif // GET_GICOMBINER_TYPES
2557
2558#ifdef GET_GICOMBINER_CLASS_MEMBERS
2559
2560 bool canMatchOpcode(unsigned Opc) const override;
2561 uint32_t getRootFlagsToDrop() const override;
2562
2563#endif // GET_GICOMBINER_CLASS_MEMBERS
2564
2565#ifdef GET_GICOMBINER_CLASS_MEMBERS
2566
2567PredicateBitset AvailableModuleFeatures;
2568mutable PredicateBitset AvailableFunctionFeatures;
2569PredicateBitset getAvailableFeatures() const {
2570 return AvailableModuleFeatures | AvailableFunctionFeatures;
2571}
2572PredicateBitset
2573computeAvailableModuleFeatures(const AMDGPUSubtarget *Subtarget) const;
2574PredicateBitset
2575computeAvailableFunctionFeatures(const AMDGPUSubtarget *Subtarget,
2576 const MachineFunction *MF) const;
2577void setupGeneratedPerFunctionState(MachineFunction &MF) override;
2578
2579#endif // GET_GICOMBINER_CLASS_MEMBERS
2580
2581#ifdef GET_GICOMBINER_CLASS_MEMBERS
2582
2583 mutable MatcherState State;
2584 typedef ComplexRendererFns(AMDGPUPostLegalizerCombinerImpl::*ComplexMatcherMemFn)(MachineOperand &) const;
2585 typedef void(AMDGPUPostLegalizerCombinerImpl::*CustomRendererFn)(MachineInstrBuilder &, const MachineInstr &, int) const;
2586 const ExecInfoTy<PredicateBitset, ComplexMatcherMemFn, CustomRendererFn> ExecInfo;
2587 static AMDGPUPostLegalizerCombinerImpl::ComplexMatcherMemFn ComplexPredicateFns[];
2588 static AMDGPUPostLegalizerCombinerImpl::CustomRendererFn CustomRenderers[];
2589 bool testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const override;
2590 bool testImmPredicate_APInt(unsigned PredicateID, const APInt &Imm) const override;
2591 bool testImmPredicate_APFloat(unsigned PredicateID, const APFloat &Imm) const override;
2592 const uint8_t *getMatchTable() const override;
2593 LLT getLLTForHwMode(unsigned Index) const override;
2594 bool testMIPredicate_MI(unsigned PredicateID, const MachineInstr &MI, const MatcherState &State) const override;
2595 bool testMOPredicate_MO(unsigned PredicateID, const MachineOperand &MO, const MatcherState &State) const override;
2596 bool testSimplePredicate(unsigned PredicateID) const override;
2597 bool runCustomAction(unsigned FnID, const MatcherState &State, NewMIVector &OutMIs) const override;
2598
2599#endif // GET_GICOMBINER_CLASS_MEMBERS
2600
2601#ifdef GET_GICOMBINER_IMPL
2602
2603// LLT Objects.
2604enum {
2605 GILLT_i16,
2606 GILLT_i32,
2607 GILLT_i64,
2608 GILLT_f16,
2609 GILLT_bf16,
2610 GILLT_f32,
2611};
2612const static size_t NumTypeObjects = 6;
2613const static LLT TypeObjects[] = {
2614 LLT(LLT::Kind::INTEGER, ElementCount::getFixed(0), 16),
2615 LLT(LLT::Kind::INTEGER, ElementCount::getFixed(0), 32),
2616 LLT(LLT::Kind::INTEGER, ElementCount::getFixed(0), 64),
2617 LLT(LLT::Kind::FLOAT, ElementCount::getFixed(0), 16, LLT::FpSemantics::S_IEEEhalf),
2618 LLT(LLT::Kind::FLOAT, ElementCount::getFixed(0), 16, LLT::FpSemantics::S_BFloat),
2619 LLT(LLT::Kind::FLOAT, ElementCount::getFixed(0), 32, LLT::FpSemantics::S_IEEEsingle),
2620};
2621
2622// Bits for subtarget features that participate in instruction matching.
2623enum SubtargetFeatureBits : uint8_t {
2624 Feature_Has16BitInstsBit = 1,
2625 Feature_NotHasMed3_16Bit = 2,
2626 Feature_HasFminFmaxLegacyBit = 0,
2627};
2628
2629PredicateBitset AMDGPUPostLegalizerCombinerImpl::
2630computeAvailableModuleFeatures(const AMDGPUSubtarget *Subtarget) const {
2631 PredicateBitset Features{};
2632 if (Subtarget->has16BitInsts())
2633 Features.set(Feature_Has16BitInstsBit);
2634 if (!Subtarget->hasMed3_16())
2635 Features.set(Feature_NotHasMed3_16Bit);
2636 if (Subtarget->hasFminFmaxLegacy())
2637 Features.set(Feature_HasFminFmaxLegacyBit);
2638 return Features;
2639}
2640
2641void AMDGPUPostLegalizerCombinerImpl::setupGeneratedPerFunctionState(MachineFunction &MF) {
2642 AvailableFunctionFeatures = computeAvailableFunctionFeatures((const AMDGPUSubtarget *)&MF.getSubtarget(), &MF);
2643}
2644PredicateBitset AMDGPUPostLegalizerCombinerImpl::
2645computeAvailableFunctionFeatures(const AMDGPUSubtarget *Subtarget, const MachineFunction *MF) const {
2646 PredicateBitset Features{};
2647 return Features;
2648}
2649
2650// Feature bitsets.
2651enum {
2652 GIFBS_Invalid,
2653 GIFBS_HasFminFmaxLegacy,
2654 GIFBS_Has16BitInsts_NotHasMed3_16,
2655};
2656constexpr static PredicateBitset FeatureBitsets[] {
2657 {}, // GIFBS_Invalid
2658 {Feature_HasFminFmaxLegacyBit, },
2659 {Feature_Has16BitInstsBit, Feature_NotHasMed3_16Bit, },
2660};
2661
2662// ComplexPattern predicates.
2663enum {
2664 GICP_Invalid,
2665};
2666// See constructor for table contents
2667
2668AMDGPUPostLegalizerCombinerImpl::ComplexMatcherMemFn
2669AMDGPUPostLegalizerCombinerImpl::ComplexPredicateFns[] = {
2670 nullptr, // GICP_Invalid
2671};
2672
2673enum {
2674 GICXXPred_MI_Predicate_GICombiner0 = GICXXPred_Invalid + 1,
2675 GICXXPred_MI_Predicate_GICombiner1,
2676 GICXXPred_MI_Predicate_GICombiner2,
2677 GICXXPred_MI_Predicate_GICombiner3,
2678 GICXXPred_MI_Predicate_GICombiner4,
2679 GICXXPred_MI_Predicate_GICombiner5,
2680 GICXXPred_MI_Predicate_GICombiner6,
2681 GICXXPred_MI_Predicate_GICombiner7,
2682 GICXXPred_MI_Predicate_GICombiner8,
2683 GICXXPred_MI_Predicate_GICombiner9,
2684 GICXXPred_MI_Predicate_GICombiner10,
2685 GICXXPred_MI_Predicate_GICombiner11,
2686 GICXXPred_MI_Predicate_GICombiner12,
2687 GICXXPred_MI_Predicate_GICombiner13,
2688 GICXXPred_MI_Predicate_GICombiner14,
2689 GICXXPred_MI_Predicate_GICombiner15,
2690 GICXXPred_MI_Predicate_GICombiner16,
2691 GICXXPred_MI_Predicate_GICombiner17,
2692 GICXXPred_MI_Predicate_GICombiner18,
2693 GICXXPred_MI_Predicate_GICombiner19,
2694 GICXXPred_MI_Predicate_GICombiner20,
2695 GICXXPred_MI_Predicate_GICombiner21,
2696 GICXXPred_MI_Predicate_GICombiner22,
2697 GICXXPred_MI_Predicate_GICombiner23,
2698 GICXXPred_MI_Predicate_GICombiner24,
2699 GICXXPred_MI_Predicate_GICombiner25,
2700 GICXXPred_MI_Predicate_GICombiner26,
2701 GICXXPred_MI_Predicate_GICombiner27,
2702 GICXXPred_MI_Predicate_GICombiner28,
2703 GICXXPred_MI_Predicate_GICombiner29,
2704 GICXXPred_MI_Predicate_GICombiner30,
2705 GICXXPred_MI_Predicate_GICombiner31,
2706 GICXXPred_MI_Predicate_GICombiner32,
2707 GICXXPred_MI_Predicate_GICombiner33,
2708 GICXXPred_MI_Predicate_GICombiner34,
2709 GICXXPred_MI_Predicate_GICombiner35,
2710 GICXXPred_MI_Predicate_GICombiner36,
2711 GICXXPred_MI_Predicate_GICombiner37,
2712 GICXXPred_MI_Predicate_GICombiner38,
2713 GICXXPred_MI_Predicate_GICombiner39,
2714 GICXXPred_MI_Predicate_GICombiner40,
2715 GICXXPred_MI_Predicate_GICombiner41,
2716 GICXXPred_MI_Predicate_GICombiner42,
2717 GICXXPred_MI_Predicate_GICombiner43,
2718 GICXXPred_MI_Predicate_GICombiner44,
2719 GICXXPred_MI_Predicate_GICombiner45,
2720 GICXXPred_MI_Predicate_GICombiner46,
2721 GICXXPred_MI_Predicate_GICombiner47,
2722 GICXXPred_MI_Predicate_GICombiner48,
2723 GICXXPred_MI_Predicate_GICombiner49,
2724 GICXXPred_MI_Predicate_GICombiner50,
2725 GICXXPred_MI_Predicate_GICombiner51,
2726 GICXXPred_MI_Predicate_GICombiner52,
2727 GICXXPred_MI_Predicate_GICombiner53,
2728 GICXXPred_MI_Predicate_GICombiner54,
2729 GICXXPred_MI_Predicate_GICombiner55,
2730 GICXXPred_MI_Predicate_GICombiner56,
2731 GICXXPred_MI_Predicate_GICombiner57,
2732 GICXXPred_MI_Predicate_GICombiner58,
2733 GICXXPred_MI_Predicate_GICombiner59,
2734 GICXXPred_MI_Predicate_GICombiner60,
2735 GICXXPred_MI_Predicate_GICombiner61,
2736 GICXXPred_MI_Predicate_GICombiner62,
2737 GICXXPred_MI_Predicate_GICombiner63,
2738 GICXXPred_MI_Predicate_GICombiner64,
2739 GICXXPred_MI_Predicate_GICombiner65,
2740 GICXXPred_MI_Predicate_GICombiner66,
2741 GICXXPred_MI_Predicate_GICombiner67,
2742 GICXXPred_MI_Predicate_GICombiner68,
2743 GICXXPred_MI_Predicate_GICombiner69,
2744 GICXXPred_MI_Predicate_GICombiner70,
2745 GICXXPred_MI_Predicate_GICombiner71,
2746};
2747bool AMDGPUPostLegalizerCombinerImpl::testMIPredicate_MI(unsigned PredicateID, const MachineInstr & MI, const MatcherState &State) const {
2748 switch (PredicateID) {
2749 case GICXXPred_MI_Predicate_GICombiner0: {
2750 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg());
2751 }
2752 case GICXXPred_MI_Predicate_GICombiner1: {
2753 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg());
2754 }
2755 case GICXXPred_MI_Predicate_GICombiner2: {
2756 return MRI.getType(State.MIs[1]->getOperand(1).getReg()).getScalarSizeInBits() ==
2757 MRI.getType(State.MIs[0]->getOperand(0).getReg()).getScalarSizeInBits();
2758 }
2759 case GICXXPred_MI_Predicate_GICombiner3: {
2760 return isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI);
2761 }
2762 case GICXXPred_MI_Predicate_GICombiner4: {
2763 return Helper.matchExtractVectorElement(*State.MIs[0]);
2764 }
2765 case GICXXPred_MI_Predicate_GICombiner5: {
2766 return Helper.matchInsertVectorElementOOB(*State.MIs[0]);
2767 }
2768 case GICXXPred_MI_Predicate_GICombiner6: {
2769 return Helper.isZeroOrOneVector(State.MIs[0]->getOperand(2).getReg());
2770 }
2771 case GICXXPred_MI_Predicate_GICombiner7: {
2772 return isGuaranteedNotToBeUndefOrPoison(State.MIs[0]->getOperand(1).getReg(), MRI);
2773 }
2774 case GICXXPred_MI_Predicate_GICombiner8: {
2775 return Helper.matchAllExplicitUsesAreUndef(*State.MIs[0]);
2776 }
2777 case GICXXPred_MI_Predicate_GICombiner9: {
2778 return Helper.matchUndefShuffleVectorMask(*State.MIs[0]);
2779 }
2780 case GICXXPred_MI_Predicate_GICombiner10: {
2781 return cast<GStore>(State.MIs[0])->isUnordered();
2782 }
2783 case GICXXPred_MI_Predicate_GICombiner11: {
2784 return Helper.matchInsertExtractVecEltOutOfBounds(*State.MIs[0]);
2785 }
2786 case GICXXPred_MI_Predicate_GICombiner12: {
2787 return Helper.matchSelectSameVal(*State.MIs[0]);
2788 }
2789 case GICXXPred_MI_Predicate_GICombiner13: {
2790 return Helper.matchConstantOp(State.MIs[0]->getOperand(1), 0);
2791 }
2792 case GICXXPred_MI_Predicate_GICombiner14: {
2793 return MRI.getType(State.MIs[1]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg());
2794 }
2795 case GICXXPred_MI_Predicate_GICombiner15: {
2796 return MRI.getType(State.MIs[0]->getOperand(0).getReg()).getSizeInBits() ==
2797 MRI.getType(State.MIs[1]->getOperand(1).getReg()).getSizeInBits();
2798 }
2799 case GICXXPred_MI_Predicate_GICombiner16: {
2800 return MRI.getType(State.MIs[0]->getOperand(0).getReg()).getSizeInBits() >
2801 MRI.getType(State.MIs[1]->getOperand(1).getReg()).getSizeInBits();
2802 }
2803 case GICXXPred_MI_Predicate_GICombiner17: {
2804 return MRI.getType(State.MIs[0]->getOperand(0).getReg()).getSizeInBits() <
2805 MRI.getType(State.MIs[1]->getOperand(1).getReg()).getSizeInBits();
2806 }
2807 case GICXXPred_MI_Predicate_GICombiner18: {
2808 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), 1.0);
2809 }
2810 case GICXXPred_MI_Predicate_GICombiner19: {
2811 return MRI.getType(State.MIs[1]->getOperand(1).getReg()) != MRI.getType(State.MIs[0]->getOperand(0).getReg());
2812 }
2813 case GICXXPred_MI_Predicate_GICombiner20: {
2814 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -0.0);
2815 }
2816 case GICXXPred_MI_Predicate_GICombiner21: {
2817 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), 0.0);
2818 }
2819 case GICXXPred_MI_Predicate_GICombiner22: {
2820 return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -1.0);
2821 }
2822 case GICXXPred_MI_Predicate_GICombiner23: {
2823 return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_EQ &&
2824 !MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
2825 (MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
2826 MRI.getType(State.MIs[2]->getOperand(2).getReg()));
2827 }
2828 case GICXXPred_MI_Predicate_GICombiner24: {
2829 return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_NE &&
2830 !MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
2831 (MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
2832 MRI.getType(State.MIs[2]->getOperand(2).getReg()));
2833 }
2834 case GICXXPred_MI_Predicate_GICombiner25: {
2835 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg()) &&
2836 Helper.isLegalOrBeforeLegalizer({
2837 TargetOpcode::G_SEXT_INREG,
2838 {MRI.getType(State.MIs[1]->getOperand(1).getReg())},
2839 {},
2840 {1}
2841 });
2842 }
2843 case GICXXPred_MI_Predicate_GICombiner26: {
2844 auto C = isConstantOrConstantSplatVector(State.MIs[0]->getOperand(1).getReg(), MRI);
2845 return C && C->isZero();
2846 llvm_unreachable("GICombiner26 should have returned");
2847 }
2848 case GICXXPred_MI_Predicate_GICombiner27: {
2849 auto C = isConstantOrConstantSplatVector(State.MIs[0]->getOperand(1).getReg(), MRI);
2850 return C && !C->isZero();
2851 llvm_unreachable("GICombiner27 should have returned");
2852 }
2853 case GICXXPred_MI_Predicate_GICombiner28: {
2854 return !isConstantOrConstantSplatVector(State.MIs[0]->getOperand(1).getReg(), MRI) &&
2855 MRI.getType(State.MIs[0]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg()) &&
2856 VT->computeNumSignBits(State.MIs[0]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg()).getScalarSizeInBits();
2857 }
2858 case GICXXPred_MI_Predicate_GICombiner29: {
2859 return Helper.matchRedundantSExtInReg(*State.MIs[0]);
2860 }
2861 case GICXXPred_MI_Predicate_GICombiner30: {
2862 LLT SrcTy = MRI.getType(State.MIs[1]->getOperand(1).getReg());
2863 return State.MIs[0]->getOperand(2).getImm() <= SrcTy.getScalarSizeInBits() &&
2864 VT->computeNumSignBits(State.MIs[1]->getOperand(1).getReg()) >=
2865 (SrcTy.getScalarSizeInBits() - State.MIs[0]->getOperand(2).getImm() + 1);
2866 llvm_unreachable("GICombiner30 should have returned");
2867 }
2868 case GICXXPred_MI_Predicate_GICombiner31: {
2869 return Helper.matchSignedDivRemToUnsigned(*State.MIs[0],
2870 TargetOpcode::G_UDIV);
2871 }
2872 case GICXXPred_MI_Predicate_GICombiner32: {
2873 return Helper.matchSignedDivRemToUnsigned(*State.MIs[0],
2874 TargetOpcode::G_UREM);
2875 }
2876 case GICXXPred_MI_Predicate_GICombiner33: {
2877 return Helper.matchConstantOp(State.MIs[0]->getOperand(3), 2);
2878 }
2879 case GICXXPred_MI_Predicate_GICombiner34: {
2880 return Helper.matchConstantOp(State.MIs[0]->getOperand(4), 0);
2881 }
2882 case GICXXPred_MI_Predicate_GICombiner35: {
2883 return Helper.isConstantNaN(State.MIs[0]->getOperand(1).getReg());
2884 }
2885 case GICXXPred_MI_Predicate_GICombiner36: {
2886 return Helper.isConstantNaN(State.MIs[0]->getOperand(2).getReg()) &&
2887 !Helper.isConstantNaN(State.MIs[0]->getOperand(1).getReg());
2888 }
2889 case GICXXPred_MI_Predicate_GICombiner37: {
2890 LLT Ty = MRI.getType(State.MIs[0]->getOperand(0).getReg());
2891 return Ty.isPointer() &&
2892 !isConstantOrConstantSplatVector(State.MIs[0]->getOperand(2).getReg(), MRI) &&
2893 !State.MIs[0]->getMF()->getDataLayout().isNonIntegralAddressSpace(
2894 Ty.getAddressSpace());
2895 llvm_unreachable("GICombiner37 should have returned");
2896 }
2897 case GICXXPred_MI_Predicate_GICombiner38: {
2898 return Helper.matchPtrAddZeroVector(*State.MIs[0]);
2899 }
2900 case GICXXPred_MI_Predicate_GICombiner39: {
2901 return Helper.isLegalOrBeforeLegalizer(
2902 {TargetOpcode::G_ROTL,
2903 {MRI.getType(State.MIs[0]->getOperand(1).getReg()),
2904 MRI.getType(State.MIs[0]->getOperand(1).getReg())}});
2905 }
2906 case GICXXPred_MI_Predicate_GICombiner40: {
2907 return Helper.isLegalOrBeforeLegalizer(
2908 {TargetOpcode::G_ROTR,
2909 {MRI.getType(State.MIs[0]->getOperand(1).getReg()),
2910 MRI.getType(State.MIs[0]->getOperand(1).getReg())}});
2911 }
2912 case GICXXPred_MI_Predicate_GICombiner41: {
2913 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_LSHR,
2914 {MRI.getType(State.MIs[2]->getOperand(1).getReg()),
2915 MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
2916 }
2917 case GICXXPred_MI_Predicate_GICombiner42: {
2918 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_SHL,
2919 {MRI.getType(State.MIs[2]->getOperand(1).getReg()),
2920 MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
2921 }
2922 case GICXXPred_MI_Predicate_GICombiner43: {
2923 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg()) &&
2924 isConstantOrConstantSplatVector(State.MIs[1]->getOperand(2).getReg(), MRI) &&
2925 isConstantOrConstantSplatVector(State.MIs[0]->getOperand(2).getReg(), MRI) &&
2926 Helper.isDesirableToCommuteWithShift(*State.MIs[0]);
2927 }
2928 case GICXXPred_MI_Predicate_GICombiner44: {
2929 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_FSUB,
2930 {MRI.getType(State.MIs[0]->getOperand(0).getReg())}});
2931 }
2932 case GICXXPred_MI_Predicate_GICombiner45: {
2933 return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_FADD,
2934 {MRI.getType(State.MIs[0]->getOperand(0).getReg())}});
2935 }
2936 case GICXXPred_MI_Predicate_GICombiner46: {
2937 return Helper.matchSameRegOrICstOrSplat(State.MIs[1]->getOperand(2).getReg(),
2938 State.MIs[0]->getOperand(2).getReg());
2939 }
2940 case GICXXPred_MI_Predicate_GICombiner47: {
2941 return Helper.matchSameRegOrICstOrSplat(State.MIs[1]->getOperand(1).getReg(),
2942 State.MIs[0]->getOperand(2).getReg());
2943 }
2944 case GICXXPred_MI_Predicate_GICombiner48: {
2945 return Helper.matchSameRegOrICstOrSplat(State.MIs[0]->getOperand(1).getReg(),
2946 State.MIs[1]->getOperand(2).getReg());
2947 }
2948 case GICXXPred_MI_Predicate_GICombiner49: {
2949 return Helper.matchSameRegOrICstOrSplat(State.MIs[0]->getOperand(1).getReg(),
2950 State.MIs[1]->getOperand(1).getReg());
2951 }
2952 case GICXXPred_MI_Predicate_GICombiner50: {
2953 return Helper.matchFsubToFneg(*State.MIs[0]);
2954 }
2955 case GICXXPred_MI_Predicate_GICombiner51: {
2956 return Helper.matchCommuteConstantToRHS(*State.MIs[0]);
2957 }
2958 case GICXXPred_MI_Predicate_GICombiner52: {
2959 return Helper.matchCommuteFPConstantToRHS(*State.MIs[0]);
2960 }
2961 case GICXXPred_MI_Predicate_GICombiner53: {
2962 return Helper.isLegalOrBeforeLegalizer(
2963 {TargetOpcode::G_ANYEXT,
2964 {MRI.getType(State.MIs[0]->getOperand(0).getReg()),
2965 MRI.getType(State.MIs[0]->getOperand(1).getReg())}});
2966 }
2967 case GICXXPred_MI_Predicate_GICombiner54: {
2968 return Helper.isLegalOrBeforeLegalizer(
2969 {TargetOpcode::G_ZEXT,
2970 {MRI.getType(State.MIs[0]->getOperand(0).getReg()),
2971 MRI.getType(State.MIs[0]->getOperand(1).getReg())}});
2972 }
2973 case GICXXPred_MI_Predicate_GICombiner55: {
2974 return MRI.use_nodbg_empty(State.MIs[0]->getOperand(1).getReg()) &&
2975 Helper.isLegalOrBeforeLegalizer(
2976 {TargetOpcode::G_ADD,
2977 {MRI.getType(State.MIs[0]->getOperand(0).getReg())}});
2978 }
2979 case GICXXPred_MI_Predicate_GICombiner56: {
2980 return Helper.matchTruncUSatU(*State.MIs[0], *State.MIs[1]);
2981 }
2982 case GICXXPred_MI_Predicate_GICombiner57: {
2983 return Helper.matchTruncUSatUToFPTOUISat(*State.MIs[0], *State.MIs[1]);
2984 }
2985 case GICXXPred_MI_Predicate_GICombiner58: {
2986 return Helper.matchCountZeroToZeroPoison(*State.MIs[0],
2987 TargetOpcode::G_CTLZ, TargetOpcode::G_CTLZ_ZERO_POISON);
2988 }
2989 case GICXXPred_MI_Predicate_GICombiner59: {
2990 return Helper.matchCountZeroToZeroPoison(*State.MIs[0],
2991 TargetOpcode::G_CTTZ, TargetOpcode::G_CTTZ_ZERO_POISON);
2992 }
2993 case GICXXPred_MI_Predicate_GICombiner60: {
2994 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg()) &&
2995 MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(1).getReg());
2996 }
2997 case GICXXPred_MI_Predicate_GICombiner61: {
2998 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg()) &&
2999 MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(1).getReg());
3000 }
3001 case GICXXPred_MI_Predicate_GICombiner62: {
3002 return MRI.hasOneNonDBGUse(State.MIs[1]->getOperand(2).getReg()) &&
3003 MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg());
3004 }
3005 case GICXXPred_MI_Predicate_GICombiner63: {
3006 return MRI.getType(State.MIs[2]->getOperand(1).getReg()) ==
3007 MRI.getType(State.MIs[3]->getOperand(1).getReg()) &&
3008 Helper.isLegal({TargetOpcode::G_UAVGFLOOR,
3009 {MRI.getType(State.MIs[2]->getOperand(1).getReg())}});
3010 }
3011 case GICXXPred_MI_Predicate_GICombiner64: {
3012 return MRI.getType(State.MIs[2]->getOperand(1).getReg()) ==
3013 MRI.getType(State.MIs[3]->getOperand(1).getReg()) &&
3014 Helper.isLegal({TargetOpcode::G_SAVGFLOOR,
3015 {MRI.getType(State.MIs[2]->getOperand(1).getReg())}});
3016 }
3017 case GICXXPred_MI_Predicate_GICombiner65: {
3018 return MRI.getType(State.MIs[3]->getOperand(1).getReg()) ==
3019 MRI.getType(State.MIs[4]->getOperand(1).getReg()) &&
3020 Helper.isLegal({TargetOpcode::G_UAVGCEIL,
3021 {MRI.getType(State.MIs[3]->getOperand(1).getReg())}});
3022 }
3023 case GICXXPred_MI_Predicate_GICombiner66: {
3024 return MRI.getType(State.MIs[3]->getOperand(1).getReg()) ==
3025 MRI.getType(State.MIs[4]->getOperand(1).getReg()) &&
3026 Helper.isLegal({TargetOpcode::G_SAVGCEIL,
3027 {MRI.getType(State.MIs[3]->getOperand(1).getReg())}});
3028 }
3029 case GICXXPred_MI_Predicate_GICombiner67: {
3030 return matchRemoveFcanonicalize(*State.MIs[0]);
3031 }
3032 case GICXXPred_MI_Predicate_GICombiner68: {
3033 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg()) &&
3034 Helper.isLegalOrBeforeLegalizer(
3035 {TargetOpcode::G_UNMERGE_VALUES,
3036 {LLT::integer(16), LLT::integer(32)}});
3037 }
3038 case GICXXPred_MI_Predicate_GICombiner69: {
3039 return Helper.matchBinopWith32BitMask(State.MIs[0]->getOperand(1).getReg(), State.MIs[0]->getOperand(2).getReg());
3040 }
3041 case GICXXPred_MI_Predicate_GICombiner70: {
3042 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(2).getReg()) &&
3043 MRI.use_nodbg_empty(State.MIs[1]->getOperand(1).getReg()) &&
3044 !Helper.isFoldableCarryExt(State.MIs[0]->getOperand(1).getReg());
3045 }
3046 case GICXXPred_MI_Predicate_GICombiner71: {
3047 return MRI.hasOneNonDBGUse(State.MIs[0]->getOperand(1).getReg()) &&
3048 MRI.use_nodbg_empty(State.MIs[1]->getOperand(1).getReg()) &&
3049 !Helper.isFoldableCarryExt(State.MIs[0]->getOperand(2).getReg());
3050 }
3051 }
3052 llvm_unreachable("Unknown predicate");
3053 return false;
3054}
3055bool AMDGPUPostLegalizerCombinerImpl::testMOPredicate_MO(unsigned PredicateID, const MachineOperand & MO, const MatcherState &State) const {
3056 llvm_unreachable("Unknown predicate");
3057 return false;
3058}
3059bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const {
3060 llvm_unreachable("Unknown predicate");
3061 return false;
3062}
3063bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_APFloat(unsigned PredicateID, const APFloat & Imm) const {
3064 llvm_unreachable("Unknown predicate");
3065 return false;
3066}
3067bool AMDGPUPostLegalizerCombinerImpl::testImmPredicate_APInt(unsigned PredicateID, const APInt & Imm) const {
3068 llvm_unreachable("Unknown predicate");
3069 return false;
3070}
3071enum {
3072 GICXXPred_Simple_IsRule0Enabled = GICXXPred_Invalid + 1,
3073 GICXXPred_Simple_IsRule1Enabled,
3074 GICXXPred_Simple_IsRule2Enabled,
3075 GICXXPred_Simple_IsRule3Enabled,
3076 GICXXPred_Simple_IsRule4Enabled,
3077 GICXXPred_Simple_IsRule5Enabled,
3078 GICXXPred_Simple_IsRule6Enabled,
3079 GICXXPred_Simple_IsRule7Enabled,
3080 GICXXPred_Simple_IsRule8Enabled,
3081 GICXXPred_Simple_IsRule9Enabled,
3082 GICXXPred_Simple_IsRule10Enabled,
3083 GICXXPred_Simple_IsRule11Enabled,
3084 GICXXPred_Simple_IsRule12Enabled,
3085 GICXXPred_Simple_IsRule13Enabled,
3086 GICXXPred_Simple_IsRule14Enabled,
3087 GICXXPred_Simple_IsRule15Enabled,
3088 GICXXPred_Simple_IsRule16Enabled,
3089 GICXXPred_Simple_IsRule17Enabled,
3090 GICXXPred_Simple_IsRule18Enabled,
3091 GICXXPred_Simple_IsRule19Enabled,
3092 GICXXPred_Simple_IsRule20Enabled,
3093 GICXXPred_Simple_IsRule21Enabled,
3094 GICXXPred_Simple_IsRule22Enabled,
3095 GICXXPred_Simple_IsRule23Enabled,
3096 GICXXPred_Simple_IsRule24Enabled,
3097 GICXXPred_Simple_IsRule25Enabled,
3098 GICXXPred_Simple_IsRule26Enabled,
3099 GICXXPred_Simple_IsRule27Enabled,
3100 GICXXPred_Simple_IsRule28Enabled,
3101 GICXXPred_Simple_IsRule29Enabled,
3102 GICXXPred_Simple_IsRule30Enabled,
3103 GICXXPred_Simple_IsRule31Enabled,
3104 GICXXPred_Simple_IsRule32Enabled,
3105 GICXXPred_Simple_IsRule33Enabled,
3106 GICXXPred_Simple_IsRule34Enabled,
3107 GICXXPred_Simple_IsRule35Enabled,
3108 GICXXPred_Simple_IsRule36Enabled,
3109 GICXXPred_Simple_IsRule37Enabled,
3110 GICXXPred_Simple_IsRule38Enabled,
3111 GICXXPred_Simple_IsRule39Enabled,
3112 GICXXPred_Simple_IsRule40Enabled,
3113 GICXXPred_Simple_IsRule41Enabled,
3114 GICXXPred_Simple_IsRule42Enabled,
3115 GICXXPred_Simple_IsRule43Enabled,
3116 GICXXPred_Simple_IsRule44Enabled,
3117 GICXXPred_Simple_IsRule45Enabled,
3118 GICXXPred_Simple_IsRule46Enabled,
3119 GICXXPred_Simple_IsRule47Enabled,
3120 GICXXPred_Simple_IsRule48Enabled,
3121 GICXXPred_Simple_IsRule49Enabled,
3122 GICXXPred_Simple_IsRule50Enabled,
3123 GICXXPred_Simple_IsRule51Enabled,
3124 GICXXPred_Simple_IsRule52Enabled,
3125 GICXXPred_Simple_IsRule53Enabled,
3126 GICXXPred_Simple_IsRule54Enabled,
3127 GICXXPred_Simple_IsRule55Enabled,
3128 GICXXPred_Simple_IsRule56Enabled,
3129 GICXXPred_Simple_IsRule57Enabled,
3130 GICXXPred_Simple_IsRule58Enabled,
3131 GICXXPred_Simple_IsRule59Enabled,
3132 GICXXPred_Simple_IsRule60Enabled,
3133 GICXXPred_Simple_IsRule61Enabled,
3134 GICXXPred_Simple_IsRule62Enabled,
3135 GICXXPred_Simple_IsRule63Enabled,
3136 GICXXPred_Simple_IsRule64Enabled,
3137 GICXXPred_Simple_IsRule65Enabled,
3138 GICXXPred_Simple_IsRule66Enabled,
3139 GICXXPred_Simple_IsRule67Enabled,
3140 GICXXPred_Simple_IsRule68Enabled,
3141 GICXXPred_Simple_IsRule69Enabled,
3142 GICXXPred_Simple_IsRule70Enabled,
3143 GICXXPred_Simple_IsRule71Enabled,
3144 GICXXPred_Simple_IsRule72Enabled,
3145 GICXXPred_Simple_IsRule73Enabled,
3146 GICXXPred_Simple_IsRule74Enabled,
3147 GICXXPred_Simple_IsRule75Enabled,
3148 GICXXPred_Simple_IsRule76Enabled,
3149 GICXXPred_Simple_IsRule77Enabled,
3150 GICXXPred_Simple_IsRule78Enabled,
3151 GICXXPred_Simple_IsRule79Enabled,
3152 GICXXPred_Simple_IsRule80Enabled,
3153 GICXXPred_Simple_IsRule81Enabled,
3154 GICXXPred_Simple_IsRule82Enabled,
3155 GICXXPred_Simple_IsRule83Enabled,
3156 GICXXPred_Simple_IsRule84Enabled,
3157 GICXXPred_Simple_IsRule85Enabled,
3158 GICXXPred_Simple_IsRule86Enabled,
3159 GICXXPred_Simple_IsRule87Enabled,
3160 GICXXPred_Simple_IsRule88Enabled,
3161 GICXXPred_Simple_IsRule89Enabled,
3162 GICXXPred_Simple_IsRule90Enabled,
3163 GICXXPred_Simple_IsRule91Enabled,
3164 GICXXPred_Simple_IsRule92Enabled,
3165 GICXXPred_Simple_IsRule93Enabled,
3166 GICXXPred_Simple_IsRule94Enabled,
3167 GICXXPred_Simple_IsRule95Enabled,
3168 GICXXPred_Simple_IsRule96Enabled,
3169 GICXXPred_Simple_IsRule97Enabled,
3170 GICXXPred_Simple_IsRule98Enabled,
3171 GICXXPred_Simple_IsRule99Enabled,
3172 GICXXPred_Simple_IsRule100Enabled,
3173 GICXXPred_Simple_IsRule101Enabled,
3174 GICXXPred_Simple_IsRule102Enabled,
3175 GICXXPred_Simple_IsRule103Enabled,
3176 GICXXPred_Simple_IsRule104Enabled,
3177 GICXXPred_Simple_IsRule105Enabled,
3178 GICXXPred_Simple_IsRule106Enabled,
3179 GICXXPred_Simple_IsRule107Enabled,
3180 GICXXPred_Simple_IsRule108Enabled,
3181 GICXXPred_Simple_IsRule109Enabled,
3182 GICXXPred_Simple_IsRule110Enabled,
3183 GICXXPred_Simple_IsRule111Enabled,
3184 GICXXPred_Simple_IsRule112Enabled,
3185 GICXXPred_Simple_IsRule113Enabled,
3186 GICXXPred_Simple_IsRule114Enabled,
3187 GICXXPred_Simple_IsRule115Enabled,
3188 GICXXPred_Simple_IsRule116Enabled,
3189 GICXXPred_Simple_IsRule117Enabled,
3190 GICXXPred_Simple_IsRule118Enabled,
3191 GICXXPred_Simple_IsRule119Enabled,
3192 GICXXPred_Simple_IsRule120Enabled,
3193 GICXXPred_Simple_IsRule121Enabled,
3194 GICXXPred_Simple_IsRule122Enabled,
3195 GICXXPred_Simple_IsRule123Enabled,
3196 GICXXPred_Simple_IsRule124Enabled,
3197 GICXXPred_Simple_IsRule125Enabled,
3198 GICXXPred_Simple_IsRule126Enabled,
3199 GICXXPred_Simple_IsRule127Enabled,
3200 GICXXPred_Simple_IsRule128Enabled,
3201 GICXXPred_Simple_IsRule129Enabled,
3202 GICXXPred_Simple_IsRule130Enabled,
3203 GICXXPred_Simple_IsRule131Enabled,
3204 GICXXPred_Simple_IsRule132Enabled,
3205 GICXXPred_Simple_IsRule133Enabled,
3206 GICXXPred_Simple_IsRule134Enabled,
3207 GICXXPred_Simple_IsRule135Enabled,
3208 GICXXPred_Simple_IsRule136Enabled,
3209 GICXXPred_Simple_IsRule137Enabled,
3210 GICXXPred_Simple_IsRule138Enabled,
3211 GICXXPred_Simple_IsRule139Enabled,
3212 GICXXPred_Simple_IsRule140Enabled,
3213 GICXXPred_Simple_IsRule141Enabled,
3214 GICXXPred_Simple_IsRule142Enabled,
3215 GICXXPred_Simple_IsRule143Enabled,
3216 GICXXPred_Simple_IsRule144Enabled,
3217 GICXXPred_Simple_IsRule145Enabled,
3218 GICXXPred_Simple_IsRule146Enabled,
3219 GICXXPred_Simple_IsRule147Enabled,
3220 GICXXPred_Simple_IsRule148Enabled,
3221 GICXXPred_Simple_IsRule149Enabled,
3222 GICXXPred_Simple_IsRule150Enabled,
3223 GICXXPred_Simple_IsRule151Enabled,
3224 GICXXPred_Simple_IsRule152Enabled,
3225 GICXXPred_Simple_IsRule153Enabled,
3226 GICXXPred_Simple_IsRule154Enabled,
3227 GICXXPred_Simple_IsRule155Enabled,
3228 GICXXPred_Simple_IsRule156Enabled,
3229 GICXXPred_Simple_IsRule157Enabled,
3230 GICXXPred_Simple_IsRule158Enabled,
3231 GICXXPred_Simple_IsRule159Enabled,
3232 GICXXPred_Simple_IsRule160Enabled,
3233 GICXXPred_Simple_IsRule161Enabled,
3234 GICXXPred_Simple_IsRule162Enabled,
3235 GICXXPred_Simple_IsRule163Enabled,
3236 GICXXPred_Simple_IsRule164Enabled,
3237 GICXXPred_Simple_IsRule165Enabled,
3238 GICXXPred_Simple_IsRule166Enabled,
3239 GICXXPred_Simple_IsRule167Enabled,
3240 GICXXPred_Simple_IsRule168Enabled,
3241 GICXXPred_Simple_IsRule169Enabled,
3242 GICXXPred_Simple_IsRule170Enabled,
3243 GICXXPred_Simple_IsRule171Enabled,
3244 GICXXPred_Simple_IsRule172Enabled,
3245 GICXXPred_Simple_IsRule173Enabled,
3246 GICXXPred_Simple_IsRule174Enabled,
3247 GICXXPred_Simple_IsRule175Enabled,
3248 GICXXPred_Simple_IsRule176Enabled,
3249 GICXXPred_Simple_IsRule177Enabled,
3250 GICXXPred_Simple_IsRule178Enabled,
3251 GICXXPred_Simple_IsRule179Enabled,
3252 GICXXPred_Simple_IsRule180Enabled,
3253 GICXXPred_Simple_IsRule181Enabled,
3254 GICXXPred_Simple_IsRule182Enabled,
3255 GICXXPred_Simple_IsRule183Enabled,
3256 GICXXPred_Simple_IsRule184Enabled,
3257 GICXXPred_Simple_IsRule185Enabled,
3258 GICXXPred_Simple_IsRule186Enabled,
3259 GICXXPred_Simple_IsRule187Enabled,
3260 GICXXPred_Simple_IsRule188Enabled,
3261 GICXXPred_Simple_IsRule189Enabled,
3262 GICXXPred_Simple_IsRule190Enabled,
3263 GICXXPred_Simple_IsRule191Enabled,
3264 GICXXPred_Simple_IsRule192Enabled,
3265 GICXXPred_Simple_IsRule193Enabled,
3266 GICXXPred_Simple_IsRule194Enabled,
3267 GICXXPred_Simple_IsRule195Enabled,
3268 GICXXPred_Simple_IsRule196Enabled,
3269 GICXXPred_Simple_IsRule197Enabled,
3270 GICXXPred_Simple_IsRule198Enabled,
3271 GICXXPred_Simple_IsRule199Enabled,
3272 GICXXPred_Simple_IsRule200Enabled,
3273 GICXXPred_Simple_IsRule201Enabled,
3274 GICXXPred_Simple_IsRule202Enabled,
3275 GICXXPred_Simple_IsRule203Enabled,
3276 GICXXPred_Simple_IsRule204Enabled,
3277 GICXXPred_Simple_IsRule205Enabled,
3278 GICXXPred_Simple_IsRule206Enabled,
3279 GICXXPred_Simple_IsRule207Enabled,
3280 GICXXPred_Simple_IsRule208Enabled,
3281 GICXXPred_Simple_IsRule209Enabled,
3282 GICXXPred_Simple_IsRule210Enabled,
3283 GICXXPred_Simple_IsRule211Enabled,
3284 GICXXPred_Simple_IsRule212Enabled,
3285 GICXXPred_Simple_IsRule213Enabled,
3286 GICXXPred_Simple_IsRule214Enabled,
3287 GICXXPred_Simple_IsRule215Enabled,
3288 GICXXPred_Simple_IsRule216Enabled,
3289 GICXXPred_Simple_IsRule217Enabled,
3290 GICXXPred_Simple_IsRule218Enabled,
3291 GICXXPred_Simple_IsRule219Enabled,
3292 GICXXPred_Simple_IsRule220Enabled,
3293 GICXXPred_Simple_IsRule221Enabled,
3294 GICXXPred_Simple_IsRule222Enabled,
3295 GICXXPred_Simple_IsRule223Enabled,
3296 GICXXPred_Simple_IsRule224Enabled,
3297 GICXXPred_Simple_IsRule225Enabled,
3298 GICXXPred_Simple_IsRule226Enabled,
3299 GICXXPred_Simple_IsRule227Enabled,
3300 GICXXPred_Simple_IsRule228Enabled,
3301 GICXXPred_Simple_IsRule229Enabled,
3302 GICXXPred_Simple_IsRule230Enabled,
3303 GICXXPred_Simple_IsRule231Enabled,
3304 GICXXPred_Simple_IsRule232Enabled,
3305 GICXXPred_Simple_IsRule233Enabled,
3306 GICXXPred_Simple_IsRule234Enabled,
3307 GICXXPred_Simple_IsRule235Enabled,
3308 GICXXPred_Simple_IsRule236Enabled,
3309 GICXXPred_Simple_IsRule237Enabled,
3310 GICXXPred_Simple_IsRule238Enabled,
3311 GICXXPred_Simple_IsRule239Enabled,
3312 GICXXPred_Simple_IsRule240Enabled,
3313 GICXXPred_Simple_IsRule241Enabled,
3314 GICXXPred_Simple_IsRule242Enabled,
3315 GICXXPred_Simple_IsRule243Enabled,
3316 GICXXPred_Simple_IsRule244Enabled,
3317 GICXXPred_Simple_IsRule245Enabled,
3318 GICXXPred_Simple_IsRule246Enabled,
3319 GICXXPred_Simple_IsRule247Enabled,
3320 GICXXPred_Simple_IsRule248Enabled,
3321 GICXXPred_Simple_IsRule249Enabled,
3322 GICXXPred_Simple_IsRule250Enabled,
3323 GICXXPred_Simple_IsRule251Enabled,
3324 GICXXPred_Simple_IsRule252Enabled,
3325 GICXXPred_Simple_IsRule253Enabled,
3326 GICXXPred_Simple_IsRule254Enabled,
3327 GICXXPred_Simple_IsRule255Enabled,
3328 GICXXPred_Simple_IsRule256Enabled,
3329 GICXXPred_Simple_IsRule257Enabled,
3330 GICXXPred_Simple_IsRule258Enabled,
3331 GICXXPred_Simple_IsRule259Enabled,
3332 GICXXPred_Simple_IsRule260Enabled,
3333 GICXXPred_Simple_IsRule261Enabled,
3334 GICXXPred_Simple_IsRule262Enabled,
3335 GICXXPred_Simple_IsRule263Enabled,
3336 GICXXPred_Simple_IsRule264Enabled,
3337 GICXXPred_Simple_IsRule265Enabled,
3338 GICXXPred_Simple_IsRule266Enabled,
3339 GICXXPred_Simple_IsRule267Enabled,
3340 GICXXPred_Simple_IsRule268Enabled,
3341 GICXXPred_Simple_IsRule269Enabled,
3342 GICXXPred_Simple_IsRule270Enabled,
3343 GICXXPred_Simple_IsRule271Enabled,
3344 GICXXPred_Simple_IsRule272Enabled,
3345 GICXXPred_Simple_IsRule273Enabled,
3346 GICXXPred_Simple_IsRule274Enabled,
3347 GICXXPred_Simple_IsRule275Enabled,
3348 GICXXPred_Simple_IsRule276Enabled,
3349 GICXXPred_Simple_IsRule277Enabled,
3350 GICXXPred_Simple_IsRule278Enabled,
3351 GICXXPred_Simple_IsRule279Enabled,
3352 GICXXPred_Simple_IsRule280Enabled,
3353 GICXXPred_Simple_IsRule281Enabled,
3354 GICXXPred_Simple_IsRule282Enabled,
3355 GICXXPred_Simple_IsRule283Enabled,
3356 GICXXPred_Simple_IsRule284Enabled,
3357 GICXXPred_Simple_IsRule285Enabled,
3358 GICXXPred_Simple_IsRule286Enabled,
3359 GICXXPred_Simple_IsRule287Enabled,
3360 GICXXPred_Simple_IsRule288Enabled,
3361 GICXXPred_Simple_IsRule289Enabled,
3362 GICXXPred_Simple_IsRule290Enabled,
3363 GICXXPred_Simple_IsRule291Enabled,
3364 GICXXPred_Simple_IsRule292Enabled,
3365 GICXXPred_Simple_IsRule293Enabled,
3366 GICXXPred_Simple_IsRule294Enabled,
3367 GICXXPred_Simple_IsRule295Enabled,
3368 GICXXPred_Simple_IsRule296Enabled,
3369 GICXXPred_Simple_IsRule297Enabled,
3370 GICXXPred_Simple_IsRule298Enabled,
3371 GICXXPred_Simple_IsRule299Enabled,
3372 GICXXPred_Simple_IsRule300Enabled,
3373 GICXXPred_Simple_IsRule301Enabled,
3374 GICXXPred_Simple_IsRule302Enabled,
3375 GICXXPred_Simple_IsRule303Enabled,
3376 GICXXPred_Simple_IsRule304Enabled,
3377 GICXXPred_Simple_IsRule305Enabled,
3378 GICXXPred_Simple_IsRule306Enabled,
3379 GICXXPred_Simple_IsRule307Enabled,
3380 GICXXPred_Simple_IsRule308Enabled,
3381 GICXXPred_Simple_IsRule309Enabled,
3382 GICXXPred_Simple_IsRule310Enabled,
3383 GICXXPred_Simple_IsRule311Enabled,
3384 GICXXPred_Simple_IsRule312Enabled,
3385 GICXXPred_Simple_IsRule313Enabled,
3386 GICXXPred_Simple_IsRule314Enabled,
3387 GICXXPred_Simple_IsRule315Enabled,
3388 GICXXPred_Simple_IsRule316Enabled,
3389 GICXXPred_Simple_IsRule317Enabled,
3390 GICXXPred_Simple_IsRule318Enabled,
3391 GICXXPred_Simple_IsRule319Enabled,
3392 GICXXPred_Simple_IsRule320Enabled,
3393 GICXXPred_Simple_IsRule321Enabled,
3394 GICXXPred_Simple_IsRule322Enabled,
3395 GICXXPred_Simple_IsRule323Enabled,
3396 GICXXPred_Simple_IsRule324Enabled,
3397 GICXXPred_Simple_IsRule325Enabled,
3398 GICXXPred_Simple_IsRule326Enabled,
3399 GICXXPred_Simple_IsRule327Enabled,
3400 GICXXPred_Simple_IsRule328Enabled,
3401 GICXXPred_Simple_IsRule329Enabled,
3402 GICXXPred_Simple_IsRule330Enabled,
3403 GICXXPred_Simple_IsRule331Enabled,
3404 GICXXPred_Simple_IsRule332Enabled,
3405 GICXXPred_Simple_IsRule333Enabled,
3406 GICXXPred_Simple_IsRule334Enabled,
3407 GICXXPred_Simple_IsRule335Enabled,
3408 GICXXPred_Simple_IsRule336Enabled,
3409 GICXXPred_Simple_IsRule337Enabled,
3410 GICXXPred_Simple_IsRule338Enabled,
3411 GICXXPred_Simple_IsRule339Enabled,
3412 GICXXPred_Simple_IsRule340Enabled,
3413 GICXXPred_Simple_IsRule341Enabled,
3414 GICXXPred_Simple_IsRule342Enabled,
3415 GICXXPred_Simple_IsRule343Enabled,
3416 GICXXPred_Simple_IsRule344Enabled,
3417 GICXXPred_Simple_IsRule345Enabled,
3418 GICXXPred_Simple_IsRule346Enabled,
3419 GICXXPred_Simple_IsRule347Enabled,
3420 GICXXPred_Simple_IsRule348Enabled,
3421 GICXXPred_Simple_IsRule349Enabled,
3422 GICXXPred_Simple_IsRule350Enabled,
3423 GICXXPred_Simple_IsRule351Enabled,
3424 GICXXPred_Simple_IsRule352Enabled,
3425 GICXXPred_Simple_IsRule353Enabled,
3426 GICXXPred_Simple_IsRule354Enabled,
3427 GICXXPred_Simple_IsRule355Enabled,
3428 GICXXPred_Simple_IsRule356Enabled,
3429 GICXXPred_Simple_IsRule357Enabled,
3430 GICXXPred_Simple_IsRule358Enabled,
3431 GICXXPred_Simple_IsRule359Enabled,
3432 GICXXPred_Simple_IsRule360Enabled,
3433 GICXXPred_Simple_IsRule361Enabled,
3434 GICXXPred_Simple_IsRule362Enabled,
3435 GICXXPred_Simple_IsRule363Enabled,
3436 GICXXPred_Simple_IsRule364Enabled,
3437 GICXXPred_Simple_IsRule365Enabled,
3438 GICXXPred_Simple_IsRule366Enabled,
3439 GICXXPred_Simple_IsRule367Enabled,
3440};
3441
3442bool AMDGPUPostLegalizerCombinerImpl::testSimplePredicate(unsigned Predicate) const {
3443 return RuleConfig.isRuleEnabled(Predicate - GICXXPred_Invalid - 1);
3444}
3445// Custom renderers.
3446enum {
3447 GICR_Invalid,
3448};
3449AMDGPUPostLegalizerCombinerImpl::CustomRendererFn
3450AMDGPUPostLegalizerCombinerImpl::CustomRenderers[] = {
3451 nullptr, // GICR_Invalid
3452};
3453
3454bool AMDGPUPostLegalizerCombinerImpl::canMatchOpcode(unsigned Opc) const {
3455 switch (Opc) {
3456 case TargetOpcode::G_SADDE:
3457 case TargetOpcode::G_SSUBE:
3458 case TargetOpcode::G_UADDE:
3459 case TargetOpcode::G_USUBE:
3460 case TargetOpcode::G_FSHL:
3461 case TargetOpcode::G_FSHR:
3462 case TargetOpcode::G_INSERT_VECTOR_ELT:
3463 case TargetOpcode::G_SADDO:
3464 case TargetOpcode::G_SELECT:
3465 case TargetOpcode::G_SHUFFLE_VECTOR:
3466 case TargetOpcode::G_SMULFIX:
3467 case TargetOpcode::G_SMULFIXSAT:
3468 case TargetOpcode::G_SMULO:
3469 case TargetOpcode::G_UADDO:
3470 case TargetOpcode::G_UMULFIX:
3471 case TargetOpcode::G_UMULFIXSAT:
3472 case TargetOpcode::G_UMULO:
3473 case TargetOpcode::G_FCMP:
3474 case TargetOpcode::G_FMA:
3475 case TargetOpcode::G_FMAD:
3476 case TargetOpcode::G_ICMP:
3477 case TargetOpcode::G_SSUBO:
3478 case TargetOpcode::G_USUBO:
3479 case TargetOpcode::G_FADD:
3480 case TargetOpcode::G_ADD:
3481 case TargetOpcode::G_AND:
3482 case TargetOpcode::G_ASHR:
3483 case TargetOpcode::G_EXTRACT_VECTOR_ELT:
3484 case TargetOpcode::G_FDIV:
3485 case TargetOpcode::G_FMAXIMUM:
3486 case TargetOpcode::G_FMAXNUM:
3487 case TargetOpcode::G_FMAXNUM_IEEE:
3488 case TargetOpcode::G_FMINIMUM:
3489 case TargetOpcode::G_FMINNUM:
3490 case TargetOpcode::G_FMINNUM_IEEE:
3491 case TargetOpcode::G_FMUL:
3492 case TargetOpcode::G_FSUB:
3493 case TargetOpcode::G_INTRINSIC:
3494 case TargetOpcode::G_LSHR:
3495 case TargetOpcode::G_MERGE_VALUES:
3496 case TargetOpcode::G_MUL:
3497 case TargetOpcode::G_OR:
3498 case TargetOpcode::G_PTR_ADD:
3499 case TargetOpcode::G_SADDSAT:
3500 case TargetOpcode::G_SDIV:
3501 case TargetOpcode::G_SEXT_INREG:
3502 case TargetOpcode::G_SHL:
3503 case TargetOpcode::G_SMAX:
3504 case TargetOpcode::G_SMIN:
3505 case TargetOpcode::G_SMULH:
3506 case TargetOpcode::G_SREM:
3507 case TargetOpcode::G_SUB:
3508 case TargetOpcode::G_UADDSAT:
3509 case TargetOpcode::G_UDIV:
3510 case TargetOpcode::G_UMAX:
3511 case TargetOpcode::G_UMIN:
3512 case TargetOpcode::G_UMULH:
3513 case TargetOpcode::G_UREM:
3514 case TargetOpcode::G_XOR:
3515 case TargetOpcode::G_FCOPYSIGN:
3516 case TargetOpcode::G_FMAXIMUMNUM:
3517 case TargetOpcode::G_FMINIMUMNUM:
3518 case TargetOpcode::G_FPOWI:
3519 case TargetOpcode::G_FREM:
3520 case TargetOpcode::G_ROTL:
3521 case TargetOpcode::G_ROTR:
3522 case TargetOpcode::G_SSHLSAT:
3523 case TargetOpcode::G_USHLSAT:
3524 case TargetOpcode::G_BUILD_VECTOR:
3525 case TargetOpcode::G_BITCAST:
3526 case TargetOpcode::G_BITREVERSE:
3527 case TargetOpcode::G_BUILD_VECTOR_TRUNC:
3528 case TargetOpcode::G_CONCAT_VECTORS:
3529 case TargetOpcode::G_CTLZ:
3530 case TargetOpcode::G_CTTZ:
3531 case TargetOpcode::G_FCANONICALIZE:
3532 case TargetOpcode::G_FPTRUNC:
3533 case TargetOpcode::G_FREEZE:
3534 case TargetOpcode::G_FSQRT:
3535 case TargetOpcode::G_INTTOPTR:
3536 case TargetOpcode::G_PHI:
3537 case TargetOpcode::G_PTRTOINT:
3538 case TargetOpcode::G_STORE:
3539 case TargetOpcode::G_TRUNC:
3540 case TargetOpcode::G_TRUNC_USAT_U:
3541 case TargetOpcode::G_ZEXT:
3542 case TargetOpcode::COPY:
3543 case TargetOpcode::G_ABS:
3544 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE0:
3545 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE1:
3546 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE2:
3547 case AMDGPU::G_AMDGPU_CVT_F32_UBYTE3:
3548 case TargetOpcode::G_ANYEXT:
3549 case TargetOpcode::G_BSWAP:
3550 case TargetOpcode::G_CTLZ_ZERO_POISON:
3551 case TargetOpcode::G_CTPOP:
3552 case TargetOpcode::G_CTTZ_ZERO_POISON:
3553 case TargetOpcode::G_FABS:
3554 case TargetOpcode::G_FCEIL:
3555 case TargetOpcode::G_FFLOOR:
3556 case TargetOpcode::G_FLOG2:
3557 case TargetOpcode::G_FNEARBYINT:
3558 case TargetOpcode::G_FNEG:
3559 case TargetOpcode::G_FPEXT:
3560 case TargetOpcode::G_FPTOSI:
3561 case TargetOpcode::G_FPTOUI:
3562 case TargetOpcode::G_FPTOUI_SAT:
3563 case TargetOpcode::G_FRINT:
3564 case TargetOpcode::G_INTRINSIC_ROUND:
3565 case TargetOpcode::G_INTRINSIC_ROUNDEVEN:
3566 case TargetOpcode::G_INTRINSIC_TRUNC:
3567 case TargetOpcode::G_LOAD:
3568 case TargetOpcode::G_SEXT:
3569 case TargetOpcode::G_SEXTLOAD:
3570 case TargetOpcode::G_SITOFP:
3571 case TargetOpcode::G_UITOFP:
3572 case TargetOpcode::G_ZEXTLOAD:
3573 case TargetOpcode::G_BR:
3574 case TargetOpcode::G_UNMERGE_VALUES:
3575 return true;
3576 default:
3577 return false;
3578 }
3579}
3580
3581uint32_t AMDGPUPostLegalizerCombinerImpl::getRootFlagsToDrop() const {
3582 return MachineInstr::getPoisonGeneratingFlags();
3583}
3584
3585bool AMDGPUPostLegalizerCombinerImpl::tryCombineAllImpl(MachineInstr &I) const {
3586 const PredicateBitset AvailableFeatures = getAvailableFeatures();
3587 State.MIs.clear();
3588 State.MIs.push_back(&I);
3589 if (executeMatchTable(*this, State, ExecInfo, B, getMatchTable(), Helper.getTII(), MRI, Helper.getTRI(), Helper.getRBI(), AvailableFeatures, /*CoverageInfo*/ nullptr)) {
3590 return true;
3591 }
3592
3593 return false;
3594}
3595
3596enum {
3597 GICXXCustomAction_GICombiner0 = GICXXCustomAction_Invalid + 1,
3598 GICXXCustomAction_GICombiner1,
3599 GICXXCustomAction_GICombiner2,
3600 GICXXCustomAction_GICombiner3,
3601 GICXXCustomAction_GICombiner4,
3602 GICXXCustomAction_GICombiner5,
3603 GICXXCustomAction_GICombiner6,
3604 GICXXCustomAction_GICombiner7,
3605 GICXXCustomAction_GICombiner8,
3606 GICXXCustomAction_GICombiner9,
3607 GICXXCustomAction_GICombiner10,
3608 GICXXCustomAction_GICombiner11,
3609 GICXXCustomAction_GICombiner12,
3610 GICXXCustomAction_GICombiner13,
3611 GICXXCustomAction_GICombiner14,
3612 GICXXCustomAction_GICombiner15,
3613 GICXXCustomAction_GICombiner16,
3614 GICXXCustomAction_GICombiner17,
3615 GICXXCustomAction_GICombiner18,
3616 GICXXCustomAction_GICombiner19,
3617 GICXXCustomAction_GICombiner20,
3618 GICXXCustomAction_GICombiner21,
3619 GICXXCustomAction_GICombiner22,
3620 GICXXCustomAction_GICombiner23,
3621 GICXXCustomAction_GICombiner24,
3622 GICXXCustomAction_GICombiner25,
3623 GICXXCustomAction_GICombiner26,
3624 GICXXCustomAction_GICombiner27,
3625 GICXXCustomAction_GICombiner28,
3626 GICXXCustomAction_GICombiner29,
3627 GICXXCustomAction_GICombiner30,
3628 GICXXCustomAction_GICombiner31,
3629 GICXXCustomAction_GICombiner32,
3630 GICXXCustomAction_GICombiner33,
3631 GICXXCustomAction_GICombiner34,
3632 GICXXCustomAction_GICombiner35,
3633 GICXXCustomAction_GICombiner36,
3634 GICXXCustomAction_GICombiner37,
3635 GICXXCustomAction_GICombiner38,
3636 GICXXCustomAction_GICombiner39,
3637 GICXXCustomAction_GICombiner40,
3638 GICXXCustomAction_GICombiner41,
3639 GICXXCustomAction_GICombiner42,
3640 GICXXCustomAction_GICombiner43,
3641 GICXXCustomAction_GICombiner44,
3642 GICXXCustomAction_GICombiner45,
3643 GICXXCustomAction_GICombiner46,
3644 GICXXCustomAction_GICombiner47,
3645 GICXXCustomAction_GICombiner48,
3646 GICXXCustomAction_GICombiner49,
3647 GICXXCustomAction_GICombiner50,
3648 GICXXCustomAction_GICombiner51,
3649 GICXXCustomAction_GICombiner52,
3650 GICXXCustomAction_GICombiner53,
3651 GICXXCustomAction_GICombiner54,
3652 GICXXCustomAction_GICombiner55,
3653 GICXXCustomAction_GICombiner56,
3654 GICXXCustomAction_GICombiner57,
3655 GICXXCustomAction_GICombiner58,
3656 GICXXCustomAction_GICombiner59,
3657 GICXXCustomAction_GICombiner60,
3658 GICXXCustomAction_GICombiner61,
3659 GICXXCustomAction_GICombiner62,
3660 GICXXCustomAction_GICombiner63,
3661 GICXXCustomAction_GICombiner64,
3662 GICXXCustomAction_GICombiner65,
3663 GICXXCustomAction_GICombiner66,
3664 GICXXCustomAction_GICombiner67,
3665 GICXXCustomAction_GICombiner68,
3666 GICXXCustomAction_GICombiner69,
3667 GICXXCustomAction_GICombiner70,
3668 GICXXCustomAction_GICombiner71,
3669 GICXXCustomAction_GICombiner72,
3670 GICXXCustomAction_GICombiner73,
3671 GICXXCustomAction_GICombiner74,
3672 GICXXCustomAction_GICombiner75,
3673 GICXXCustomAction_GICombiner76,
3674 GICXXCustomAction_GICombiner77,
3675 GICXXCustomAction_GICombiner78,
3676 GICXXCustomAction_GICombiner79,
3677 GICXXCustomAction_GICombiner80,
3678 GICXXCustomAction_GICombiner81,
3679 GICXXCustomAction_GICombiner82,
3680 GICXXCustomAction_GICombiner83,
3681 GICXXCustomAction_GICombiner84,
3682 GICXXCustomAction_GICombiner85,
3683 GICXXCustomAction_GICombiner86,
3684 GICXXCustomAction_GICombiner87,
3685 GICXXCustomAction_GICombiner88,
3686 GICXXCustomAction_GICombiner89,
3687 GICXXCustomAction_GICombiner90,
3688 GICXXCustomAction_GICombiner91,
3689 GICXXCustomAction_GICombiner92,
3690 GICXXCustomAction_GICombiner93,
3691 GICXXCustomAction_GICombiner94,
3692 GICXXCustomAction_GICombiner95,
3693 GICXXCustomAction_GICombiner96,
3694 GICXXCustomAction_GICombiner97,
3695 GICXXCustomAction_GICombiner98,
3696 GICXXCustomAction_GICombiner99,
3697 GICXXCustomAction_GICombiner100,
3698 GICXXCustomAction_GICombiner101,
3699 GICXXCustomAction_GICombiner102,
3700 GICXXCustomAction_GICombiner103,
3701 GICXXCustomAction_GICombiner104,
3702 GICXXCustomAction_GICombiner105,
3703 GICXXCustomAction_GICombiner106,
3704 GICXXCustomAction_GICombiner107,
3705 GICXXCustomAction_GICombiner108,
3706 GICXXCustomAction_GICombiner109,
3707 GICXXCustomAction_GICombiner110,
3708 GICXXCustomAction_GICombiner111,
3709 GICXXCustomAction_GICombiner112,
3710 GICXXCustomAction_GICombiner113,
3711 GICXXCustomAction_GICombiner114,
3712 GICXXCustomAction_GICombiner115,
3713 GICXXCustomAction_GICombiner116,
3714 GICXXCustomAction_GICombiner117,
3715 GICXXCustomAction_GICombiner118,
3716 GICXXCustomAction_GICombiner119,
3717 GICXXCustomAction_GICombiner120,
3718 GICXXCustomAction_GICombiner121,
3719 GICXXCustomAction_GICombiner122,
3720 GICXXCustomAction_GICombiner123,
3721 GICXXCustomAction_GICombiner124,
3722 GICXXCustomAction_GICombiner125,
3723 GICXXCustomAction_GICombiner126,
3724 GICXXCustomAction_GICombiner127,
3725 GICXXCustomAction_GICombiner128,
3726 GICXXCustomAction_GICombiner129,
3727 GICXXCustomAction_GICombiner130,
3728 GICXXCustomAction_GICombiner131,
3729 GICXXCustomAction_GICombiner132,
3730 GICXXCustomAction_GICombiner133,
3731 GICXXCustomAction_GICombiner134,
3732 GICXXCustomAction_GICombiner135,
3733 GICXXCustomAction_GICombiner136,
3734 GICXXCustomAction_GICombiner137,
3735 GICXXCustomAction_GICombiner138,
3736 GICXXCustomAction_GICombiner139,
3737 GICXXCustomAction_GICombiner140,
3738};
3739bool AMDGPUPostLegalizerCombinerImpl::runCustomAction(unsigned ApplyID, const MatcherState &State, NewMIVector &OutMIs) const {
3740 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
3741 switch(ApplyID) {
3742 case GICXXCustomAction_GICombiner0:{
3743 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3744 // Match Patterns
3745 if(![&](){return Helper.matchFoldAPlusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
3746 return false;
3747 }
3748 // Apply Patterns
3749 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3750 return true;
3751 }
3752 case GICXXCustomAction_GICombiner1:{
3753 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3754 // Match Patterns
3755 if(![&](){return Helper.matchFoldC2MinusAPlusC1(*State.MIs[0], GIMatchData_matchinfo);}()) {
3756 return false;
3757 }
3758 // Apply Patterns
3759 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3760 return true;
3761 }
3762 case GICXXCustomAction_GICombiner2:{
3763 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3764 // Match Patterns
3765 if(![&](){return Helper.matchFoldAMinusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
3766 return false;
3767 }
3768 // Apply Patterns
3769 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3770 return true;
3771 }
3772 case GICXXCustomAction_GICombiner3:{
3773 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3774 // Match Patterns
3775 if(![&](){return Helper.matchFoldC1Minus2MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
3776 return false;
3777 }
3778 // Apply Patterns
3779 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3780 return true;
3781 }
3782 case GICXXCustomAction_GICombiner4:{
3783 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3784 // Match Patterns
3785 if(![&](){return Helper.matchFoldAMinusC1PlusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
3786 return false;
3787 }
3788 // Apply Patterns
3789 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3790 return true;
3791 }
3792 case GICXXCustomAction_GICombiner5:{
3793 // Match Patterns
3794 if(![&](){return Helper.matchCombineCopy(*State.MIs[0]);}()) {
3795 return false;
3796 }
3797 // Apply Patterns
3798 Helper.applyCombineCopy(*State.MIs[0]);
3799 return true;
3800 }
3801 case GICXXCustomAction_GICombiner6:{
3802 unsigned GIMatchData_matchinfo;
3803 // Match Patterns
3804 if(![&](){return Helper.matchCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);}()) {
3805 return false;
3806 }
3807 // Apply Patterns
3808 Helper.applyCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);
3809 return true;
3810 }
3811 case GICXXCustomAction_GICombiner7:{
3812 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3813 // Match Patterns
3814 if(![&](){return Helper.matchCombineSubToAdd(*State.MIs[0], GIMatchData_matchinfo);}()) {
3815 return false;
3816 }
3817 // Apply Patterns
3818 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
3819 return true;
3820 }
3821 case GICXXCustomAction_GICombiner8:{
3822 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3823 // Match Patterns
3824 if(![&](){return Helper.matchExtractVectorElementWithDifferentIndices(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3825 return false;
3826 }
3827 // Apply Patterns
3828 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3829 return true;
3830 }
3831 case GICXXCustomAction_GICombiner9:{
3832 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3833 // Match Patterns
3834 if(![&](){return Helper.matchExtractVectorElementWithBuildVector(*State.MIs[0], *State.MIs[1],
3835 GIMatchData_matchinfo);}()) {
3836 return false;
3837 }
3838 // Apply Patterns
3839 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3840 return true;
3841 }
3842 case GICXXCustomAction_GICombiner10:{
3843 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3844 // Match Patterns
3845 if(![&](){return Helper.matchExtractVectorElementWithBuildVectorTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3846 return false;
3847 }
3848 // Apply Patterns
3849 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3850 return true;
3851 }
3852 case GICXXCustomAction_GICombiner11:{
3853 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3854 // Match Patterns
3855 if(![&](){return Helper.matchExtractVectorElementWithShuffleVector(*State.MIs[0], *State.MIs[1],
3856 GIMatchData_matchinfo);}()) {
3857 return false;
3858 }
3859 // Apply Patterns
3860 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3861 return true;
3862 }
3863 case GICXXCustomAction_GICombiner12:{
3864 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3865 // Match Patterns
3866 if(![&](){return Helper.matchAddOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3867 return false;
3868 }
3869 // Apply Patterns
3870 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3871 return true;
3872 }
3873 case GICXXCustomAction_GICombiner13:{
3874 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3875 // Match Patterns
3876 if(![&](){return Helper.matchMulOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3877 return false;
3878 }
3879 // Apply Patterns
3880 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3881 return true;
3882 }
3883 case GICXXCustomAction_GICombiner14:{
3884 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3885 // Match Patterns
3886 if(![&](){return Helper.matchShlOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3887 return false;
3888 }
3889 // Apply Patterns
3890 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3891 return true;
3892 }
3893 case GICXXCustomAction_GICombiner15:{
3894 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3895 // Match Patterns
3896 if(![&](){return Helper.matchSubOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
3897 return false;
3898 }
3899 // Apply Patterns
3900 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
3901 return true;
3902 }
3903 case GICXXCustomAction_GICombiner16:{
3904 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3905 // Match Patterns
3906 if(![&](){return !isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI) && Helper.matchFreezeOfSingleMaybePoisonOperand(*State.MIs[0], GIMatchData_matchinfo);}()) {
3907 return false;
3908 }
3909 // Apply Patterns
3910 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3911 return true;
3912 }
3913 case GICXXCustomAction_GICombiner17:{
3914 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3915 // Match Patterns
3916 if(![&](){return Helper.matchTruncateOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3917 return false;
3918 }
3919 // Apply Patterns
3920 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3921 return true;
3922 }
3923 case GICXXCustomAction_GICombiner18:{
3924 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3925 // Match Patterns
3926 if(![&](){return Helper.matchExtOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3927 return false;
3928 }
3929 // Apply Patterns
3930 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3931 return true;
3932 }
3933 case GICXXCustomAction_GICombiner19:{
3934 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3935 // Match Patterns
3936 if(![&](){return Helper.matchRedundantSextInReg(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3937 return false;
3938 }
3939 // Apply Patterns
3940 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3941 return true;
3942 }
3943 case GICXXCustomAction_GICombiner20:{
3944 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3945 // Match Patterns
3946 if(![&](){return Helper.matchCastOfSelect(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3947 return false;
3948 }
3949 // Apply Patterns
3950 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3951 return true;
3952 }
3953 case GICXXCustomAction_GICombiner21:{
3954 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3955 // Match Patterns
3956 if(![&](){return Helper.matchCastOfBuildVector(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3957 return false;
3958 }
3959 // Apply Patterns
3960 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3961 return true;
3962 }
3963 case GICXXCustomAction_GICombiner22:{
3964 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3965 // Match Patterns
3966 if(![&](){return Helper.matchNarrowBinop(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
3967 return false;
3968 }
3969 // Apply Patterns
3970 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3971 return true;
3972 }
3973 case GICXXCustomAction_GICombiner23:{
3974 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
3975 // Match Patterns
3976 if(![&](){return Helper.matchCastOfInteger(*State.MIs[0], GIMatchData_matchinfo);}()) {
3977 return false;
3978 }
3979 // Apply Patterns
3980 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
3981 return true;
3982 }
3983 case GICXXCustomAction_GICombiner24:{
3984 SmallVector<Register> GIMatchData_info;
3985 // Match Patterns
3986 if(![&](){return Helper.matchCombineInsertVecElts(*State.MIs[0], GIMatchData_info);}()) {
3987 return false;
3988 }
3989 // Apply Patterns
3990 Helper.applyCombineInsertVecElts(*State.MIs[0], GIMatchData_info);
3991 return true;
3992 }
3993 case GICXXCustomAction_GICombiner25:{
3994 Register GIMatchData_matchinfo;
3995 // Match Patterns
3996 if(![&](){return Helper.matchExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);}()) {
3997 return false;
3998 }
3999 // Apply Patterns
4000 Helper.applyExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);
4001 return true;
4002 }
4003 case GICXXCustomAction_GICombiner26:{
4004 SmallVector<std::pair<Register, MachineInstr*>> GIMatchData_matchinfo;
4005 // Match Patterns
4006 if(![&](){return Helper.matchExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);}()) {
4007 return false;
4008 }
4009 // Apply Patterns
4010 Helper.applyExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);
4011 return true;
4012 }
4013 case GICXXCustomAction_GICombiner27:{
4014 PreferredTuple GIMatchData_matchinfo;
4015 // Match Patterns
4016 if(![&](){return Helper.matchCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);}()) {
4017 return false;
4018 }
4019 // Apply Patterns
4020 Helper.applyCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);
4021 return true;
4022 }
4023 case GICXXCustomAction_GICombiner28:{
4024 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4025 // Match Patterns
4026 if(![&](){return Helper.matchCombineLoadWithAndMask(*State.MIs[0], GIMatchData_matchinfo);}()) {
4027 return false;
4028 }
4029 // Apply Patterns
4030 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4031 return true;
4032 }
4033 case GICXXCustomAction_GICombiner29:{
4034 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4035 // Match Patterns
4036 if(![&](){return Helper.matchCombineExtractedVectorLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
4037 return false;
4038 }
4039 // Apply Patterns
4040 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4041 return true;
4042 }
4043 case GICXXCustomAction_GICombiner30:{
4044 // Apply Patterns
4045 Helper.replaceInstWithFConstant(*State.MIs[0]->getOperand(0).getParent(), 0.0);
4046 return true;
4047 }
4048 case GICXXCustomAction_GICombiner31:{
4049 // Apply Patterns
4050 Helper.replaceInstWithConstant(*State.MIs[0]->getOperand(0).getParent(), 0);
4051 return true;
4052 }
4053 case GICXXCustomAction_GICombiner32:{
4054 // Apply Patterns
4055 Helper.replaceInstWithConstant(*State.MIs[0]->getOperand(0).getParent(), -1);
4056 return true;
4057 }
4058 case GICXXCustomAction_GICombiner33:{
4059 Register GIMatchData_matchinfo;
4060 // Match Patterns
4061 if(![&](){return Helper.matchCombineAnyExtTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
4062 return false;
4063 }
4064 // Apply Patterns
4065 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4066 return true;
4067 }
4068 case GICXXCustomAction_GICombiner34:{
4069 Register GIMatchData_matchinfo;
4070 // Match Patterns
4071 if(![&](){return Helper.matchBuildVectorIdentityFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
4072 return false;
4073 }
4074 // Apply Patterns
4075 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4076 return true;
4077 }
4078 case GICXXCustomAction_GICombiner35:{
4079 Register GIMatchData_matchinfo;
4080 // Match Patterns
4081 if(![&](){return Helper.matchTruncBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
4082 return false;
4083 }
4084 // Apply Patterns
4085 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4086 return true;
4087 }
4088 case GICXXCustomAction_GICombiner36:{
4089 Register GIMatchData_matchinfo;
4090 // Match Patterns
4091 if(![&](){return Helper.matchTruncLshrBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
4092 return false;
4093 }
4094 // Apply Patterns
4095 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4096 return true;
4097 }
4098 case GICXXCustomAction_GICombiner37:{
4099 MachineInstr* GIMatchData_matchinfo;
4100 // Match Patterns
4101 if(![&](){return Helper.matchExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);}()) {
4102 return false;
4103 }
4104 // Apply Patterns
4105 Helper.applyExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);
4106 return true;
4107 }
4108 case GICXXCustomAction_GICombiner38:{
4109 InstructionStepsMatchInfo GIMatchData_info;
4110 // Match Patterns
4111 if(![&](){return Helper.matchHoistLogicOpWithSameOpcodeHands(*State.MIs[0], GIMatchData_info);}()) {
4112 return false;
4113 }
4114 // Apply Patterns
4115 Helper.applyBuildInstructionSteps(*State.MIs[0], GIMatchData_info);
4116 return true;
4117 }
4118 case GICXXCustomAction_GICombiner39:{
4119 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4120 // Match Patterns
4121 if(![&](){return Helper.matchShiftsTooBig(*State.MIs[0], GIMatchData_matchinfo);}()) {
4122 return false;
4123 }
4124 // Apply Patterns
4125 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4126 return true;
4127 }
4128 case GICXXCustomAction_GICombiner40:{
4129 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4130 // Match Patterns
4131 if(![&](){return Helper.matchReassocPtrAdd(*State.MIs[0], GIMatchData_matchinfo);}()) {
4132 return false;
4133 }
4134 // Apply Patterns
4135 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
4136 return true;
4137 }
4138 case GICXXCustomAction_GICombiner41:{
4139 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4140 // Match Patterns
4141 if(![&](){return Helper.matchReassocCommBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4142 return false;
4143 }
4144 // Apply Patterns
4145 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4146 return true;
4147 }
4148 case GICXXCustomAction_GICombiner42:{
4149 PtrAddChain GIMatchData_matchinfo;
4150 // Match Patterns
4151 if(![&](){return Helper.matchPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
4152 return false;
4153 }
4154 // Apply Patterns
4155 Helper.applyPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);
4156 return true;
4157 }
4158 case GICXXCustomAction_GICombiner43:{
4159 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4160 // Match Patterns
4161 if(![&](){return Helper.matchCanonicalizeICmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4162 return false;
4163 }
4164 // Apply Patterns
4165 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4166 return true;
4167 }
4168 case GICXXCustomAction_GICombiner44:{
4169 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4170 // Match Patterns
4171 if(![&](){return Helper.matchCanonicalizeFCmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4172 return false;
4173 }
4174 // Apply Patterns
4175 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4176 return true;
4177 }
4178 case GICXXCustomAction_GICombiner45:{
4179 int64_t GIMatchData_matchinfo;
4180 // Match Patterns
4181 if(![&](){return Helper.matchICmpToTrueFalseKnownBits(*State.MIs[0], GIMatchData_matchinfo);}()) {
4182 return false;
4183 }
4184 // Apply Patterns
4185 Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
4186 return true;
4187 }
4188 case GICXXCustomAction_GICombiner46:{
4189 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4190 // Match Patterns
4191 if(![&](){return Helper.matchICmpToLHSKnownBits(*State.MIs[0], GIMatchData_info);}()) {
4192 return false;
4193 }
4194 // Apply Patterns
4195 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4196 return true;
4197 }
4198 case GICXXCustomAction_GICombiner47:{
4199 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4200 // Match Patterns
4201 if(![&](){return Helper.matchRedundantBinOpInEquality(*State.MIs[0], GIMatchData_info);}()) {
4202 return false;
4203 }
4204 // Apply Patterns
4205 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4206 return true;
4207 }
4208 case GICXXCustomAction_GICombiner48:{
4209 std::tuple<Register, int64_t> GIMatchData_info;
4210 // Match Patterns
4211 if(![&](){return Helper.matchAshrShlToSextInreg(*State.MIs[0], GIMatchData_info);}()) {
4212 return false;
4213 }
4214 // Apply Patterns
4215 Helper.applyAshShlToSextInreg(*State.MIs[0], GIMatchData_info);
4216 return true;
4217 }
4218 case GICXXCustomAction_GICombiner49:{
4219 std::tuple<Register, unsigned> GIMatchData_matchinfo;
4220 // Match Patterns
4221 if(![&](){return Helper.matchSextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
4222 return false;
4223 }
4224 // Apply Patterns
4225 Helper.applySextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);
4226 return true;
4227 }
4228 case GICXXCustomAction_GICombiner50:{
4229 RegisterImmPair GIMatchData_matchinfo;
4230 // Match Patterns
4231 if(![&](){return Helper.matchCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);}()) {
4232 return false;
4233 }
4234 // Apply Patterns
4235 Helper.applyCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);
4236 return true;
4237 }
4238 case GICXXCustomAction_GICombiner51:{
4239 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4240 // Match Patterns
4241 if(![&](){return Helper.matchNarrowBinopFeedingAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
4242 return false;
4243 }
4244 // Apply Patterns
4245 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
4246 return true;
4247 }
4248 case GICXXCustomAction_GICombiner52:{
4249 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4250 // Match Patterns
4251 if(![&](){return Helper.matchSelectIMinMax(State.MIs[0]->getOperand(0), GIMatchData_info);}()) {
4252 return false;
4253 }
4254 // Apply Patterns
4255 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_info);
4256 return true;
4257 }
4258 case GICXXCustomAction_GICombiner53:{
4259 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4260 // Match Patterns
4261 if(![&](){return Helper.matchSelect(*State.MIs[0], GIMatchData_matchinfo);}()) {
4262 return false;
4263 }
4264 // Apply Patterns
4265 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4266 return true;
4267 }
4268 case GICXXCustomAction_GICombiner54:{
4269 // Match Patterns
4270 if(![&](){LLT SrcTy = MRI.getType(State.MIs[3]->getOperand(1).getReg());
4271 return State.MIs[0]->getOperand(2).getImm() <= SrcTy.getScalarSizeInBits() &&
4272 MRI.getType(State.MIs[1]->getOperand(1).getReg()).getScalarType() ==
4273 MRI.getType(State.MIs[2]->getOperand(2).getReg()).getScalarType() &&
4274 VT->computeNumSignBits(State.MIs[3]->getOperand(1).getReg()) >=
4275 (SrcTy.getScalarSizeInBits() - State.MIs[0]->getOperand(2).getImm() + 1);}()) {
4276 return false;
4277 }
4278 // Apply Patterns
4279 auto SExt1 = Helper.getBuilder().buildSExt(MRI.getType(State.MIs[2]->getOperand(2).getReg()), State.MIs[3]->getOperand(1).getReg());
4280 auto Unmerge = Helper.getBuilder().buildUnmerge(MRI.getType(State.MIs[1]->getOperand(1).getReg()), SExt1);
4281 unsigned UnmergeDef = State.MIs[1]->getOperand(1).getReg() == State.MIs[2]->getOperand(0).getReg() ? 0 : 1;
4282 Helper.getBuilder().buildSExt(State.MIs[0]->getOperand(0).getReg(), Unmerge.getReg(UnmergeDef));
4283 State.MIs[0]->eraseFromParent();
4284 return true;
4285 }
4286 case GICXXCustomAction_GICombiner55:{
4287 Register GIMatchData_matchinfo;
4288 // Match Patterns
4289 if(![&](){return Helper.matchRedundantAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
4290 return false;
4291 }
4292 // Apply Patterns
4293 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4294 return true;
4295 }
4296 case GICXXCustomAction_GICombiner56:{
4297 Register GIMatchData_matchinfo;
4298 // Match Patterns
4299 if(![&](){return Helper.matchRedundantOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
4300 return false;
4301 }
4302 // Apply Patterns
4303 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4304 return true;
4305 }
4306 case GICXXCustomAction_GICombiner57:{
4307 // Match Patterns
4308 if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(State.MIs[0]->getOperand(2),
4309 /*OrNegative=*/false,
4310 /*OrZero=*/true);}()) {
4311 return false;
4312 }
4313 // Apply Patterns
4314 Helper.applySimplifyURemByPow2(*State.MIs[0]);
4315 return true;
4316 }
4317 case GICXXCustomAction_GICombiner58:{
4318 Register GIMatchData_matchinfo;
4319 // Match Patterns
4320 if(![&](){return Helper.matchCombineZextTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
4321 return false;
4322 }
4323 // Apply Patterns
4324 Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
4325 return true;
4326 }
4327 case GICXXCustomAction_GICombiner59:{
4328 // Match Patterns
4329 if(![&](){unsigned BitWidth = MRI.getType(State.MIs[0]->getOperand(1).getReg()).getScalarSizeInBits();
4330 return Helper.getValueTracking()->maskedValueIsZero(State.MIs[0]->getOperand(1).getReg(),
4331 APInt::getOneBitSet(BitWidth, State.MIs[0]->getOperand(2).getImm() - 1));}()) {
4332 return false;
4333 }
4334 // Apply Patterns
4335 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
4336 Helper.getBuilder().buildZExtInReg(State.MIs[0]->getOperand(0), State.MIs[0]->getOperand(1), State.MIs[0]->getOperand(2).getImm());
4337 State.MIs[0]->eraseFromParent();
4338 return true;
4339 }
4340 case GICXXCustomAction_GICombiner60:{
4341 std::pair<MachineInstr*, LLT> GIMatchData_matchinfo;
4342 // Match Patterns
4343 if(![&](){return Helper.matchCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);}()) {
4344 return false;
4345 }
4346 // Apply Patterns
4347 Helper.applyCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);
4348 return true;
4349 }
4350 case GICXXCustomAction_GICombiner61:{
4351 SmallVector<Register> GIMatchData_info;
4352 // Match Patterns
4353 if(![&](){return Helper.matchNotCmp(*State.MIs[0], GIMatchData_info);}()) {
4354 return false;
4355 }
4356 // Apply Patterns
4357 Helper.applyNotCmp(*State.MIs[0], GIMatchData_info);
4358 return true;
4359 }
4360 case GICXXCustomAction_GICombiner62:{
4361 MachineInstr * GIMatchData_matchinfo;
4362 // Match Patterns
4363 if(![&](){return Helper.matchOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);}()) {
4364 return false;
4365 }
4366 // Apply Patterns
4367 Helper.applyOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);
4368 return true;
4369 }
4370 case GICXXCustomAction_GICombiner63:{
4371 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4372 // Match Patterns
4373 if(![&](){return Helper.matchConstantFoldFPUnary(*State.MIs[0], GIMatchData_matchinfo);}()) {
4374 return false;
4375 }
4376 // Apply Patterns
4377 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4378 return true;
4379 }
4380 case GICXXCustomAction_GICombiner64:{
4381 APInt GIMatchData_info;
4382 // Match Patterns
4383 if(![&](){LLT DstTy = MRI.getType(State.MIs[0]->getOperand(0).getReg());
4384 APInt NewCst = State.MIs[2]->getOperand(1).getCImm()->getValue().zextOrTrunc(
4385 DstTy.getSizeInBits());
4386 NewCst += State.MIs[3]->getOperand(1).getCImm()->getValue().sextOrTrunc(
4387 DstTy.getSizeInBits());
4388 GIMatchData_info = NewCst;
4389 return true;}()) {
4390 return false;
4391 }
4392 // Apply Patterns
4393 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
4394 Helper.getBuilder().buildConstant(State.MIs[0]->getOperand(0), GIMatchData_info);
4395 State.MIs[0]->eraseFromParent();
4396 return true;
4397 }
4398 case GICXXCustomAction_GICombiner65:{
4399 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4400 // Match Patterns
4401 if(![&](){return Helper.matchOverlappingAnd(*State.MIs[0], GIMatchData_info);}()) {
4402 return false;
4403 }
4404 // Apply Patterns
4405 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4406 return true;
4407 }
4408 case GICXXCustomAction_GICombiner66:{
4409 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4410 // Match Patterns
4411 if(![&](){return Helper.matchMulOBy0(*State.MIs[0], GIMatchData_matchinfo);}()) {
4412 return false;
4413 }
4414 // Apply Patterns
4415 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4416 return true;
4417 }
4418 case GICXXCustomAction_GICombiner67:{
4419 // Match Patterns
4420 if(![&](){return Helper.matchFPowIExpansion(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());}()) {
4421 return false;
4422 }
4423 // Apply Patterns
4424 Helper.applyExpandFPowI(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());
4425 return true;
4426 }
4427 case GICXXCustomAction_GICombiner68:{
4428 std::pair<Register, Register> GIMatchData_matchinfo;
4429 // Match Patterns
4430 if(![&](){return Helper.matchXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
4431 return false;
4432 }
4433 // Apply Patterns
4434 Helper.applyXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);
4435 return true;
4436 }
4437 case GICXXCustomAction_GICombiner69:{
4438 RegisterImmPair GIMatchData_matchinfo;
4439 // Match Patterns
4440 if(![&](){return Helper.matchShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
4441 return false;
4442 }
4443 // Apply Patterns
4444 Helper.applyShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);
4445 return true;
4446 }
4447 case GICXXCustomAction_GICombiner70:{
4448 ShiftOfShiftedLogic GIMatchData_matchinfo;
4449 // Match Patterns
4450 if(![&](){return Helper.matchShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);}()) {
4451 return false;
4452 }
4453 // Apply Patterns
4454 Helper.applyShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);
4455 return true;
4456 }
4457 case GICXXCustomAction_GICombiner71:{
4458 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4459 // Match Patterns
4460 if(![&](){return Helper.matchLoadOrCombine(*State.MIs[0], GIMatchData_info);}()) {
4461 return false;
4462 }
4463 // Apply Patterns
4464 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4465 return true;
4466 }
4467 case GICXXCustomAction_GICombiner72:{
4468 MachineInstr * GIMatchData_matchinfo;
4469 // Match Patterns
4470 if(![&](){return Helper.matchCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);}()) {
4471 return false;
4472 }
4473 // Apply Patterns
4474 Helper.applyCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);
4475 return true;
4476 }
4477 case GICXXCustomAction_GICombiner73:{
4478 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4479 // Match Patterns
4480 if(![&](){return Helper.matchOrShiftToFunnelShift(*State.MIs[0], false, GIMatchData_info);}()) {
4481 return false;
4482 }
4483 // Apply Patterns
4484 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4485 return true;
4486 }
4487 case GICXXCustomAction_GICombiner74:{
4488 // Match Patterns
4489 if(![&](){return Helper.matchConstantLargerBitWidth(*State.MIs[0], 3);}()) {
4490 return false;
4491 }
4492 // Apply Patterns
4493 Helper.applyFunnelShiftConstantModulo(*State.MIs[0]);
4494 return true;
4495 }
4496 case GICXXCustomAction_GICombiner75:{
4497 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4498 // Match Patterns
4499 if(![&](){return Helper.matchBitfieldExtractFromSExtInReg(*State.MIs[0], GIMatchData_info);}()) {
4500 return false;
4501 }
4502 // Apply Patterns
4503 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4504 return true;
4505 }
4506 case GICXXCustomAction_GICombiner76:{
4507 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4508 // Match Patterns
4509 if(![&](){return Helper.matchBitfieldExtractFromAnd(*State.MIs[0], GIMatchData_info);}()) {
4510 return false;
4511 }
4512 // Apply Patterns
4513 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4514 return true;
4515 }
4516 case GICXXCustomAction_GICombiner77:{
4517 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4518 // Match Patterns
4519 if(![&](){return Helper.matchBitfieldExtractFromShr(*State.MIs[0], GIMatchData_info);}()) {
4520 return false;
4521 }
4522 // Apply Patterns
4523 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4524 return true;
4525 }
4526 case GICXXCustomAction_GICombiner78:{
4527 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4528 // Match Patterns
4529 if(![&](){return Helper.matchBitfieldExtractFromShrAnd(*State.MIs[0], GIMatchData_info);}()) {
4530 return false;
4531 }
4532 // Apply Patterns
4533 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4534 return true;
4535 }
4536 case GICXXCustomAction_GICombiner79:{
4537 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4538 // Match Patterns
4539 if(![&](){return Helper.matchConstantFoldBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4540 return false;
4541 }
4542 // Apply Patterns
4543 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4544 return true;
4545 }
4546 case GICXXCustomAction_GICombiner80:{
4547 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4548 // Match Patterns
4549 if(![&](){return Helper.matchConstantFoldFPBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4550 return false;
4551 }
4552 // Apply Patterns
4553 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4554 return true;
4555 }
4556 case GICXXCustomAction_GICombiner81:{
4557 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4558 // Match Patterns
4559 if(![&](){return Helper.matchConstantFoldFMA(*State.MIs[0], GIMatchData_matchinfo);}()) {
4560 return false;
4561 }
4562 // Apply Patterns
4563 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4564 return true;
4565 }
4566 case GICXXCustomAction_GICombiner82:{
4567 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4568 // Match Patterns
4569 if(![&](){return Helper.matchConstantFoldCastOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4570 return false;
4571 }
4572 // Apply Patterns
4573 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4574 return true;
4575 }
4576 case GICXXCustomAction_GICombiner83:{
4577 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4578 // Match Patterns
4579 if(![&](){return Helper.matchConstantFoldUnaryIntOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
4580 return false;
4581 }
4582 // Apply Patterns
4583 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4584 return true;
4585 }
4586 case GICXXCustomAction_GICombiner84:{
4587 // Match Patterns
4588 if(![&](){return Helper.matchUMulHToLShr(*State.MIs[0]);}()) {
4589 return false;
4590 }
4591 // Apply Patterns
4592 Helper.applyUMulHToLShr(*State.MIs[0]);
4593 return true;
4594 }
4595 case GICXXCustomAction_GICombiner85:{
4596 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4597 // Match Patterns
4598 if(![&](){return Helper.matchAndOrDisjointMask(*State.MIs[0], GIMatchData_info);}()) {
4599 return false;
4600 }
4601 // Apply Patterns
4602 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_info);
4603 return true;
4604 }
4605 case GICXXCustomAction_GICombiner86:{
4606 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4607 // Match Patterns
4608 if(![&](){return Helper.matchCombineFAddFMulToFMadOrFMA(*State.MIs[0],
4609 GIMatchData_info);}()) {
4610 return false;
4611 }
4612 // Apply Patterns
4613 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4614 return true;
4615 }
4616 case GICXXCustomAction_GICombiner87:{
4617 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4618 // Match Patterns
4619 if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMA(*State.MIs[0],
4620 GIMatchData_info);}()) {
4621 return false;
4622 }
4623 // Apply Patterns
4624 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4625 return true;
4626 }
4627 case GICXXCustomAction_GICombiner88:{
4628 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4629 // Match Patterns
4630 if(![&](){return Helper.matchCombineFAddFMAFMulToFMadOrFMA(*State.MIs[0],
4631 GIMatchData_info);}()) {
4632 return false;
4633 }
4634 // Apply Patterns
4635 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4636 return true;
4637 }
4638 case GICXXCustomAction_GICombiner89:{
4639 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4640 // Match Patterns
4641 if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMAAggressive(
4642 *State.MIs[0], GIMatchData_info);}()) {
4643 return false;
4644 }
4645 // Apply Patterns
4646 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4647 return true;
4648 }
4649 case GICXXCustomAction_GICombiner90:{
4650 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4651 // Match Patterns
4652 if(![&](){return Helper.matchCombineFSubFMulToFMadOrFMA(*State.MIs[0],
4653 GIMatchData_info);}()) {
4654 return false;
4655 }
4656 // Apply Patterns
4657 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4658 return true;
4659 }
4660 case GICXXCustomAction_GICombiner91:{
4661 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4662 // Match Patterns
4663 if(![&](){return Helper.matchCombineFSubFNegFMulToFMadOrFMA(*State.MIs[0],
4664 GIMatchData_info);}()) {
4665 return false;
4666 }
4667 // Apply Patterns
4668 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4669 return true;
4670 }
4671 case GICXXCustomAction_GICombiner92:{
4672 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4673 // Match Patterns
4674 if(![&](){return Helper.matchCombineFSubFpExtFMulToFMadOrFMA(*State.MIs[0],
4675 GIMatchData_info);}()) {
4676 return false;
4677 }
4678 // Apply Patterns
4679 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4680 return true;
4681 }
4682 case GICXXCustomAction_GICombiner93:{
4683 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4684 // Match Patterns
4685 if(![&](){return Helper.matchCombineFSubFpExtFNegFMulToFMadOrFMA(
4686 *State.MIs[0], GIMatchData_info);}()) {
4687 return false;
4688 }
4689 // Apply Patterns
4690 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4691 return true;
4692 }
4693 case GICXXCustomAction_GICombiner94:{
4694 unsigned GIMatchData_select_op_no;
4695 // Match Patterns
4696 if(![&](){return Helper.matchFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);}()) {
4697 return false;
4698 }
4699 // Apply Patterns
4700 Helper.applyFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);
4701 return true;
4702 }
4703 case GICXXCustomAction_GICombiner95:{
4704 // Match Patterns
4705 if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(State.MIs[0]->getOperand(2),
4706 /*OrNegative=*/true);}()) {
4707 return false;
4708 }
4709 // Apply Patterns
4710 Helper.applySimplifySRemByPow2(*State.MIs[0]);
4711 return true;
4712 }
4713 case GICXXCustomAction_GICombiner96:{
4714 // Match Patterns
4715 if(![&](){return Helper.matchUDivOrURemByConst(*State.MIs[0]);}()) {
4716 return false;
4717 }
4718 // Apply Patterns
4719 Helper.applyUDivOrURemByConst(*State.MIs[0]);
4720 return true;
4721 }
4722 case GICXXCustomAction_GICombiner97:{
4723 // Match Patterns
4724 if(![&](){return Helper.matchSDivOrSRemByConst(*State.MIs[0]);}()) {
4725 return false;
4726 }
4727 // Apply Patterns
4728 Helper.applySDivOrSRemByConst(*State.MIs[0]);
4729 return true;
4730 }
4731 case GICXXCustomAction_GICombiner98:{
4732 // Match Patterns
4733 if(![&](){return Helper.matchDivByPow2(*State.MIs[0], /*IsSigned=*/false);}()) {
4734 return false;
4735 }
4736 // Apply Patterns
4737 Helper.applyUDivByPow2(*State.MIs[0]);
4738 return true;
4739 }
4740 case GICXXCustomAction_GICombiner99:{
4741 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4742 // Match Patterns
4743 if(![&](){return Helper.matchUDivByShiftedPow2(*State.MIs[0], GIMatchData_matchinfo);}()) {
4744 return false;
4745 }
4746 // Apply Patterns
4747 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4748 return true;
4749 }
4750 case GICXXCustomAction_GICombiner100:{
4751 // Match Patterns
4752 if(![&](){return Helper.matchDivByPow2(*State.MIs[0], /*IsSigned=*/true);}()) {
4753 return false;
4754 }
4755 // Apply Patterns
4756 Helper.applySDivByPow2(*State.MIs[0]);
4757 return true;
4758 }
4759 case GICXXCustomAction_GICombiner101:{
4760 SmallVector<MachineInstr *> GIMatchData_matchinfo;
4761 // Match Patterns
4762 if(![&](){return Helper.matchRepeatedFPDivisor(*State.MIs[0], GIMatchData_matchinfo);}()) {
4763 return false;
4764 }
4765 // Apply Patterns
4766 Helper.applyRepeatedFPDivisor(GIMatchData_matchinfo);
4767 return true;
4768 }
4769 case GICXXCustomAction_GICombiner102:{
4770 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4771 // Match Patterns
4772 if(![&](){return Helper.matchSimplifySelectToMinMax(*State.MIs[0], GIMatchData_info);}()) {
4773 return false;
4774 }
4775 // Apply Patterns
4776 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4777 return true;
4778 }
4779 case GICXXCustomAction_GICombiner103:{
4780 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4781 // Match Patterns
4782 if(![&](){return Helper.matchAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
4783 return false;
4784 }
4785 // Apply Patterns
4786 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4787 return true;
4788 }
4789 case GICXXCustomAction_GICombiner104:{
4790 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4791 // Match Patterns
4792 if(![&](){return Helper.matchOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
4793 return false;
4794 }
4795 // Apply Patterns
4796 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4797 return true;
4798 }
4799 case GICXXCustomAction_GICombiner105:{
4800 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4801 // Match Patterns
4802 if(![&](){return Helper.matchSimplifyNegMinMax(*State.MIs[0], GIMatchData_matchinfo);}()) {
4803 return false;
4804 }
4805 // Apply Patterns
4806 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4807 return true;
4808 }
4809 case GICXXCustomAction_GICombiner106:{
4810 SmallVector<Register> GIMatchData_matchinfo;
4811 // Match Patterns
4812 if(![&](){return Helper.matchCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);}()) {
4813 return false;
4814 }
4815 // Apply Patterns
4816 Helper.applyCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);
4817 return true;
4818 }
4819 case GICXXCustomAction_GICombiner107:{
4820 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4821 // Match Patterns
4822 if(![&](){return Helper.matchSextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4823 return false;
4824 }
4825 // Apply Patterns
4826 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4827 return true;
4828 }
4829 case GICXXCustomAction_GICombiner108:{
4830 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4831 // Match Patterns
4832 if(![&](){return Helper.matchZextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4833 return false;
4834 }
4835 // Apply Patterns
4836 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4837 return true;
4838 }
4839 case GICXXCustomAction_GICombiner109:{
4840 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4841 // Match Patterns
4842 if(![&](){return Helper.matchNonNegZext(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
4843 return false;
4844 }
4845 // Apply Patterns
4846 Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
4847 return true;
4848 }
4849 case GICXXCustomAction_GICombiner110:{
4850 SmallVector<Register> GIMatchData_matchinfo;
4851 // Match Patterns
4852 if(![&](){return Helper.matchCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);}()) {
4853 return false;
4854 }
4855 // Apply Patterns
4856 Helper.applyCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);
4857 return true;
4858 }
4859 case GICXXCustomAction_GICombiner111:{
4860 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4861 // Match Patterns
4862 if(![&](){return Helper.matchShuffleUndefRHS(*State.MIs[0], GIMatchData_matchinfo);}()) {
4863 return false;
4864 }
4865 // Apply Patterns
4866 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4867 return true;
4868 }
4869 case GICXXCustomAction_GICombiner112:{
4870 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4871 // Match Patterns
4872 if(![&](){return Helper.matchShuffleDisjointMask(*State.MIs[0], GIMatchData_matchinfo);}()) {
4873 return false;
4874 }
4875 // Apply Patterns
4876 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4877 return true;
4878 }
4879 case GICXXCustomAction_GICombiner113:{
4880 Register GIMatchData_matchinfo;
4881 // Match Patterns
4882 if(![&](){return Helper.matchUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);}()) {
4883 return false;
4884 }
4885 // Apply Patterns
4886 Helper.applyUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);
4887 return true;
4888 }
4889 case GICXXCustomAction_GICombiner114:{
4890 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
4891 // Match Patterns
4892 if(![&](){return Helper.matchUnmergeValuesAnyExtBuildVector(*State.MIs[0], GIMatchData_matchinfo);}()) {
4893 return false;
4894 }
4895 // Apply Patterns
4896 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
4897 return true;
4898 }
4899 case GICXXCustomAction_GICombiner115:{
4900 SmallVector<Register> GIMatchData_info;
4901 // Match Patterns
4902 if(![&](){return Helper.matchCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);}()) {
4903 return false;
4904 }
4905 // Apply Patterns
4906 Helper.applyCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);
4907 return true;
4908 }
4909 case GICXXCustomAction_GICombiner116:{
4910 Register GIMatchData_src;
4911 // Match Patterns
4912 if(![&](){// Check if first source comes from G_UNMERGE_VALUES.
4913 Register FirstMergeSrc = getRemainingOperands(*State.MIs[0], 1)[0].getReg();
4914 MachineInstr *UnmergeMI = MRI.getVRegDef(FirstMergeSrc);
4915 if (!UnmergeMI || UnmergeMI->getOpcode() != TargetOpcode::G_UNMERGE_VALUES)
4916 return false;
4917
4918 // Check counts match.
4919 unsigned NumMergeSrcs = getRemainingOperands(*State.MIs[0], 1).size();
4920 unsigned NumUnmergeDefs = UnmergeMI->getNumDefs();
4921 if (NumMergeSrcs != NumUnmergeDefs)
4922 return false;
4923
4924 // Verify all merge sources match unmerge defs in order.
4925 for (unsigned I = 0; I < NumMergeSrcs; ++I) {
4926 Register MergeSrc = getRemainingOperands(*State.MIs[0], 1)[I].getReg();
4927 Register UnmergeDef = UnmergeMI->getOperand(I).getReg();
4928
4929 if (MergeSrc != UnmergeDef)
4930 return false;
4931
4932 if (!MRI.hasOneNonDBGUse(MergeSrc))
4933 return false;
4934 }
4935
4936 // Check size compatibility.
4937 GIMatchData_src = UnmergeMI->getOperand(NumUnmergeDefs).getReg();
4938 LLT SrcTy = MRI.getType(GIMatchData_src);
4939 LLT DstTy = MRI.getType(State.MIs[0]->getOperand(0).getReg());
4940 if (SrcTy.getSizeInBits() != DstTy.getSizeInBits())
4941 return false;
4942
4943 // Check bitcast legality.
4944 if (SrcTy != DstTy) {
4945 std::array<LLT, 2> Types = {{DstTy, SrcTy}};
4946 LegalityQuery Query(TargetOpcode::G_BITCAST, Types);
4947 if (!Helper.isLegalOrBeforeLegalizer(Query))
4948 return false;
4949 }
4950
4951 return true;}()) {
4952 return false;
4953 }
4954 // Apply Patterns
4955 LLT SrcTy = MRI.getType(GIMatchData_src);
4956 LLT DstTy = MRI.getType(State.MIs[0]->getOperand(0).getReg());
4957
4958 Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
4959
4960 if (SrcTy == DstTy) {
4961 Helper.replaceRegWith(MRI, State.MIs[0]->getOperand(0).getReg(), GIMatchData_src);
4962 } else {
4963 Helper.getBuilder().buildBitcast(State.MIs[0]->getOperand(0).getReg(), GIMatchData_src);
4964 }
4965
4966 State.MIs[0]->eraseFromParent();
4967 return true;
4968 }
4969 case GICXXCustomAction_GICombiner117:{
4970 SmallVector<APInt, 8> GIMatchData_info;
4971 // Match Patterns
4972 if(![&](){return Helper.matchCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);}()) {
4973 return false;
4974 }
4975 // Apply Patterns
4976 Helper.applyCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);
4977 return true;
4978 }
4979 case GICXXCustomAction_GICombiner118:{
4980 std::function<void(MachineIRBuilder &)> GIMatchData_info;
4981 // Match Patterns
4982 if(![&](){return Helper.matchCombineUnmergeUndef(*State.MIs[0], GIMatchData_info);}()) {
4983 return false;
4984 }
4985 // Apply Patterns
4986 Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
4987 return true;
4988 }
4989 case GICXXCustomAction_GICombiner119:{
4990 // Match Patterns
4991 if(![&](){return Helper.matchCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);}()) {
4992 return false;
4993 }
4994 // Apply Patterns
4995 Helper.applyCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);
4996 return true;
4997 }
4998 case GICXXCustomAction_GICombiner120:{
4999 // Match Patterns
5000 if(![&](){return Helper.matchCombineUnmergeZExtToZExt(*State.MIs[0]);}()) {
5001 return false;
5002 }
5003 // Apply Patterns
5004 Helper.applyCombineUnmergeZExtToZExt(*State.MIs[0]);
5005 return true;
5006 }
5007 case GICXXCustomAction_GICombiner121:{
5008 Register GIMatchData_unmergeSrc;
5009 // Match Patterns
5010 if(![&](){return Helper.matchCombineBuildUnmerge(*State.MIs[0], MRI, GIMatchData_unmergeSrc);}()) {
5011 return false;
5012 }
5013 // Apply Patterns
5014 Helper.applyCombineBuildUnmerge(*State.MIs[0], MRI, B, GIMatchData_unmergeSrc);
5015 return true;
5016 }
5017 case GICXXCustomAction_GICombiner122:{
5018 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5019 // Match Patterns
5020 if(![&](){return Helper.matchAddOverflow(*State.MIs[0], GIMatchData_matchinfo);}()) {
5021 return false;
5022 }
5023 // Apply Patterns
5024 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
5025 return true;
5026 }
5027 case GICXXCustomAction_GICombiner123:{
5028 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5029 // Match Patterns
5030 if(![&](){return Helper.matchSuboCarryOut(*State.MIs[0], GIMatchData_matchinfo);}()) {
5031 return false;
5032 }
5033 // Apply Patterns
5034 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
5035 return true;
5036 }
5037 case GICXXCustomAction_GICombiner124:{
5038 Register GIMatchData_matchinfo;
5039 // Match Patterns
5040 if(![&](){return Helper.matchTruncSSatS(*State.MIs[0], GIMatchData_matchinfo);}()) {
5041 return false;
5042 }
5043 // Apply Patterns
5044 Helper.applyTruncSSatS(*State.MIs[0], GIMatchData_matchinfo);
5045 return true;
5046 }
5047 case GICXXCustomAction_GICombiner125:{
5048 Register GIMatchData_matchinfo;
5049 // Match Patterns
5050 if(![&](){return Helper.matchTruncSSatU(*State.MIs[0], GIMatchData_matchinfo);}()) {
5051 return false;
5052 }
5053 // Apply Patterns
5054 Helper.applyTruncSSatU(*State.MIs[0], GIMatchData_matchinfo);
5055 return true;
5056 }
5057 case GICXXCustomAction_GICombiner126:{
5058 LshrOfTruncOfLshr GIMatchData_matchinfo;
5059 // Match Patterns
5060 if(![&](){return Helper.matchLshrOfTruncOfLshr(*State.MIs[0], GIMatchData_matchinfo, *State.MIs[2]);}()) {
5061 return false;
5062 }
5063 // Apply Patterns
5064 Helper.applyLshrOfTruncOfLshr(*State.MIs[0], GIMatchData_matchinfo);
5065 return true;
5066 }
5067 case GICXXCustomAction_GICombiner127:{
5068 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5069 // Match Patterns
5070 if(![&](){return Helper.matchCtls(*State.MIs[0], GIMatchData_matchinfo);}()) {
5071 return false;
5072 }
5073 // Apply Patterns
5074 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
5075 return true;
5076 }
5077 case GICXXCustomAction_GICombiner128:{
5078 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5079 // Match Patterns
5080 if(![&](){return Helper.matchBinopWithNeg(*State.MIs[0], GIMatchData_matchinfo);}()) {
5081 return false;
5082 }
5083 // Apply Patterns
5084 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
5085 return true;
5086 }
5087 case GICXXCustomAction_GICombiner129:{
5088 FMinFMaxLegacyInfo GIMatchData_matchinfo;
5089 // Match Patterns
5090 if(![&](){return matchFMinFMaxLegacy(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
5091 return false;
5092 }
5093 // Apply Patterns
5094 applySelectFCmpToFMinFMaxLegacy(*State.MIs[0], GIMatchData_matchinfo);
5095 return true;
5096 }
5097 case GICXXCustomAction_GICombiner130:{
5098 // Match Patterns
5099 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());}()) {
5100 return false;
5101 }
5102 // Apply Patterns
5103 Helper.applyExpandPromotedF16FMed3(*State.MIs[0], State.MIs[1]->getOperand(1).getReg(), State.MIs[1]->getOperand(2).getReg(), State.MIs[1]->getOperand(3).getReg());
5104 return true;
5105 }
5106 case GICXXCustomAction_GICombiner131:{
5107 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5108 // Match Patterns
5109 if(![&](){return Helper.matchCombineFmulWithSelectToFldexp(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
5110 return false;
5111 }
5112 // Apply Patterns
5113 Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
5114 return true;
5115 }
5116 case GICXXCustomAction_GICombiner132:{
5117 // Match Patterns
5118 if(![&](){return matchUCharToFloat(*State.MIs[0]);}()) {
5119 return false;
5120 }
5121 // Apply Patterns
5122 applyUCharToFloat(*State.MIs[0]);
5123 return true;
5124 }
5125 case GICXXCustomAction_GICombiner133:{
5126 CvtF32UByteMatchInfo GIMatchData_matchinfo;
5127 // Match Patterns
5128 if(![&](){return matchCvtF32UByteN(*State.MIs[0], GIMatchData_matchinfo);}()) {
5129 return false;
5130 }
5131 // Apply Patterns
5132 applyCvtF32UByteN(*State.MIs[0], GIMatchData_matchinfo);
5133 return true;
5134 }
5135 case GICXXCustomAction_GICombiner134:{
5136 MachineInstr * GIMatchData_matchinfo;
5137 // Match Patterns
5138 if(![&](){return Helper.matchFoldableFneg(*State.MIs[0], GIMatchData_matchinfo);}()) {
5139 return false;
5140 }
5141 // Apply Patterns
5142 Helper.applyFoldableFneg(*State.MIs[0], GIMatchData_matchinfo);
5143 return true;
5144 }
5145 case GICXXCustomAction_GICombiner135:{
5146 // Match Patterns
5147 if(![&](){return Helper.matchFoldFAbsFptrunc(*State.MIs[0], *State.MIs[1]);}()) {
5148 return false;
5149 }
5150 // Apply Patterns
5151 Helper.applyFoldFAbsFptrunc(*State.MIs[0], *State.MIs[1]);
5152 return true;
5153 }
5154 case GICXXCustomAction_GICombiner136:{
5155 // Match Patterns
5156 if(![&](){return matchFDivSqrtToRsqF16(*State.MIs[0]);}()) {
5157 return false;
5158 }
5159 // Apply Patterns
5160 applyFDivSqrtToRsqF16(*State.MIs[0], State.MIs[1]->getOperand(1).getReg());
5161 return true;
5162 }
5163 case GICXXCustomAction_GICombiner137:{
5164 std::pair<MachineInstr *, unsigned> GIMatchData_matchinfo;
5165 // Match Patterns
5166 if(![&](){return matchCombineSignExtendInReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
5167 return false;
5168 }
5169 // Apply Patterns
5170 applyCombineSignExtendInReg(*State.MIs[0], GIMatchData_matchinfo);
5171 return true;
5172 }
5173 case GICXXCustomAction_GICombiner138:{
5174 unsigned GIMatchData_matchinfo;
5175 // Match Patterns
5176 if(![&](){return matchCombine_s_mul_u64(*State.MIs[0], GIMatchData_matchinfo);}()) {
5177 return false;
5178 }
5179 // Apply Patterns
5180 Helper.replaceOpcodeWith(*State.MIs[0], GIMatchData_matchinfo);
5181 return true;
5182 }
5183 case GICXXCustomAction_GICombiner139:{
5184 AMDGPUCombinerHelper::ConditionalCarryOp GIMatchData_matchinfo;
5185 // Match Patterns
5186 if(![&](){return Helper.matchConditionalCarryOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
5187 return false;
5188 }
5189 // Apply Patterns
5190 Helper.applyConditionalCarryOp(*State.MIs[0], GIMatchData_matchinfo);
5191 return true;
5192 }
5193 case GICXXCustomAction_GICombiner140:{
5194 std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
5195 // Match Patterns
5196 if(![&](){return Helper.matchSimplifyDemandedBits(*State.MIs[0], GIMatchData_matchinfo);}()) {
5197 return false;
5198 }
5199 // Apply Patterns
5200 Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
5201 return true;
5202 }
5203 }
5204 llvm_unreachable("Unknown Apply Action");
5205}
5206#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
5207#define GIMT_Encode2(Val) uint8_t(Val), uint8_t((Val) >> 8)
5208#define GIMT_Encode4(Val) uint8_t(Val), uint8_t((Val) >> 8), uint8_t((Val) >> 16), uint8_t((Val) >> 24)
5209#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)
5210#else
5211#define GIMT_Encode2(Val) uint8_t((Val) >> 8), uint8_t(Val)
5212#define GIMT_Encode4(Val) uint8_t((Val) >> 24), uint8_t((Val) >> 16), uint8_t((Val) >> 8), uint8_t(Val)
5213#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)
5214#endif
5215const uint8_t *AMDGPUPostLegalizerCombinerImpl::getMatchTable() const {
5216 constexpr static uint8_t MatchTable0[] = {
5217 /* 0 */ GIM_SwitchOpcode, /*MI*/0, /*[*/GIMT_Encode2(21), GIMT_Encode2(5514), /*)*//*default:*//*Label 119*/ GIMT_Encode4(34924),
5218 /* 10 */ /*TargetOpcode::COPY*//*Label 0*/ GIMT_Encode4(21982), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5219 /* 150 */ /*TargetOpcode::G_ADD*//*Label 1*/ GIMT_Encode4(21994),
5220 /* 154 */ /*TargetOpcode::G_SUB*//*Label 2*/ GIMT_Encode4(23092),
5221 /* 158 */ /*TargetOpcode::G_MUL*//*Label 3*/ GIMT_Encode4(24525),
5222 /* 162 */ /*TargetOpcode::G_SDIV*//*Label 4*/ GIMT_Encode4(24831),
5223 /* 166 */ /*TargetOpcode::G_UDIV*//*Label 5*/ GIMT_Encode4(24941),
5224 /* 170 */ /*TargetOpcode::G_SREM*//*Label 6*/ GIMT_Encode4(25058),
5225 /* 174 */ /*TargetOpcode::G_UREM*//*Label 7*/ GIMT_Encode4(25162), GIMT_Encode4(0), GIMT_Encode4(0),
5226 /* 186 */ /*TargetOpcode::G_AND*//*Label 8*/ GIMT_Encode4(25262),
5227 /* 190 */ /*TargetOpcode::G_OR*//*Label 9*/ GIMT_Encode4(25859),
5228 /* 194 */ /*TargetOpcode::G_XOR*//*Label 10*/ GIMT_Encode4(27018), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5229 /* 226 */ /*TargetOpcode::G_PHI*//*Label 11*/ GIMT_Encode4(27280), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5230 /* 250 */ /*TargetOpcode::G_UNMERGE_VALUES*//*Label 12*/ GIMT_Encode4(27295), GIMT_Encode4(0),
5231 /* 258 */ /*TargetOpcode::G_MERGE_VALUES*//*Label 13*/ GIMT_Encode4(27362),
5232 /* 262 */ /*TargetOpcode::G_BUILD_VECTOR*//*Label 14*/ GIMT_Encode4(27457),
5233 /* 266 */ /*TargetOpcode::G_BUILD_VECTOR_TRUNC*//*Label 15*/ GIMT_Encode4(27529),
5234 /* 270 */ /*TargetOpcode::G_CONCAT_VECTORS*//*Label 16*/ GIMT_Encode4(27544),
5235 /* 274 */ /*TargetOpcode::G_PTRTOINT*//*Label 17*/ GIMT_Encode4(27559),
5236 /* 278 */ /*TargetOpcode::G_INTTOPTR*//*Label 18*/ GIMT_Encode4(27680),
5237 /* 282 */ /*TargetOpcode::G_BITCAST*//*Label 19*/ GIMT_Encode4(27738),
5238 /* 286 */ /*TargetOpcode::G_FREEZE*//*Label 20*/ GIMT_Encode4(27828), GIMT_Encode4(0), GIMT_Encode4(0),
5239 /* 298 */ /*TargetOpcode::G_INTRINSIC_TRUNC*//*Label 21*/ GIMT_Encode4(27892),
5240 /* 302 */ /*TargetOpcode::G_INTRINSIC_ROUND*//*Label 22*/ GIMT_Encode4(27904), GIMT_Encode4(0), GIMT_Encode4(0),
5241 /* 314 */ /*TargetOpcode::G_INTRINSIC_ROUNDEVEN*//*Label 23*/ GIMT_Encode4(27916), GIMT_Encode4(0), GIMT_Encode4(0),
5242 /* 326 */ /*TargetOpcode::G_LOAD*//*Label 24*/ GIMT_Encode4(27928),
5243 /* 330 */ /*TargetOpcode::G_SEXTLOAD*//*Label 25*/ GIMT_Encode4(27940),
5244 /* 334 */ /*TargetOpcode::G_ZEXTLOAD*//*Label 26*/ GIMT_Encode4(27952), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5245 /* 354 */ /*TargetOpcode::G_STORE*//*Label 27*/ GIMT_Encode4(27964), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5246 /* 486 */ /*TargetOpcode::G_INTRINSIC*//*Label 28*/ GIMT_Encode4(27988), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5247 /* 502 */ /*TargetOpcode::G_ANYEXT*//*Label 29*/ GIMT_Encode4(28170),
5248 /* 506 */ /*TargetOpcode::G_TRUNC*//*Label 30*/ GIMT_Encode4(28301), GIMT_Encode4(0), GIMT_Encode4(0),
5249 /* 518 */ /*TargetOpcode::G_TRUNC_USAT_U*//*Label 31*/ GIMT_Encode4(28982), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5250 /* 538 */ /*TargetOpcode::G_SEXT*//*Label 32*/ GIMT_Encode4(29015),
5251 /* 542 */ /*TargetOpcode::G_SEXT_INREG*//*Label 33*/ GIMT_Encode4(29090),
5252 /* 546 */ /*TargetOpcode::G_ZEXT*//*Label 34*/ GIMT_Encode4(29323),
5253 /* 550 */ /*TargetOpcode::G_SHL*//*Label 35*/ GIMT_Encode4(29453),
5254 /* 554 */ /*TargetOpcode::G_LSHR*//*Label 36*/ GIMT_Encode4(29813),
5255 /* 558 */ /*TargetOpcode::G_ASHR*//*Label 37*/ GIMT_Encode4(30167),
5256 /* 562 */ /*TargetOpcode::G_FSHL*//*Label 38*/ GIMT_Encode4(30503),
5257 /* 566 */ /*TargetOpcode::G_FSHR*//*Label 39*/ GIMT_Encode4(30562),
5258 /* 570 */ /*TargetOpcode::G_ROTR*//*Label 40*/ GIMT_Encode4(30621),
5259 /* 574 */ /*TargetOpcode::G_ROTL*//*Label 41*/ GIMT_Encode4(30645),
5260 /* 578 */ /*TargetOpcode::G_ICMP*//*Label 42*/ GIMT_Encode4(30669),
5261 /* 582 */ /*TargetOpcode::G_FCMP*//*Label 43*/ GIMT_Encode4(30714), GIMT_Encode4(0), GIMT_Encode4(0),
5262 /* 594 */ /*TargetOpcode::G_SELECT*//*Label 44*/ GIMT_Encode4(30726),
5263 /* 598 */ /*TargetOpcode::G_UADDO*//*Label 45*/ GIMT_Encode4(31094),
5264 /* 602 */ /*TargetOpcode::G_UADDE*//*Label 46*/ GIMT_Encode4(31163),
5265 /* 606 */ /*TargetOpcode::G_USUBO*//*Label 47*/ GIMT_Encode4(31191),
5266 /* 610 */ /*TargetOpcode::G_USUBE*//*Label 48*/ GIMT_Encode4(31203),
5267 /* 614 */ /*TargetOpcode::G_SADDO*//*Label 49*/ GIMT_Encode4(31231),
5268 /* 618 */ /*TargetOpcode::G_SADDE*//*Label 50*/ GIMT_Encode4(31300),
5269 /* 622 */ /*TargetOpcode::G_SSUBO*//*Label 51*/ GIMT_Encode4(31328),
5270 /* 626 */ /*TargetOpcode::G_SSUBE*//*Label 52*/ GIMT_Encode4(31340),
5271 /* 630 */ /*TargetOpcode::G_UMULO*//*Label 53*/ GIMT_Encode4(31368),
5272 /* 634 */ /*TargetOpcode::G_SMULO*//*Label 54*/ GIMT_Encode4(31434),
5273 /* 638 */ /*TargetOpcode::G_UMULH*//*Label 55*/ GIMT_Encode4(31500),
5274 /* 642 */ /*TargetOpcode::G_SMULH*//*Label 56*/ GIMT_Encode4(31537),
5275 /* 646 */ /*TargetOpcode::G_UADDSAT*//*Label 57*/ GIMT_Encode4(31563),
5276 /* 650 */ /*TargetOpcode::G_SADDSAT*//*Label 58*/ GIMT_Encode4(31589), GIMT_Encode4(0), GIMT_Encode4(0),
5277 /* 662 */ /*TargetOpcode::G_USHLSAT*//*Label 59*/ GIMT_Encode4(31615),
5278 /* 666 */ /*TargetOpcode::G_SSHLSAT*//*Label 60*/ GIMT_Encode4(31627),
5279 /* 670 */ /*TargetOpcode::G_SMULFIX*//*Label 61*/ GIMT_Encode4(31639),
5280 /* 674 */ /*TargetOpcode::G_UMULFIX*//*Label 62*/ GIMT_Encode4(31667),
5281 /* 678 */ /*TargetOpcode::G_SMULFIXSAT*//*Label 63*/ GIMT_Encode4(31695),
5282 /* 682 */ /*TargetOpcode::G_UMULFIXSAT*//*Label 64*/ GIMT_Encode4(31723), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5283 /* 702 */ /*TargetOpcode::G_FADD*//*Label 65*/ GIMT_Encode4(31751),
5284 /* 706 */ /*TargetOpcode::G_FSUB*//*Label 66*/ GIMT_Encode4(31969),
5285 /* 710 */ /*TargetOpcode::G_FMUL*//*Label 67*/ GIMT_Encode4(32114),
5286 /* 714 */ /*TargetOpcode::G_FMA*//*Label 68*/ GIMT_Encode4(32269),
5287 /* 718 */ /*TargetOpcode::G_FMAD*//*Label 69*/ GIMT_Encode4(32326),
5288 /* 722 */ /*TargetOpcode::G_FDIV*//*Label 70*/ GIMT_Encode4(32383),
5289 /* 726 */ /*TargetOpcode::G_FREM*//*Label 71*/ GIMT_Encode4(32499), GIMT_Encode4(0), GIMT_Encode4(0),
5290 /* 738 */ /*TargetOpcode::G_FPOWI*//*Label 72*/ GIMT_Encode4(32522), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5291 /* 758 */ /*TargetOpcode::G_FLOG2*//*Label 73*/ GIMT_Encode4(32544), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5292 /* 774 */ /*TargetOpcode::G_FNEG*//*Label 74*/ GIMT_Encode4(32556),
5293 /* 778 */ /*TargetOpcode::G_FPEXT*//*Label 75*/ GIMT_Encode4(32608),
5294 /* 782 */ /*TargetOpcode::G_FPTRUNC*//*Label 76*/ GIMT_Encode4(32620),
5295 /* 786 */ /*TargetOpcode::G_FPTOSI*//*Label 77*/ GIMT_Encode4(32688),
5296 /* 790 */ /*TargetOpcode::G_FPTOUI*//*Label 78*/ GIMT_Encode4(32713),
5297 /* 794 */ /*TargetOpcode::G_SITOFP*//*Label 79*/ GIMT_Encode4(32766),
5298 /* 798 */ /*TargetOpcode::G_UITOFP*//*Label 80*/ GIMT_Encode4(32814), GIMT_Encode4(0),
5299 /* 806 */ /*TargetOpcode::G_FPTOUI_SAT*//*Label 81*/ GIMT_Encode4(32862),
5300 /* 810 */ /*TargetOpcode::G_FABS*//*Label 82*/ GIMT_Encode4(32891),
5301 /* 814 */ /*TargetOpcode::G_FCOPYSIGN*//*Label 83*/ GIMT_Encode4(32981), GIMT_Encode4(0),
5302 /* 822 */ /*TargetOpcode::G_FCANONICALIZE*//*Label 84*/ GIMT_Encode4(32993),
5303 /* 826 */ /*TargetOpcode::G_FMINNUM*//*Label 85*/ GIMT_Encode4(33046),
5304 /* 830 */ /*TargetOpcode::G_FMAXNUM*//*Label 86*/ GIMT_Encode4(33140),
5305 /* 834 */ /*TargetOpcode::G_FMINNUM_IEEE*//*Label 87*/ GIMT_Encode4(33234),
5306 /* 838 */ /*TargetOpcode::G_FMAXNUM_IEEE*//*Label 88*/ GIMT_Encode4(33260),
5307 /* 842 */ /*TargetOpcode::G_FMINIMUM*//*Label 89*/ GIMT_Encode4(33286),
5308 /* 846 */ /*TargetOpcode::G_FMAXIMUM*//*Label 90*/ GIMT_Encode4(33380),
5309 /* 850 */ /*TargetOpcode::G_FMINIMUMNUM*//*Label 91*/ GIMT_Encode4(33474),
5310 /* 854 */ /*TargetOpcode::G_FMAXIMUMNUM*//*Label 92*/ GIMT_Encode4(33486), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5311 /* 890 */ /*TargetOpcode::G_PTR_ADD*//*Label 93*/ GIMT_Encode4(33498), GIMT_Encode4(0),
5312 /* 898 */ /*TargetOpcode::G_SMIN*//*Label 94*/ GIMT_Encode4(33664),
5313 /* 902 */ /*TargetOpcode::G_SMAX*//*Label 95*/ GIMT_Encode4(33712),
5314 /* 906 */ /*TargetOpcode::G_UMIN*//*Label 96*/ GIMT_Encode4(33760),
5315 /* 910 */ /*TargetOpcode::G_UMAX*//*Label 97*/ GIMT_Encode4(33808),
5316 /* 914 */ /*TargetOpcode::G_ABS*//*Label 98*/ GIMT_Encode4(33856), GIMT_Encode4(0), GIMT_Encode4(0),
5317 /* 926 */ /*TargetOpcode::G_BR*//*Label 99*/ GIMT_Encode4(33889), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5318 /* 946 */ /*TargetOpcode::G_INSERT_VECTOR_ELT*//*Label 100*/ GIMT_Encode4(33901),
5319 /* 950 */ /*TargetOpcode::G_EXTRACT_VECTOR_ELT*//*Label 101*/ GIMT_Encode4(34045),
5320 /* 954 */ /*TargetOpcode::G_SHUFFLE_VECTOR*//*Label 102*/ GIMT_Encode4(34436), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5321 /* 970 */ /*TargetOpcode::G_CTTZ*//*Label 103*/ GIMT_Encode4(34516),
5322 /* 974 */ /*TargetOpcode::G_CTTZ_ZERO_POISON*//*Label 104*/ GIMT_Encode4(34551),
5323 /* 978 */ /*TargetOpcode::G_CTLZ*//*Label 105*/ GIMT_Encode4(34563),
5324 /* 982 */ /*TargetOpcode::G_CTLZ_ZERO_POISON*//*Label 106*/ GIMT_Encode4(34609), GIMT_Encode4(0),
5325 /* 990 */ /*TargetOpcode::G_CTPOP*//*Label 107*/ GIMT_Encode4(34632),
5326 /* 994 */ /*TargetOpcode::G_BSWAP*//*Label 108*/ GIMT_Encode4(34644),
5327 /* 998 */ /*TargetOpcode::G_BITREVERSE*//*Label 109*/ GIMT_Encode4(34656), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5328 /* 1014 */ /*TargetOpcode::G_FCEIL*//*Label 110*/ GIMT_Encode4(34756), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5329 /* 1062 */ /*TargetOpcode::G_FSQRT*//*Label 111*/ GIMT_Encode4(34768),
5330 /* 1066 */ /*TargetOpcode::G_FFLOOR*//*Label 112*/ GIMT_Encode4(34840),
5331 /* 1070 */ /*TargetOpcode::G_FRINT*//*Label 113*/ GIMT_Encode4(34852),
5332 /* 1074 */ /*TargetOpcode::G_FNEARBYINT*//*Label 114*/ GIMT_Encode4(34864), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
5333 /* 21966 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE0*//*Label 115*/ GIMT_Encode4(34876),
5334 /* 21970 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE1*//*Label 116*/ GIMT_Encode4(34888),
5335 /* 21974 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE2*//*Label 117*/ GIMT_Encode4(34900),
5336 /* 21978 */ /*AMDGPU::G_AMDGPU_CVT_F32_UBYTE3*//*Label 118*/ GIMT_Encode4(34912),
5337 /* 21982 */ // Label 0: @21982
5338 /* 21982 */ GIM_Try, /*On fail goto*//*Label 120*/ GIMT_Encode4(21993), // Rule ID 19 //
5339 /* 21987 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule19Enabled),
5340 /* 21990 */ // MIs[0] d
5341 /* 21990 */ // No operand predicates
5342 /* 21990 */ // MIs[0] s
5343 /* 21990 */ // No operand predicates
5344 /* 21990 */ // Combiner Rule #19: copy_prop
5345 /* 21990 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner5),
5346 /* 21993 */ // Label 120: @21993
5347 /* 21993 */ GIM_Reject,
5348 /* 21994 */ // Label 1: @21994
5349 /* 21994 */ GIM_Try, /*On fail goto*//*Label 121*/ GIMT_Encode4(22111),
5350 /* 21999 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_i32,
5351 /* 22002 */ GIM_Try, /*On fail goto*//*Label 122*/ GIMT_Encode4(22056), // Rule ID 506 //
5352 /* 22007 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule365Enabled),
5353 /* 22010 */ // MIs[0] sum
5354 /* 22010 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5355 /* 22014 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UADDE),
5356 /* 22018 */ // MIs[1] sum_carry_out
5357 /* 22018 */ // No operand predicates
5358 /* 22018 */ // MIs[1] y
5359 /* 22018 */ // No operand predicates
5360 /* 22018 */ // MIs[1] Operand 3
5361 /* 22018 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
5362 /* 22022 */ // MIs[1] carry
5363 /* 22022 */ GIM_RecordRegType, /*MI*/1, /*Op*/4, /*TempTypeIdx*/255,
5364 /* 22026 */ // MIs[0] x
5365 /* 22026 */ // No operand predicates
5366 /* 22026 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner71),
5367 /* 22030 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5368 /* 22032 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5369 /* 22035 */ // Combiner Rule #365: anonymous_57060
5370 /* 22035 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDE),
5371 /* 22038 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5372 /* 22040 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5373 /* 22045 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
5374 /* 22047 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
5375 /* 22051 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/4, // carry
5376 /* 22055 */ GIR_EraseRootFromParent_Done,
5377 /* 22056 */ // Label 122: @22056
5378 /* 22056 */ GIM_Try, /*On fail goto*//*Label 123*/ GIMT_Encode4(22110), // Rule ID 505 //
5379 /* 22061 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule364Enabled),
5380 /* 22064 */ // MIs[0] x
5381 /* 22064 */ // No operand predicates
5382 /* 22064 */ // MIs[0] sum
5383 /* 22064 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5384 /* 22068 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UADDE),
5385 /* 22072 */ // MIs[1] sum_carry_out
5386 /* 22072 */ // No operand predicates
5387 /* 22072 */ // MIs[1] y
5388 /* 22072 */ // No operand predicates
5389 /* 22072 */ // MIs[1] Operand 3
5390 /* 22072 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
5391 /* 22076 */ // MIs[1] carry
5392 /* 22076 */ GIM_RecordRegType, /*MI*/1, /*Op*/4, /*TempTypeIdx*/255,
5393 /* 22080 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner70),
5394 /* 22084 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5395 /* 22086 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5396 /* 22089 */ // Combiner Rule #364: anonymous_57059
5397 /* 22089 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDE),
5398 /* 22092 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5399 /* 22094 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5400 /* 22099 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
5401 /* 22101 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
5402 /* 22105 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/4, // carry
5403 /* 22109 */ GIR_EraseRootFromParent_Done,
5404 /* 22110 */ // Label 123: @22110
5405 /* 22110 */ GIM_Reject,
5406 /* 22111 */ // Label 121: @22111
5407 /* 22111 */ GIM_Try, /*On fail goto*//*Label 124*/ GIMT_Encode4(22199), // Rule ID 457 //
5408 /* 22116 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule326Enabled),
5409 /* 22119 */ // MIs[0] dst
5410 /* 22119 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5411 /* 22123 */ // MIs[0] __add_shift_match_0.shl_neg
5412 /* 22123 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5413 /* 22127 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
5414 /* 22131 */ // MIs[1] __add_shift_match_0.neg_y
5415 /* 22131 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
5416 /* 22135 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5417 /* 22139 */ // MIs[2] __add_shift_match_0.zero
5418 /* 22139 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
5419 /* 22143 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5420 /* 22147 */ // MIs[3] Operand 1
5421 /* 22147 */ GIM_CheckLiteralInt, /*MI*/3, /*Op*/1, GIMT_Encode8(0),
5422 /* 22158 */ // MIs[2] y
5423 /* 22158 */ // No operand predicates
5424 /* 22158 */ // MIs[1] n
5425 /* 22158 */ // No operand predicates
5426 /* 22158 */ // MIs[0] x
5427 /* 22158 */ // No operand predicates
5428 /* 22158 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner61),
5429 /* 22162 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5430 /* 22164 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5431 /* 22167 */ // Combiner Rule #326: add_shift @ [__add_shift_match_0[1]]
5432 /* 22167 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
5433 /* 22170 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5434 /* 22175 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // y
5435 /* 22179 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // n
5436 /* 22183 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5437 /* 22187 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5438 /* 22191 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // x
5439 /* 22195 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5440 /* 22198 */ GIR_EraseRootFromParent_Done,
5441 /* 22199 */ // Label 124: @22199
5442 /* 22199 */ GIM_Try, /*On fail goto*//*Label 125*/ GIMT_Encode4(22287), // Rule ID 456 //
5443 /* 22204 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule326Enabled),
5444 /* 22207 */ // MIs[0] dst
5445 /* 22207 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5446 /* 22211 */ // MIs[0] x
5447 /* 22211 */ // No operand predicates
5448 /* 22211 */ // MIs[0] __add_shift_match_0.shl_neg
5449 /* 22211 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5450 /* 22215 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
5451 /* 22219 */ // MIs[1] __add_shift_match_0.neg_y
5452 /* 22219 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
5453 /* 22223 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5454 /* 22227 */ // MIs[2] __add_shift_match_0.zero
5455 /* 22227 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
5456 /* 22231 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5457 /* 22235 */ // MIs[3] Operand 1
5458 /* 22235 */ GIM_CheckLiteralInt, /*MI*/3, /*Op*/1, GIMT_Encode8(0),
5459 /* 22246 */ // MIs[2] y
5460 /* 22246 */ // No operand predicates
5461 /* 22246 */ // MIs[1] n
5462 /* 22246 */ // No operand predicates
5463 /* 22246 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner60),
5464 /* 22250 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5465 /* 22252 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5466 /* 22255 */ // Combiner Rule #326: add_shift @ [__add_shift_match_0[0]]
5467 /* 22255 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
5468 /* 22258 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5469 /* 22263 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // y
5470 /* 22267 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // n
5471 /* 22271 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5472 /* 22275 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5473 /* 22279 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // x
5474 /* 22283 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5475 /* 22286 */ GIR_EraseRootFromParent_Done,
5476 /* 22287 */ // Label 125: @22287
5477 /* 22287 */ GIM_Try, /*On fail goto*//*Label 126*/ GIMT_Encode4(22342), // Rule ID 22 //
5478 /* 22292 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule22Enabled),
5479 /* 22295 */ // MIs[0] dst
5480 /* 22295 */ // No operand predicates
5481 /* 22295 */ // MIs[0] __add_p2i_to_ptradd_match_0.x
5482 /* 22295 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5483 /* 22299 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_PTRTOINT),
5484 /* 22303 */ // MIs[1] ptr
5485 /* 22303 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
5486 /* 22307 */ // MIs[0] other
5487 /* 22307 */ // No operand predicates
5488 /* 22307 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner2),
5489 /* 22311 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5490 /* 22313 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5491 /* 22316 */ // Combiner Rule #22: add_p2i_to_ptradd @ [__add_p2i_to_ptradd_match_0[0]]
5492 /* 22316 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_PTR_ADD),
5493 /* 22319 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5494 /* 22324 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // ptr
5495 /* 22328 */ GIR_RootToRootCopy, /*OpIdx*/2, // other
5496 /* 22330 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_PTRTOINT),
5497 /* 22334 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5498 /* 22338 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5499 /* 22341 */ GIR_EraseRootFromParent_Done,
5500 /* 22342 */ // Label 126: @22342
5501 /* 22342 */ GIM_Try, /*On fail goto*//*Label 127*/ GIMT_Encode4(22397), // Rule ID 23 //
5502 /* 22347 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule22Enabled),
5503 /* 22350 */ // MIs[0] dst
5504 /* 22350 */ // No operand predicates
5505 /* 22350 */ // MIs[0] other
5506 /* 22350 */ // No operand predicates
5507 /* 22350 */ // MIs[0] __add_p2i_to_ptradd_match_0.x
5508 /* 22350 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5509 /* 22354 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_PTRTOINT),
5510 /* 22358 */ // MIs[1] ptr
5511 /* 22358 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
5512 /* 22362 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner2),
5513 /* 22366 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5514 /* 22368 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5515 /* 22371 */ // Combiner Rule #22: add_p2i_to_ptradd @ [__add_p2i_to_ptradd_match_0[1]]
5516 /* 22371 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_PTR_ADD),
5517 /* 22374 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5518 /* 22379 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // ptr
5519 /* 22383 */ GIR_RootToRootCopy, /*OpIdx*/1, // other
5520 /* 22385 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_PTRTOINT),
5521 /* 22389 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5522 /* 22393 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5523 /* 22396 */ GIR_EraseRootFromParent_Done,
5524 /* 22397 */ // Label 127: @22397
5525 /* 22397 */ GIM_Try, /*On fail goto*//*Label 128*/ GIMT_Encode4(22422), // Rule ID 383 //
5526 /* 22402 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule253Enabled),
5527 /* 22405 */ // MIs[0] dst
5528 /* 22405 */ // No operand predicates
5529 /* 22405 */ // MIs[0] lhs
5530 /* 22405 */ // No operand predicates
5531 /* 22405 */ // MIs[0] rhs
5532 /* 22405 */ // No operand predicates
5533 /* 22405 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
5534 /* 22409 */ // Combiner Rule #253: G_ADD_commute_constant_to_rhs
5535 /* 22409 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5536 /* 22412 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5537 /* 22414 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
5538 /* 22416 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
5539 /* 22418 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
5540 /* 22421 */ GIR_EraseRootFromParent_Done,
5541 /* 22422 */ // Label 128: @22422
5542 /* 22422 */ GIM_Try, /*On fail goto*//*Label 129*/ GIMT_Encode4(22457), // Rule ID 46 //
5543 /* 22427 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule42Enabled),
5544 /* 22430 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
5545 /* 22436 */ // MIs[0] root
5546 /* 22436 */ // No operand predicates
5547 /* 22436 */ // MIs[0] left
5548 /* 22436 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5549 /* 22440 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
5550 /* 22444 */ // MIs[1] imm1
5551 /* 22444 */ // No operand predicates
5552 /* 22444 */ // MIs[0] right
5553 /* 22444 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5554 /* 22448 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_VSCALE),
5555 /* 22452 */ // MIs[2] imm2
5556 /* 22452 */ // No operand predicates
5557 /* 22452 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5558 /* 22454 */ // Combiner Rule #42: add_of_vscale
5559 /* 22454 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner12),
5560 /* 22457 */ // Label 129: @22457
5561 /* 22457 */ GIM_Try, /*On fail goto*//*Label 130*/ GIMT_Encode4(22491), // Rule ID 2 //
5562 /* 22462 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule2Enabled),
5563 /* 22465 */ // MIs[0] root
5564 /* 22465 */ // No operand predicates
5565 /* 22465 */ // MIs[0] sub
5566 /* 22465 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5567 /* 22469 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5568 /* 22473 */ // MIs[1] Operand 1
5569 /* 22473 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
5570 /* 22477 */ // MIs[1] A
5571 /* 22477 */ // No operand predicates
5572 /* 22477 */ // MIs[0] B
5573 /* 22477 */ // No operand predicates
5574 /* 22477 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5575 /* 22479 */ // Combiner Rule #2: ZeroMinusAPlusB
5576 /* 22479 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5577 /* 22482 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5578 /* 22484 */ GIR_RootToRootCopy, /*OpIdx*/2, // B
5579 /* 22486 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // A
5580 /* 22490 */ GIR_EraseRootFromParent_Done,
5581 /* 22491 */ // Label 130: @22491
5582 /* 22491 */ GIM_Try, /*On fail goto*//*Label 131*/ GIMT_Encode4(22540), // Rule ID 163 //
5583 /* 22496 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule118Enabled),
5584 /* 22499 */ // MIs[0] dst
5585 /* 22499 */ // No operand predicates
5586 /* 22499 */ // MIs[0] __simplify_add_to_sub_match_0.neg
5587 /* 22499 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5588 /* 22503 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5589 /* 22507 */ // MIs[1] __simplify_add_to_sub_match_0.zero
5590 /* 22507 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
5591 /* 22511 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5592 /* 22515 */ // MIs[2] Operand 1
5593 /* 22515 */ GIM_CheckLiteralInt, /*MI*/2, /*Op*/1, GIMT_Encode8(0),
5594 /* 22526 */ // MIs[1] newrhs
5595 /* 22526 */ // No operand predicates
5596 /* 22526 */ // MIs[0] newlhs
5597 /* 22526 */ // No operand predicates
5598 /* 22526 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5599 /* 22528 */ // Combiner Rule #118: simplify_add_to_sub @ [__simplify_add_to_sub_match_0[0]]
5600 /* 22528 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5601 /* 22531 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5602 /* 22533 */ GIR_RootToRootCopy, /*OpIdx*/2, // newlhs
5603 /* 22535 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // newrhs
5604 /* 22539 */ GIR_EraseRootFromParent_Done,
5605 /* 22540 */ // Label 131: @22540
5606 /* 22540 */ GIM_Try, /*On fail goto*//*Label 132*/ GIMT_Encode4(22577), // Rule ID 18 //
5607 /* 22545 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule18Enabled),
5608 /* 22548 */ // MIs[0] root
5609 /* 22548 */ // No operand predicates
5610 /* 22548 */ // MIs[0] sub
5611 /* 22548 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5612 /* 22552 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5613 /* 22556 */ // MIs[1] A
5614 /* 22556 */ // No operand predicates
5615 /* 22556 */ // MIs[1] c1
5616 /* 22556 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5617 /* 22560 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5618 /* 22564 */ // MIs[2] imm1
5619 /* 22564 */ // No operand predicates
5620 /* 22564 */ // MIs[0] c2
5621 /* 22564 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
5622 /* 22568 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5623 /* 22572 */ // MIs[3] imm2
5624 /* 22572 */ // No operand predicates
5625 /* 22572 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
5626 /* 22574 */ // Combiner Rule #18: AMinusC1PlusC2
5627 /* 22574 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner4),
5628 /* 22577 */ // Label 132: @22577
5629 /* 22577 */ GIM_Try, /*On fail goto*//*Label 133*/ GIMT_Encode4(22611), // Rule ID 5 //
5630 /* 22582 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule5Enabled),
5631 /* 22585 */ // MIs[0] root
5632 /* 22585 */ // No operand predicates
5633 /* 22585 */ // MIs[0] sub
5634 /* 22585 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5635 /* 22589 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5636 /* 22593 */ // MIs[1] B
5637 /* 22593 */ // No operand predicates
5638 /* 22593 */ // MIs[1] A
5639 /* 22593 */ // No operand predicates
5640 /* 22593 */ // MIs[0] A
5641 /* 22593 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
5642 /* 22598 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5643 /* 22603 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5644 /* 22605 */ // Combiner Rule #5: BMinusAPlusA
5645 /* 22605 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5646 /* 22610 */ GIR_EraseRootFromParent_Done,
5647 /* 22611 */ // Label 133: @22611
5648 /* 22611 */ GIM_Try, /*On fail goto*//*Label 134*/ GIMT_Encode4(22645), // Rule ID 151 //
5649 /* 22616 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule106Enabled),
5650 /* 22619 */ // MIs[0] dst
5651 /* 22619 */ // No operand predicates
5652 /* 22619 */ // MIs[0] __add_sub_reg_match_0.tmp
5653 /* 22619 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5654 /* 22623 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5655 /* 22627 */ // MIs[1] src
5656 /* 22627 */ // No operand predicates
5657 /* 22627 */ // MIs[1] __add_sub_reg_match_0.x
5658 /* 22627 */ // No operand predicates
5659 /* 22627 */ // MIs[0] __add_sub_reg_match_0.x
5660 /* 22627 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
5661 /* 22632 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5662 /* 22637 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5663 /* 22639 */ // Combiner Rule #106: add_sub_reg @ [__add_sub_reg_match_0[1]]
5664 /* 22639 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5665 /* 22644 */ GIR_EraseRootFromParent_Done,
5666 /* 22645 */ // Label 134: @22645
5667 /* 22645 */ GIM_Try, /*On fail goto*//*Label 135*/ GIMT_Encode4(22690), // Rule ID 7 //
5668 /* 22650 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule7Enabled),
5669 /* 22653 */ // MIs[0] root
5670 /* 22653 */ // No operand predicates
5671 /* 22653 */ // MIs[0] sub1
5672 /* 22653 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5673 /* 22657 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5674 /* 22661 */ // MIs[1] A
5675 /* 22661 */ // No operand predicates
5676 /* 22661 */ // MIs[1] B
5677 /* 22661 */ // No operand predicates
5678 /* 22661 */ // MIs[0] sub2
5679 /* 22661 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5680 /* 22665 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5681 /* 22669 */ // MIs[2] B
5682 /* 22669 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
5683 /* 22674 */ // MIs[2] C
5684 /* 22674 */ // No operand predicates
5685 /* 22674 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5686 /* 22676 */ // Combiner Rule #7: AMinusBPlusBMinusC
5687 /* 22676 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5688 /* 22679 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5689 /* 22681 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
5690 /* 22685 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
5691 /* 22689 */ GIR_EraseRootFromParent_Done,
5692 /* 22690 */ // Label 135: @22690
5693 /* 22690 */ GIM_Try, /*On fail goto*//*Label 136*/ GIMT_Encode4(22735), // Rule ID 6 //
5694 /* 22695 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule6Enabled),
5695 /* 22698 */ // MIs[0] root
5696 /* 22698 */ // No operand predicates
5697 /* 22698 */ // MIs[0] sub1
5698 /* 22698 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5699 /* 22702 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5700 /* 22706 */ // MIs[1] A
5701 /* 22706 */ // No operand predicates
5702 /* 22706 */ // MIs[1] B
5703 /* 22706 */ // No operand predicates
5704 /* 22706 */ // MIs[0] sub2
5705 /* 22706 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
5706 /* 22710 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
5707 /* 22714 */ // MIs[2] C
5708 /* 22714 */ // No operand predicates
5709 /* 22714 */ // MIs[2] A
5710 /* 22714 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
5711 /* 22719 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5712 /* 22721 */ // Combiner Rule #6: AMinusBPlusCMinusA
5713 /* 22721 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5714 /* 22724 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5715 /* 22726 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // C
5716 /* 22730 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
5717 /* 22734 */ GIR_EraseRootFromParent_Done,
5718 /* 22735 */ // Label 136: @22735
5719 /* 22735 */ GIM_Try, /*On fail goto*//*Label 137*/ GIMT_Encode4(22759), // Rule ID 105 //
5720 /* 22740 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
5721 /* 22743 */ // MIs[0] dst
5722 /* 22743 */ // No operand predicates
5723 /* 22743 */ // MIs[0] __propagate_undef_any_op_match_0.x
5724 /* 22743 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5725 /* 22747 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
5726 /* 22751 */ // MIs[0] __propagate_undef_any_op_match_0.y
5727 /* 22751 */ // No operand predicates
5728 /* 22751 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5729 /* 22753 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[0]]
5730 /* 22753 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
5731 /* 22756 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5732 /* 22758 */ GIR_EraseRootFromParent_Done,
5733 /* 22759 */ // Label 137: @22759
5734 /* 22759 */ GIM_Try, /*On fail goto*//*Label 138*/ GIMT_Encode4(22793), // Rule ID 3 //
5735 /* 22764 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule3Enabled),
5736 /* 22767 */ // MIs[0] root
5737 /* 22767 */ // No operand predicates
5738 /* 22767 */ // MIs[0] A
5739 /* 22767 */ // No operand predicates
5740 /* 22767 */ // MIs[0] sub
5741 /* 22767 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5742 /* 22771 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5743 /* 22775 */ // MIs[1] Operand 1
5744 /* 22775 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
5745 /* 22779 */ // MIs[1] B
5746 /* 22779 */ // No operand predicates
5747 /* 22779 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5748 /* 22781 */ // Combiner Rule #3: APlusZeroMinusB
5749 /* 22781 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5750 /* 22784 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5751 /* 22786 */ GIR_RootToRootCopy, /*OpIdx*/1, // A
5752 /* 22788 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
5753 /* 22792 */ GIR_EraseRootFromParent_Done,
5754 /* 22793 */ // Label 138: @22793
5755 /* 22793 */ GIM_Try, /*On fail goto*//*Label 139*/ GIMT_Encode4(22842), // Rule ID 164 //
5756 /* 22798 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule118Enabled),
5757 /* 22801 */ // MIs[0] dst
5758 /* 22801 */ // No operand predicates
5759 /* 22801 */ // MIs[0] newlhs
5760 /* 22801 */ // No operand predicates
5761 /* 22801 */ // MIs[0] __simplify_add_to_sub_match_0.neg
5762 /* 22801 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5763 /* 22805 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5764 /* 22809 */ // MIs[1] __simplify_add_to_sub_match_0.zero
5765 /* 22809 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
5766 /* 22813 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
5767 /* 22817 */ // MIs[2] Operand 1
5768 /* 22817 */ GIM_CheckLiteralInt, /*MI*/2, /*Op*/1, GIMT_Encode8(0),
5769 /* 22828 */ // MIs[1] newrhs
5770 /* 22828 */ // No operand predicates
5771 /* 22828 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5772 /* 22830 */ // Combiner Rule #118: simplify_add_to_sub @ [__simplify_add_to_sub_match_0[1]]
5773 /* 22830 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5774 /* 22833 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5775 /* 22835 */ GIR_RootToRootCopy, /*OpIdx*/1, // newlhs
5776 /* 22837 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // newrhs
5777 /* 22841 */ GIR_EraseRootFromParent_Done,
5778 /* 22842 */ // Label 139: @22842
5779 /* 22842 */ GIM_Try, /*On fail goto*//*Label 140*/ GIMT_Encode4(22876), // Rule ID 4 //
5780 /* 22847 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule4Enabled),
5781 /* 22850 */ // MIs[0] root
5782 /* 22850 */ // No operand predicates
5783 /* 22850 */ // MIs[0] A
5784 /* 22850 */ // No operand predicates
5785 /* 22850 */ // MIs[0] sub
5786 /* 22850 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5787 /* 22854 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5788 /* 22858 */ // MIs[1] B
5789 /* 22858 */ // No operand predicates
5790 /* 22858 */ // MIs[1] A
5791 /* 22858 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
5792 /* 22863 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5793 /* 22868 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5794 /* 22870 */ // Combiner Rule #4: APlusBMinusB
5795 /* 22870 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5796 /* 22875 */ GIR_EraseRootFromParent_Done,
5797 /* 22876 */ // Label 140: @22876
5798 /* 22876 */ GIM_Try, /*On fail goto*//*Label 141*/ GIMT_Encode4(22910), // Rule ID 150 //
5799 /* 22881 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule106Enabled),
5800 /* 22884 */ // MIs[0] dst
5801 /* 22884 */ // No operand predicates
5802 /* 22884 */ // MIs[0] __add_sub_reg_match_0.x
5803 /* 22884 */ // No operand predicates
5804 /* 22884 */ // MIs[0] __add_sub_reg_match_0.tmp
5805 /* 22884 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5806 /* 22888 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5807 /* 22892 */ // MIs[1] src
5808 /* 22892 */ // No operand predicates
5809 /* 22892 */ // MIs[1] __add_sub_reg_match_0.x
5810 /* 22892 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
5811 /* 22897 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5812 /* 22902 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5813 /* 22904 */ // Combiner Rule #106: add_sub_reg @ [__add_sub_reg_match_0[0]]
5814 /* 22904 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
5815 /* 22909 */ GIR_EraseRootFromParent_Done,
5816 /* 22910 */ // Label 141: @22910
5817 /* 22910 */ GIM_Try, /*On fail goto*//*Label 142*/ GIMT_Encode4(22955), // Rule ID 8 //
5818 /* 22915 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule8Enabled),
5819 /* 22918 */ // MIs[0] root
5820 /* 22918 */ // No operand predicates
5821 /* 22918 */ // MIs[0] A
5822 /* 22918 */ // No operand predicates
5823 /* 22918 */ // MIs[0] sub1
5824 /* 22918 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5825 /* 22922 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5826 /* 22926 */ // MIs[1] B
5827 /* 22926 */ // No operand predicates
5828 /* 22926 */ // MIs[1] add1
5829 /* 22926 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5830 /* 22930 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
5831 /* 22934 */ // MIs[2] A
5832 /* 22934 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
5833 /* 22939 */ // MIs[2] C
5834 /* 22939 */ // No operand predicates
5835 /* 22939 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5836 /* 22941 */ // Combiner Rule #8: APlusBMinusAplusC
5837 /* 22941 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5838 /* 22944 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5839 /* 22946 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
5840 /* 22950 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
5841 /* 22954 */ GIR_EraseRootFromParent_Done,
5842 /* 22955 */ // Label 142: @22955
5843 /* 22955 */ GIM_Try, /*On fail goto*//*Label 143*/ GIMT_Encode4(23000), // Rule ID 10 //
5844 /* 22960 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule10Enabled),
5845 /* 22963 */ // MIs[0] root
5846 /* 22963 */ // No operand predicates
5847 /* 22963 */ // MIs[0] A
5848 /* 22963 */ // No operand predicates
5849 /* 22963 */ // MIs[0] sub1
5850 /* 22963 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5851 /* 22967 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5852 /* 22971 */ // MIs[1] B
5853 /* 22971 */ // No operand predicates
5854 /* 22971 */ // MIs[1] add1
5855 /* 22971 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
5856 /* 22975 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
5857 /* 22979 */ // MIs[2] C
5858 /* 22979 */ // No operand predicates
5859 /* 22979 */ // MIs[2] A
5860 /* 22979 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
5861 /* 22984 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
5862 /* 22986 */ // Combiner Rule #10: APlusBMinusCPlusA
5863 /* 22986 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
5864 /* 22989 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
5865 /* 22991 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
5866 /* 22995 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // C
5867 /* 22999 */ GIR_EraseRootFromParent_Done,
5868 /* 23000 */ // Label 143: @23000
5869 /* 23000 */ GIM_Try, /*On fail goto*//*Label 144*/ GIMT_Encode4(23024), // Rule ID 108 //
5870 /* 23005 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
5871 /* 23008 */ // MIs[0] dst
5872 /* 23008 */ // No operand predicates
5873 /* 23008 */ // MIs[0] __propagate_undef_any_op_match_0.x
5874 /* 23008 */ // No operand predicates
5875 /* 23008 */ // MIs[0] __propagate_undef_any_op_match_0.y
5876 /* 23008 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
5877 /* 23012 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
5878 /* 23016 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5879 /* 23018 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[3]]
5880 /* 23018 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
5881 /* 23021 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5882 /* 23023 */ GIR_EraseRootFromParent_Done,
5883 /* 23024 */ // Label 144: @23024
5884 /* 23024 */ GIM_Try, /*On fail goto*//*Label 145*/ GIMT_Encode4(23047), // Rule ID 120 //
5885 /* 23029 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
5886 /* 23032 */ // MIs[0] dst
5887 /* 23032 */ // No operand predicates
5888 /* 23032 */ // MIs[0] lhs
5889 /* 23032 */ // No operand predicates
5890 /* 23032 */ // MIs[0] Operand 2
5891 /* 23032 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
5892 /* 23036 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5893 /* 23041 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[1]]
5894 /* 23041 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
5895 /* 23046 */ GIR_EraseRootFromParent_Done,
5896 /* 23047 */ // Label 145: @23047
5897 /* 23047 */ GIM_Try, /*On fail goto*//*Label 146*/ GIMT_Encode4(23058), // Rule ID 172 //
5898 /* 23052 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule122Enabled),
5899 /* 23055 */ // MIs[0] root
5900 /* 23055 */ // No operand predicates
5901 /* 23055 */ // MIs[0] src1
5902 /* 23055 */ // No operand predicates
5903 /* 23055 */ // MIs[0] src2
5904 /* 23055 */ // No operand predicates
5905 /* 23055 */ // Combiner Rule #122: reassoc_comm_binops
5906 /* 23055 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner41),
5907 /* 23058 */ // Label 146: @23058
5908 /* 23058 */ GIM_Try, /*On fail goto*//*Label 147*/ GIMT_Encode4(23069), // Rule ID 281 //
5909 /* 23063 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
5910 /* 23066 */ // MIs[0] d
5911 /* 23066 */ // No operand predicates
5912 /* 23066 */ // MIs[0] mi.src0
5913 /* 23066 */ // No operand predicates
5914 /* 23066 */ // MIs[0] mi.src1
5915 /* 23066 */ // No operand predicates
5916 /* 23066 */ // Combiner Rule #213: constant_fold_binop @ [mi[0]]
5917 /* 23066 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
5918 /* 23069 */ // Label 147: @23069
5919 /* 23069 */ GIM_Try, /*On fail goto*//*Label 148*/ GIMT_Encode4(23080), // Rule ID 342 //
5920 /* 23074 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
5921 /* 23077 */ // MIs[0] root
5922 /* 23077 */ // No operand predicates
5923 /* 23077 */ // MIs[0] mi.x
5924 /* 23077 */ // No operand predicates
5925 /* 23077 */ // MIs[0] mi.y
5926 /* 23077 */ // No operand predicates
5927 /* 23077 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[0]]
5928 /* 23077 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
5929 /* 23080 */ // Label 148: @23080
5930 /* 23080 */ GIM_Try, /*On fail goto*//*Label 149*/ GIMT_Encode4(23091), // Rule ID 502 //
5931 /* 23085 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule361Enabled),
5932 /* 23088 */ // MIs[0] dst
5933 /* 23088 */ // No operand predicates
5934 /* 23088 */ // MIs[0] a
5935 /* 23088 */ // No operand predicates
5936 /* 23088 */ // MIs[0] b
5937 /* 23088 */ // No operand predicates
5938 /* 23088 */ // Combiner Rule #361: anonymous_57055
5939 /* 23088 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner139),
5940 /* 23091 */ // Label 149: @23091
5941 /* 23091 */ GIM_Reject,
5942 /* 23092 */ // Label 2: @23092
5943 /* 23092 */ GIM_Try, /*On fail goto*//*Label 150*/ GIMT_Encode4(23149), // Rule ID 507 //
5944 /* 23097 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule366Enabled),
5945 /* 23100 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_i32,
5946 /* 23103 */ // MIs[0] diff
5947 /* 23103 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5948 /* 23107 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_USUBE),
5949 /* 23111 */ // MIs[1] diff_carry_out
5950 /* 23111 */ // No operand predicates
5951 /* 23111 */ // MIs[1] x
5952 /* 23111 */ // No operand predicates
5953 /* 23111 */ // MIs[1] Operand 3
5954 /* 23111 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
5955 /* 23115 */ // MIs[1] carry
5956 /* 23115 */ GIM_RecordRegType, /*MI*/1, /*Op*/4, /*TempTypeIdx*/255,
5957 /* 23119 */ // MIs[0] y
5958 /* 23119 */ // No operand predicates
5959 /* 23119 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner71),
5960 /* 23123 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5961 /* 23125 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5962 /* 23128 */ // Combiner Rule #366: fold_sub_into_usube
5963 /* 23128 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_USUBE),
5964 /* 23131 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
5965 /* 23133 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5966 /* 23138 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // x
5967 /* 23142 */ GIR_RootToRootCopy, /*OpIdx*/2, // y
5968 /* 23144 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/4, // carry
5969 /* 23148 */ GIR_EraseRootFromParent_Done,
5970 /* 23149 */ // Label 150: @23149
5971 /* 23149 */ GIM_Try, /*On fail goto*//*Label 151*/ GIMT_Encode4(23226), // Rule ID 458 //
5972 /* 23154 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule327Enabled),
5973 /* 23157 */ // MIs[0] dst
5974 /* 23157 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
5975 /* 23161 */ // MIs[0] sub1
5976 /* 23161 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
5977 /* 23165 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
5978 /* 23169 */ // MIs[1] a
5979 /* 23169 */ // No operand predicates
5980 /* 23169 */ // MIs[1] b
5981 /* 23169 */ // No operand predicates
5982 /* 23169 */ // MIs[0] Operand 2
5983 /* 23169 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
5984 /* 23173 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner1),
5985 /* 23177 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
5986 /* 23179 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
5987 /* 23182 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
5988 /* 23192 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
5989 /* 23195 */ // Combiner Rule #327: sub_one_from_sub
5990 /* 23195 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
5991 /* 23198 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
5992 /* 23203 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // b
5993 /* 23207 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
5994 /* 23210 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
5995 /* 23214 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
5996 /* 23218 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
5997 /* 23221 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // a
5998 /* 23225 */ GIR_EraseRootFromParent_Done,
5999 /* 23226 */ // Label 151: @23226
6000 /* 23226 */ GIM_Try, /*On fail goto*//*Label 152*/ GIMT_Encode4(23320), // Rule ID 464 //
6001 /* 23231 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule331Enabled),
6002 /* 23234 */ // MIs[0] root
6003 /* 23234 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6004 /* 23238 */ // MIs[0] Operand 1
6005 /* 23238 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
6006 /* 23242 */ // MIs[0] max
6007 /* 23242 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6008 /* 23246 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SMAX),
6009 /* 23250 */ // MIs[1] A
6010 /* 23250 */ // No operand predicates
6011 /* 23250 */ // MIs[1] sub
6012 /* 23250 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6013 /* 23254 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6014 /* 23258 */ // MIs[2] Operand 1
6015 /* 23258 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
6016 /* 23262 */ // MIs[2] A
6017 /* 23262 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6018 /* 23267 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner62),
6019 /* 23271 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6020 /* 23273 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6021 /* 23276 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6022 /* 23286 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6023 /* 23289 */ // Combiner Rule #331: SubSmaxSub
6024 /* 23289 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6025 /* 23292 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6026 /* 23297 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6027 /* 23300 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6028 /* 23304 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMIN),
6029 /* 23308 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6030 /* 23312 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
6031 /* 23316 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6032 /* 23319 */ GIR_EraseRootFromParent_Done,
6033 /* 23320 */ // Label 152: @23320
6034 /* 23320 */ GIM_Try, /*On fail goto*//*Label 153*/ GIMT_Encode4(23414), // Rule ID 466 //
6035 /* 23325 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule333Enabled),
6036 /* 23328 */ // MIs[0] root
6037 /* 23328 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6038 /* 23332 */ // MIs[0] Operand 1
6039 /* 23332 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
6040 /* 23336 */ // MIs[0] max
6041 /* 23336 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6042 /* 23340 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SMIN),
6043 /* 23344 */ // MIs[1] A
6044 /* 23344 */ // No operand predicates
6045 /* 23344 */ // MIs[1] sub
6046 /* 23344 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6047 /* 23348 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6048 /* 23352 */ // MIs[2] Operand 1
6049 /* 23352 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
6050 /* 23356 */ // MIs[2] A
6051 /* 23356 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6052 /* 23361 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner62),
6053 /* 23365 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6054 /* 23367 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6055 /* 23370 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6056 /* 23380 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6057 /* 23383 */ // Combiner Rule #333: NegSminNeg
6058 /* 23383 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6059 /* 23386 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6060 /* 23391 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6061 /* 23394 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6062 /* 23398 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMAX),
6063 /* 23402 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6064 /* 23406 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
6065 /* 23410 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6066 /* 23413 */ GIR_EraseRootFromParent_Done,
6067 /* 23414 */ // Label 153: @23414
6068 /* 23414 */ GIM_Try, /*On fail goto*//*Label 154*/ GIMT_Encode4(23508), // Rule ID 465 //
6069 /* 23419 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule332Enabled),
6070 /* 23422 */ // MIs[0] root
6071 /* 23422 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6072 /* 23426 */ // MIs[0] Operand 1
6073 /* 23426 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
6074 /* 23430 */ // MIs[0] max
6075 /* 23430 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6076 /* 23434 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UMAX),
6077 /* 23438 */ // MIs[1] A
6078 /* 23438 */ // No operand predicates
6079 /* 23438 */ // MIs[1] sub
6080 /* 23438 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6081 /* 23442 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6082 /* 23446 */ // MIs[2] Operand 1
6083 /* 23446 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
6084 /* 23450 */ // MIs[2] A
6085 /* 23450 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6086 /* 23455 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner62),
6087 /* 23459 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6088 /* 23461 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6089 /* 23464 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6090 /* 23474 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6091 /* 23477 */ // Combiner Rule #332: SubUmaxSub
6092 /* 23477 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6093 /* 23480 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6094 /* 23485 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6095 /* 23488 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6096 /* 23492 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMIN),
6097 /* 23496 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6098 /* 23500 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
6099 /* 23504 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6100 /* 23507 */ GIR_EraseRootFromParent_Done,
6101 /* 23508 */ // Label 154: @23508
6102 /* 23508 */ GIM_Try, /*On fail goto*//*Label 155*/ GIMT_Encode4(23602), // Rule ID 467 //
6103 /* 23513 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule334Enabled),
6104 /* 23516 */ // MIs[0] root
6105 /* 23516 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6106 /* 23520 */ // MIs[0] Operand 1
6107 /* 23520 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
6108 /* 23524 */ // MIs[0] max
6109 /* 23524 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6110 /* 23528 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UMIN),
6111 /* 23532 */ // MIs[1] A
6112 /* 23532 */ // No operand predicates
6113 /* 23532 */ // MIs[1] sub
6114 /* 23532 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6115 /* 23536 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6116 /* 23540 */ // MIs[2] Operand 1
6117 /* 23540 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/1, 0,
6118 /* 23544 */ // MIs[2] A
6119 /* 23544 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
6120 /* 23549 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner62),
6121 /* 23553 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6122 /* 23555 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6123 /* 23558 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6124 /* 23568 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6125 /* 23571 */ // Combiner Rule #334: NegUminNeg
6126 /* 23571 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6127 /* 23574 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6128 /* 23579 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6129 /* 23582 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6130 /* 23586 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMAX),
6131 /* 23590 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6132 /* 23594 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // A
6133 /* 23598 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6134 /* 23601 */ GIR_EraseRootFromParent_Done,
6135 /* 23602 */ // Label 155: @23602
6136 /* 23602 */ GIM_Try, /*On fail goto*//*Label 156*/ GIMT_Encode4(23654), // Rule ID 379 //
6137 /* 23607 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule249Enabled),
6138 /* 23610 */ // MIs[0] dst
6139 /* 23610 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6140 /* 23614 */ // MIs[0] x
6141 /* 23614 */ // No operand predicates
6142 /* 23614 */ // MIs[0] sum
6143 /* 23614 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6144 /* 23618 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6145 /* 23622 */ // MIs[1] y
6146 /* 23622 */ // No operand predicates
6147 /* 23622 */ // MIs[1] z
6148 /* 23622 */ // No operand predicates
6149 /* 23622 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner48),
6150 /* 23626 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6151 /* 23628 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6152 /* 23631 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6153 /* 23641 */ // Combiner Rule #249: sub_add_neg_rhs
6154 /* 23641 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6155 /* 23644 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6156 /* 23646 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6157 /* 23649 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // y
6158 /* 23653 */ GIR_EraseRootFromParent_Done,
6159 /* 23654 */ // Label 156: @23654
6160 /* 23654 */ GIM_Try, /*On fail goto*//*Label 157*/ GIMT_Encode4(23706), // Rule ID 380 //
6161 /* 23659 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule250Enabled),
6162 /* 23662 */ // MIs[0] dst
6163 /* 23662 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6164 /* 23666 */ // MIs[0] x
6165 /* 23666 */ // No operand predicates
6166 /* 23666 */ // MIs[0] sum
6167 /* 23666 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6168 /* 23670 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6169 /* 23674 */ // MIs[1] y
6170 /* 23674 */ // No operand predicates
6171 /* 23674 */ // MIs[1] z
6172 /* 23674 */ // No operand predicates
6173 /* 23674 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner49),
6174 /* 23678 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6175 /* 23680 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6176 /* 23683 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6177 /* 23693 */ // Combiner Rule #250: sub_add_neg_lhs
6178 /* 23693 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6179 /* 23696 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6180 /* 23698 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6181 /* 23701 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // z
6182 /* 23705 */ GIR_EraseRootFromParent_Done,
6183 /* 23706 */ // Label 157: @23706
6184 /* 23706 */ GIM_Try, /*On fail goto*//*Label 158*/ GIMT_Encode4(23767), // Rule ID 9 //
6185 /* 23711 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule9Enabled),
6186 /* 23714 */ // MIs[0] root
6187 /* 23714 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6188 /* 23718 */ // MIs[0] A
6189 /* 23718 */ // No operand predicates
6190 /* 23718 */ // MIs[0] sub1
6191 /* 23718 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6192 /* 23722 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6193 /* 23726 */ // MIs[1] B
6194 /* 23726 */ // No operand predicates
6195 /* 23726 */ // MIs[1] C
6196 /* 23726 */ // No operand predicates
6197 /* 23726 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner0),
6198 /* 23730 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6199 /* 23732 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6200 /* 23735 */ // Combiner Rule #9: AMinusBMinusC
6201 /* 23735 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6202 /* 23738 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6203 /* 23743 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // C
6204 /* 23747 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // B
6205 /* 23751 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
6206 /* 23755 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
6207 /* 23759 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // A
6208 /* 23763 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6209 /* 23766 */ GIR_EraseRootFromParent_Done,
6210 /* 23767 */ // Label 158: @23767
6211 /* 23767 */ GIM_Try, /*On fail goto*//*Label 159*/ GIMT_Encode4(23800), // Rule ID 377 //
6212 /* 23772 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule247Enabled),
6213 /* 23775 */ // MIs[0] dst
6214 /* 23775 */ // No operand predicates
6215 /* 23775 */ // MIs[0] sum
6216 /* 23775 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6217 /* 23779 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6218 /* 23783 */ // MIs[1] x
6219 /* 23783 */ // No operand predicates
6220 /* 23783 */ // MIs[1] y
6221 /* 23783 */ // No operand predicates
6222 /* 23783 */ // MIs[0] z
6223 /* 23783 */ // No operand predicates
6224 /* 23783 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner46),
6225 /* 23787 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
6226 /* 23792 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6227 /* 23794 */ // Combiner Rule #247: sub_add_reg_rhs
6228 /* 23794 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
6229 /* 23799 */ GIR_EraseRootFromParent_Done,
6230 /* 23800 */ // Label 159: @23800
6231 /* 23800 */ GIM_Try, /*On fail goto*//*Label 160*/ GIMT_Encode4(23833), // Rule ID 378 //
6232 /* 23805 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule248Enabled),
6233 /* 23808 */ // MIs[0] dst
6234 /* 23808 */ // No operand predicates
6235 /* 23808 */ // MIs[0] sum
6236 /* 23808 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6237 /* 23812 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6238 /* 23816 */ // MIs[1] x
6239 /* 23816 */ // No operand predicates
6240 /* 23816 */ // MIs[1] y
6241 /* 23816 */ // No operand predicates
6242 /* 23816 */ // MIs[0] z
6243 /* 23816 */ // No operand predicates
6244 /* 23816 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner47),
6245 /* 23820 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6246 /* 23825 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6247 /* 23827 */ // Combiner Rule #248: sub_add_reg_lhs
6248 /* 23827 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6249 /* 23832 */ GIR_EraseRootFromParent_Done,
6250 /* 23833 */ // Label 160: @23833
6251 /* 23833 */ GIM_Try, /*On fail goto*//*Label 161*/ GIMT_Encode4(23876), // Rule ID 182 //
6252 /* 23838 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule132Enabled),
6253 /* 23841 */ // MIs[0] dst
6254 /* 23841 */ // No operand predicates
6255 /* 23841 */ // MIs[0] Operand 1
6256 /* 23841 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
6257 /* 23845 */ // MIs[0] and
6258 /* 23845 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6259 /* 23849 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
6260 /* 23853 */ // MIs[1] x
6261 /* 23853 */ // No operand predicates
6262 /* 23853 */ // MIs[1] Operand 2
6263 /* 23853 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
6264 /* 23857 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner25),
6265 /* 23861 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6266 /* 23863 */ // Combiner Rule #132: neg_and_one_to_sext_inreg
6267 /* 23863 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT_INREG),
6268 /* 23866 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6269 /* 23868 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
6270 /* 23872 */ GIR_AddImm8, /*InsnID*/0, /*Imm*/1,
6271 /* 23875 */ GIR_EraseRootFromParent_Done,
6272 /* 23876 */ // Label 161: @23876
6273 /* 23876 */ GIM_Try, /*On fail goto*//*Label 162*/ GIMT_Encode4(23903), // Rule ID 49 //
6274 /* 23881 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule45Enabled),
6275 /* 23884 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
6276 /* 23890 */ // MIs[0] root
6277 /* 23890 */ // No operand predicates
6278 /* 23890 */ // MIs[0] x
6279 /* 23890 */ // No operand predicates
6280 /* 23890 */ // MIs[0] right
6281 /* 23890 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6282 /* 23894 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
6283 /* 23898 */ // MIs[1] imm
6284 /* 23898 */ // No operand predicates
6285 /* 23898 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6286 /* 23900 */ // Combiner Rule #45: sub_of_vscale
6287 /* 23900 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner15),
6288 /* 23903 */ // Label 162: @23903
6289 /* 23903 */ GIM_Try, /*On fail goto*//*Label 163*/ GIMT_Encode4(24043),
6290 /* 23908 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6291 /* 23912 */ GIM_Try, /*On fail goto*//*Label 164*/ GIMT_Encode4(23948), // Rule ID 462 //
6292 /* 23917 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule329Enabled),
6293 /* 23920 */ // MIs[0] Operand 1
6294 /* 23920 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 255,
6295 /* 23924 */ // MIs[0] op1
6296 /* 23924 */ // No operand predicates
6297 /* 23924 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6298 /* 23927 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(18446744073709551615u),
6299 /* 23937 */ // Combiner Rule #329: sub_minus_one
6300 /* 23937 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
6301 /* 23940 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6302 /* 23942 */ GIR_RootToRootCopy, /*OpIdx*/2, // op1
6303 /* 23944 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6304 /* 23947 */ GIR_EraseRootFromParent_Done,
6305 /* 23948 */ // Label 164: @23948
6306 /* 23948 */ GIM_Try, /*On fail goto*//*Label 165*/ GIMT_Encode4(24042), // Rule ID 463 //
6307 /* 23953 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule330Enabled),
6308 /* 23956 */ // MIs[0] a
6309 /* 23956 */ // No operand predicates
6310 /* 23956 */ // MIs[0] mul
6311 /* 23956 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6312 /* 23960 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_MUL),
6313 /* 23964 */ GIM_CheckHasOneUse, /*MI*/1,
6314 /* 23966 */ // MIs[1] x
6315 /* 23966 */ // No operand predicates
6316 /* 23966 */ // MIs[1] c
6317 /* 23966 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6318 /* 23970 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6319 /* 23974 */ // MIs[2] imm
6320 /* 23974 */ // No operand predicates
6321 /* 23974 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6322 /* 23976 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
6323 /* 23979 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6324 /* 23982 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6325 /* 23992 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6326 /* 23995 */ // Combiner Rule #330: sub_of_mul_const
6327 /* 23995 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6328 /* 23998 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6329 /* 24003 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6330 /* 24006 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // c
6331 /* 24010 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MUL),
6332 /* 24014 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6333 /* 24019 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
6334 /* 24023 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6335 /* 24026 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
6336 /* 24030 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // d
6337 /* 24034 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/1, // a
6338 /* 24038 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
6339 /* 24041 */ GIR_EraseRootFromParent_Done,
6340 /* 24042 */ // Label 165: @24042
6341 /* 24042 */ GIM_Reject,
6342 /* 24043 */ // Label 163: @24043
6343 /* 24043 */ GIM_Try, /*On fail goto*//*Label 166*/ GIMT_Encode4(24088), // Rule ID 0 //
6344 /* 24048 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule0Enabled),
6345 /* 24051 */ // MIs[0] root
6346 /* 24051 */ // No operand predicates
6347 /* 24051 */ // MIs[0] add1
6348 /* 24051 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6349 /* 24055 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6350 /* 24059 */ // MIs[1] A
6351 /* 24059 */ // No operand predicates
6352 /* 24059 */ // MIs[1] sub1
6353 /* 24059 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6354 /* 24063 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6355 /* 24067 */ // MIs[2] B
6356 /* 24067 */ // No operand predicates
6357 /* 24067 */ // MIs[2] C
6358 /* 24067 */ // No operand predicates
6359 /* 24067 */ // MIs[0] B
6360 /* 24067 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
6361 /* 24072 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6362 /* 24074 */ // Combiner Rule #0: APlusBMinusCMinusB
6363 /* 24074 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6364 /* 24077 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6365 /* 24079 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6366 /* 24083 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // C
6367 /* 24087 */ GIR_EraseRootFromParent_Done,
6368 /* 24088 */ // Label 166: @24088
6369 /* 24088 */ GIM_Try, /*On fail goto*//*Label 167*/ GIMT_Encode4(24125), // Rule ID 14 //
6370 /* 24093 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule14Enabled),
6371 /* 24096 */ // MIs[0] root
6372 /* 24096 */ // No operand predicates
6373 /* 24096 */ // MIs[0] add
6374 /* 24096 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6375 /* 24100 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
6376 /* 24104 */ // MIs[1] A
6377 /* 24104 */ // No operand predicates
6378 /* 24104 */ // MIs[1] c1
6379 /* 24104 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6380 /* 24108 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6381 /* 24112 */ // MIs[2] imm1
6382 /* 24112 */ // No operand predicates
6383 /* 24112 */ // MIs[0] c2
6384 /* 24112 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
6385 /* 24116 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6386 /* 24120 */ // MIs[3] imm2
6387 /* 24120 */ // No operand predicates
6388 /* 24120 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
6389 /* 24122 */ // Combiner Rule #14: APlusC1MinusC2
6390 /* 24122 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner0),
6391 /* 24125 */ // Label 167: @24125
6392 /* 24125 */ GIM_Try, /*On fail goto*//*Label 168*/ GIMT_Encode4(24162), // Rule ID 17 //
6393 /* 24130 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule17Enabled),
6394 /* 24133 */ // MIs[0] root
6395 /* 24133 */ // No operand predicates
6396 /* 24133 */ // MIs[0] sub1
6397 /* 24133 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6398 /* 24137 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6399 /* 24141 */ // MIs[1] c1
6400 /* 24141 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
6401 /* 24145 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6402 /* 24149 */ // MIs[2] imm1
6403 /* 24149 */ // No operand predicates
6404 /* 24149 */ // MIs[1] A
6405 /* 24149 */ // No operand predicates
6406 /* 24149 */ // MIs[0] c2
6407 /* 24149 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
6408 /* 24153 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6409 /* 24157 */ // MIs[3] imm2
6410 /* 24157 */ // No operand predicates
6411 /* 24157 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
6412 /* 24159 */ // Combiner Rule #17: C1Minus2MinusC2
6413 /* 24159 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner3),
6414 /* 24162 */ // Label 168: @24162
6415 /* 24162 */ GIM_Try, /*On fail goto*//*Label 169*/ GIMT_Encode4(24207), // Rule ID 1 //
6416 /* 24167 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule1Enabled),
6417 /* 24170 */ // MIs[0] root
6418 /* 24170 */ // No operand predicates
6419 /* 24170 */ // MIs[0] sub2
6420 /* 24170 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6421 /* 24174 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6422 /* 24178 */ // MIs[1] A
6423 /* 24178 */ // No operand predicates
6424 /* 24178 */ // MIs[1] sub1
6425 /* 24178 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6426 /* 24182 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SUB),
6427 /* 24186 */ // MIs[2] B
6428 /* 24186 */ // No operand predicates
6429 /* 24186 */ // MIs[2] C
6430 /* 24186 */ // No operand predicates
6431 /* 24186 */ // MIs[0] C
6432 /* 24186 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/2,
6433 /* 24191 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6434 /* 24193 */ // Combiner Rule #1: AMinusBMinusCMinusC
6435 /* 24193 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6436 /* 24196 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6437 /* 24198 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
6438 /* 24202 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // B
6439 /* 24206 */ GIR_EraseRootFromParent_Done,
6440 /* 24207 */ // Label 169: @24207
6441 /* 24207 */ GIM_Try, /*On fail goto*//*Label 170*/ GIMT_Encode4(24244), // Rule ID 16 //
6442 /* 24212 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule16Enabled),
6443 /* 24215 */ // MIs[0] root
6444 /* 24215 */ // No operand predicates
6445 /* 24215 */ // MIs[0] sub1
6446 /* 24215 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6447 /* 24219 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6448 /* 24223 */ // MIs[1] A
6449 /* 24223 */ // No operand predicates
6450 /* 24223 */ // MIs[1] c1
6451 /* 24223 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
6452 /* 24227 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6453 /* 24231 */ // MIs[2] imm1
6454 /* 24231 */ // No operand predicates
6455 /* 24231 */ // MIs[0] c2
6456 /* 24231 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
6457 /* 24235 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6458 /* 24239 */ // MIs[3] imm2
6459 /* 24239 */ // No operand predicates
6460 /* 24239 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
6461 /* 24241 */ // Combiner Rule #16: AMinusC1MinusC2
6462 /* 24241 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner2),
6463 /* 24244 */ // Label 170: @24244
6464 /* 24244 */ GIM_Try, /*On fail goto*//*Label 171*/ GIMT_Encode4(24268), // Rule ID 106 //
6465 /* 24249 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
6466 /* 24252 */ // MIs[0] dst
6467 /* 24252 */ // No operand predicates
6468 /* 24252 */ // MIs[0] __propagate_undef_any_op_match_0.x
6469 /* 24252 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6470 /* 24256 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6471 /* 24260 */ // MIs[0] __propagate_undef_any_op_match_0.y
6472 /* 24260 */ // No operand predicates
6473 /* 24260 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6474 /* 24262 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[1]]
6475 /* 24262 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6476 /* 24265 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6477 /* 24267 */ GIR_EraseRootFromParent_Done,
6478 /* 24268 */ // Label 171: @24268
6479 /* 24268 */ GIM_Try, /*On fail goto*//*Label 172*/ GIMT_Encode4(24305), // Rule ID 15 //
6480 /* 24273 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule15Enabled),
6481 /* 24276 */ // MIs[0] root
6482 /* 24276 */ // No operand predicates
6483 /* 24276 */ // MIs[0] c2
6484 /* 24276 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6485 /* 24280 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6486 /* 24284 */ // MIs[1] imm2
6487 /* 24284 */ // No operand predicates
6488 /* 24284 */ // MIs[0] add
6489 /* 24284 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6490 /* 24288 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
6491 /* 24292 */ // MIs[2] A
6492 /* 24292 */ // No operand predicates
6493 /* 24292 */ // MIs[2] c1
6494 /* 24292 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/2, // MIs[3]
6495 /* 24296 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6496 /* 24300 */ // MIs[3] imm1
6497 /* 24300 */ // No operand predicates
6498 /* 24300 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
6499 /* 24302 */ // Combiner Rule #15: C2MinusAPlusC1
6500 /* 24302 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner1),
6501 /* 24305 */ // Label 172: @24305
6502 /* 24305 */ GIM_Try, /*On fail goto*//*Label 173*/ GIMT_Encode4(24344), // Rule ID 131 //
6503 /* 24310 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule95Enabled),
6504 /* 24313 */ // MIs[0] dst
6505 /* 24313 */ // No operand predicates
6506 /* 24313 */ // MIs[0] x
6507 /* 24313 */ GIM_RecordRegType, /*MI*/0, /*Op*/1, /*TempTypeIdx*/255,
6508 /* 24317 */ // MIs[0] x
6509 /* 24317 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
6510 /* 24322 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6511 /* 24325 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6512 /* 24335 */ // Combiner Rule #95: same_val_zero @ [__same_val_zero_match_0[0]]
6513 /* 24335 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
6514 /* 24338 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6515 /* 24340 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6516 /* 24343 */ GIR_EraseRootFromParent_Done,
6517 /* 24344 */ // Label 173: @24344
6518 /* 24344 */ GIM_Try, /*On fail goto*//*Label 174*/ GIMT_Encode4(24378), // Rule ID 12 //
6519 /* 24349 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule12Enabled),
6520 /* 24352 */ // MIs[0] root
6521 /* 24352 */ // No operand predicates
6522 /* 24352 */ // MIs[0] A
6523 /* 24352 */ // No operand predicates
6524 /* 24352 */ // MIs[0] add
6525 /* 24352 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6526 /* 24356 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6527 /* 24360 */ // MIs[1] A
6528 /* 24360 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
6529 /* 24365 */ // MIs[1] B
6530 /* 24365 */ // No operand predicates
6531 /* 24365 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6532 /* 24370 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6533 /* 24372 */ // Combiner Rule #12: AMinusBMinusA
6534 /* 24372 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
6535 /* 24377 */ GIR_EraseRootFromParent_Done,
6536 /* 24378 */ // Label 174: @24378
6537 /* 24378 */ GIM_Try, /*On fail goto*//*Label 175*/ GIMT_Encode4(24412), // Rule ID 11 //
6538 /* 24383 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule11Enabled),
6539 /* 24386 */ // MIs[0] root
6540 /* 24386 */ // No operand predicates
6541 /* 24386 */ // MIs[0] A
6542 /* 24386 */ // No operand predicates
6543 /* 24386 */ // MIs[0] sub1
6544 /* 24386 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6545 /* 24390 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
6546 /* 24394 */ // MIs[1] Operand 1
6547 /* 24394 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/1, 0,
6548 /* 24398 */ // MIs[1] B
6549 /* 24398 */ // No operand predicates
6550 /* 24398 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6551 /* 24400 */ // Combiner Rule #11: AMinusZeroMinusB
6552 /* 24400 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
6553 /* 24403 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
6554 /* 24405 */ GIR_RootToRootCopy, /*OpIdx*/1, // A
6555 /* 24407 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // B
6556 /* 24411 */ GIR_EraseRootFromParent_Done,
6557 /* 24412 */ // Label 175: @24412
6558 /* 24412 */ GIM_Try, /*On fail goto*//*Label 176*/ GIMT_Encode4(24436), // Rule ID 109 //
6559 /* 24417 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
6560 /* 24420 */ // MIs[0] dst
6561 /* 24420 */ // No operand predicates
6562 /* 24420 */ // MIs[0] __propagate_undef_any_op_match_0.x
6563 /* 24420 */ // No operand predicates
6564 /* 24420 */ // MIs[0] __propagate_undef_any_op_match_0.y
6565 /* 24420 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6566 /* 24424 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6567 /* 24428 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6568 /* 24430 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[4]]
6569 /* 24430 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6570 /* 24433 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6571 /* 24435 */ GIR_EraseRootFromParent_Done,
6572 /* 24436 */ // Label 176: @24436
6573 /* 24436 */ GIM_Try, /*On fail goto*//*Label 177*/ GIMT_Encode4(24459), // Rule ID 119 //
6574 /* 24441 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
6575 /* 24444 */ // MIs[0] dst
6576 /* 24444 */ // No operand predicates
6577 /* 24444 */ // MIs[0] lhs
6578 /* 24444 */ // No operand predicates
6579 /* 24444 */ // MIs[0] Operand 2
6580 /* 24444 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
6581 /* 24448 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6582 /* 24453 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[0]]
6583 /* 24453 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6584 /* 24458 */ GIR_EraseRootFromParent_Done,
6585 /* 24459 */ // Label 177: @24459
6586 /* 24459 */ GIM_Try, /*On fail goto*//*Label 178*/ GIMT_Encode4(24480), // Rule ID 21 //
6587 /* 24464 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule21Enabled),
6588 /* 24467 */ // MIs[0] d
6589 /* 24467 */ // No operand predicates
6590 /* 24467 */ // MIs[0] op1
6591 /* 24467 */ // No operand predicates
6592 /* 24467 */ // MIs[0] c
6593 /* 24467 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6594 /* 24471 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6595 /* 24475 */ // MIs[1] imm
6596 /* 24475 */ // No operand predicates
6597 /* 24475 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6598 /* 24477 */ // Combiner Rule #21: sub_to_add
6599 /* 24477 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner7),
6600 /* 24480 */ // Label 178: @24480
6601 /* 24480 */ GIM_Try, /*On fail goto*//*Label 179*/ GIMT_Encode4(24491), // Rule ID 289 //
6602 /* 24485 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
6603 /* 24488 */ // MIs[0] d
6604 /* 24488 */ // No operand predicates
6605 /* 24488 */ // MIs[0] mi.src0
6606 /* 24488 */ // No operand predicates
6607 /* 24488 */ // MIs[0] mi.src1
6608 /* 24488 */ // No operand predicates
6609 /* 24488 */ // Combiner Rule #213: constant_fold_binop @ [mi[8]]
6610 /* 24488 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
6611 /* 24491 */ // Label 179: @24491
6612 /* 24491 */ GIM_Try, /*On fail goto*//*Label 180*/ GIMT_Encode4(24502), // Rule ID 343 //
6613 /* 24496 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
6614 /* 24499 */ // MIs[0] root
6615 /* 24499 */ // No operand predicates
6616 /* 24499 */ // MIs[0] mi.x
6617 /* 24499 */ // No operand predicates
6618 /* 24499 */ // MIs[0] mi.y
6619 /* 24499 */ // No operand predicates
6620 /* 24499 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[1]]
6621 /* 24499 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
6622 /* 24502 */ // Label 180: @24502
6623 /* 24502 */ GIM_Try, /*On fail goto*//*Label 181*/ GIMT_Encode4(24513), // Rule ID 420 //
6624 /* 24507 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule290Enabled),
6625 /* 24510 */ // MIs[0] dst
6626 /* 24510 */ // No operand predicates
6627 /* 24510 */ // MIs[0] src1
6628 /* 24510 */ // No operand predicates
6629 /* 24510 */ // MIs[0] src2
6630 /* 24510 */ // No operand predicates
6631 /* 24510 */ // Combiner Rule #290: simplify_neg_minmax
6632 /* 24510 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner105),
6633 /* 24513 */ // Label 181: @24513
6634 /* 24513 */ GIM_Try, /*On fail goto*//*Label 182*/ GIMT_Encode4(24524), // Rule ID 503 //
6635 /* 24518 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule362Enabled),
6636 /* 24521 */ // MIs[0] dst
6637 /* 24521 */ // No operand predicates
6638 /* 24521 */ // MIs[0] a
6639 /* 24521 */ // No operand predicates
6640 /* 24521 */ // MIs[0] b
6641 /* 24521 */ // No operand predicates
6642 /* 24521 */ // Combiner Rule #362: anonymous_57056
6643 /* 24521 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner139),
6644 /* 24524 */ // Label 182: @24524
6645 /* 24524 */ GIM_Reject,
6646 /* 24525 */ // Label 3: @24525
6647 /* 24525 */ GIM_Try, /*On fail goto*//*Label 183*/ GIMT_Encode4(24586), // Rule ID 50 //
6648 /* 24530 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule46Enabled),
6649 /* 24533 */ // MIs[0] dst
6650 /* 24533 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6651 /* 24537 */ // MIs[0] x
6652 /* 24537 */ // No operand predicates
6653 /* 24537 */ // MIs[0] mask
6654 /* 24537 */ // No operand predicates
6655 /* 24537 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner6),
6656 /* 24541 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
6657 /* 24544 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
6658 /* 24554 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6659 /* 24557 */ // Combiner Rule #46: mul_by_zero_one_vector
6660 /* 24557 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6661 /* 24560 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
6662 /* 24565 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
6663 /* 24568 */ GIR_RootToRootCopy, /*OpIdx*/2, // mask
6664 /* 24570 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
6665 /* 24574 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
6666 /* 24578 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // x
6667 /* 24582 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
6668 /* 24585 */ GIR_EraseRootFromParent_Done,
6669 /* 24586 */ // Label 183: @24586
6670 /* 24586 */ GIM_Try, /*On fail goto*//*Label 184*/ GIMT_Encode4(24609), // Rule ID 140 //
6671 /* 24591 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
6672 /* 24594 */ // MIs[0] dst
6673 /* 24594 */ // No operand predicates
6674 /* 24594 */ // MIs[0] zero
6675 /* 24594 */ // No operand predicates
6676 /* 24594 */ // MIs[0] rhs
6677 /* 24594 */ // No operand predicates
6678 /* 24594 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
6679 /* 24598 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6680 /* 24603 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[7]]
6681 /* 24603 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6682 /* 24608 */ GIR_EraseRootFromParent_Done,
6683 /* 24609 */ // Label 184: @24609
6684 /* 24609 */ GIM_Try, /*On fail goto*//*Label 185*/ GIMT_Encode4(24634), // Rule ID 384 //
6685 /* 24614 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule254Enabled),
6686 /* 24617 */ // MIs[0] dst
6687 /* 24617 */ // No operand predicates
6688 /* 24617 */ // MIs[0] lhs
6689 /* 24617 */ // No operand predicates
6690 /* 24617 */ // MIs[0] rhs
6691 /* 24617 */ // No operand predicates
6692 /* 24617 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
6693 /* 24621 */ // Combiner Rule #254: G_MUL_commute_constant_to_rhs
6694 /* 24621 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MUL),
6695 /* 24624 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6696 /* 24626 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
6697 /* 24628 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
6698 /* 24630 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
6699 /* 24633 */ GIR_EraseRootFromParent_Done,
6700 /* 24634 */ // Label 185: @24634
6701 /* 24634 */ GIM_Try, /*On fail goto*//*Label 186*/ GIMT_Encode4(24669), // Rule ID 47 //
6702 /* 24639 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule43Enabled),
6703 /* 24642 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
6704 /* 24648 */ // MIs[0] root
6705 /* 24648 */ // No operand predicates
6706 /* 24648 */ // MIs[0] left
6707 /* 24648 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6708 /* 24652 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
6709 /* 24656 */ // MIs[1] scale
6710 /* 24656 */ // No operand predicates
6711 /* 24656 */ // MIs[0] x
6712 /* 24656 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
6713 /* 24660 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
6714 /* 24664 */ // MIs[2] imm1
6715 /* 24664 */ // No operand predicates
6716 /* 24664 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
6717 /* 24666 */ // Combiner Rule #43: mul_of_vscale
6718 /* 24666 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner13),
6719 /* 24669 */ // Label 186: @24669
6720 /* 24669 */ GIM_Try, /*On fail goto*//*Label 187*/ GIMT_Encode4(24709), // Rule ID 24 //
6721 /* 24674 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule23Enabled),
6722 /* 24677 */ // MIs[0] dst
6723 /* 24677 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
6724 /* 24681 */ // MIs[0] x
6725 /* 24681 */ // No operand predicates
6726 /* 24681 */ // MIs[0] Operand 2
6727 /* 24681 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 255,
6728 /* 24685 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
6729 /* 24688 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
6730 /* 24698 */ // Combiner Rule #23: mul_by_neg_one
6731 /* 24698 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
6732 /* 24701 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6733 /* 24703 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
6734 /* 24706 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
6735 /* 24708 */ GIR_EraseRootFromParent_Done,
6736 /* 24709 */ // Label 187: @24709
6737 /* 24709 */ GIM_Try, /*On fail goto*//*Label 188*/ GIMT_Encode4(24730), // Rule ID 86 //
6738 /* 24714 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
6739 /* 24717 */ // MIs[0] dst
6740 /* 24717 */ // No operand predicates
6741 /* 24717 */ // MIs[0] __undef_to_int_zero_match_0.x
6742 /* 24717 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6743 /* 24721 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6744 /* 24725 */ // MIs[0] __undef_to_int_zero_match_0.y
6745 /* 24725 */ // No operand predicates
6746 /* 24725 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6747 /* 24727 */ // Combiner Rule #78: undef_to_int_zero @ [__undef_to_int_zero_match_0[1]]
6748 /* 24727 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
6749 /* 24730 */ // Label 188: @24730
6750 /* 24730 */ GIM_Try, /*On fail goto*//*Label 189*/ GIMT_Encode4(24751), // Rule ID 88 //
6751 /* 24735 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
6752 /* 24738 */ // MIs[0] dst
6753 /* 24738 */ // No operand predicates
6754 /* 24738 */ // MIs[0] __undef_to_int_zero_match_0.x
6755 /* 24738 */ // No operand predicates
6756 /* 24738 */ // MIs[0] __undef_to_int_zero_match_0.y
6757 /* 24738 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
6758 /* 24742 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6759 /* 24746 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6760 /* 24748 */ // Combiner Rule #78: undef_to_int_zero @ [__undef_to_int_zero_match_0[3]]
6761 /* 24748 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
6762 /* 24751 */ // Label 189: @24751
6763 /* 24751 */ GIM_Try, /*On fail goto*//*Label 190*/ GIMT_Encode4(24774), // Rule ID 141 //
6764 /* 24756 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule97Enabled),
6765 /* 24759 */ // MIs[0] dst
6766 /* 24759 */ // No operand predicates
6767 /* 24759 */ // MIs[0] lhs
6768 /* 24759 */ // No operand predicates
6769 /* 24759 */ // MIs[0] zero
6770 /* 24759 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
6771 /* 24763 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6772 /* 24768 */ // Combiner Rule #97: binop_right_to_zero
6773 /* 24768 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
6774 /* 24773 */ GIR_EraseRootFromParent_Done,
6775 /* 24774 */ // Label 190: @24774
6776 /* 24774 */ GIM_Try, /*On fail goto*//*Label 191*/ GIMT_Encode4(24797), // Rule ID 148 //
6777 /* 24779 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule104Enabled),
6778 /* 24782 */ // MIs[0] dst
6779 /* 24782 */ // No operand predicates
6780 /* 24782 */ // MIs[0] x
6781 /* 24782 */ // No operand predicates
6782 /* 24782 */ // MIs[0] Operand 2
6783 /* 24782 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
6784 /* 24786 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6785 /* 24791 */ // Combiner Rule #104: right_identity_one_int
6786 /* 24791 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6787 /* 24796 */ GIR_EraseRootFromParent_Done,
6788 /* 24797 */ // Label 191: @24797
6789 /* 24797 */ GIM_Try, /*On fail goto*//*Label 192*/ GIMT_Encode4(24808), // Rule ID 20 //
6790 /* 24802 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule20Enabled),
6791 /* 24805 */ // MIs[0] d
6792 /* 24805 */ // No operand predicates
6793 /* 24805 */ // MIs[0] op1
6794 /* 24805 */ // No operand predicates
6795 /* 24805 */ // MIs[0] op2
6796 /* 24805 */ // No operand predicates
6797 /* 24805 */ // Combiner Rule #20: mul_to_shl
6798 /* 24805 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner6),
6799 /* 24808 */ // Label 192: @24808
6800 /* 24808 */ GIM_Try, /*On fail goto*//*Label 193*/ GIMT_Encode4(24819), // Rule ID 286 //
6801 /* 24813 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
6802 /* 24816 */ // MIs[0] d
6803 /* 24816 */ // No operand predicates
6804 /* 24816 */ // MIs[0] mi.src0
6805 /* 24816 */ // No operand predicates
6806 /* 24816 */ // MIs[0] mi.src1
6807 /* 24816 */ // No operand predicates
6808 /* 24816 */ // Combiner Rule #213: constant_fold_binop @ [mi[5]]
6809 /* 24816 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
6810 /* 24819 */ // Label 193: @24819
6811 /* 24819 */ GIM_Try, /*On fail goto*//*Label 194*/ GIMT_Encode4(24830), // Rule ID 494 //
6812 /* 24824 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule354Enabled),
6813 /* 24827 */ // MIs[0] dst
6814 /* 24827 */ // No operand predicates
6815 /* 24827 */ // MIs[0] src0
6816 /* 24827 */ // No operand predicates
6817 /* 24827 */ // MIs[0] src1
6818 /* 24827 */ // No operand predicates
6819 /* 24827 */ // Combiner Rule #354: smulu64
6820 /* 24827 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner138),
6821 /* 24830 */ // Label 194: @24830
6822 /* 24830 */ GIM_Reject,
6823 /* 24831 */ // Label 4: @24831
6824 /* 24831 */ GIM_Try, /*On fail goto*//*Label 195*/ GIMT_Encode4(24854), // Rule ID 136 //
6825 /* 24836 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
6826 /* 24839 */ // MIs[0] dst
6827 /* 24839 */ // No operand predicates
6828 /* 24839 */ // MIs[0] zero
6829 /* 24839 */ // No operand predicates
6830 /* 24839 */ // MIs[0] rhs
6831 /* 24839 */ // No operand predicates
6832 /* 24839 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
6833 /* 24843 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6834 /* 24848 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[3]]
6835 /* 24848 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6836 /* 24853 */ GIR_EraseRootFromParent_Done,
6837 /* 24854 */ // Label 195: @24854
6838 /* 24854 */ GIM_Try, /*On fail goto*//*Label 196*/ GIMT_Encode4(24879), // Rule ID 205 //
6839 /* 24859 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
6840 /* 24862 */ // MIs[0] dst
6841 /* 24862 */ // No operand predicates
6842 /* 24862 */ // MIs[0] x
6843 /* 24862 */ // No operand predicates
6844 /* 24862 */ // MIs[0] y
6845 /* 24862 */ // No operand predicates
6846 /* 24862 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner31),
6847 /* 24866 */ // Combiner Rule #155: sdiv_to_unsigned
6848 /* 24866 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UDIV),
6849 /* 24869 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
6850 /* 24871 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
6851 /* 24873 */ GIR_RootToRootCopy, /*OpIdx*/2, // y
6852 /* 24875 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
6853 /* 24878 */ GIR_EraseRootFromParent_Done,
6854 /* 24879 */ // Label 196: @24879
6855 /* 24879 */ GIM_Try, /*On fail goto*//*Label 197*/ GIMT_Encode4(24896), // Rule ID 373 //
6856 /* 24884 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule243Enabled),
6857 /* 24887 */ GIM_MIFlagsNot, /*MI*/0, GIMT_Encode4(MachineInstr::IsExact),
6858 /* 24893 */ // MIs[0] dst
6859 /* 24893 */ // No operand predicates
6860 /* 24893 */ // MIs[0] x
6861 /* 24893 */ // No operand predicates
6862 /* 24893 */ // MIs[0] y
6863 /* 24893 */ // No operand predicates
6864 /* 24893 */ // Combiner Rule #243: sdiv_by_pow2
6865 /* 24893 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner100),
6866 /* 24896 */ // Label 197: @24896
6867 /* 24896 */ GIM_Try, /*On fail goto*//*Label 198*/ GIMT_Encode4(24907), // Rule ID 256 //
6868 /* 24901 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
6869 /* 24904 */ // MIs[0] root
6870 /* 24904 */ // No operand predicates
6871 /* 24904 */ // MIs[0] mi.x
6872 /* 24904 */ // No operand predicates
6873 /* 24904 */ // MIs[0] mi.y
6874 /* 24904 */ // No operand predicates
6875 /* 24904 */ // Combiner Rule #196: div_rem_to_divrem @ [mi[0]]
6876 /* 24904 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner72),
6877 /* 24907 */ // Label 198: @24907
6878 /* 24907 */ GIM_Try, /*On fail goto*//*Label 199*/ GIMT_Encode4(24918), // Rule ID 292 //
6879 /* 24912 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
6880 /* 24915 */ // MIs[0] d
6881 /* 24915 */ // No operand predicates
6882 /* 24915 */ // MIs[0] mi.src0
6883 /* 24915 */ // No operand predicates
6884 /* 24915 */ // MIs[0] mi.src1
6885 /* 24915 */ // No operand predicates
6886 /* 24915 */ // Combiner Rule #213: constant_fold_binop @ [mi[11]]
6887 /* 24915 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
6888 /* 24918 */ // Label 199: @24918
6889 /* 24918 */ GIM_Try, /*On fail goto*//*Label 200*/ GIMT_Encode4(24929), // Rule ID 348 //
6890 /* 24923 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
6891 /* 24926 */ // MIs[0] root
6892 /* 24926 */ // No operand predicates
6893 /* 24926 */ // MIs[0] mi.x
6894 /* 24926 */ // No operand predicates
6895 /* 24926 */ // MIs[0] mi.y
6896 /* 24926 */ // No operand predicates
6897 /* 24926 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[6]]
6898 /* 24926 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
6899 /* 24929 */ // Label 200: @24929
6900 /* 24929 */ GIM_Try, /*On fail goto*//*Label 201*/ GIMT_Encode4(24940), // Rule ID 375 //
6901 /* 24934 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule245Enabled),
6902 /* 24937 */ // MIs[0] dst
6903 /* 24937 */ // No operand predicates
6904 /* 24937 */ // MIs[0] x
6905 /* 24937 */ // No operand predicates
6906 /* 24937 */ // MIs[0] y
6907 /* 24937 */ // No operand predicates
6908 /* 24937 */ // Combiner Rule #245: sdiv_by_const
6909 /* 24937 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner97),
6910 /* 24940 */ // Label 201: @24940
6911 /* 24940 */ GIM_Reject,
6912 /* 24941 */ // Label 5: @24941
6913 /* 24941 */ GIM_Try, /*On fail goto*//*Label 202*/ GIMT_Encode4(24964), // Rule ID 137 //
6914 /* 24946 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
6915 /* 24949 */ // MIs[0] dst
6916 /* 24949 */ // No operand predicates
6917 /* 24949 */ // MIs[0] zero
6918 /* 24949 */ // No operand predicates
6919 /* 24949 */ // MIs[0] rhs
6920 /* 24949 */ // No operand predicates
6921 /* 24949 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
6922 /* 24953 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6923 /* 24958 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[4]]
6924 /* 24958 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
6925 /* 24963 */ GIR_EraseRootFromParent_Done,
6926 /* 24964 */ // Label 202: @24964
6927 /* 24964 */ GIM_Try, /*On fail goto*//*Label 203*/ GIMT_Encode4(24981), // Rule ID 371 //
6928 /* 24969 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule241Enabled),
6929 /* 24972 */ GIM_MIFlagsNot, /*MI*/0, GIMT_Encode4(MachineInstr::IsExact),
6930 /* 24978 */ // MIs[0] dst
6931 /* 24978 */ // No operand predicates
6932 /* 24978 */ // MIs[0] x
6933 /* 24978 */ // No operand predicates
6934 /* 24978 */ // MIs[0] y
6935 /* 24978 */ // No operand predicates
6936 /* 24978 */ // Combiner Rule #241: udiv_by_pow2
6937 /* 24978 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner98),
6938 /* 24981 */ // Label 203: @24981
6939 /* 24981 */ GIM_Try, /*On fail goto*//*Label 204*/ GIMT_Encode4(25002), // Rule ID 92 //
6940 /* 24986 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
6941 /* 24989 */ // MIs[0] dst
6942 /* 24989 */ // No operand predicates
6943 /* 24989 */ // MIs[0] __binop_left_undef_to_zero_match_0.x
6944 /* 24989 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
6945 /* 24993 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
6946 /* 24997 */ // MIs[0] __binop_left_undef_to_zero_match_0.y
6947 /* 24997 */ // No operand predicates
6948 /* 24997 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
6949 /* 24999 */ // Combiner Rule #80: binop_left_undef_to_zero @ [__binop_left_undef_to_zero_match_0[1]]
6950 /* 24999 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
6951 /* 25002 */ // Label 204: @25002
6952 /* 25002 */ GIM_Try, /*On fail goto*//*Label 205*/ GIMT_Encode4(25013), // Rule ID 257 //
6953 /* 25007 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
6954 /* 25010 */ // MIs[0] root
6955 /* 25010 */ // No operand predicates
6956 /* 25010 */ // MIs[0] mi.x
6957 /* 25010 */ // No operand predicates
6958 /* 25010 */ // MIs[0] mi.y
6959 /* 25010 */ // No operand predicates
6960 /* 25010 */ // Combiner Rule #196: div_rem_to_divrem @ [mi[1]]
6961 /* 25010 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner72),
6962 /* 25013 */ // Label 205: @25013
6963 /* 25013 */ GIM_Try, /*On fail goto*//*Label 206*/ GIMT_Encode4(25024), // Rule ID 291 //
6964 /* 25018 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
6965 /* 25021 */ // MIs[0] d
6966 /* 25021 */ // No operand predicates
6967 /* 25021 */ // MIs[0] mi.src0
6968 /* 25021 */ // No operand predicates
6969 /* 25021 */ // MIs[0] mi.src1
6970 /* 25021 */ // No operand predicates
6971 /* 25021 */ // Combiner Rule #213: constant_fold_binop @ [mi[10]]
6972 /* 25021 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
6973 /* 25024 */ // Label 206: @25024
6974 /* 25024 */ GIM_Try, /*On fail goto*//*Label 207*/ GIMT_Encode4(25035), // Rule ID 350 //
6975 /* 25029 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
6976 /* 25032 */ // MIs[0] root
6977 /* 25032 */ // No operand predicates
6978 /* 25032 */ // MIs[0] mi.x
6979 /* 25032 */ // No operand predicates
6980 /* 25032 */ // MIs[0] mi.y
6981 /* 25032 */ // No operand predicates
6982 /* 25032 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[8]]
6983 /* 25032 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
6984 /* 25035 */ // Label 207: @25035
6985 /* 25035 */ GIM_Try, /*On fail goto*//*Label 208*/ GIMT_Encode4(25046), // Rule ID 372 //
6986 /* 25040 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule242Enabled),
6987 /* 25043 */ // MIs[0] dst
6988 /* 25043 */ // No operand predicates
6989 /* 25043 */ // MIs[0] x
6990 /* 25043 */ // No operand predicates
6991 /* 25043 */ // MIs[0] y
6992 /* 25043 */ // No operand predicates
6993 /* 25043 */ // Combiner Rule #242: udiv_by_shifted_pow2
6994 /* 25043 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner99),
6995 /* 25046 */ // Label 208: @25046
6996 /* 25046 */ GIM_Try, /*On fail goto*//*Label 209*/ GIMT_Encode4(25057), // Rule ID 374 //
6997 /* 25051 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule244Enabled),
6998 /* 25054 */ // MIs[0] dst
6999 /* 25054 */ // No operand predicates
7000 /* 25054 */ // MIs[0] x
7001 /* 25054 */ // No operand predicates
7002 /* 25054 */ // MIs[0] y
7003 /* 25054 */ // No operand predicates
7004 /* 25054 */ // Combiner Rule #244: udiv_by_const
7005 /* 25054 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner96),
7006 /* 25057 */ // Label 209: @25057
7007 /* 25057 */ GIM_Reject,
7008 /* 25058 */ // Label 6: @25058
7009 /* 25058 */ GIM_Try, /*On fail goto*//*Label 210*/ GIMT_Encode4(25081), // Rule ID 138 //
7010 /* 25063 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
7011 /* 25066 */ // MIs[0] dst
7012 /* 25066 */ // No operand predicates
7013 /* 25066 */ // MIs[0] zero
7014 /* 25066 */ // No operand predicates
7015 /* 25066 */ // MIs[0] rhs
7016 /* 25066 */ // No operand predicates
7017 /* 25066 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
7018 /* 25070 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7019 /* 25075 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[5]]
7020 /* 25075 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7021 /* 25080 */ GIR_EraseRootFromParent_Done,
7022 /* 25081 */ // Label 210: @25081
7023 /* 25081 */ GIM_Try, /*On fail goto*//*Label 211*/ GIMT_Encode4(25106), // Rule ID 206 //
7024 /* 25086 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
7025 /* 25089 */ // MIs[0] dst
7026 /* 25089 */ // No operand predicates
7027 /* 25089 */ // MIs[0] x
7028 /* 25089 */ // No operand predicates
7029 /* 25089 */ // MIs[0] y
7030 /* 25089 */ // No operand predicates
7031 /* 25089 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner32),
7032 /* 25093 */ // Combiner Rule #156: srem_to_unsigned
7033 /* 25093 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UREM),
7034 /* 25096 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
7035 /* 25098 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
7036 /* 25100 */ GIR_RootToRootCopy, /*OpIdx*/2, // y
7037 /* 25102 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
7038 /* 25105 */ GIR_EraseRootFromParent_Done,
7039 /* 25106 */ // Label 211: @25106
7040 /* 25106 */ GIM_Try, /*On fail goto*//*Label 212*/ GIMT_Encode4(25117), // Rule ID 258 //
7041 /* 25111 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
7042 /* 25114 */ // MIs[0] root
7043 /* 25114 */ // No operand predicates
7044 /* 25114 */ // MIs[0] mi.x
7045 /* 25114 */ // No operand predicates
7046 /* 25114 */ // MIs[0] mi.y
7047 /* 25114 */ // No operand predicates
7048 /* 25114 */ // Combiner Rule #196: div_rem_to_divrem @ [mi[2]]
7049 /* 25114 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner72),
7050 /* 25117 */ // Label 212: @25117
7051 /* 25117 */ GIM_Try, /*On fail goto*//*Label 213*/ GIMT_Encode4(25128), // Rule ID 294 //
7052 /* 25122 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
7053 /* 25125 */ // MIs[0] d
7054 /* 25125 */ // No operand predicates
7055 /* 25125 */ // MIs[0] mi.src0
7056 /* 25125 */ // No operand predicates
7057 /* 25125 */ // MIs[0] mi.src1
7058 /* 25125 */ // No operand predicates
7059 /* 25125 */ // Combiner Rule #213: constant_fold_binop @ [mi[13]]
7060 /* 25125 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
7061 /* 25128 */ // Label 213: @25128
7062 /* 25128 */ GIM_Try, /*On fail goto*//*Label 214*/ GIMT_Encode4(25139), // Rule ID 349 //
7063 /* 25133 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
7064 /* 25136 */ // MIs[0] root
7065 /* 25136 */ // No operand predicates
7066 /* 25136 */ // MIs[0] mi.x
7067 /* 25136 */ // No operand predicates
7068 /* 25136 */ // MIs[0] mi.y
7069 /* 25136 */ // No operand predicates
7070 /* 25136 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[7]]
7071 /* 25136 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
7072 /* 25139 */ // Label 214: @25139
7073 /* 25139 */ GIM_Try, /*On fail goto*//*Label 215*/ GIMT_Encode4(25150), // Rule ID 368 //
7074 /* 25144 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule238Enabled),
7075 /* 25147 */ // MIs[0] dst
7076 /* 25147 */ // No operand predicates
7077 /* 25147 */ // MIs[0] x
7078 /* 25147 */ // No operand predicates
7079 /* 25147 */ // MIs[0] y
7080 /* 25147 */ // No operand predicates
7081 /* 25147 */ // Combiner Rule #238: srem_pow2_to_mask
7082 /* 25147 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner95),
7083 /* 25150 */ // Label 215: @25150
7084 /* 25150 */ GIM_Try, /*On fail goto*//*Label 216*/ GIMT_Encode4(25161), // Rule ID 370 //
7085 /* 25155 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule240Enabled),
7086 /* 25158 */ // MIs[0] dst
7087 /* 25158 */ // No operand predicates
7088 /* 25158 */ // MIs[0] x
7089 /* 25158 */ // No operand predicates
7090 /* 25158 */ // MIs[0] y
7091 /* 25158 */ // No operand predicates
7092 /* 25158 */ // Combiner Rule #240: srem_by_const
7093 /* 25158 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner97),
7094 /* 25161 */ // Label 216: @25161
7095 /* 25161 */ GIM_Reject,
7096 /* 25162 */ // Label 7: @25162
7097 /* 25162 */ GIM_Try, /*On fail goto*//*Label 217*/ GIMT_Encode4(25185), // Rule ID 139 //
7098 /* 25167 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
7099 /* 25170 */ // MIs[0] dst
7100 /* 25170 */ // No operand predicates
7101 /* 25170 */ // MIs[0] zero
7102 /* 25170 */ // No operand predicates
7103 /* 25170 */ // MIs[0] rhs
7104 /* 25170 */ // No operand predicates
7105 /* 25170 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
7106 /* 25174 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7107 /* 25179 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[6]]
7108 /* 25179 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7109 /* 25184 */ GIR_EraseRootFromParent_Done,
7110 /* 25185 */ // Label 217: @25185
7111 /* 25185 */ GIM_Try, /*On fail goto*//*Label 218*/ GIMT_Encode4(25206), // Rule ID 93 //
7112 /* 25190 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
7113 /* 25193 */ // MIs[0] dst
7114 /* 25193 */ // No operand predicates
7115 /* 25193 */ // MIs[0] __binop_left_undef_to_zero_match_0.x
7116 /* 25193 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7117 /* 25197 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7118 /* 25201 */ // MIs[0] __binop_left_undef_to_zero_match_0.y
7119 /* 25201 */ // No operand predicates
7120 /* 25201 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7121 /* 25203 */ // Combiner Rule #80: binop_left_undef_to_zero @ [__binop_left_undef_to_zero_match_0[2]]
7122 /* 25203 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
7123 /* 25206 */ // Label 218: @25206
7124 /* 25206 */ GIM_Try, /*On fail goto*//*Label 219*/ GIMT_Encode4(25217), // Rule ID 202 //
7125 /* 25211 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
7126 /* 25214 */ // MIs[0] dst
7127 /* 25214 */ // No operand predicates
7128 /* 25214 */ // MIs[0] x
7129 /* 25214 */ // No operand predicates
7130 /* 25214 */ // MIs[0] y
7131 /* 25214 */ // No operand predicates
7132 /* 25214 */ // Combiner Rule #152: urem_pow2_to_mask
7133 /* 25214 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner57),
7134 /* 25217 */ // Label 219: @25217
7135 /* 25217 */ GIM_Try, /*On fail goto*//*Label 220*/ GIMT_Encode4(25228), // Rule ID 259 //
7136 /* 25222 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
7137 /* 25225 */ // MIs[0] root
7138 /* 25225 */ // No operand predicates
7139 /* 25225 */ // MIs[0] mi.x
7140 /* 25225 */ // No operand predicates
7141 /* 25225 */ // MIs[0] mi.y
7142 /* 25225 */ // No operand predicates
7143 /* 25225 */ // Combiner Rule #196: div_rem_to_divrem @ [mi[3]]
7144 /* 25225 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner72),
7145 /* 25228 */ // Label 220: @25228
7146 /* 25228 */ GIM_Try, /*On fail goto*//*Label 221*/ GIMT_Encode4(25239), // Rule ID 293 //
7147 /* 25233 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
7148 /* 25236 */ // MIs[0] d
7149 /* 25236 */ // No operand predicates
7150 /* 25236 */ // MIs[0] mi.src0
7151 /* 25236 */ // No operand predicates
7152 /* 25236 */ // MIs[0] mi.src1
7153 /* 25236 */ // No operand predicates
7154 /* 25236 */ // Combiner Rule #213: constant_fold_binop @ [mi[12]]
7155 /* 25236 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
7156 /* 25239 */ // Label 221: @25239
7157 /* 25239 */ GIM_Try, /*On fail goto*//*Label 222*/ GIMT_Encode4(25250), // Rule ID 351 //
7158 /* 25244 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
7159 /* 25247 */ // MIs[0] root
7160 /* 25247 */ // No operand predicates
7161 /* 25247 */ // MIs[0] mi.x
7162 /* 25247 */ // No operand predicates
7163 /* 25247 */ // MIs[0] mi.y
7164 /* 25247 */ // No operand predicates
7165 /* 25247 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[9]]
7166 /* 25247 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
7167 /* 25250 */ // Label 222: @25250
7168 /* 25250 */ GIM_Try, /*On fail goto*//*Label 223*/ GIMT_Encode4(25261), // Rule ID 369 //
7169 /* 25255 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule239Enabled),
7170 /* 25258 */ // MIs[0] dst
7171 /* 25258 */ // No operand predicates
7172 /* 25258 */ // MIs[0] x
7173 /* 25258 */ // No operand predicates
7174 /* 25258 */ // MIs[0] y
7175 /* 25258 */ // No operand predicates
7176 /* 25258 */ // Combiner Rule #239: urem_by_const
7177 /* 25258 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner96),
7178 /* 25261 */ // Label 223: @25261
7179 /* 25261 */ GIM_Reject,
7180 /* 25262 */ // Label 8: @25262
7181 /* 25262 */ GIM_Try, /*On fail goto*//*Label 224*/ GIMT_Encode4(25273), // Rule ID 508 //
7182 /* 25267 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule367Enabled),
7183 /* 25270 */ // Combiner Rule #367: simplify_demanded_bits; wip_match_opcode 'G_AND'
7184 /* 25270 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
7185 /* 25273 */ // Label 224: @25273
7186 /* 25273 */ GIM_Try, /*On fail goto*//*Label 225*/ GIMT_Encode4(25371), // Rule ID 178 //
7187 /* 25278 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule128Enabled),
7188 /* 25281 */ // MIs[0] root
7189 /* 25281 */ // No operand predicates
7190 /* 25281 */ // MIs[0] d1
7191 /* 25281 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7192 /* 25285 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
7193 /* 25289 */ // MIs[1] p
7194 /* 25289 */ // No operand predicates
7195 /* 25289 */ // MIs[1] s1
7196 /* 25289 */ GIM_RecordRegType, /*MI*/1, /*Op*/2, /*TempTypeIdx*/255,
7197 /* 25293 */ // MIs[1] Operand 3
7198 /* 25293 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
7199 /* 25297 */ // MIs[0] d2
7200 /* 25297 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7201 /* 25301 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ICMP),
7202 /* 25305 */ // MIs[2] p
7203 /* 25305 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7204 /* 25310 */ // MIs[2] s2
7205 /* 25310 */ // No operand predicates
7206 /* 25310 */ // MIs[2] Operand 3
7207 /* 25310 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/3, 0,
7208 /* 25314 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner23),
7209 /* 25318 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7210 /* 25320 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7211 /* 25323 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
7212 /* 25333 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7213 /* 25336 */ // Combiner Rule #128: double_icmp_zero_and_combine
7214 /* 25336 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7215 /* 25339 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7216 /* 25344 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // s1
7217 /* 25348 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // s2
7218 /* 25352 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ICMP),
7219 /* 25356 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
7220 /* 25360 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // p
7221 /* 25364 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7222 /* 25367 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
7223 /* 25370 */ GIR_EraseRootFromParent_Done,
7224 /* 25371 */ // Label 225: @25371
7225 /* 25371 */ GIM_Try, /*On fail goto*//*Label 226*/ GIMT_Encode4(25485), // Rule ID 499 //
7226 /* 25376 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule359Enabled),
7227 /* 25379 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
7228 /* 25382 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
7229 /* 25385 */ // MIs[0] dst
7230 /* 25385 */ // No operand predicates
7231 /* 25385 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner69),
7232 /* 25389 */ GIR_MakeTempReg, /*TempRegID*/5, /*TypeID*/GILLT_i32,
7233 /* 25392 */ GIR_MakeTempReg, /*TempRegID*/4, /*TypeID*/GILLT_i32,
7234 /* 25395 */ GIR_MakeTempReg, /*TempRegID*/3, /*TypeID*/GILLT_i32,
7235 /* 25398 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/GILLT_i32,
7236 /* 25401 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i32,
7237 /* 25404 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i32,
7238 /* 25407 */ // Combiner Rule #359: combine_and_s64_with_s32_mask
7239 /* 25407 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7240 /* 25410 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7241 /* 25415 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7242 /* 25420 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
7243 /* 25422 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7244 /* 25426 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7245 /* 25431 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/3, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7246 /* 25436 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // y
7247 /* 25440 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
7248 /* 25444 */ GIR_AddTempRegister, /*InsnID*/2, /*TempRegID*/4, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7249 /* 25449 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
7250 /* 25452 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
7251 /* 25455 */ GIR_BuildMI, /*InsnID*/3, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
7252 /* 25459 */ GIR_AddTempRegister, /*InsnID*/3, /*TempRegID*/5, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7253 /* 25464 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/1,
7254 /* 25467 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/3,
7255 /* 25470 */ GIR_BuildMI, /*InsnID*/4, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
7256 /* 25474 */ GIR_Copy, /*NewInsnID*/4, /*OldInsnID*/0, /*OpIdx*/0, // dst
7257 /* 25478 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/4,
7258 /* 25481 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/5,
7259 /* 25484 */ GIR_EraseRootFromParent_Done,
7260 /* 25485 */ // Label 226: @25485
7261 /* 25485 */ GIM_Try, /*On fail goto*//*Label 227*/ GIMT_Encode4(25510), // Rule ID 385 //
7262 /* 25490 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule255Enabled),
7263 /* 25493 */ // MIs[0] dst
7264 /* 25493 */ // No operand predicates
7265 /* 25493 */ // MIs[0] lhs
7266 /* 25493 */ // No operand predicates
7267 /* 25493 */ // MIs[0] rhs
7268 /* 25493 */ // No operand predicates
7269 /* 25493 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
7270 /* 25497 */ // Combiner Rule #255: G_AND_commute_constant_to_rhs
7271 /* 25497 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
7272 /* 25500 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
7273 /* 25502 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
7274 /* 25504 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
7275 /* 25506 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
7276 /* 25509 */ GIR_EraseRootFromParent_Done,
7277 /* 25510 */ // Label 227: @25510
7278 /* 25510 */ GIM_Try, /*On fail goto*//*Label 228*/ GIMT_Encode4(25596), // Rule ID 417 //
7279 /* 25515 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule287Enabled),
7280 /* 25518 */ // MIs[0] root
7281 /* 25518 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
7282 /* 25522 */ // MIs[0] or
7283 /* 25522 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7284 /* 25526 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
7285 /* 25530 */ // MIs[1] x
7286 /* 25530 */ // No operand predicates
7287 /* 25530 */ // MIs[1] y
7288 /* 25530 */ // No operand predicates
7289 /* 25530 */ // MIs[0] not
7290 /* 25530 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7291 /* 25534 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
7292 /* 25538 */ // MIs[2] y
7293 /* 25538 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
7294 /* 25543 */ // MIs[2] Operand 2
7295 /* 25543 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
7296 /* 25547 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7297 /* 25549 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7298 /* 25552 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
7299 /* 25562 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7300 /* 25565 */ // Combiner Rule #287: and_xor_or_to_xor_and
7301 /* 25565 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
7302 /* 25568 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7303 /* 25573 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
7304 /* 25577 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
7305 /* 25580 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
7306 /* 25584 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
7307 /* 25588 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
7308 /* 25592 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7309 /* 25595 */ GIR_EraseRootFromParent_Done,
7310 /* 25596 */ // Label 228: @25596
7311 /* 25596 */ GIM_Try, /*On fail goto*//*Label 229*/ GIMT_Encode4(25633), // Rule ID 276 //
7312 /* 25601 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule210Enabled),
7313 /* 25604 */ // MIs[0] root
7314 /* 25604 */ // No operand predicates
7315 /* 25604 */ // MIs[0] shift
7316 /* 25604 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7317 /* 25608 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
7318 /* 25612 */ // MIs[1] x
7319 /* 25612 */ // No operand predicates
7320 /* 25612 */ // MIs[1] lsb
7321 /* 25612 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7322 /* 25616 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7323 /* 25620 */ // MIs[2] imm1
7324 /* 25620 */ // No operand predicates
7325 /* 25620 */ // MIs[0] mask
7326 /* 25620 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
7327 /* 25624 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
7328 /* 25628 */ // MIs[3] imm2
7329 /* 25628 */ // No operand predicates
7330 /* 25628 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
7331 /* 25630 */ // Combiner Rule #210: bitfield_extract_from_and
7332 /* 25630 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner76),
7333 /* 25633 */ // Label 229: @25633
7334 /* 25633 */ GIM_Try, /*On fail goto*//*Label 230*/ GIMT_Encode4(25682), // Rule ID 416 //
7335 /* 25638 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule286Enabled),
7336 /* 25641 */ // MIs[0] root
7337 /* 25641 */ // No operand predicates
7338 /* 25641 */ // MIs[0] or
7339 /* 25641 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7340 /* 25645 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
7341 /* 25649 */ // MIs[1] x
7342 /* 25649 */ // No operand predicates
7343 /* 25649 */ // MIs[1] not
7344 /* 25649 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7345 /* 25653 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
7346 /* 25657 */ // MIs[2] y
7347 /* 25657 */ // No operand predicates
7348 /* 25657 */ // MIs[2] Operand 2
7349 /* 25657 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
7350 /* 25661 */ // MIs[0] y
7351 /* 25661 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
7352 /* 25666 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7353 /* 25668 */ // Combiner Rule #286: and_xor_or_to_and
7354 /* 25668 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
7355 /* 25671 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
7356 /* 25673 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7357 /* 25677 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
7358 /* 25681 */ GIR_EraseRootFromParent_Done,
7359 /* 25682 */ // Label 230: @25682
7360 /* 25682 */ GIM_Try, /*On fail goto*//*Label 231*/ GIMT_Encode4(25703), // Rule ID 85 //
7361 /* 25687 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
7362 /* 25690 */ // MIs[0] dst
7363 /* 25690 */ // No operand predicates
7364 /* 25690 */ // MIs[0] __undef_to_int_zero_match_0.x
7365 /* 25690 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7366 /* 25694 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7367 /* 25698 */ // MIs[0] __undef_to_int_zero_match_0.y
7368 /* 25698 */ // No operand predicates
7369 /* 25698 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7370 /* 25700 */ // Combiner Rule #78: undef_to_int_zero @ [__undef_to_int_zero_match_0[0]]
7371 /* 25700 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
7372 /* 25703 */ // Label 231: @25703
7373 /* 25703 */ GIM_Try, /*On fail goto*//*Label 232*/ GIMT_Encode4(25727), // Rule ID 129 //
7374 /* 25708 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule94Enabled),
7375 /* 25711 */ // MIs[0] dst
7376 /* 25711 */ // No operand predicates
7377 /* 25711 */ // MIs[0] src
7378 /* 25711 */ // No operand predicates
7379 /* 25711 */ // MIs[0] src
7380 /* 25711 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
7381 /* 25716 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7382 /* 25721 */ // Combiner Rule #94: binop_same_val @ [__binop_same_val_match_0[0]]
7383 /* 25721 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7384 /* 25726 */ GIR_EraseRootFromParent_Done,
7385 /* 25727 */ // Label 232: @25727
7386 /* 25727 */ GIM_Try, /*On fail goto*//*Label 233*/ GIMT_Encode4(25748), // Rule ID 87 //
7387 /* 25732 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
7388 /* 25735 */ // MIs[0] dst
7389 /* 25735 */ // No operand predicates
7390 /* 25735 */ // MIs[0] __undef_to_int_zero_match_0.x
7391 /* 25735 */ // No operand predicates
7392 /* 25735 */ // MIs[0] __undef_to_int_zero_match_0.y
7393 /* 25735 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
7394 /* 25739 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7395 /* 25743 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7396 /* 25745 */ // Combiner Rule #78: undef_to_int_zero @ [__undef_to_int_zero_match_0[2]]
7397 /* 25745 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
7398 /* 25748 */ // Label 233: @25748
7399 /* 25748 */ GIM_Try, /*On fail goto*//*Label 234*/ GIMT_Encode4(25759), // Rule ID 81 //
7400 /* 25753 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
7401 /* 25756 */ // MIs[0] dst
7402 /* 25756 */ // No operand predicates
7403 /* 25756 */ // MIs[0] src1
7404 /* 25756 */ // No operand predicates
7405 /* 25756 */ // MIs[0] src2
7406 /* 25756 */ // No operand predicates
7407 /* 25756 */ // Combiner Rule #75: load_and_mask
7408 /* 25756 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner28),
7409 /* 25759 */ // Label 234: @25759
7410 /* 25759 */ GIM_Try, /*On fail goto*//*Label 235*/ GIMT_Encode4(25770), // Rule ID 165 //
7411 /* 25764 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
7412 /* 25767 */ // MIs[0] root
7413 /* 25767 */ // No operand predicates
7414 /* 25767 */ // MIs[0] mi.x
7415 /* 25767 */ // No operand predicates
7416 /* 25767 */ // MIs[0] mi.y
7417 /* 25767 */ // No operand predicates
7418 /* 25767 */ // Combiner Rule #119: hoist_logic_op_with_same_opcode_hands @ [mi[0]]
7419 /* 25767 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
7420 /* 25770 */ // Label 235: @25770
7421 /* 25770 */ GIM_Try, /*On fail goto*//*Label 236*/ GIMT_Encode4(25781), // Rule ID 185 //
7422 /* 25775 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule135Enabled),
7423 /* 25778 */ // MIs[0] dst
7424 /* 25778 */ // No operand predicates
7425 /* 25778 */ // MIs[0] src1
7426 /* 25778 */ // No operand predicates
7427 /* 25778 */ // MIs[0] src2
7428 /* 25778 */ // No operand predicates
7429 /* 25778 */ // Combiner Rule #135: narrow_binop_feeding_and
7430 /* 25778 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner51),
7431 /* 25781 */ // Label 236: @25781
7432 /* 25781 */ GIM_Try, /*On fail goto*//*Label 237*/ GIMT_Encode4(25792), // Rule ID 200 //
7433 /* 25786 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule150Enabled),
7434 /* 25789 */ // MIs[0] dst
7435 /* 25789 */ // No operand predicates
7436 /* 25789 */ // MIs[0] src1
7437 /* 25789 */ // No operand predicates
7438 /* 25789 */ // MIs[0] src2
7439 /* 25789 */ // No operand predicates
7440 /* 25789 */ // Combiner Rule #150: redundant_and
7441 /* 25789 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner55),
7442 /* 25792 */ // Label 237: @25792
7443 /* 25792 */ GIM_Try, /*On fail goto*//*Label 238*/ GIMT_Encode4(25803), // Rule ID 226 //
7444 /* 25797 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule176Enabled),
7445 /* 25800 */ // MIs[0] dst
7446 /* 25800 */ // No operand predicates
7447 /* 25800 */ // MIs[0] x
7448 /* 25800 */ // No operand predicates
7449 /* 25800 */ // MIs[0] y
7450 /* 25800 */ // No operand predicates
7451 /* 25800 */ // Combiner Rule #176: overlapping_and
7452 /* 25800 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner65),
7453 /* 25803 */ // Label 238: @25803
7454 /* 25803 */ GIM_Try, /*On fail goto*//*Label 239*/ GIMT_Encode4(25814), // Rule ID 283 //
7455 /* 25808 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
7456 /* 25811 */ // MIs[0] d
7457 /* 25811 */ // No operand predicates
7458 /* 25811 */ // MIs[0] mi.src0
7459 /* 25811 */ // No operand predicates
7460 /* 25811 */ // MIs[0] mi.src1
7461 /* 25811 */ // No operand predicates
7462 /* 25811 */ // Combiner Rule #213: constant_fold_binop @ [mi[2]]
7463 /* 25811 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
7464 /* 25814 */ // Label 239: @25814
7465 /* 25814 */ GIM_Try, /*On fail goto*//*Label 240*/ GIMT_Encode4(25825), // Rule ID 333 //
7466 /* 25819 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule227Enabled),
7467 /* 25822 */ // MIs[0] dst
7468 /* 25822 */ // No operand predicates
7469 /* 25822 */ // MIs[0] src1
7470 /* 25822 */ // No operand predicates
7471 /* 25822 */ // MIs[0] src2
7472 /* 25822 */ // No operand predicates
7473 /* 25822 */ // Combiner Rule #227: and_or_disjoint_mask
7474 /* 25822 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner85),
7475 /* 25825 */ // Label 240: @25825
7476 /* 25825 */ GIM_Try, /*On fail goto*//*Label 241*/ GIMT_Encode4(25836), // Rule ID 345 //
7477 /* 25830 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
7478 /* 25833 */ // MIs[0] root
7479 /* 25833 */ // No operand predicates
7480 /* 25833 */ // MIs[0] mi.x
7481 /* 25833 */ // No operand predicates
7482 /* 25833 */ // MIs[0] mi.y
7483 /* 25833 */ // No operand predicates
7484 /* 25833 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[3]]
7485 /* 25833 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
7486 /* 25836 */ // Label 241: @25836
7487 /* 25836 */ GIM_Try, /*On fail goto*//*Label 242*/ GIMT_Encode4(25847), // Rule ID 412 //
7488 /* 25841 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule282Enabled),
7489 /* 25844 */ // MIs[0] dst
7490 /* 25844 */ // No operand predicates
7491 /* 25844 */ // MIs[0] src1
7492 /* 25844 */ // No operand predicates
7493 /* 25844 */ // MIs[0] src2
7494 /* 25844 */ // No operand predicates
7495 /* 25844 */ // Combiner Rule #282: match_ands
7496 /* 25844 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner103),
7497 /* 25847 */ // Label 242: @25847
7498 /* 25847 */ GIM_Try, /*On fail goto*//*Label 243*/ GIMT_Encode4(25858), // Rule ID 459 //
7499 /* 25852 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule328Enabled),
7500 /* 25855 */ // MIs[0] root
7501 /* 25855 */ // No operand predicates
7502 /* 25855 */ // MIs[0] mi.x
7503 /* 25855 */ // No operand predicates
7504 /* 25855 */ // MIs[0] mi.y
7505 /* 25855 */ // No operand predicates
7506 /* 25855 */ // Combiner Rule #328: binop_with_neg @ [mi[0]]
7507 /* 25855 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner128),
7508 /* 25858 */ // Label 243: @25858
7509 /* 25858 */ GIM_Reject,
7510 /* 25859 */ // Label 9: @25859
7511 /* 25859 */ GIM_Try, /*On fail goto*//*Label 244*/ GIMT_Encode4(25870), // Rule ID 509 //
7512 /* 25864 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule367Enabled),
7513 /* 25867 */ // Combiner Rule #367: simplify_demanded_bits; wip_match_opcode 'G_OR'
7514 /* 25867 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
7515 /* 25870 */ // Label 244: @25870
7516 /* 25870 */ GIM_Try, /*On fail goto*//*Label 245*/ GIMT_Encode4(25968), // Rule ID 179 //
7517 /* 25875 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule129Enabled),
7518 /* 25878 */ // MIs[0] root
7519 /* 25878 */ // No operand predicates
7520 /* 25878 */ // MIs[0] d1
7521 /* 25878 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7522 /* 25882 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
7523 /* 25886 */ // MIs[1] p
7524 /* 25886 */ // No operand predicates
7525 /* 25886 */ // MIs[1] s1
7526 /* 25886 */ GIM_RecordRegType, /*MI*/1, /*Op*/2, /*TempTypeIdx*/255,
7527 /* 25890 */ // MIs[1] Operand 3
7528 /* 25890 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/3, 0,
7529 /* 25894 */ // MIs[0] d2
7530 /* 25894 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7531 /* 25898 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ICMP),
7532 /* 25902 */ // MIs[2] p
7533 /* 25902 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7534 /* 25907 */ // MIs[2] s2
7535 /* 25907 */ // No operand predicates
7536 /* 25907 */ // MIs[2] Operand 3
7537 /* 25907 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/3, 0,
7538 /* 25911 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner24),
7539 /* 25915 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7540 /* 25917 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7541 /* 25920 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(0),
7542 /* 25930 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7543 /* 25933 */ // Combiner Rule #129: double_icmp_zero_or_combine
7544 /* 25933 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7545 /* 25936 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7546 /* 25941 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // s1
7547 /* 25945 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/2, // s2
7548 /* 25949 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ICMP),
7549 /* 25953 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
7550 /* 25957 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // p
7551 /* 25961 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7552 /* 25964 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
7553 /* 25967 */ GIR_EraseRootFromParent_Done,
7554 /* 25968 */ // Label 245: @25968
7555 /* 25968 */ GIM_Try, /*On fail goto*//*Label 246*/ GIMT_Encode4(26082), // Rule ID 498 //
7556 /* 25973 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule358Enabled),
7557 /* 25976 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
7558 /* 25979 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
7559 /* 25982 */ // MIs[0] dst
7560 /* 25982 */ // No operand predicates
7561 /* 25982 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner69),
7562 /* 25986 */ GIR_MakeTempReg, /*TempRegID*/5, /*TypeID*/GILLT_i32,
7563 /* 25989 */ GIR_MakeTempReg, /*TempRegID*/4, /*TypeID*/GILLT_i32,
7564 /* 25992 */ GIR_MakeTempReg, /*TempRegID*/3, /*TypeID*/GILLT_i32,
7565 /* 25995 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/GILLT_i32,
7566 /* 25998 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i32,
7567 /* 26001 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i32,
7568 /* 26004 */ // Combiner Rule #358: combine_or_s64_with_s32_mask
7569 /* 26004 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7570 /* 26007 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7571 /* 26012 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7572 /* 26017 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
7573 /* 26019 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7574 /* 26023 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7575 /* 26028 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/3, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7576 /* 26033 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // y
7577 /* 26037 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7578 /* 26041 */ GIR_AddTempRegister, /*InsnID*/2, /*TempRegID*/4, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7579 /* 26046 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
7580 /* 26049 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
7581 /* 26052 */ GIR_BuildMI, /*InsnID*/3, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7582 /* 26056 */ GIR_AddTempRegister, /*InsnID*/3, /*TempRegID*/5, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7583 /* 26061 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/1,
7584 /* 26064 */ GIR_AddSimpleTempRegister, /*InsnID*/3, /*TempRegID*/3,
7585 /* 26067 */ GIR_BuildMI, /*InsnID*/4, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
7586 /* 26071 */ GIR_Copy, /*NewInsnID*/4, /*OldInsnID*/0, /*OpIdx*/0, // dst
7587 /* 26075 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/4,
7588 /* 26078 */ GIR_AddSimpleTempRegister, /*InsnID*/4, /*TempRegID*/5,
7589 /* 26081 */ GIR_EraseRootFromParent_Done,
7590 /* 26082 */ // Label 246: @26082
7591 /* 26082 */ GIM_Try, /*On fail goto*//*Label 247*/ GIMT_Encode4(26107), // Rule ID 386 //
7592 /* 26087 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule256Enabled),
7593 /* 26090 */ // MIs[0] dst
7594 /* 26090 */ // No operand predicates
7595 /* 26090 */ // MIs[0] lhs
7596 /* 26090 */ // No operand predicates
7597 /* 26090 */ // MIs[0] rhs
7598 /* 26090 */ // No operand predicates
7599 /* 26090 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
7600 /* 26094 */ // Combiner Rule #256: G_OR_commute_constant_to_rhs
7601 /* 26094 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7602 /* 26097 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
7603 /* 26099 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
7604 /* 26101 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
7605 /* 26103 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
7606 /* 26106 */ GIR_EraseRootFromParent_Done,
7607 /* 26107 */ // Label 247: @26107
7608 /* 26107 */ GIM_Try, /*On fail goto*//*Label 248*/ GIMT_Encode4(26193), // Rule ID 415 //
7609 /* 26112 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule285Enabled),
7610 /* 26115 */ // MIs[0] root
7611 /* 26115 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
7612 /* 26119 */ // MIs[0] and
7613 /* 26119 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7614 /* 26123 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7615 /* 26127 */ // MIs[1] x
7616 /* 26127 */ // No operand predicates
7617 /* 26127 */ // MIs[1] y
7618 /* 26127 */ // No operand predicates
7619 /* 26127 */ // MIs[0] not
7620 /* 26127 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7621 /* 26131 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
7622 /* 26135 */ // MIs[2] y
7623 /* 26135 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
7624 /* 26140 */ // MIs[2] Operand 2
7625 /* 26140 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
7626 /* 26144 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7627 /* 26146 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7628 /* 26149 */ GIR_BuildConstant, /*TempRegID*/1, /*Val*/GIMT_Encode8(18446744073709551615u),
7629 /* 26159 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7630 /* 26162 */ // Combiner Rule #285: or_and_xor_to_xor_or
7631 /* 26162 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
7632 /* 26165 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7633 /* 26170 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
7634 /* 26174 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/1,
7635 /* 26177 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7636 /* 26181 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // root
7637 /* 26185 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // x
7638 /* 26189 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7639 /* 26192 */ GIR_EraseRootFromParent_Done,
7640 /* 26193 */ // Label 248: @26193
7641 /* 26193 */ GIM_Try, /*On fail goto*//*Label 249*/ GIMT_Encode4(26280), // Rule ID 501 //
7642 /* 26198 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule360Enabled),
7643 /* 26201 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
7644 /* 26204 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
7645 /* 26207 */ // MIs[0] dst
7646 /* 26207 */ // No operand predicates
7647 /* 26207 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7648 /* 26211 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
7649 /* 26215 */ GIM_CheckType, /*MI*/1, /*Op*/1, /*Type*/GILLT_i32,
7650 /* 26219 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
7651 /* 26223 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7652 /* 26225 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
7653 /* 26228 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7654 /* 26231 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7655 /* 26234 */ // Combiner Rule #360: combine_or_s64_s32 @ [dst[1]]
7656 /* 26234 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7657 /* 26237 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7658 /* 26242 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7659 /* 26247 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
7660 /* 26249 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7661 /* 26253 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7662 /* 26258 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7663 /* 26261 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // y
7664 /* 26265 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
7665 /* 26269 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
7666 /* 26273 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
7667 /* 26276 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
7668 /* 26279 */ GIR_EraseRootFromParent_Done,
7669 /* 26280 */ // Label 249: @26280
7670 /* 26280 */ GIM_Try, /*On fail goto*//*Label 250*/ GIMT_Encode4(26327), // Rule ID 267 //
7671 /* 26285 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule203Enabled),
7672 /* 26288 */ // MIs[0] root
7673 /* 26288 */ // No operand predicates
7674 /* 26288 */ // MIs[0] out1
7675 /* 26288 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7676 /* 26292 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSHL),
7677 /* 26296 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
7678 /* 26296 */ // No operand predicates
7679 /* 26296 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.z
7680 /* 26296 */ // No operand predicates
7681 /* 26296 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
7682 /* 26296 */ // No operand predicates
7683 /* 26296 */ // MIs[0] out2
7684 /* 26296 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7685 /* 26300 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SHL),
7686 /* 26304 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
7687 /* 26304 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7688 /* 26309 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
7689 /* 26309 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
7690 /* 26314 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7691 /* 26319 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7692 /* 26321 */ // Combiner Rule #203: funnel_shift_or_shift_to_funnel_shift_left @ [__funnel_shift_or_shift_to_funnel_shift_left_match_0[0]]
7693 /* 26321 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7694 /* 26326 */ GIR_EraseRootFromParent_Done,
7695 /* 26327 */ // Label 250: @26327
7696 /* 26327 */ GIM_Try, /*On fail goto*//*Label 251*/ GIMT_Encode4(26374), // Rule ID 269 //
7697 /* 26332 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
7698 /* 26335 */ // MIs[0] root
7699 /* 26335 */ // No operand predicates
7700 /* 26335 */ // MIs[0] out1
7701 /* 26335 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7702 /* 26339 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSHR),
7703 /* 26343 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.z
7704 /* 26343 */ // No operand predicates
7705 /* 26343 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
7706 /* 26343 */ // No operand predicates
7707 /* 26343 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
7708 /* 26343 */ // No operand predicates
7709 /* 26343 */ // MIs[0] out2
7710 /* 26343 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7711 /* 26347 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_LSHR),
7712 /* 26351 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
7713 /* 26351 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/2,
7714 /* 26356 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
7715 /* 26356 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
7716 /* 26361 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7717 /* 26366 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7718 /* 26368 */ // Combiner Rule #204: funnel_shift_or_shift_to_funnel_shift_right @ [__funnel_shift_or_shift_to_funnel_shift_right_match_0[0]]
7719 /* 26368 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7720 /* 26373 */ GIR_EraseRootFromParent_Done,
7721 /* 26374 */ // Label 251: @26374
7722 /* 26374 */ GIM_Try, /*On fail goto*//*Label 252*/ GIMT_Encode4(26423), // Rule ID 414 //
7723 /* 26379 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule284Enabled),
7724 /* 26382 */ // MIs[0] root
7725 /* 26382 */ // No operand predicates
7726 /* 26382 */ // MIs[0] and
7727 /* 26382 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7728 /* 26386 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7729 /* 26390 */ // MIs[1] x
7730 /* 26390 */ // No operand predicates
7731 /* 26390 */ // MIs[1] not
7732 /* 26390 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
7733 /* 26394 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_XOR),
7734 /* 26398 */ // MIs[2] y
7735 /* 26398 */ // No operand predicates
7736 /* 26398 */ // MIs[2] Operand 2
7737 /* 26398 */ GIM_CheckConstantInt8, /*MI*/2, /*Op*/2, 255,
7738 /* 26402 */ // MIs[0] y
7739 /* 26402 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/2, /*OtherOpIdx*/1,
7740 /* 26407 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7741 /* 26409 */ // Combiner Rule #284: or_and_xor_to_or
7742 /* 26409 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7743 /* 26412 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
7744 /* 26414 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7745 /* 26418 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
7746 /* 26422 */ GIR_EraseRootFromParent_Done,
7747 /* 26423 */ // Label 252: @26423
7748 /* 26423 */ GIM_Try, /*On fail goto*//*Label 253*/ GIMT_Encode4(26457), // Rule ID 472 //
7749 /* 26428 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule339Enabled),
7750 /* 26431 */ // MIs[0] dst
7751 /* 26431 */ // No operand predicates
7752 /* 26431 */ // MIs[0] __combine_or_of_and_match_0.and
7753 /* 26431 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7754 /* 26435 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7755 /* 26439 */ // MIs[1] x
7756 /* 26439 */ // No operand predicates
7757 /* 26439 */ // MIs[1] y
7758 /* 26439 */ // No operand predicates
7759 /* 26439 */ // MIs[0] x
7760 /* 26439 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
7761 /* 26444 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
7762 /* 26449 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7763 /* 26451 */ // Combiner Rule #339: combine_or_of_and @ [__combine_or_of_and_match_0[0]]
7764 /* 26451 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
7765 /* 26456 */ GIR_EraseRootFromParent_Done,
7766 /* 26457 */ // Label 253: @26457
7767 /* 26457 */ GIM_Try, /*On fail goto*//*Label 254*/ GIMT_Encode4(26491), // Rule ID 473 //
7768 /* 26462 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule339Enabled),
7769 /* 26465 */ // MIs[0] dst
7770 /* 26465 */ // No operand predicates
7771 /* 26465 */ // MIs[0] __combine_or_of_and_match_0.and
7772 /* 26465 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7773 /* 26469 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7774 /* 26473 */ // MIs[1] y
7775 /* 26473 */ // No operand predicates
7776 /* 26473 */ // MIs[1] x
7777 /* 26473 */ // No operand predicates
7778 /* 26473 */ // MIs[0] x
7779 /* 26473 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
7780 /* 26478 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
7781 /* 26483 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7782 /* 26485 */ // Combiner Rule #339: combine_or_of_and @ [__combine_or_of_and_match_0[1]]
7783 /* 26485 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
7784 /* 26490 */ GIR_EraseRootFromParent_Done,
7785 /* 26491 */ // Label 254: @26491
7786 /* 26491 */ GIM_Try, /*On fail goto*//*Label 255*/ GIMT_Encode4(26538), // Rule ID 270 //
7787 /* 26496 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
7788 /* 26499 */ // MIs[0] root
7789 /* 26499 */ // No operand predicates
7790 /* 26499 */ // MIs[0] out2
7791 /* 26499 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7792 /* 26503 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
7793 /* 26507 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
7794 /* 26507 */ // No operand predicates
7795 /* 26507 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
7796 /* 26507 */ // No operand predicates
7797 /* 26507 */ // MIs[0] out1
7798 /* 26507 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7799 /* 26511 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FSHR),
7800 /* 26515 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.z
7801 /* 26515 */ // No operand predicates
7802 /* 26515 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.x
7803 /* 26515 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/1,
7804 /* 26520 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_right_match_0.y
7805 /* 26520 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
7806 /* 26525 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
7807 /* 26530 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7808 /* 26532 */ // Combiner Rule #204: funnel_shift_or_shift_to_funnel_shift_right @ [__funnel_shift_or_shift_to_funnel_shift_right_match_0[1]]
7809 /* 26532 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
7810 /* 26537 */ GIR_EraseRootFromParent_Done,
7811 /* 26538 */ // Label 255: @26538
7812 /* 26538 */ GIM_Try, /*On fail goto*//*Label 256*/ GIMT_Encode4(26585), // Rule ID 268 //
7813 /* 26543 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule203Enabled),
7814 /* 26546 */ // MIs[0] root
7815 /* 26546 */ // No operand predicates
7816 /* 26546 */ // MIs[0] out2
7817 /* 26546 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7818 /* 26550 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
7819 /* 26554 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
7820 /* 26554 */ // No operand predicates
7821 /* 26554 */ // MIs[1] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
7822 /* 26554 */ // No operand predicates
7823 /* 26554 */ // MIs[0] out1
7824 /* 26554 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7825 /* 26558 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FSHL),
7826 /* 26562 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.x
7827 /* 26562 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7828 /* 26567 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.z
7829 /* 26567 */ // No operand predicates
7830 /* 26567 */ // MIs[2] __funnel_shift_or_shift_to_funnel_shift_left_match_0.y
7831 /* 26567 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
7832 /* 26572 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
7833 /* 26577 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7834 /* 26579 */ // Combiner Rule #203: funnel_shift_or_shift_to_funnel_shift_left @ [__funnel_shift_or_shift_to_funnel_shift_left_match_0[1]]
7835 /* 26579 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
7836 /* 26584 */ GIR_EraseRootFromParent_Done,
7837 /* 26585 */ // Label 256: @26585
7838 /* 26585 */ GIM_Try, /*On fail goto*//*Label 257*/ GIMT_Encode4(26635), // Rule ID 419 //
7839 /* 26590 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule289Enabled),
7840 /* 26593 */ // MIs[0] root
7841 /* 26593 */ // No operand predicates
7842 /* 26593 */ // MIs[0] xor
7843 /* 26593 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7844 /* 26597 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
7845 /* 26601 */ // MIs[1] x
7846 /* 26601 */ // No operand predicates
7847 /* 26601 */ // MIs[1] y
7848 /* 26601 */ // No operand predicates
7849 /* 26601 */ // MIs[0] and
7850 /* 26601 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7851 /* 26605 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_AND),
7852 /* 26609 */ // MIs[2] x
7853 /* 26609 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7854 /* 26614 */ // MIs[2] y
7855 /* 26614 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
7856 /* 26619 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7857 /* 26621 */ // Combiner Rule #289: or_xor_and
7858 /* 26621 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7859 /* 26624 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
7860 /* 26626 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7861 /* 26630 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
7862 /* 26634 */ GIR_EraseRootFromParent_Done,
7863 /* 26635 */ // Label 257: @26635
7864 /* 26635 */ GIM_Try, /*On fail goto*//*Label 258*/ GIMT_Encode4(26685), // Rule ID 418 //
7865 /* 26640 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule288Enabled),
7866 /* 26643 */ // MIs[0] root
7867 /* 26643 */ // No operand predicates
7868 /* 26643 */ // MIs[0] xor
7869 /* 26643 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7870 /* 26647 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
7871 /* 26651 */ // MIs[1] x
7872 /* 26651 */ // No operand predicates
7873 /* 26651 */ // MIs[1] y
7874 /* 26651 */ // No operand predicates
7875 /* 26651 */ // MIs[0] or
7876 /* 26651 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
7877 /* 26655 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_OR),
7878 /* 26659 */ // MIs[2] x
7879 /* 26659 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/1, /*OtherMI*/1, /*OtherOpIdx*/1,
7880 /* 26664 */ // MIs[2] y
7881 /* 26664 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/2, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/2,
7882 /* 26669 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
7883 /* 26671 */ // Combiner Rule #288: or_xor_or
7884 /* 26671 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7885 /* 26674 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
7886 /* 26676 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
7887 /* 26680 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // y
7888 /* 26684 */ GIR_EraseRootFromParent_Done,
7889 /* 26685 */ // Label 258: @26685
7890 /* 26685 */ GIM_Try, /*On fail goto*//*Label 259*/ GIMT_Encode4(26706), // Rule ID 89 //
7891 /* 26690 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
7892 /* 26693 */ // MIs[0] dst
7893 /* 26693 */ // No operand predicates
7894 /* 26693 */ // MIs[0] __undef_to_negative_one_match_0.x
7895 /* 26693 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
7896 /* 26697 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7897 /* 26701 */ // MIs[0] __undef_to_negative_one_match_0.y
7898 /* 26701 */ // No operand predicates
7899 /* 26701 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7900 /* 26703 */ // Combiner Rule #79: undef_to_negative_one @ [__undef_to_negative_one_match_0[0]]
7901 /* 26703 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner32),
7902 /* 26706 */ // Label 259: @26706
7903 /* 26706 */ GIM_Try, /*On fail goto*//*Label 260*/ GIMT_Encode4(26793), // Rule ID 500 //
7904 /* 26711 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule360Enabled),
7905 /* 26714 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i64,
7906 /* 26717 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_i64,
7907 /* 26720 */ // MIs[0] dst
7908 /* 26720 */ // No operand predicates
7909 /* 26720 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
7910 /* 26724 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
7911 /* 26728 */ GIM_CheckType, /*MI*/1, /*Op*/1, /*Type*/GILLT_i32,
7912 /* 26732 */ GIM_RecordRegType, /*MI*/1, /*Op*/1, /*TempTypeIdx*/255,
7913 /* 26736 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7914 /* 26738 */ GIR_MakeTempReg, /*TempRegID*/2, /*TypeID*/255,
7915 /* 26741 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
7916 /* 26744 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
7917 /* 26747 */ // Combiner Rule #360: combine_or_s64_s32 @ [dst[0]]
7918 /* 26747 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
7919 /* 26750 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7920 /* 26755 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7921 /* 26760 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
7922 /* 26762 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
7923 /* 26766 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/2, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
7924 /* 26771 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
7925 /* 26774 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/1, // y
7926 /* 26778 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_MERGE_VALUES),
7927 /* 26782 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
7928 /* 26786 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/2,
7929 /* 26789 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
7930 /* 26792 */ GIR_EraseRootFromParent_Done,
7931 /* 26793 */ // Label 260: @26793
7932 /* 26793 */ GIM_Try, /*On fail goto*//*Label 261*/ GIMT_Encode4(26817), // Rule ID 130 //
7933 /* 26798 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule94Enabled),
7934 /* 26801 */ // MIs[0] dst
7935 /* 26801 */ // No operand predicates
7936 /* 26801 */ // MIs[0] src
7937 /* 26801 */ // No operand predicates
7938 /* 26801 */ // MIs[0] src
7939 /* 26801 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
7940 /* 26806 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7941 /* 26811 */ // Combiner Rule #94: binop_same_val @ [__binop_same_val_match_0[1]]
7942 /* 26811 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7943 /* 26816 */ GIR_EraseRootFromParent_Done,
7944 /* 26817 */ // Label 261: @26817
7945 /* 26817 */ GIM_Try, /*On fail goto*//*Label 262*/ GIMT_Encode4(26851), // Rule ID 474 //
7946 /* 26822 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule339Enabled),
7947 /* 26825 */ // MIs[0] dst
7948 /* 26825 */ // No operand predicates
7949 /* 26825 */ // MIs[0] x
7950 /* 26825 */ // No operand predicates
7951 /* 26825 */ // MIs[0] __combine_or_of_and_match_0.and
7952 /* 26825 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
7953 /* 26829 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7954 /* 26833 */ // MIs[1] x
7955 /* 26833 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
7956 /* 26838 */ // MIs[1] y
7957 /* 26838 */ // No operand predicates
7958 /* 26838 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7959 /* 26843 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7960 /* 26845 */ // Combiner Rule #339: combine_or_of_and @ [__combine_or_of_and_match_0[2]]
7961 /* 26845 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7962 /* 26850 */ GIR_EraseRootFromParent_Done,
7963 /* 26851 */ // Label 262: @26851
7964 /* 26851 */ GIM_Try, /*On fail goto*//*Label 263*/ GIMT_Encode4(26885), // Rule ID 475 //
7965 /* 26856 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule339Enabled),
7966 /* 26859 */ // MIs[0] dst
7967 /* 26859 */ // No operand predicates
7968 /* 26859 */ // MIs[0] x
7969 /* 26859 */ // No operand predicates
7970 /* 26859 */ // MIs[0] __combine_or_of_and_match_0.and
7971 /* 26859 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
7972 /* 26863 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
7973 /* 26867 */ // MIs[1] y
7974 /* 26867 */ // No operand predicates
7975 /* 26867 */ // MIs[1] x
7976 /* 26867 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
7977 /* 26872 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7978 /* 26877 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7979 /* 26879 */ // Combiner Rule #339: combine_or_of_and @ [__combine_or_of_and_match_0[3]]
7980 /* 26879 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
7981 /* 26884 */ GIR_EraseRootFromParent_Done,
7982 /* 26885 */ // Label 263: @26885
7983 /* 26885 */ GIM_Try, /*On fail goto*//*Label 264*/ GIMT_Encode4(26906), // Rule ID 90 //
7984 /* 26890 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
7985 /* 26893 */ // MIs[0] dst
7986 /* 26893 */ // No operand predicates
7987 /* 26893 */ // MIs[0] __undef_to_negative_one_match_0.x
7988 /* 26893 */ // No operand predicates
7989 /* 26893 */ // MIs[0] __undef_to_negative_one_match_0.y
7990 /* 26893 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
7991 /* 26897 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
7992 /* 26901 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
7993 /* 26903 */ // Combiner Rule #79: undef_to_negative_one @ [__undef_to_negative_one_match_0[1]]
7994 /* 26903 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner32),
7995 /* 26906 */ // Label 264: @26906
7996 /* 26906 */ GIM_Try, /*On fail goto*//*Label 265*/ GIMT_Encode4(26929), // Rule ID 121 //
7997 /* 26911 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
7998 /* 26914 */ // MIs[0] dst
7999 /* 26914 */ // No operand predicates
8000 /* 26914 */ // MIs[0] lhs
8001 /* 26914 */ // No operand predicates
8002 /* 26914 */ // MIs[0] Operand 2
8003 /* 26914 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
8004 /* 26918 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8005 /* 26923 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[2]]
8006 /* 26923 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8007 /* 26928 */ GIR_EraseRootFromParent_Done,
8008 /* 26929 */ // Label 265: @26929
8009 /* 26929 */ GIM_Try, /*On fail goto*//*Label 266*/ GIMT_Encode4(26940), // Rule ID 166 //
8010 /* 26934 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
8011 /* 26937 */ // MIs[0] root
8012 /* 26937 */ // No operand predicates
8013 /* 26937 */ // MIs[0] mi.x
8014 /* 26937 */ // No operand predicates
8015 /* 26937 */ // MIs[0] mi.y
8016 /* 26937 */ // No operand predicates
8017 /* 26937 */ // Combiner Rule #119: hoist_logic_op_with_same_opcode_hands @ [mi[1]]
8018 /* 26937 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
8019 /* 26940 */ // Label 266: @26940
8020 /* 26940 */ GIM_Try, /*On fail goto*//*Label 267*/ GIMT_Encode4(26951), // Rule ID 201 //
8021 /* 26945 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule151Enabled),
8022 /* 26948 */ // MIs[0] dst
8023 /* 26948 */ // No operand predicates
8024 /* 26948 */ // MIs[0] src1
8025 /* 26948 */ // No operand predicates
8026 /* 26948 */ // MIs[0] src2
8027 /* 26948 */ // No operand predicates
8028 /* 26948 */ // Combiner Rule #151: redundant_or
8029 /* 26948 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner56),
8030 /* 26951 */ // Label 267: @26951
8031 /* 26951 */ GIM_Try, /*On fail goto*//*Label 268*/ GIMT_Encode4(26962), // Rule ID 255 //
8032 /* 26956 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
8033 /* 26959 */ // MIs[0] dst
8034 /* 26959 */ // No operand predicates
8035 /* 26959 */ // MIs[0] src1
8036 /* 26959 */ // No operand predicates
8037 /* 26959 */ // MIs[0] src2
8038 /* 26959 */ // No operand predicates
8039 /* 26959 */ // Combiner Rule #195: load_or_combine
8040 /* 26959 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner71),
8041 /* 26962 */ // Label 268: @26962
8042 /* 26962 */ GIM_Try, /*On fail goto*//*Label 269*/ GIMT_Encode4(26973), // Rule ID 260 //
8043 /* 26967 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule197Enabled),
8044 /* 26970 */ // MIs[0] dst
8045 /* 26970 */ // No operand predicates
8046 /* 26970 */ // MIs[0] src1
8047 /* 26970 */ // No operand predicates
8048 /* 26970 */ // MIs[0] src2
8049 /* 26970 */ // No operand predicates
8050 /* 26970 */ // Combiner Rule #197: funnel_shift_from_or_shift
8051 /* 26970 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner73),
8052 /* 26973 */ // Label 269: @26973
8053 /* 26973 */ GIM_Try, /*On fail goto*//*Label 270*/ GIMT_Encode4(26984), // Rule ID 287 //
8054 /* 26978 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
8055 /* 26981 */ // MIs[0] d
8056 /* 26981 */ // No operand predicates
8057 /* 26981 */ // MIs[0] mi.src0
8058 /* 26981 */ // No operand predicates
8059 /* 26981 */ // MIs[0] mi.src1
8060 /* 26981 */ // No operand predicates
8061 /* 26981 */ // Combiner Rule #213: constant_fold_binop @ [mi[6]]
8062 /* 26981 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
8063 /* 26984 */ // Label 270: @26984
8064 /* 26984 */ GIM_Try, /*On fail goto*//*Label 271*/ GIMT_Encode4(26995), // Rule ID 346 //
8065 /* 26989 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
8066 /* 26992 */ // MIs[0] root
8067 /* 26992 */ // No operand predicates
8068 /* 26992 */ // MIs[0] mi.x
8069 /* 26992 */ // No operand predicates
8070 /* 26992 */ // MIs[0] mi.y
8071 /* 26992 */ // No operand predicates
8072 /* 26992 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[4]]
8073 /* 26992 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
8074 /* 26995 */ // Label 271: @26995
8075 /* 26995 */ GIM_Try, /*On fail goto*//*Label 272*/ GIMT_Encode4(27006), // Rule ID 413 //
8076 /* 27000 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule283Enabled),
8077 /* 27003 */ // MIs[0] dst
8078 /* 27003 */ // No operand predicates
8079 /* 27003 */ // MIs[0] src1
8080 /* 27003 */ // No operand predicates
8081 /* 27003 */ // MIs[0] src2
8082 /* 27003 */ // No operand predicates
8083 /* 27003 */ // Combiner Rule #283: match_ors
8084 /* 27003 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner104),
8085 /* 27006 */ // Label 272: @27006
8086 /* 27006 */ GIM_Try, /*On fail goto*//*Label 273*/ GIMT_Encode4(27017), // Rule ID 460 //
8087 /* 27011 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule328Enabled),
8088 /* 27014 */ // MIs[0] root
8089 /* 27014 */ // No operand predicates
8090 /* 27014 */ // MIs[0] mi.x
8091 /* 27014 */ // No operand predicates
8092 /* 27014 */ // MIs[0] mi.y
8093 /* 27014 */ // No operand predicates
8094 /* 27014 */ // Combiner Rule #328: binop_with_neg @ [mi[1]]
8095 /* 27014 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner128),
8096 /* 27017 */ // Label 273: @27017
8097 /* 27017 */ GIM_Reject,
8098 /* 27018 */ // Label 10: @27018
8099 /* 27018 */ GIM_Try, /*On fail goto*//*Label 274*/ GIMT_Encode4(27078), // Rule ID 13 //
8100 /* 27023 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule13Enabled),
8101 /* 27026 */ // MIs[0] root
8102 /* 27026 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
8103 /* 27030 */ // MIs[0] add
8104 /* 27030 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8105 /* 27034 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
8106 /* 27038 */ // MIs[1] A
8107 /* 27038 */ // No operand predicates
8108 /* 27038 */ // MIs[1] Operand 2
8109 /* 27038 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 255,
8110 /* 27042 */ // MIs[0] Operand 2
8111 /* 27042 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 255,
8112 /* 27046 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner1),
8113 /* 27050 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8114 /* 27052 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
8115 /* 27055 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
8116 /* 27065 */ // Combiner Rule #13: NotAPlusNegOne
8117 /* 27065 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SUB),
8118 /* 27068 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
8119 /* 27070 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
8120 /* 27073 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // A
8121 /* 27077 */ GIR_EraseRootFromParent_Done,
8122 /* 27078 */ // Label 274: @27078
8123 /* 27078 */ GIM_Try, /*On fail goto*//*Label 275*/ GIMT_Encode4(27103), // Rule ID 387 //
8124 /* 27083 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule257Enabled),
8125 /* 27086 */ // MIs[0] dst
8126 /* 27086 */ // No operand predicates
8127 /* 27086 */ // MIs[0] lhs
8128 /* 27086 */ // No operand predicates
8129 /* 27086 */ // MIs[0] rhs
8130 /* 27086 */ // No operand predicates
8131 /* 27086 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
8132 /* 27090 */ // Combiner Rule #257: G_XOR_commute_constant_to_rhs
8133 /* 27090 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_XOR),
8134 /* 27093 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8135 /* 27095 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
8136 /* 27097 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
8137 /* 27099 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
8138 /* 27102 */ GIR_EraseRootFromParent_Done,
8139 /* 27103 */ // Label 275: @27103
8140 /* 27103 */ GIM_Try, /*On fail goto*//*Label 276*/ GIMT_Encode4(27127), // Rule ID 107 //
8141 /* 27108 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
8142 /* 27111 */ // MIs[0] dst
8143 /* 27111 */ // No operand predicates
8144 /* 27111 */ // MIs[0] __propagate_undef_any_op_match_0.x
8145 /* 27111 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8146 /* 27115 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8147 /* 27119 */ // MIs[0] __propagate_undef_any_op_match_0.y
8148 /* 27119 */ // No operand predicates
8149 /* 27119 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8150 /* 27121 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[2]]
8151 /* 27121 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8152 /* 27124 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8153 /* 27126 */ GIR_EraseRootFromParent_Done,
8154 /* 27127 */ // Label 276: @27127
8155 /* 27127 */ GIM_Try, /*On fail goto*//*Label 277*/ GIMT_Encode4(27166), // Rule ID 132 //
8156 /* 27132 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule95Enabled),
8157 /* 27135 */ // MIs[0] dst
8158 /* 27135 */ // No operand predicates
8159 /* 27135 */ // MIs[0] x
8160 /* 27135 */ GIM_RecordRegType, /*MI*/0, /*Op*/1, /*TempTypeIdx*/255,
8161 /* 27139 */ // MIs[0] x
8162 /* 27139 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
8163 /* 27144 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
8164 /* 27147 */ GIR_BuildConstant, /*TempRegID*/0, /*Val*/GIMT_Encode8(0),
8165 /* 27157 */ // Combiner Rule #95: same_val_zero @ [__same_val_zero_match_0[1]]
8166 /* 27157 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
8167 /* 27160 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8168 /* 27162 */ GIR_AddSimpleTempRegister, /*InsnID*/0, /*TempRegID*/0,
8169 /* 27165 */ GIR_EraseRootFromParent_Done,
8170 /* 27166 */ // Label 277: @27166
8171 /* 27166 */ GIM_Try, /*On fail goto*//*Label 278*/ GIMT_Encode4(27190), // Rule ID 110 //
8172 /* 27171 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
8173 /* 27174 */ // MIs[0] dst
8174 /* 27174 */ // No operand predicates
8175 /* 27174 */ // MIs[0] __propagate_undef_any_op_match_0.x
8176 /* 27174 */ // No operand predicates
8177 /* 27174 */ // MIs[0] __propagate_undef_any_op_match_0.y
8178 /* 27174 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8179 /* 27178 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8180 /* 27182 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8181 /* 27184 */ // Combiner Rule #84: propagate_undef_any_op @ [__propagate_undef_any_op_match_0[5]]
8182 /* 27184 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8183 /* 27187 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8184 /* 27189 */ GIR_EraseRootFromParent_Done,
8185 /* 27190 */ // Label 278: @27190
8186 /* 27190 */ GIM_Try, /*On fail goto*//*Label 279*/ GIMT_Encode4(27213), // Rule ID 122 //
8187 /* 27195 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
8188 /* 27198 */ // MIs[0] dst
8189 /* 27198 */ // No operand predicates
8190 /* 27198 */ // MIs[0] lhs
8191 /* 27198 */ // No operand predicates
8192 /* 27198 */ // MIs[0] Operand 2
8193 /* 27198 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
8194 /* 27202 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8195 /* 27207 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[3]]
8196 /* 27207 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8197 /* 27212 */ GIR_EraseRootFromParent_Done,
8198 /* 27213 */ // Label 279: @27213
8199 /* 27213 */ GIM_Try, /*On fail goto*//*Label 280*/ GIMT_Encode4(27224), // Rule ID 167 //
8200 /* 27218 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
8201 /* 27221 */ // MIs[0] root
8202 /* 27221 */ // No operand predicates
8203 /* 27221 */ // MIs[0] mi.x
8204 /* 27221 */ // No operand predicates
8205 /* 27221 */ // MIs[0] mi.y
8206 /* 27221 */ // No operand predicates
8207 /* 27221 */ // Combiner Rule #119: hoist_logic_op_with_same_opcode_hands @ [mi[2]]
8208 /* 27221 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner38),
8209 /* 27224 */ // Label 280: @27224
8210 /* 27224 */ GIM_Try, /*On fail goto*//*Label 281*/ GIMT_Encode4(27235), // Rule ID 208 //
8211 /* 27229 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule158Enabled),
8212 /* 27232 */ // MIs[0] dst
8213 /* 27232 */ // No operand predicates
8214 /* 27232 */ // MIs[0] src1
8215 /* 27232 */ // No operand predicates
8216 /* 27232 */ // MIs[0] src2
8217 /* 27232 */ // No operand predicates
8218 /* 27232 */ // Combiner Rule #158: not_cmp_fold
8219 /* 27232 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner61),
8220 /* 27235 */ // Label 281: @27235
8221 /* 27235 */ GIM_Try, /*On fail goto*//*Label 282*/ GIMT_Encode4(27246), // Rule ID 244 //
8222 /* 27240 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
8223 /* 27243 */ // MIs[0] dst
8224 /* 27243 */ // No operand predicates
8225 /* 27243 */ // MIs[0] src1
8226 /* 27243 */ // No operand predicates
8227 /* 27243 */ // MIs[0] src2
8228 /* 27243 */ // No operand predicates
8229 /* 27243 */ // Combiner Rule #190: xor_of_and_with_same_reg
8230 /* 27243 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner68),
8231 /* 27246 */ // Label 282: @27246
8232 /* 27246 */ GIM_Try, /*On fail goto*//*Label 283*/ GIMT_Encode4(27257), // Rule ID 290 //
8233 /* 27251 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
8234 /* 27254 */ // MIs[0] d
8235 /* 27254 */ // No operand predicates
8236 /* 27254 */ // MIs[0] mi.src0
8237 /* 27254 */ // No operand predicates
8238 /* 27254 */ // MIs[0] mi.src1
8239 /* 27254 */ // No operand predicates
8240 /* 27254 */ // Combiner Rule #213: constant_fold_binop @ [mi[9]]
8241 /* 27254 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
8242 /* 27257 */ // Label 283: @27257
8243 /* 27257 */ GIM_Try, /*On fail goto*//*Label 284*/ GIMT_Encode4(27268), // Rule ID 347 //
8244 /* 27262 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
8245 /* 27265 */ // MIs[0] root
8246 /* 27265 */ // No operand predicates
8247 /* 27265 */ // MIs[0] mi.x
8248 /* 27265 */ // No operand predicates
8249 /* 27265 */ // MIs[0] mi.y
8250 /* 27265 */ // No operand predicates
8251 /* 27265 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[5]]
8252 /* 27265 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
8253 /* 27268 */ // Label 284: @27268
8254 /* 27268 */ GIM_Try, /*On fail goto*//*Label 285*/ GIMT_Encode4(27279), // Rule ID 461 //
8255 /* 27273 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule328Enabled),
8256 /* 27276 */ // MIs[0] root
8257 /* 27276 */ // No operand predicates
8258 /* 27276 */ // MIs[0] mi.x
8259 /* 27276 */ // No operand predicates
8260 /* 27276 */ // MIs[0] mi.y
8261 /* 27276 */ // No operand predicates
8262 /* 27276 */ // Combiner Rule #328: binop_with_neg @ [mi[2]]
8263 /* 27276 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner128),
8264 /* 27279 */ // Label 285: @27279
8265 /* 27279 */ GIM_Reject,
8266 /* 27280 */ // Label 11: @27280
8267 /* 27280 */ GIM_Try, /*On fail goto*//*Label 286*/ GIMT_Encode4(27294), // Rule ID 162 //
8268 /* 27285 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule117Enabled),
8269 /* 27288 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
8270 /* 27291 */ // MIs[0] dst
8271 /* 27291 */ // No operand predicates
8272 /* 27291 */ // MIs[0] srcs
8273 /* 27291 */ // No operand predicates
8274 /* 27291 */ // Combiner Rule #117: extend_through_phis
8275 /* 27291 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner37),
8276 /* 27294 */ // Label 286: @27294
8277 /* 27294 */ GIM_Reject,
8278 /* 27295 */ // Label 12: @27295
8279 /* 27295 */ GIM_Try, /*On fail goto*//*Label 287*/ GIMT_Encode4(27306), // Rule ID 429 //
8280 /* 27300 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule299Enabled),
8281 /* 27303 */ // Combiner Rule #299: unmerge_anyext_build_vector; wip_match_opcode 'G_UNMERGE_VALUES'
8282 /* 27303 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner114),
8283 /* 27306 */ // Label 287: @27306
8284 /* 27306 */ GIM_Try, /*On fail goto*//*Label 288*/ GIMT_Encode4(27317), // Rule ID 430 //
8285 /* 27311 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule300Enabled),
8286 /* 27314 */ // Combiner Rule #300: unmerge_merge; wip_match_opcode 'G_UNMERGE_VALUES'
8287 /* 27314 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner115),
8288 /* 27317 */ // Label 288: @27317
8289 /* 27317 */ GIM_Try, /*On fail goto*//*Label 289*/ GIMT_Encode4(27328), // Rule ID 432 //
8290 /* 27322 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule302Enabled),
8291 /* 27325 */ // Combiner Rule #302: unmerge_cst; wip_match_opcode 'G_UNMERGE_VALUES'
8292 /* 27325 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner117),
8293 /* 27328 */ // Label 289: @27328
8294 /* 27328 */ GIM_Try, /*On fail goto*//*Label 290*/ GIMT_Encode4(27339), // Rule ID 433 //
8295 /* 27333 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule303Enabled),
8296 /* 27336 */ // Combiner Rule #303: unmerge_undef; wip_match_opcode 'G_UNMERGE_VALUES'
8297 /* 27336 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner118),
8298 /* 27339 */ // Label 290: @27339
8299 /* 27339 */ GIM_Try, /*On fail goto*//*Label 291*/ GIMT_Encode4(27350), // Rule ID 434 //
8300 /* 27344 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule304Enabled),
8301 /* 27347 */ // Combiner Rule #304: unmerge_dead_to_trunc; wip_match_opcode 'G_UNMERGE_VALUES'
8302 /* 27347 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner119),
8303 /* 27350 */ // Label 291: @27350
8304 /* 27350 */ GIM_Try, /*On fail goto*//*Label 292*/ GIMT_Encode4(27361), // Rule ID 435 //
8305 /* 27355 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule305Enabled),
8306 /* 27358 */ // Combiner Rule #305: unmerge_zext_to_zext; wip_match_opcode 'G_UNMERGE_VALUES'
8307 /* 27358 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner120),
8308 /* 27361 */ // Label 292: @27361
8309 /* 27361 */ GIM_Reject,
8310 /* 27362 */ // Label 13: @27362
8311 /* 27362 */ GIM_Try, /*On fail goto*//*Label 293*/ GIMT_Encode4(27376), // Rule ID 431 //
8312 /* 27367 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule301Enabled),
8313 /* 27370 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
8314 /* 27373 */ // MIs[0] dst
8315 /* 27373 */ // No operand predicates
8316 /* 27373 */ // MIs[0] merge_srcs
8317 /* 27373 */ // No operand predicates
8318 /* 27373 */ // Combiner Rule #301: merge_unmerge
8319 /* 27373 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner116),
8320 /* 27376 */ // Label 293: @27376
8321 /* 27376 */ GIM_Try, /*On fail goto*//*Label 294*/ GIMT_Encode4(27456),
8322 /* 27381 */ GIM_CheckNumOperands, /*MI*/0, /*Expected*/3,
8323 /* 27384 */ GIM_Try, /*On fail goto*//*Label 295*/ GIMT_Encode4(27414), // Rule ID 436 //
8324 /* 27389 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule306Enabled),
8325 /* 27392 */ // MIs[0] root
8326 /* 27392 */ // No operand predicates
8327 /* 27392 */ // MIs[0] x
8328 /* 27392 */ // No operand predicates
8329 /* 27392 */ // MIs[0] undef
8330 /* 27392 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8331 /* 27396 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8332 /* 27400 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner53),
8333 /* 27404 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8334 /* 27406 */ // Combiner Rule #306: merge_of_x_and_undef
8335 /* 27406 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ANYEXT),
8336 /* 27409 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
8337 /* 27411 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
8338 /* 27413 */ GIR_EraseRootFromParent_Done,
8339 /* 27414 */ // Label 295: @27414
8340 /* 27414 */ GIM_Try, /*On fail goto*//*Label 296*/ GIMT_Encode4(27455), // Rule ID 437 //
8341 /* 27419 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule307Enabled),
8342 /* 27422 */ // MIs[0] root
8343 /* 27422 */ // No operand predicates
8344 /* 27422 */ // MIs[0] x
8345 /* 27422 */ // No operand predicates
8346 /* 27422 */ // MIs[0] zero
8347 /* 27422 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8348 /* 27426 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
8349 /* 27430 */ // MIs[1] Operand 1
8350 /* 27430 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
8351 /* 27441 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner54),
8352 /* 27445 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8353 /* 27447 */ // Combiner Rule #307: merge_of_x_and_zero
8354 /* 27447 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
8355 /* 27450 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
8356 /* 27452 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
8357 /* 27454 */ GIR_EraseRootFromParent_Done,
8358 /* 27455 */ // Label 296: @27455
8359 /* 27455 */ GIM_Reject,
8360 /* 27456 */ // Label 294: @27456
8361 /* 27456 */ GIM_Reject,
8362 /* 27457 */ // Label 14: @27457
8363 /* 27457 */ GIM_Try, /*On fail goto*//*Label 297*/ GIMT_Encode4(27528),
8364 /* 27462 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
8365 /* 27465 */ GIM_Try, /*On fail goto*//*Label 298*/ GIMT_Encode4(27483), // Rule ID 112 //
8366 /* 27470 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule86Enabled),
8367 /* 27473 */ // MIs[0] root
8368 /* 27473 */ // No operand predicates
8369 /* 27473 */ // MIs[0] srcs
8370 /* 27473 */ // No operand predicates
8371 /* 27473 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner8),
8372 /* 27477 */ // Combiner Rule #86: propagate_undef_all_ops_build_vector
8373 /* 27477 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8374 /* 27480 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
8375 /* 27482 */ GIR_EraseRootFromParent_Done,
8376 /* 27483 */ // Label 298: @27483
8377 /* 27483 */ GIM_Try, /*On fail goto*//*Label 299*/ GIMT_Encode4(27494), // Rule ID 77 //
8378 /* 27488 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
8379 /* 27491 */ // MIs[0] dst
8380 /* 27491 */ // No operand predicates
8381 /* 27491 */ // MIs[0] srcs
8382 /* 27491 */ // No operand predicates
8383 /* 27491 */ // Combiner Rule #73: extract_all_elts_from_build_vector
8384 /* 27491 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner26),
8385 /* 27494 */ // Label 299: @27494
8386 /* 27494 */ GIM_Try, /*On fail goto*//*Label 300*/ GIMT_Encode4(27505), // Rule ID 152 //
8387 /* 27499 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule107Enabled),
8388 /* 27502 */ // MIs[0] build_vector
8389 /* 27502 */ // No operand predicates
8390 /* 27502 */ // MIs[0] srcs
8391 /* 27502 */ // No operand predicates
8392 /* 27502 */ // Combiner Rule #107: buildvector_identity_fold_bv
8393 /* 27502 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner34),
8394 /* 27505 */ // Label 300: @27505
8395 /* 27505 */ GIM_Try, /*On fail goto*//*Label 301*/ GIMT_Encode4(27516), // Rule ID 428 //
8396 /* 27510 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule298Enabled),
8397 /* 27513 */ // MIs[0] dst
8398 /* 27513 */ // No operand predicates
8399 /* 27513 */ // MIs[0] unused
8400 /* 27513 */ // No operand predicates
8401 /* 27513 */ // Combiner Rule #298: combine_use_vector_truncate
8402 /* 27513 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner113),
8403 /* 27516 */ // Label 301: @27516
8404 /* 27516 */ GIM_Try, /*On fail goto*//*Label 302*/ GIMT_Encode4(27527), // Rule ID 438 //
8405 /* 27521 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule308Enabled),
8406 /* 27524 */ // MIs[0] dst
8407 /* 27524 */ // No operand predicates
8408 /* 27524 */ // MIs[0] unused
8409 /* 27524 */ // No operand predicates
8410 /* 27524 */ // Combiner Rule #308: combine_build_unmerge
8411 /* 27524 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner121),
8412 /* 27527 */ // Label 302: @27527
8413 /* 27527 */ GIM_Reject,
8414 /* 27528 */ // Label 297: @27528
8415 /* 27528 */ GIM_Reject,
8416 /* 27529 */ // Label 15: @27529
8417 /* 27529 */ GIM_Try, /*On fail goto*//*Label 303*/ GIMT_Encode4(27543), // Rule ID 153 //
8418 /* 27534 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
8419 /* 27537 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
8420 /* 27540 */ // MIs[0] build_vector
8421 /* 27540 */ // No operand predicates
8422 /* 27540 */ // MIs[0] srcs
8423 /* 27540 */ // No operand predicates
8424 /* 27540 */ // Combiner Rule #108: buildvector_identity_fold_bvt
8425 /* 27540 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner34),
8426 /* 27543 */ // Label 303: @27543
8427 /* 27543 */ GIM_Reject,
8428 /* 27544 */ // Label 16: @27544
8429 /* 27544 */ GIM_Try, /*On fail goto*//*Label 304*/ GIMT_Encode4(27558), // Rule ID 421 //
8430 /* 27549 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule291Enabled),
8431 /* 27552 */ GIM_CheckNumOperandsGE, /*MI*/0, /*Expected*/2,
8432 /* 27555 */ // MIs[0] dst
8433 /* 27555 */ // No operand predicates
8434 /* 27555 */ // MIs[0] srcs
8435 /* 27555 */ // No operand predicates
8436 /* 27555 */ // Combiner Rule #291: combine_concat_vector
8437 /* 27555 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner106),
8438 /* 27558 */ // Label 304: @27558
8439 /* 27558 */ GIM_Reject,
8440 /* 27559 */ // Label 17: @27559
8441 /* 27559 */ GIM_Try, /*On fail goto*//*Label 305*/ GIMT_Encode4(27591), // Rule ID 143 //
8442 /* 27564 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule99Enabled),
8443 /* 27567 */ // MIs[0] dst
8444 /* 27567 */ // No operand predicates
8445 /* 27567 */ // MIs[0] t
8446 /* 27567 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8447 /* 27571 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
8448 /* 27575 */ // MIs[1] ptr
8449 /* 27575 */ // No operand predicates
8450 /* 27575 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner15),
8451 /* 27579 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8452 /* 27581 */ // Combiner Rule #99: i2p_to_p2i_same_size
8453 /* 27581 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
8454 /* 27584 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8455 /* 27586 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // ptr
8456 /* 27590 */ GIR_EraseRootFromParent_Done,
8457 /* 27591 */ // Label 305: @27591
8458 /* 27591 */ GIM_Try, /*On fail goto*//*Label 306*/ GIMT_Encode4(27623), // Rule ID 144 //
8459 /* 27596 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule100Enabled),
8460 /* 27599 */ // MIs[0] dst
8461 /* 27599 */ // No operand predicates
8462 /* 27599 */ // MIs[0] t
8463 /* 27599 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8464 /* 27603 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
8465 /* 27607 */ // MIs[1] ptr
8466 /* 27607 */ // No operand predicates
8467 /* 27607 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner16),
8468 /* 27611 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8469 /* 27613 */ // Combiner Rule #100: i2p_to_p2i_zext
8470 /* 27613 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
8471 /* 27616 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8472 /* 27618 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // ptr
8473 /* 27622 */ GIR_EraseRootFromParent_Done,
8474 /* 27623 */ // Label 306: @27623
8475 /* 27623 */ GIM_Try, /*On fail goto*//*Label 307*/ GIMT_Encode4(27655), // Rule ID 145 //
8476 /* 27628 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule101Enabled),
8477 /* 27631 */ // MIs[0] dst
8478 /* 27631 */ // No operand predicates
8479 /* 27631 */ // MIs[0] t
8480 /* 27631 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8481 /* 27635 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
8482 /* 27639 */ // MIs[1] ptr
8483 /* 27639 */ // No operand predicates
8484 /* 27639 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner17),
8485 /* 27643 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8486 /* 27645 */ // Combiner Rule #101: i2p_to_p2i_trunc
8487 /* 27645 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_TRUNC),
8488 /* 27648 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8489 /* 27650 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // ptr
8490 /* 27654 */ GIR_EraseRootFromParent_Done,
8491 /* 27655 */ // Label 307: @27655
8492 /* 27655 */ GIM_Try, /*On fail goto*//*Label 308*/ GIMT_Encode4(27679), // Rule ID 101 //
8493 /* 27660 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8494 /* 27663 */ // MIs[0] dst
8495 /* 27663 */ // No operand predicates
8496 /* 27663 */ // MIs[0] __unary_undef_to_undef_match_0.x
8497 /* 27663 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8498 /* 27667 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8499 /* 27671 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8500 /* 27673 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[3]]
8501 /* 27673 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8502 /* 27676 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8503 /* 27678 */ GIR_EraseRootFromParent_Done,
8504 /* 27679 */ // Label 308: @27679
8505 /* 27679 */ GIM_Reject,
8506 /* 27680 */ // Label 18: @27680
8507 /* 27680 */ GIM_Try, /*On fail goto*//*Label 309*/ GIMT_Encode4(27713), // Rule ID 142 //
8508 /* 27685 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule98Enabled),
8509 /* 27688 */ // MIs[0] dst
8510 /* 27688 */ // No operand predicates
8511 /* 27688 */ // MIs[0] mid
8512 /* 27688 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8513 /* 27692 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_PTRTOINT),
8514 /* 27696 */ // MIs[1] x
8515 /* 27696 */ // No operand predicates
8516 /* 27696 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner14),
8517 /* 27700 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8518 /* 27705 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8519 /* 27707 */ // Combiner Rule #98: p2i_to_i2p
8520 /* 27707 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8521 /* 27712 */ GIR_EraseRootFromParent_Done,
8522 /* 27713 */ // Label 309: @27713
8523 /* 27713 */ GIM_Try, /*On fail goto*//*Label 310*/ GIMT_Encode4(27737), // Rule ID 102 //
8524 /* 27718 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8525 /* 27721 */ // MIs[0] dst
8526 /* 27721 */ // No operand predicates
8527 /* 27721 */ // MIs[0] __unary_undef_to_undef_match_0.x
8528 /* 27721 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8529 /* 27725 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8530 /* 27729 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8531 /* 27731 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[4]]
8532 /* 27731 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8533 /* 27734 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8534 /* 27736 */ GIR_EraseRootFromParent_Done,
8535 /* 27737 */ // Label 310: @27737
8536 /* 27737 */ GIM_Reject,
8537 /* 27738 */ // Label 19: @27738
8538 /* 27738 */ GIM_Try, /*On fail goto*//*Label 311*/ GIMT_Encode4(27771), // Rule ID 156 //
8539 /* 27743 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule111Enabled),
8540 /* 27746 */ // MIs[0] dst
8541 /* 27746 */ // No operand predicates
8542 /* 27746 */ // MIs[0] src1
8543 /* 27746 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8544 /* 27750 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BITCAST),
8545 /* 27754 */ // MIs[1] src0
8546 /* 27754 */ // No operand predicates
8547 /* 27754 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner14),
8548 /* 27758 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8549 /* 27763 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8550 /* 27765 */ // Combiner Rule #111: bitcast_bitcast_fold
8551 /* 27765 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
8552 /* 27770 */ GIR_EraseRootFromParent_Done,
8553 /* 27771 */ // Label 311: @27771
8554 /* 27771 */ GIM_Try, /*On fail goto*//*Label 312*/ GIMT_Encode4(27803), // Rule ID 157 //
8555 /* 27776 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule112Enabled),
8556 /* 27779 */ // MIs[0] dst
8557 /* 27779 */ // No operand predicates
8558 /* 27779 */ // MIs[0] src1
8559 /* 27779 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8560 /* 27783 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BITCAST),
8561 /* 27787 */ // MIs[1] src0
8562 /* 27787 */ // No operand predicates
8563 /* 27787 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner19),
8564 /* 27791 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8565 /* 27793 */ // Combiner Rule #112: bitcast_bitcast_to_bitcast
8566 /* 27793 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_BITCAST),
8567 /* 27796 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8568 /* 27798 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src0
8569 /* 27802 */ GIR_EraseRootFromParent_Done,
8570 /* 27803 */ // Label 312: @27803
8571 /* 27803 */ GIM_Try, /*On fail goto*//*Label 313*/ GIMT_Encode4(27827), // Rule ID 99 //
8572 /* 27808 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8573 /* 27811 */ // MIs[0] dst
8574 /* 27811 */ // No operand predicates
8575 /* 27811 */ // MIs[0] __unary_undef_to_undef_match_0.x
8576 /* 27811 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8577 /* 27815 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8578 /* 27819 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8579 /* 27821 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[1]]
8580 /* 27821 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8581 /* 27824 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8582 /* 27826 */ GIR_EraseRootFromParent_Done,
8583 /* 27827 */ // Label 313: @27827
8584 /* 27827 */ GIM_Reject,
8585 /* 27828 */ // Label 20: @27828
8586 /* 27828 */ GIM_Try, /*On fail goto*//*Label 314*/ GIMT_Encode4(27851), // Rule ID 51 //
8587 /* 27833 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule47Enabled),
8588 /* 27836 */ // MIs[0] root
8589 /* 27836 */ // No operand predicates
8590 /* 27836 */ // MIs[0] src
8591 /* 27836 */ // No operand predicates
8592 /* 27836 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner7),
8593 /* 27840 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8594 /* 27845 */ // Combiner Rule #47: freeze_of_non_undef_non_poison
8595 /* 27845 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8596 /* 27850 */ GIR_EraseRootFromParent_Done,
8597 /* 27851 */ // Label 314: @27851
8598 /* 27851 */ GIM_Try, /*On fail goto*//*Label 315*/ GIMT_Encode4(27880), // Rule ID 25 //
8599 /* 27856 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
8600 /* 27859 */ // MIs[0] dst
8601 /* 27859 */ // No operand predicates
8602 /* 27859 */ // MIs[0] src
8603 /* 27859 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8604 /* 27863 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FREEZE),
8605 /* 27867 */ // MIs[1] __idempotent_prop_match_0.x
8606 /* 27867 */ // No operand predicates
8607 /* 27867 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8608 /* 27872 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8609 /* 27874 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[0]]
8610 /* 27874 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
8611 /* 27879 */ GIR_EraseRootFromParent_Done,
8612 /* 27880 */ // Label 315: @27880
8613 /* 27880 */ GIM_Try, /*On fail goto*//*Label 316*/ GIMT_Encode4(27891), // Rule ID 52 //
8614 /* 27885 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule48Enabled),
8615 /* 27888 */ // MIs[0] dst
8616 /* 27888 */ // No operand predicates
8617 /* 27888 */ // MIs[0] src
8618 /* 27888 */ // No operand predicates
8619 /* 27888 */ // Combiner Rule #48: push_freeze_to_prevent_poison_from_propagating
8620 /* 27888 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner16),
8621 /* 27891 */ // Label 316: @27891
8622 /* 27891 */ GIM_Reject,
8623 /* 27892 */ // Label 21: @27892
8624 /* 27892 */ GIM_Try, /*On fail goto*//*Label 317*/ GIMT_Encode4(27903), // Rule ID 218 //
8625 /* 27897 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
8626 /* 27900 */ // MIs[0] dst
8627 /* 27900 */ // No operand predicates
8628 /* 27900 */ // MIs[0] src0
8629 /* 27900 */ // No operand predicates
8630 /* 27900 */ // Combiner Rule #168: constant_fold_intrinsic_trunc
8631 /* 27900 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
8632 /* 27903 */ // Label 317: @27903
8633 /* 27903 */ GIM_Reject,
8634 /* 27904 */ // Label 22: @27904
8635 /* 27904 */ GIM_Try, /*On fail goto*//*Label 318*/ GIMT_Encode4(27915), // Rule ID 219 //
8636 /* 27909 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
8637 /* 27912 */ // MIs[0] dst
8638 /* 27912 */ // No operand predicates
8639 /* 27912 */ // MIs[0] src0
8640 /* 27912 */ // No operand predicates
8641 /* 27912 */ // Combiner Rule #169: constant_fold_intrinsic_round
8642 /* 27912 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
8643 /* 27915 */ // Label 318: @27915
8644 /* 27915 */ GIM_Reject,
8645 /* 27916 */ // Label 23: @27916
8646 /* 27916 */ GIM_Try, /*On fail goto*//*Label 319*/ GIMT_Encode4(27927), // Rule ID 220 //
8647 /* 27921 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
8648 /* 27924 */ // MIs[0] dst
8649 /* 27924 */ // No operand predicates
8650 /* 27924 */ // MIs[0] src0
8651 /* 27924 */ // No operand predicates
8652 /* 27924 */ // Combiner Rule #170: constant_fold_intrinsic_roundeven
8653 /* 27924 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
8654 /* 27927 */ // Label 319: @27927
8655 /* 27927 */ GIM_Reject,
8656 /* 27928 */ // Label 24: @27928
8657 /* 27928 */ GIM_Try, /*On fail goto*//*Label 320*/ GIMT_Encode4(27939), // Rule ID 78 //
8658 /* 27933 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
8659 /* 27936 */ // MIs[0] root
8660 /* 27936 */ // No operand predicates
8661 /* 27936 */ // MIs[0] mi.ptr
8662 /* 27936 */ // No operand predicates
8663 /* 27936 */ // Combiner Rule #74: extending_loads @ [mi[0]]
8664 /* 27936 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner27),
8665 /* 27939 */ // Label 320: @27939
8666 /* 27939 */ GIM_Reject,
8667 /* 27940 */ // Label 25: @27940
8668 /* 27940 */ GIM_Try, /*On fail goto*//*Label 321*/ GIMT_Encode4(27951), // Rule ID 79 //
8669 /* 27945 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
8670 /* 27948 */ // MIs[0] root
8671 /* 27948 */ // No operand predicates
8672 /* 27948 */ // MIs[0] mi.ptr
8673 /* 27948 */ // No operand predicates
8674 /* 27948 */ // Combiner Rule #74: extending_loads @ [mi[1]]
8675 /* 27948 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner27),
8676 /* 27951 */ // Label 321: @27951
8677 /* 27951 */ GIM_Reject,
8678 /* 27952 */ // Label 26: @27952
8679 /* 27952 */ GIM_Try, /*On fail goto*//*Label 322*/ GIMT_Encode4(27963), // Rule ID 80 //
8680 /* 27957 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
8681 /* 27960 */ // MIs[0] root
8682 /* 27960 */ // No operand predicates
8683 /* 27960 */ // MIs[0] mi.ptr
8684 /* 27960 */ // No operand predicates
8685 /* 27960 */ // Combiner Rule #74: extending_loads @ [mi[2]]
8686 /* 27960 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner27),
8687 /* 27963 */ // Label 322: @27963
8688 /* 27963 */ GIM_Reject,
8689 /* 27964 */ // Label 27: @27964
8690 /* 27964 */ GIM_Try, /*On fail goto*//*Label 323*/ GIMT_Encode4(27987), // Rule ID 114 //
8691 /* 27969 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
8692 /* 27972 */ // MIs[0] val
8693 /* 27972 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/0, // MIs[1]
8694 /* 27976 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8695 /* 27980 */ // MIs[0] ptr
8696 /* 27980 */ // No operand predicates
8697 /* 27980 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner10),
8698 /* 27984 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8699 /* 27986 */ // Combiner Rule #88: erase_undef_store
8700 /* 27986 */ GIR_EraseRootFromParent_Done,
8701 /* 27987 */ // Label 323: @27987
8702 /* 27987 */ GIM_Reject,
8703 /* 27988 */ // Label 28: @27988
8704 /* 27988 */ GIM_Try, /*On fail goto*//*Label 324*/ GIMT_Encode4(28169),
8705 /* 27993 */ GIM_CheckNumOperands, /*MI*/0, /*Expected*/3,
8706 /* 27996 */ GIM_Try, /*On fail goto*//*Label 325*/ GIMT_Encode4(28056), // Rule ID 489 //
8707 /* 28001 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule349Enabled),
8708 /* 28004 */ GIM_CheckIntrinsicID, /*MI*/0, /*Op*/1, GIMT_Encode2(Intrinsic::amdgcn_rcp),
8709 /* 28009 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
8710 /* 28015 */ // MIs[0] dst
8711 /* 28015 */ // No operand predicates
8712 /* 28015 */ // MIs[0] sqrt
8713 /* 28015 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8714 /* 28019 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTRINSIC),
8715 /* 28023 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/3,
8716 /* 28026 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
8717 /* 28032 */ // MIs[1] sqrt
8718 /* 28032 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/0, /*OtherMI*/0, /*OtherOpIdx*/2,
8719 /* 28037 */ // MIs[1] x
8720 /* 28037 */ // No operand predicates
8721 /* 28037 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8722 /* 28039 */ // Combiner Rule #349: rcp_of_amdgcn_sqrt_to_rsq
8723 /* 28039 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTRINSIC),
8724 /* 28042 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8725 /* 28044 */ GIR_AddIntrinsicID, /*MI*/0, GIMT_Encode2(Intrinsic::amdgcn_rsq),
8726 /* 28048 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // x
8727 /* 28052 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
8728 /* 28055 */ GIR_EraseRootFromParent_Done,
8729 /* 28056 */ // Label 325: @28056
8730 /* 28056 */ GIM_Try, /*On fail goto*//*Label 326*/ GIMT_Encode4(28116), // Rule ID 491 //
8731 /* 28061 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule351Enabled),
8732 /* 28064 */ GIM_CheckIntrinsicID, /*MI*/0, /*Op*/1, GIMT_Encode2(Intrinsic::amdgcn_sqrt),
8733 /* 28069 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
8734 /* 28075 */ // MIs[0] dst
8735 /* 28075 */ // No operand predicates
8736 /* 28075 */ // MIs[0] rcp
8737 /* 28075 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8738 /* 28079 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTRINSIC),
8739 /* 28083 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/3,
8740 /* 28086 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
8741 /* 28092 */ // MIs[1] rcp
8742 /* 28092 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/0, /*OtherMI*/0, /*OtherOpIdx*/2,
8743 /* 28097 */ // MIs[1] x
8744 /* 28097 */ // No operand predicates
8745 /* 28097 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8746 /* 28099 */ // Combiner Rule #351: amdgcn_sqrt_of_rcp_to_rsq
8747 /* 28099 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTRINSIC),
8748 /* 28102 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8749 /* 28104 */ GIR_AddIntrinsicID, /*MI*/0, GIMT_Encode2(Intrinsic::amdgcn_rsq),
8750 /* 28108 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // x
8751 /* 28112 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
8752 /* 28115 */ GIR_EraseRootFromParent_Done,
8753 /* 28116 */ // Label 326: @28116
8754 /* 28116 */ GIM_Try, /*On fail goto*//*Label 327*/ GIMT_Encode4(28168), // Rule ID 488 //
8755 /* 28121 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule348Enabled),
8756 /* 28124 */ GIM_CheckIntrinsicID, /*MI*/0, /*Op*/1, GIMT_Encode2(Intrinsic::amdgcn_rcp),
8757 /* 28129 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
8758 /* 28135 */ // MIs[0] dst
8759 /* 28135 */ // No operand predicates
8760 /* 28135 */ // MIs[0] sqrt
8761 /* 28135 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
8762 /* 28139 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSQRT),
8763 /* 28143 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
8764 /* 28149 */ // MIs[1] x
8765 /* 28149 */ // No operand predicates
8766 /* 28149 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8767 /* 28151 */ // Combiner Rule #348: rcp_of_fsqrt_to_rsq
8768 /* 28151 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTRINSIC),
8769 /* 28154 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8770 /* 28156 */ GIR_AddIntrinsicID, /*MI*/0, GIMT_Encode2(Intrinsic::amdgcn_rsq),
8771 /* 28160 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
8772 /* 28164 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
8773 /* 28167 */ GIR_EraseRootFromParent_Done,
8774 /* 28168 */ // Label 327: @28168
8775 /* 28168 */ GIM_Reject,
8776 /* 28169 */ // Label 324: @28169
8777 /* 28169 */ GIM_Reject,
8778 /* 28170 */ // Label 29: @28170
8779 /* 28170 */ GIM_Try, /*On fail goto*//*Label 328*/ GIMT_Encode4(28191), // Rule ID 65 //
8780 /* 28175 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule61Enabled),
8781 /* 28178 */ // MIs[0] root
8782 /* 28178 */ // No operand predicates
8783 /* 28178 */ // MIs[0] select
8784 /* 28178 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8785 /* 28182 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
8786 /* 28186 */ // MIs[1] cond
8787 /* 28186 */ // No operand predicates
8788 /* 28186 */ // MIs[1] true
8789 /* 28186 */ // No operand predicates
8790 /* 28186 */ // MIs[1] false
8791 /* 28186 */ // No operand predicates
8792 /* 28186 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8793 /* 28188 */ // Combiner Rule #61: select_of_anyext
8794 /* 28188 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
8795 /* 28191 */ // Label 328: @28191
8796 /* 28191 */ GIM_Try, /*On fail goto*//*Label 329*/ GIMT_Encode4(28212), // Rule ID 60 //
8797 /* 28196 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule56Enabled),
8798 /* 28199 */ // MIs[0] root
8799 /* 28199 */ // No operand predicates
8800 /* 28199 */ // MIs[0] second
8801 /* 28199 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8802 /* 28203 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
8803 /* 28207 */ // MIs[1] src
8804 /* 28207 */ // No operand predicates
8805 /* 28207 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8806 /* 28209 */ // Combiner Rule #56: anyext_of_anyext
8807 /* 28209 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
8808 /* 28212 */ // Label 329: @28212
8809 /* 28212 */ GIM_Try, /*On fail goto*//*Label 330*/ GIMT_Encode4(28233), // Rule ID 62 //
8810 /* 28217 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule58Enabled),
8811 /* 28220 */ // MIs[0] root
8812 /* 28220 */ // No operand predicates
8813 /* 28220 */ // MIs[0] second
8814 /* 28220 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8815 /* 28224 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
8816 /* 28228 */ // MIs[1] src
8817 /* 28228 */ // No operand predicates
8818 /* 28228 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8819 /* 28230 */ // Combiner Rule #58: anyext_of_sext
8820 /* 28230 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
8821 /* 28233 */ // Label 330: @28233
8822 /* 28233 */ GIM_Try, /*On fail goto*//*Label 331*/ GIMT_Encode4(28254), // Rule ID 61 //
8823 /* 28238 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule57Enabled),
8824 /* 28241 */ // MIs[0] root
8825 /* 28241 */ // No operand predicates
8826 /* 28241 */ // MIs[0] second
8827 /* 28241 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8828 /* 28245 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
8829 /* 28249 */ // MIs[1] src
8830 /* 28249 */ // No operand predicates
8831 /* 28249 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8832 /* 28251 */ // Combiner Rule #57: anyext_of_zext
8833 /* 28251 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
8834 /* 28254 */ // Label 331: @28254
8835 /* 28254 */ GIM_Try, /*On fail goto*//*Label 332*/ GIMT_Encode4(28278), // Rule ID 100 //
8836 /* 28259 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
8837 /* 28262 */ // MIs[0] dst
8838 /* 28262 */ // No operand predicates
8839 /* 28262 */ // MIs[0] __unary_undef_to_undef_match_0.x
8840 /* 28262 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8841 /* 28266 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8842 /* 28270 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8843 /* 28272 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[2]]
8844 /* 28272 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
8845 /* 28275 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8846 /* 28277 */ GIR_EraseRootFromParent_Done,
8847 /* 28278 */ // Label 332: @28278
8848 /* 28278 */ GIM_Try, /*On fail goto*//*Label 333*/ GIMT_Encode4(28289), // Rule ID 146 //
8849 /* 28283 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
8850 /* 28286 */ // MIs[0] dst
8851 /* 28286 */ // No operand predicates
8852 /* 28286 */ // MIs[0] src
8853 /* 28286 */ // No operand predicates
8854 /* 28286 */ // Combiner Rule #102: anyext_trunc_fold
8855 /* 28286 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner33),
8856 /* 28289 */ // Label 333: @28289
8857 /* 28289 */ GIM_Try, /*On fail goto*//*Label 334*/ GIMT_Encode4(28300), // Rule ID 315 //
8858 /* 28294 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
8859 /* 28297 */ // MIs[0] dst
8860 /* 28297 */ // No operand predicates
8861 /* 28297 */ // MIs[0] d.src
8862 /* 28297 */ // No operand predicates
8863 /* 28297 */ // Combiner Rule #216: constant_fold_cast_op @ [d[2]]
8864 /* 28297 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner82),
8865 /* 28300 */ // Label 334: @28300
8866 /* 28300 */ GIM_Reject,
8867 /* 28301 */ // Label 30: @28301
8868 /* 28301 */ GIM_SwitchType, /*MI*/0, /*Op*/0, /*[*/GIMT_Encode2(0), GIMT_Encode2(5), /*)*//*default:*//*Label 338*/ GIMT_Encode4(28567),
8869 /* 28312 */ /*GILLT_i16*//*Label 335*/ GIMT_Encode4(28332), GIMT_Encode4(0), GIMT_Encode4(0),
8870 /* 28324 */ /*GILLT_f16*//*Label 336*/ GIMT_Encode4(28399),
8871 /* 28328 */ /*GILLT_bf16*//*Label 337*/ GIMT_Encode4(28483),
8872 /* 28332 */ // Label 335: @28332
8873 /* 28332 */ GIM_Try, /*On fail goto*//*Label 339*/ GIMT_Encode4(28398), // Rule ID 495 //
8874 /* 28337 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule355Enabled),
8875 /* 28340 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i32,
8876 /* 28343 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8877 /* 28347 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
8878 /* 28351 */ GIM_CheckType, /*MI*/1, /*Op*/2, /*Type*/GILLT_i32,
8879 /* 28355 */ // MIs[1] src
8880 /* 28355 */ // No operand predicates
8881 /* 28355 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
8882 /* 28359 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
8883 /* 28363 */ // MIs[2] Operand 1
8884 /* 28363 */ GIM_CheckLiteralInt, /*MI*/2, /*Op*/1, GIMT_Encode8(16),
8885 /* 28374 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner68),
8886 /* 28378 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
8887 /* 28380 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i16,
8888 /* 28383 */ // Combiner Rule #355: trunc_lshr16_unmerge_i16
8889 /* 28383 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
8890 /* 28386 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8891 /* 28391 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8892 /* 28393 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
8893 /* 28397 */ GIR_EraseRootFromParent_Done,
8894 /* 28398 */ // Label 339: @28398
8895 /* 28398 */ GIM_Reject,
8896 /* 28399 */ // Label 336: @28399
8897 /* 28399 */ GIM_Try, /*On fail goto*//*Label 340*/ GIMT_Encode4(28482), // Rule ID 496 //
8898 /* 28404 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule356Enabled),
8899 /* 28407 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i32,
8900 /* 28410 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8901 /* 28414 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
8902 /* 28418 */ GIM_CheckType, /*MI*/1, /*Op*/2, /*Type*/GILLT_i32,
8903 /* 28422 */ // MIs[1] src
8904 /* 28422 */ // No operand predicates
8905 /* 28422 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
8906 /* 28426 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
8907 /* 28430 */ // MIs[2] Operand 1
8908 /* 28430 */ GIM_CheckLiteralInt, /*MI*/2, /*Op*/1, GIMT_Encode8(16),
8909 /* 28441 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner68),
8910 /* 28445 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
8911 /* 28447 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i16,
8912 /* 28450 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i16,
8913 /* 28453 */ // Combiner Rule #356: trunc_lshr16_unmerge_f16
8914 /* 28453 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
8915 /* 28456 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8916 /* 28461 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8917 /* 28466 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
8918 /* 28470 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_BITCAST),
8919 /* 28474 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
8920 /* 28478 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
8921 /* 28481 */ GIR_EraseRootFromParent_Done,
8922 /* 28482 */ // Label 340: @28482
8923 /* 28482 */ GIM_Reject,
8924 /* 28483 */ // Label 337: @28483
8925 /* 28483 */ GIM_Try, /*On fail goto*//*Label 341*/ GIMT_Encode4(28566), // Rule ID 497 //
8926 /* 28488 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule357Enabled),
8927 /* 28491 */ GIM_RootCheckType, /*Op*/1, /*Type*/GILLT_i32,
8928 /* 28494 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8929 /* 28498 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
8930 /* 28502 */ GIM_CheckType, /*MI*/1, /*Op*/2, /*Type*/GILLT_i32,
8931 /* 28506 */ // MIs[1] src
8932 /* 28506 */ // No operand predicates
8933 /* 28506 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
8934 /* 28510 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
8935 /* 28514 */ // MIs[2] Operand 1
8936 /* 28514 */ GIM_CheckLiteralInt, /*MI*/2, /*Op*/1, GIMT_Encode8(16),
8937 /* 28525 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner68),
8938 /* 28529 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
8939 /* 28531 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/GILLT_i16,
8940 /* 28534 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/GILLT_i16,
8941 /* 28537 */ // Combiner Rule #357: trunc_lshr16_unmerge_bf16
8942 /* 28537 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
8943 /* 28540 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8944 /* 28545 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
8945 /* 28550 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
8946 /* 28554 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_BITCAST),
8947 /* 28558 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
8948 /* 28562 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/1,
8949 /* 28565 */ GIR_EraseRootFromParent_Done,
8950 /* 28566 */ // Label 341: @28566
8951 /* 28566 */ GIM_Reject,
8952 /* 28567 */ // Label 338: @28567
8953 /* 28567 */ GIM_Try, /*On fail goto*//*Label 342*/ GIMT_Encode4(28599), // Rule ID 447 //
8954 /* 28572 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule317Enabled),
8955 /* 28575 */ // MIs[0] dst
8956 /* 28575 */ // No operand predicates
8957 /* 28575 */ // MIs[0] min
8958 /* 28575 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8959 /* 28579 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_UMIN),
8960 /* 28583 */ // MIs[1] x
8961 /* 28583 */ // No operand predicates
8962 /* 28583 */ // MIs[1] y
8963 /* 28583 */ // No operand predicates
8964 /* 28583 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner56),
8965 /* 28587 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8966 /* 28589 */ // Combiner Rule #317: trunc_usatu
8967 /* 28589 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_TRUNC_USAT_U),
8968 /* 28592 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
8969 /* 28594 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
8970 /* 28598 */ GIR_EraseRootFromParent_Done,
8971 /* 28599 */ // Label 342: @28599
8972 /* 28599 */ GIM_Try, /*On fail goto*//*Label 343*/ GIMT_Encode4(28620), // Rule ID 66 //
8973 /* 28604 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule62Enabled),
8974 /* 28607 */ // MIs[0] root
8975 /* 28607 */ // No operand predicates
8976 /* 28607 */ // MIs[0] select
8977 /* 28607 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8978 /* 28611 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
8979 /* 28615 */ // MIs[1] cond
8980 /* 28615 */ // No operand predicates
8981 /* 28615 */ // MIs[1] true
8982 /* 28615 */ // No operand predicates
8983 /* 28615 */ // MIs[1] false
8984 /* 28615 */ // No operand predicates
8985 /* 28615 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
8986 /* 28617 */ // Combiner Rule #62: select_of_truncate
8987 /* 28617 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
8988 /* 28620 */ // Label 343: @28620
8989 /* 28620 */ GIM_Try, /*On fail goto*//*Label 344*/ GIMT_Encode4(28649), // Rule ID 68 //
8990 /* 28625 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule64Enabled),
8991 /* 28628 */ // MIs[0] root
8992 /* 28628 */ // No operand predicates
8993 /* 28628 */ // MIs[0] binop
8994 /* 28628 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
8995 /* 28632 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
8996 /* 28636 */ // MIs[1] x
8997 /* 28636 */ // No operand predicates
8998 /* 28636 */ // MIs[1] const
8999 /* 28636 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9000 /* 28640 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9001 /* 28644 */ // MIs[2] imm
9002 /* 28644 */ // No operand predicates
9003 /* 28644 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9004 /* 28646 */ // Combiner Rule #64: narrow_binop_add
9005 /* 28646 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9006 /* 28649 */ // Label 344: @28649
9007 /* 28649 */ GIM_Try, /*On fail goto*//*Label 345*/ GIMT_Encode4(28678), // Rule ID 71 //
9008 /* 28654 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule67Enabled),
9009 /* 28657 */ // MIs[0] root
9010 /* 28657 */ // No operand predicates
9011 /* 28657 */ // MIs[0] binop
9012 /* 28657 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9013 /* 28661 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_AND),
9014 /* 28665 */ // MIs[1] x
9015 /* 28665 */ // No operand predicates
9016 /* 28665 */ // MIs[1] const
9017 /* 28665 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9018 /* 28669 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9019 /* 28673 */ // MIs[2] imm
9020 /* 28673 */ // No operand predicates
9021 /* 28673 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9022 /* 28675 */ // Combiner Rule #67: narrow_binop_and
9023 /* 28675 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9024 /* 28678 */ // Label 345: @28678
9025 /* 28678 */ GIM_Try, /*On fail goto*//*Label 346*/ GIMT_Encode4(28707), // Rule ID 70 //
9026 /* 28683 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
9027 /* 28686 */ // MIs[0] root
9028 /* 28686 */ // No operand predicates
9029 /* 28686 */ // MIs[0] binop
9030 /* 28686 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9031 /* 28690 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_MUL),
9032 /* 28694 */ // MIs[1] x
9033 /* 28694 */ // No operand predicates
9034 /* 28694 */ // MIs[1] const
9035 /* 28694 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9036 /* 28698 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9037 /* 28702 */ // MIs[2] imm
9038 /* 28702 */ // No operand predicates
9039 /* 28702 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9040 /* 28704 */ // Combiner Rule #66: narrow_binop_mul
9041 /* 28704 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9042 /* 28707 */ // Label 346: @28707
9043 /* 28707 */ GIM_Try, /*On fail goto*//*Label 347*/ GIMT_Encode4(28736), // Rule ID 72 //
9044 /* 28712 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule68Enabled),
9045 /* 28715 */ // MIs[0] root
9046 /* 28715 */ // No operand predicates
9047 /* 28715 */ // MIs[0] binop
9048 /* 28715 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9049 /* 28719 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
9050 /* 28723 */ // MIs[1] x
9051 /* 28723 */ // No operand predicates
9052 /* 28723 */ // MIs[1] const
9053 /* 28723 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9054 /* 28727 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9055 /* 28731 */ // MIs[2] imm
9056 /* 28731 */ // No operand predicates
9057 /* 28731 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9058 /* 28733 */ // Combiner Rule #68: narrow_binop_or
9059 /* 28733 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9060 /* 28736 */ // Label 347: @28736
9061 /* 28736 */ GIM_Try, /*On fail goto*//*Label 348*/ GIMT_Encode4(28765), // Rule ID 69 //
9062 /* 28741 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule65Enabled),
9063 /* 28744 */ // MIs[0] root
9064 /* 28744 */ // No operand predicates
9065 /* 28744 */ // MIs[0] binop
9066 /* 28744 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9067 /* 28748 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SUB),
9068 /* 28752 */ // MIs[1] x
9069 /* 28752 */ // No operand predicates
9070 /* 28752 */ // MIs[1] const
9071 /* 28752 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9072 /* 28756 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9073 /* 28760 */ // MIs[2] imm
9074 /* 28760 */ // No operand predicates
9075 /* 28760 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9076 /* 28762 */ // Combiner Rule #65: narrow_binop_sub
9077 /* 28762 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9078 /* 28765 */ // Label 348: @28765
9079 /* 28765 */ GIM_Try, /*On fail goto*//*Label 349*/ GIMT_Encode4(28794), // Rule ID 73 //
9080 /* 28770 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule69Enabled),
9081 /* 28773 */ // MIs[0] root
9082 /* 28773 */ // No operand predicates
9083 /* 28773 */ // MIs[0] binop
9084 /* 28773 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9085 /* 28777 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
9086 /* 28781 */ // MIs[1] x
9087 /* 28781 */ // No operand predicates
9088 /* 28781 */ // MIs[1] const
9089 /* 28781 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2]
9090 /* 28785 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9091 /* 28789 */ // MIs[2] imm
9092 /* 28789 */ // No operand predicates
9093 /* 28789 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9094 /* 28791 */ // Combiner Rule #69: narrow_binop_xor
9095 /* 28791 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner22),
9096 /* 28794 */ // Label 349: @28794
9097 /* 28794 */ GIM_Try, /*On fail goto*//*Label 350*/ GIMT_Encode4(28818), // Rule ID 67 //
9098 /* 28799 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule63Enabled),
9099 /* 28802 */ // MIs[0] root
9100 /* 28802 */ // No operand predicates
9101 /* 28802 */ // MIs[0] bv
9102 /* 28802 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9103 /* 28806 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
9104 /* 28810 */ GIM_CheckNumOperandsGE, /*MI*/1, /*Expected*/2,
9105 /* 28813 */ // MIs[1] unused
9106 /* 28813 */ // No operand predicates
9107 /* 28813 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9108 /* 28815 */ // Combiner Rule #63: buildvector_of_truncate
9109 /* 28815 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner21),
9110 /* 28818 */ // Label 350: @28818
9111 /* 28818 */ GIM_Try, /*On fail goto*//*Label 351*/ GIMT_Encode4(28839), // Rule ID 55 //
9112 /* 28823 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule51Enabled),
9113 /* 28826 */ // MIs[0] root
9114 /* 28826 */ // No operand predicates
9115 /* 28826 */ // MIs[0] ext
9116 /* 28826 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9117 /* 28830 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9118 /* 28834 */ // MIs[1] src
9119 /* 28834 */ // No operand predicates
9120 /* 28834 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9121 /* 28836 */ // Combiner Rule #51: truncate_of_anyext
9122 /* 28836 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner17),
9123 /* 28839 */ // Label 351: @28839
9124 /* 28839 */ GIM_Try, /*On fail goto*//*Label 352*/ GIMT_Encode4(28860), // Rule ID 54 //
9125 /* 28844 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule50Enabled),
9126 /* 28847 */ // MIs[0] root
9127 /* 28847 */ // No operand predicates
9128 /* 28847 */ // MIs[0] ext
9129 /* 28847 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9130 /* 28851 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
9131 /* 28855 */ // MIs[1] src
9132 /* 28855 */ // No operand predicates
9133 /* 28855 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9134 /* 28857 */ // Combiner Rule #50: truncate_of_sext
9135 /* 28857 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner17),
9136 /* 28860 */ // Label 352: @28860
9137 /* 28860 */ GIM_Try, /*On fail goto*//*Label 353*/ GIMT_Encode4(28881), // Rule ID 53 //
9138 /* 28865 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule49Enabled),
9139 /* 28868 */ // MIs[0] root
9140 /* 28868 */ // No operand predicates
9141 /* 28868 */ // MIs[0] ext
9142 /* 28868 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9143 /* 28872 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
9144 /* 28876 */ // MIs[1] src
9145 /* 28876 */ // No operand predicates
9146 /* 28876 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9147 /* 28878 */ // Combiner Rule #49: truncate_of_zext
9148 /* 28878 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner17),
9149 /* 28881 */ // Label 353: @28881
9150 /* 28881 */ GIM_Try, /*On fail goto*//*Label 354*/ GIMT_Encode4(28905), // Rule ID 98 //
9151 /* 28886 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
9152 /* 28889 */ // MIs[0] dst
9153 /* 28889 */ // No operand predicates
9154 /* 28889 */ // MIs[0] __unary_undef_to_undef_match_0.x
9155 /* 28889 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9156 /* 28893 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9157 /* 28897 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9158 /* 28899 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[0]]
9159 /* 28899 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9160 /* 28902 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9161 /* 28904 */ GIR_EraseRootFromParent_Done,
9162 /* 28905 */ // Label 354: @28905
9163 /* 28905 */ GIM_Try, /*On fail goto*//*Label 355*/ GIMT_Encode4(28926), // Rule ID 74 //
9164 /* 28910 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule70Enabled),
9165 /* 28913 */ // MIs[0] root
9166 /* 28913 */ // No operand predicates
9167 /* 28913 */ // MIs[0] int
9168 /* 28913 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9169 /* 28917 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9170 /* 28921 */ // MIs[1] imm
9171 /* 28921 */ // No operand predicates
9172 /* 28921 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9173 /* 28923 */ // Combiner Rule #70: integer_of_truncate
9174 /* 28923 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner23),
9175 /* 28926 */ // Label 355: @28926
9176 /* 28926 */ GIM_Try, /*On fail goto*//*Label 356*/ GIMT_Encode4(28937), // Rule ID 154 //
9177 /* 28931 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
9178 /* 28934 */ // MIs[0] dst
9179 /* 28934 */ // No operand predicates
9180 /* 28934 */ // MIs[0] src
9181 /* 28934 */ // No operand predicates
9182 /* 28934 */ // Combiner Rule #109: trunc_buildvector_fold
9183 /* 28934 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner35),
9184 /* 28937 */ // Label 356: @28937
9185 /* 28937 */ GIM_Try, /*On fail goto*//*Label 357*/ GIMT_Encode4(28948), // Rule ID 155 //
9186 /* 28942 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule110Enabled),
9187 /* 28945 */ // MIs[0] dst
9188 /* 28945 */ // No operand predicates
9189 /* 28945 */ // MIs[0] src
9190 /* 28945 */ // No operand predicates
9191 /* 28945 */ // Combiner Rule #110: trunc_lshr_buildvector_fold
9192 /* 28945 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner36),
9193 /* 28948 */ // Label 357: @28948
9194 /* 28948 */ GIM_Try, /*On fail goto*//*Label 358*/ GIMT_Encode4(28959), // Rule ID 207 //
9195 /* 28953 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule157Enabled),
9196 /* 28956 */ // MIs[0] dst
9197 /* 28956 */ // No operand predicates
9198 /* 28956 */ // MIs[0] src
9199 /* 28956 */ // No operand predicates
9200 /* 28956 */ // Combiner Rule #157: trunc_shift
9201 /* 28956 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner60),
9202 /* 28959 */ // Label 358: @28959
9203 /* 28959 */ GIM_Try, /*On fail goto*//*Label 359*/ GIMT_Encode4(28970), // Rule ID 445 //
9204 /* 28964 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule315Enabled),
9205 /* 28967 */ // MIs[0] dst
9206 /* 28967 */ // No operand predicates
9207 /* 28967 */ // MIs[0] src
9208 /* 28967 */ // No operand predicates
9209 /* 28967 */ // Combiner Rule #315: trunc_ssats
9210 /* 28967 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner124),
9211 /* 28970 */ // Label 359: @28970
9212 /* 28970 */ GIM_Try, /*On fail goto*//*Label 360*/ GIMT_Encode4(28981), // Rule ID 446 //
9213 /* 28975 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule316Enabled),
9214 /* 28978 */ // MIs[0] dst
9215 /* 28978 */ // No operand predicates
9216 /* 28978 */ // MIs[0] src
9217 /* 28978 */ // No operand predicates
9218 /* 28978 */ // Combiner Rule #316: trunc_ssatu
9219 /* 28978 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner125),
9220 /* 28981 */ // Label 360: @28981
9221 /* 28981 */ GIM_Reject,
9222 /* 28982 */ // Label 31: @28982
9223 /* 28982 */ GIM_Try, /*On fail goto*//*Label 361*/ GIMT_Encode4(29014), // Rule ID 448 //
9224 /* 28987 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule318Enabled),
9225 /* 28990 */ // MIs[0] dst
9226 /* 28990 */ // No operand predicates
9227 /* 28990 */ // MIs[0] src
9228 /* 28990 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9229 /* 28994 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPTOUI),
9230 /* 28998 */ // MIs[1] x
9231 /* 28998 */ // No operand predicates
9232 /* 28998 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner57),
9233 /* 29002 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9234 /* 29004 */ // Combiner Rule #318: truncusatu_to_fptouisat
9235 /* 29004 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FPTOUI_SAT),
9236 /* 29007 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9237 /* 29009 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
9238 /* 29013 */ GIR_EraseRootFromParent_Done,
9239 /* 29014 */ // Label 361: @29014
9240 /* 29014 */ GIM_Reject,
9241 /* 29015 */ // Label 32: @29015
9242 /* 29015 */ GIM_Try, /*On fail goto*//*Label 362*/ GIMT_Encode4(29036), // Rule ID 59 //
9243 /* 29020 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule55Enabled),
9244 /* 29023 */ // MIs[0] root
9245 /* 29023 */ // No operand predicates
9246 /* 29023 */ // MIs[0] second
9247 /* 29023 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9248 /* 29027 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9249 /* 29031 */ // MIs[1] src
9250 /* 29031 */ // No operand predicates
9251 /* 29031 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9252 /* 29033 */ // Combiner Rule #55: sext_of_anyext
9253 /* 29033 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
9254 /* 29036 */ // Label 362: @29036
9255 /* 29036 */ GIM_Try, /*On fail goto*//*Label 363*/ GIMT_Encode4(29057), // Rule ID 58 //
9256 /* 29041 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule54Enabled),
9257 /* 29044 */ // MIs[0] root
9258 /* 29044 */ // No operand predicates
9259 /* 29044 */ // MIs[0] second
9260 /* 29044 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9261 /* 29048 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT),
9262 /* 29052 */ // MIs[1] src
9263 /* 29052 */ // No operand predicates
9264 /* 29052 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9265 /* 29054 */ // Combiner Rule #54: sext_of_sext
9266 /* 29054 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
9267 /* 29057 */ // Label 363: @29057
9268 /* 29057 */ GIM_Try, /*On fail goto*//*Label 364*/ GIMT_Encode4(29078), // Rule ID 422 //
9269 /* 29062 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule292Enabled),
9270 /* 29065 */ // MIs[0] root
9271 /* 29065 */ // No operand predicates
9272 /* 29065 */ // MIs[0] src
9273 /* 29065 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9274 /* 29069 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
9275 /* 29073 */ // MIs[1] x
9276 /* 29073 */ // No operand predicates
9277 /* 29073 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9278 /* 29075 */ // Combiner Rule #292: sext_trunc
9279 /* 29075 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner107),
9280 /* 29078 */ // Label 364: @29078
9281 /* 29078 */ GIM_Try, /*On fail goto*//*Label 365*/ GIMT_Encode4(29089), // Rule ID 314 //
9282 /* 29083 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9283 /* 29086 */ // MIs[0] dst
9284 /* 29086 */ // No operand predicates
9285 /* 29086 */ // MIs[0] d.src
9286 /* 29086 */ // No operand predicates
9287 /* 29086 */ // Combiner Rule #216: constant_fold_cast_op @ [d[1]]
9288 /* 29086 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner82),
9289 /* 29089 */ // Label 365: @29089
9290 /* 29089 */ GIM_Reject,
9291 /* 29090 */ // Label 33: @29090
9292 /* 29090 */ GIM_Try, /*On fail goto*//*Label 366*/ GIMT_Encode4(29122), // Rule ID 197 //
9293 /* 29095 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
9294 /* 29098 */ // MIs[0] dst
9295 /* 29098 */ // No operand predicates
9296 /* 29098 */ // MIs[0] tmp
9297 /* 29098 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9298 /* 29102 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9299 /* 29106 */ // MIs[1] src
9300 /* 29106 */ // No operand predicates
9301 /* 29106 */ // MIs[0] amt
9302 /* 29106 */ // No operand predicates
9303 /* 29106 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner30),
9304 /* 29110 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9305 /* 29112 */ // Combiner Rule #147: redundant_aext_sext_inreg
9306 /* 29112 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
9307 /* 29115 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9308 /* 29117 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
9309 /* 29121 */ GIR_EraseRootFromParent_Done,
9310 /* 29122 */ // Label 366: @29122
9311 /* 29122 */ GIM_Try, /*On fail goto*//*Label 367*/ GIMT_Encode4(29154), // Rule ID 196 //
9312 /* 29127 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
9313 /* 29130 */ // MIs[0] dst
9314 /* 29130 */ // No operand predicates
9315 /* 29130 */ // MIs[0] tmp
9316 /* 29130 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9317 /* 29134 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
9318 /* 29138 */ // MIs[1] src
9319 /* 29138 */ // No operand predicates
9320 /* 29138 */ // MIs[0] amt
9321 /* 29138 */ // No operand predicates
9322 /* 29138 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner30),
9323 /* 29142 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9324 /* 29144 */ // Combiner Rule #146: redundant_zext_sext_inreg
9325 /* 29144 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
9326 /* 29147 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9327 /* 29149 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
9328 /* 29153 */ GIR_EraseRootFromParent_Done,
9329 /* 29154 */ // Label 367: @29154
9330 /* 29154 */ GIM_Try, /*On fail goto*//*Label 368*/ GIMT_Encode4(29177), // Rule ID 195 //
9331 /* 29159 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule145Enabled),
9332 /* 29162 */ // MIs[0] dst
9333 /* 29162 */ // No operand predicates
9334 /* 29162 */ // MIs[0] src
9335 /* 29162 */ // No operand predicates
9336 /* 29162 */ // MIs[0] sz
9337 /* 29162 */ // No operand predicates
9338 /* 29162 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner29),
9339 /* 29166 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9340 /* 29171 */ // Combiner Rule #145: redundant_sext_inreg
9341 /* 29171 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9342 /* 29176 */ GIR_EraseRootFromParent_Done,
9343 /* 29177 */ // Label 368: @29177
9344 /* 29177 */ GIM_Try, /*On fail goto*//*Label 369*/ GIMT_Encode4(29198), // Rule ID 63 //
9345 /* 29182 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule59Enabled),
9346 /* 29185 */ // MIs[0] dst
9347 /* 29185 */ // No operand predicates
9348 /* 29185 */ // MIs[0] x
9349 /* 29185 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9350 /* 29189 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SEXT_INREG),
9351 /* 29193 */ // MIs[1] src
9352 /* 29193 */ // No operand predicates
9353 /* 29193 */ // MIs[1] a
9354 /* 29193 */ // No operand predicates
9355 /* 29193 */ // MIs[0] b
9356 /* 29193 */ // No operand predicates
9357 /* 29193 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9358 /* 29195 */ // Combiner Rule #59: sext_inreg_of_sext_inreg
9359 /* 29195 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner19),
9360 /* 29198 */ // Label 369: @29198
9361 /* 29198 */ GIM_Try, /*On fail goto*//*Label 370*/ GIMT_Encode4(29238), // Rule ID 199 //
9362 /* 29203 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
9363 /* 29206 */ // MIs[0] dst
9364 /* 29206 */ // No operand predicates
9365 /* 29206 */ // MIs[0] tmp4
9366 /* 29206 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9367 /* 29210 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9368 /* 29214 */ // MIs[1] tmp2
9369 /* 29214 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9370 /* 29218 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
9371 /* 29222 */ GIM_CheckNumOperands, /*MI*/2, /*Expected*/3,
9372 /* 29225 */ // MIs[2] tmp3
9373 /* 29225 */ // No operand predicates
9374 /* 29225 */ // MIs[2] tmp1
9375 /* 29225 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/2, // MIs[3]
9376 /* 29229 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9377 /* 29233 */ // MIs[3] src
9378 /* 29233 */ // No operand predicates
9379 /* 29233 */ // MIs[0] amt
9380 /* 29233 */ // No operand predicates
9381 /* 29233 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
9382 /* 29235 */ // Combiner Rule #149: redundant_aext_unmerge_sext_inreg
9383 /* 29235 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner54),
9384 /* 29238 */ // Label 370: @29238
9385 /* 29238 */ GIM_Try, /*On fail goto*//*Label 371*/ GIMT_Encode4(29278), // Rule ID 198 //
9386 /* 29243 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
9387 /* 29246 */ // MIs[0] dst
9388 /* 29246 */ // No operand predicates
9389 /* 29246 */ // MIs[0] tmp4
9390 /* 29246 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9391 /* 29250 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
9392 /* 29254 */ // MIs[1] tmp2
9393 /* 29254 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9394 /* 29258 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_UNMERGE_VALUES),
9395 /* 29262 */ GIM_CheckNumOperands, /*MI*/2, /*Expected*/3,
9396 /* 29265 */ // MIs[2] tmp3
9397 /* 29265 */ // No operand predicates
9398 /* 29265 */ // MIs[2] tmp1
9399 /* 29265 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/2, // MIs[3]
9400 /* 29269 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ZEXT),
9401 /* 29273 */ // MIs[3] src
9402 /* 29273 */ // No operand predicates
9403 /* 29273 */ // MIs[0] amt
9404 /* 29273 */ // No operand predicates
9405 /* 29273 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
9406 /* 29275 */ // Combiner Rule #148: redundant_zext_unmerge_sext_inreg
9407 /* 29275 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner54),
9408 /* 29278 */ // Label 371: @29278
9409 /* 29278 */ GIM_Try, /*On fail goto*//*Label 372*/ GIMT_Encode4(29289), // Rule ID 183 //
9410 /* 29283 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule133Enabled),
9411 /* 29286 */ // MIs[0] dst
9412 /* 29286 */ // No operand predicates
9413 /* 29286 */ // MIs[0] src
9414 /* 29286 */ // No operand predicates
9415 /* 29286 */ // MIs[0] sz
9416 /* 29286 */ // No operand predicates
9417 /* 29286 */ // Combiner Rule #133: sext_inreg_of_load
9418 /* 29286 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner49),
9419 /* 29289 */ // Label 372: @29289
9420 /* 29289 */ GIM_Try, /*On fail goto*//*Label 373*/ GIMT_Encode4(29300), // Rule ID 204 //
9421 /* 29294 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
9422 /* 29297 */ // MIs[0] dst
9423 /* 29297 */ // No operand predicates
9424 /* 29297 */ // MIs[0] src
9425 /* 29297 */ // No operand predicates
9426 /* 29297 */ // MIs[0] imm
9427 /* 29297 */ // No operand predicates
9428 /* 29297 */ // Combiner Rule #154: sext_inreg_to_zext_inreg
9429 /* 29297 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner59),
9430 /* 29300 */ // Label 373: @29300
9431 /* 29300 */ GIM_Try, /*On fail goto*//*Label 374*/ GIMT_Encode4(29311), // Rule ID 275 //
9432 /* 29305 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule209Enabled),
9433 /* 29308 */ // MIs[0] dst
9434 /* 29308 */ // No operand predicates
9435 /* 29308 */ // MIs[0] src
9436 /* 29308 */ // No operand predicates
9437 /* 29308 */ // MIs[0] sz
9438 /* 29308 */ // No operand predicates
9439 /* 29308 */ // Combiner Rule #209: bitfield_extract_from_sext_inreg
9440 /* 29308 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner75),
9441 /* 29311 */ // Label 374: @29311
9442 /* 29311 */ GIM_Try, /*On fail goto*//*Label 375*/ GIMT_Encode4(29322), // Rule ID 493 //
9443 /* 29316 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule353Enabled),
9444 /* 29319 */ // MIs[0] dst
9445 /* 29319 */ // No operand predicates
9446 /* 29319 */ // MIs[0] src
9447 /* 29319 */ // No operand predicates
9448 /* 29319 */ // MIs[0] width
9449 /* 29319 */ // No operand predicates
9450 /* 29319 */ // Combiner Rule #353: sign_extension_in_reg
9451 /* 29319 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner137),
9452 /* 29322 */ // Label 375: @29322
9453 /* 29322 */ GIM_Reject,
9454 /* 29323 */ // Label 34: @29323
9455 /* 29323 */ GIM_Try, /*On fail goto*//*Label 376*/ GIMT_Encode4(29340), // Rule ID 424 //
9456 /* 29328 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule294Enabled),
9457 /* 29331 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NonNeg),
9458 /* 29337 */ // MIs[0] root
9459 /* 29337 */ // No operand predicates
9460 /* 29337 */ // MIs[0] x
9461 /* 29337 */ // No operand predicates
9462 /* 29337 */ // Combiner Rule #294: nneg_zext
9463 /* 29337 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner109),
9464 /* 29340 */ // Label 376: @29340
9465 /* 29340 */ GIM_Try, /*On fail goto*//*Label 377*/ GIMT_Encode4(29361), // Rule ID 64 //
9466 /* 29345 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule60Enabled),
9467 /* 29348 */ // MIs[0] root
9468 /* 29348 */ // No operand predicates
9469 /* 29348 */ // MIs[0] select
9470 /* 29348 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9471 /* 29352 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
9472 /* 29356 */ // MIs[1] cond
9473 /* 29356 */ // No operand predicates
9474 /* 29356 */ // MIs[1] true
9475 /* 29356 */ // No operand predicates
9476 /* 29356 */ // MIs[1] false
9477 /* 29356 */ // No operand predicates
9478 /* 29356 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9479 /* 29358 */ // Combiner Rule #60: select_of_zext
9480 /* 29358 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner20),
9481 /* 29361 */ // Label 377: @29361
9482 /* 29361 */ GIM_Try, /*On fail goto*//*Label 378*/ GIMT_Encode4(29388), // Rule ID 423 //
9483 /* 29366 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule293Enabled),
9484 /* 29369 */ // MIs[0] root
9485 /* 29369 */ // No operand predicates
9486 /* 29369 */ // MIs[0] src
9487 /* 29369 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9488 /* 29373 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
9489 /* 29377 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::NoUWrap),
9490 /* 29383 */ // MIs[1] x
9491 /* 29383 */ // No operand predicates
9492 /* 29383 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9493 /* 29385 */ // Combiner Rule #293: zext_trunc
9494 /* 29385 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner108),
9495 /* 29388 */ // Label 378: @29388
9496 /* 29388 */ GIM_Try, /*On fail goto*//*Label 379*/ GIMT_Encode4(29409), // Rule ID 57 //
9497 /* 29393 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule53Enabled),
9498 /* 29396 */ // MIs[0] root
9499 /* 29396 */ // No operand predicates
9500 /* 29396 */ // MIs[0] second
9501 /* 29396 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9502 /* 29400 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
9503 /* 29404 */ // MIs[1] src
9504 /* 29404 */ // No operand predicates
9505 /* 29404 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9506 /* 29406 */ // Combiner Rule #53: zext_of_anyext
9507 /* 29406 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
9508 /* 29409 */ // Label 379: @29409
9509 /* 29409 */ GIM_Try, /*On fail goto*//*Label 380*/ GIMT_Encode4(29430), // Rule ID 56 //
9510 /* 29414 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule52Enabled),
9511 /* 29417 */ // MIs[0] root
9512 /* 29417 */ // No operand predicates
9513 /* 29417 */ // MIs[0] second
9514 /* 29417 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9515 /* 29421 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ZEXT),
9516 /* 29425 */ // MIs[1] src
9517 /* 29425 */ // No operand predicates
9518 /* 29425 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9519 /* 29427 */ // Combiner Rule #52: zext_of_zext
9520 /* 29427 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner18),
9521 /* 29430 */ // Label 380: @29430
9522 /* 29430 */ GIM_Try, /*On fail goto*//*Label 381*/ GIMT_Encode4(29441), // Rule ID 203 //
9523 /* 29435 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
9524 /* 29438 */ // MIs[0] dst
9525 /* 29438 */ // No operand predicates
9526 /* 29438 */ // MIs[0] src
9527 /* 29438 */ // No operand predicates
9528 /* 29438 */ // Combiner Rule #153: zext_trunc_fold
9529 /* 29438 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner58),
9530 /* 29441 */ // Label 381: @29441
9531 /* 29441 */ GIM_Try, /*On fail goto*//*Label 382*/ GIMT_Encode4(29452), // Rule ID 313 //
9532 /* 29446 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule216Enabled),
9533 /* 29449 */ // MIs[0] dst
9534 /* 29449 */ // No operand predicates
9535 /* 29449 */ // MIs[0] d.src
9536 /* 29449 */ // No operand predicates
9537 /* 29449 */ // Combiner Rule #216: constant_fold_cast_op @ [d[0]]
9538 /* 29449 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner82),
9539 /* 29452 */ // Label 382: @29452
9540 /* 29452 */ GIM_Reject,
9541 /* 29453 */ // Label 35: @29453
9542 /* 29453 */ GIM_Try, /*On fail goto*//*Label 383*/ GIMT_Encode4(29464), // Rule ID 510 //
9543 /* 29458 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule367Enabled),
9544 /* 29461 */ // Combiner Rule #367: simplify_demanded_bits; wip_match_opcode 'G_SHL'
9545 /* 29461 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
9546 /* 29464 */ // Label 383: @29464
9547 /* 29464 */ GIM_Try, /*On fail goto*//*Label 384*/ GIMT_Encode4(29542), // Rule ID 273 //
9548 /* 29469 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule207Enabled),
9549 /* 29472 */ // MIs[0] dst
9550 /* 29472 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
9551 /* 29476 */ // MIs[0] binop_dst
9552 /* 29476 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9553 /* 29480 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
9554 /* 29484 */ // MIs[1] x
9555 /* 29484 */ // No operand predicates
9556 /* 29484 */ // MIs[1] c1
9557 /* 29484 */ // No operand predicates
9558 /* 29484 */ // MIs[0] c2
9559 /* 29484 */ // No operand predicates
9560 /* 29484 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner43),
9561 /* 29488 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9562 /* 29490 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
9563 /* 29493 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
9564 /* 29496 */ // Combiner Rule #207: commute_shift_add
9565 /* 29496 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
9566 /* 29499 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9567 /* 29504 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
9568 /* 29508 */ GIR_RootToRootCopy, /*OpIdx*/2, // c2
9569 /* 29510 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
9570 /* 29514 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9571 /* 29519 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/2, // c1
9572 /* 29523 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // c2
9573 /* 29527 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
9574 /* 29531 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
9575 /* 29535 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
9576 /* 29538 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
9577 /* 29541 */ GIR_EraseRootFromParent_Done,
9578 /* 29542 */ // Label 384: @29542
9579 /* 29542 */ GIM_Try, /*On fail goto*//*Label 385*/ GIMT_Encode4(29620), // Rule ID 274 //
9580 /* 29547 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule208Enabled),
9581 /* 29550 */ // MIs[0] dst
9582 /* 29550 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
9583 /* 29554 */ // MIs[0] binop_dst
9584 /* 29554 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9585 /* 29558 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_OR),
9586 /* 29562 */ // MIs[1] x
9587 /* 29562 */ // No operand predicates
9588 /* 29562 */ // MIs[1] c1
9589 /* 29562 */ // No operand predicates
9590 /* 29562 */ // MIs[0] c2
9591 /* 29562 */ // No operand predicates
9592 /* 29562 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner43),
9593 /* 29566 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9594 /* 29568 */ GIR_MakeTempReg, /*TempRegID*/1, /*TypeID*/255,
9595 /* 29571 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
9596 /* 29574 */ // Combiner Rule #208: commute_shift_or
9597 /* 29574 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
9598 /* 29577 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9599 /* 29582 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
9600 /* 29586 */ GIR_RootToRootCopy, /*OpIdx*/2, // c2
9601 /* 29588 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
9602 /* 29592 */ GIR_AddTempRegister, /*InsnID*/1, /*TempRegID*/1, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9603 /* 29597 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/1, /*OpIdx*/2, // c1
9604 /* 29601 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/2, // c2
9605 /* 29605 */ GIR_BuildMI, /*InsnID*/2, /*Opcode*/GIMT_Encode2(TargetOpcode::G_OR),
9606 /* 29609 */ GIR_Copy, /*NewInsnID*/2, /*OldInsnID*/0, /*OpIdx*/0, // dst
9607 /* 29613 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/0,
9608 /* 29616 */ GIR_AddSimpleTempRegister, /*InsnID*/2, /*TempRegID*/1,
9609 /* 29619 */ GIR_EraseRootFromParent_Done,
9610 /* 29620 */ // Label 385: @29620
9611 /* 29620 */ GIM_Try, /*On fail goto*//*Label 386*/ GIMT_Encode4(29643), // Rule ID 133 //
9612 /* 29625 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
9613 /* 29628 */ // MIs[0] dst
9614 /* 29628 */ // No operand predicates
9615 /* 29628 */ // MIs[0] zero
9616 /* 29628 */ // No operand predicates
9617 /* 29628 */ // MIs[0] rhs
9618 /* 29628 */ // No operand predicates
9619 /* 29628 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
9620 /* 29632 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9621 /* 29637 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[0]]
9622 /* 29637 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9623 /* 29642 */ GIR_EraseRootFromParent_Done,
9624 /* 29643 */ // Label 386: @29643
9625 /* 29643 */ GIM_Try, /*On fail goto*//*Label 387*/ GIMT_Encode4(29678), // Rule ID 48 //
9626 /* 29648 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule44Enabled),
9627 /* 29651 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::NoSWrap),
9628 /* 29657 */ // MIs[0] root
9629 /* 29657 */ // No operand predicates
9630 /* 29657 */ // MIs[0] left
9631 /* 29657 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9632 /* 29661 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_VSCALE),
9633 /* 29665 */ // MIs[1] imm
9634 /* 29665 */ // No operand predicates
9635 /* 29665 */ // MIs[0] x
9636 /* 29665 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
9637 /* 29669 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
9638 /* 29673 */ // MIs[2] imm1
9639 /* 29673 */ // No operand predicates
9640 /* 29673 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9641 /* 29675 */ // Combiner Rule #44: shl_of_vscale
9642 /* 29675 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner14),
9643 /* 29678 */ // Label 387: @29678
9644 /* 29678 */ GIM_Try, /*On fail goto*//*Label 388*/ GIMT_Encode4(29699), // Rule ID 91 //
9645 /* 29683 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
9646 /* 29686 */ // MIs[0] dst
9647 /* 29686 */ // No operand predicates
9648 /* 29686 */ // MIs[0] __binop_left_undef_to_zero_match_0.x
9649 /* 29686 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9650 /* 29690 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9651 /* 29694 */ // MIs[0] __binop_left_undef_to_zero_match_0.y
9652 /* 29694 */ // No operand predicates
9653 /* 29694 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9654 /* 29696 */ // Combiner Rule #80: binop_left_undef_to_zero @ [__binop_left_undef_to_zero_match_0[0]]
9655 /* 29696 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
9656 /* 29699 */ // Label 388: @29699
9657 /* 29699 */ GIM_Try, /*On fail goto*//*Label 389*/ GIMT_Encode4(29723), // Rule ID 94 //
9658 /* 29704 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
9659 /* 29707 */ // MIs[0] dst
9660 /* 29707 */ // No operand predicates
9661 /* 29707 */ // MIs[0] __binop_right_undef_to_undef_match_0.x
9662 /* 29707 */ // No operand predicates
9663 /* 29707 */ // MIs[0] __binop_right_undef_to_undef_match_0.y
9664 /* 29707 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9665 /* 29711 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9666 /* 29715 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9667 /* 29717 */ // Combiner Rule #81: binop_right_undef_to_undef @ [__binop_right_undef_to_undef_match_0[0]]
9668 /* 29717 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9669 /* 29720 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9670 /* 29722 */ GIR_EraseRootFromParent_Done,
9671 /* 29723 */ // Label 389: @29723
9672 /* 29723 */ GIM_Try, /*On fail goto*//*Label 390*/ GIMT_Encode4(29746), // Rule ID 123 //
9673 /* 29728 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
9674 /* 29731 */ // MIs[0] dst
9675 /* 29731 */ // No operand predicates
9676 /* 29731 */ // MIs[0] lhs
9677 /* 29731 */ // No operand predicates
9678 /* 29731 */ // MIs[0] Operand 2
9679 /* 29731 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
9680 /* 29735 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9681 /* 29740 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[4]]
9682 /* 29740 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9683 /* 29745 */ GIR_EraseRootFromParent_Done,
9684 /* 29746 */ // Label 390: @29746
9685 /* 29746 */ GIM_Try, /*On fail goto*//*Label 391*/ GIMT_Encode4(29757), // Rule ID 168 //
9686 /* 29751 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
9687 /* 29754 */ // MIs[0] root
9688 /* 29754 */ // No operand predicates
9689 /* 29754 */ // MIs[0] mi.shifted
9690 /* 29754 */ // No operand predicates
9691 /* 29754 */ // MIs[0] mi.amt
9692 /* 29754 */ // No operand predicates
9693 /* 29754 */ // Combiner Rule #120: shifts_too_big @ [mi[0]]
9694 /* 29754 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
9695 /* 29757 */ // Label 391: @29757
9696 /* 29757 */ GIM_Try, /*On fail goto*//*Label 392*/ GIMT_Encode4(29768), // Rule ID 184 //
9697 /* 29762 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule134Enabled),
9698 /* 29765 */ // MIs[0] dst
9699 /* 29765 */ // No operand predicates
9700 /* 29765 */ // MIs[0] src0
9701 /* 29765 */ // No operand predicates
9702 /* 29765 */ // MIs[0] src1
9703 /* 29765 */ // No operand predicates
9704 /* 29765 */ // Combiner Rule #134: reduce_shl_of_extend
9705 /* 29765 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner50),
9706 /* 29768 */ // Label 392: @29768
9707 /* 29768 */ GIM_Try, /*On fail goto*//*Label 393*/ GIMT_Encode4(29779), // Rule ID 247 //
9708 /* 29773 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
9709 /* 29776 */ // MIs[0] d
9710 /* 29776 */ // No operand predicates
9711 /* 29776 */ // MIs[0] mi.base
9712 /* 29776 */ // No operand predicates
9713 /* 29776 */ // MIs[0] mi.amt
9714 /* 29776 */ // No operand predicates
9715 /* 29776 */ // Combiner Rule #193: shift_immed_chain @ [mi[0]]
9716 /* 29776 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
9717 /* 29779 */ // Label 393: @29779
9718 /* 29779 */ GIM_Try, /*On fail goto*//*Label 394*/ GIMT_Encode4(29790), // Rule ID 252 //
9719 /* 29784 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
9720 /* 29787 */ // MIs[0] d
9721 /* 29787 */ // No operand predicates
9722 /* 29787 */ // MIs[0] mi.base
9723 /* 29787 */ // No operand predicates
9724 /* 29787 */ // MIs[0] mi.amt
9725 /* 29787 */ // No operand predicates
9726 /* 29787 */ // Combiner Rule #194: shift_of_shifted_logic_chain @ [mi[0]]
9727 /* 29787 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner70),
9728 /* 29790 */ // Label 394: @29790
9729 /* 29790 */ GIM_Try, /*On fail goto*//*Label 395*/ GIMT_Encode4(29801), // Rule ID 288 //
9730 /* 29795 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
9731 /* 29798 */ // MIs[0] d
9732 /* 29798 */ // No operand predicates
9733 /* 29798 */ // MIs[0] mi.src0
9734 /* 29798 */ // No operand predicates
9735 /* 29798 */ // MIs[0] mi.src1
9736 /* 29798 */ // No operand predicates
9737 /* 29798 */ // Combiner Rule #213: constant_fold_binop @ [mi[7]]
9738 /* 29798 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
9739 /* 29801 */ // Label 395: @29801
9740 /* 29801 */ GIM_Try, /*On fail goto*//*Label 396*/ GIMT_Encode4(29812), // Rule ID 354 //
9741 /* 29806 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
9742 /* 29809 */ // MIs[0] root
9743 /* 29809 */ // No operand predicates
9744 /* 29809 */ // MIs[0] mi.x
9745 /* 29809 */ // No operand predicates
9746 /* 29809 */ // MIs[0] mi.y
9747 /* 29809 */ // No operand predicates
9748 /* 29809 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[12]]
9749 /* 29809 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
9750 /* 29812 */ // Label 396: @29812
9751 /* 29812 */ GIM_Reject,
9752 /* 29813 */ // Label 36: @29813
9753 /* 29813 */ GIM_Try, /*On fail goto*//*Label 397*/ GIMT_Encode4(29824), // Rule ID 511 //
9754 /* 29818 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule367Enabled),
9755 /* 29821 */ // Combiner Rule #367: simplify_demanded_bits; wip_match_opcode 'G_LSHR'
9756 /* 29821 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
9757 /* 29824 */ // Label 397: @29824
9758 /* 29824 */ GIM_Try, /*On fail goto*//*Label 398*/ GIMT_Encode4(29913), // Rule ID 470 //
9759 /* 29829 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule337Enabled),
9760 /* 29832 */ // MIs[0] dst
9761 /* 29832 */ // No operand predicates
9762 /* 29832 */ // MIs[0] sum
9763 /* 29832 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9764 /* 29836 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
9765 /* 29840 */ // MIs[1] inner
9766 /* 29840 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9767 /* 29844 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
9768 /* 29848 */ // MIs[2] ext1
9769 /* 29848 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
9770 /* 29852 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ZEXT),
9771 /* 29856 */ // MIs[3] x
9772 /* 29856 */ GIM_RecordRegType, /*MI*/3, /*Op*/1, /*TempTypeIdx*/255,
9773 /* 29860 */ // MIs[2] ext2
9774 /* 29860 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/4, /*MI*/2, /*OpIdx*/2, // MIs[4]
9775 /* 29864 */ GIM_CheckOpcode, /*MI*/4, GIMT_Encode2(TargetOpcode::G_ZEXT),
9776 /* 29868 */ // MIs[4] y
9777 /* 29868 */ // No operand predicates
9778 /* 29868 */ // MIs[1] Operand 2
9779 /* 29868 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
9780 /* 29872 */ // MIs[0] Operand 2
9781 /* 29872 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
9782 /* 29876 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner65),
9783 /* 29880 */ GIM_CheckIsSafeToFold, /*NumInsns*/4,
9784 /* 29882 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
9785 /* 29885 */ // Combiner Rule #337: avgceil_u_match
9786 /* 29885 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UAVGCEIL),
9787 /* 29888 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9788 /* 29893 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // x
9789 /* 29897 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/4, /*OpIdx*/1, // y
9790 /* 29901 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
9791 /* 29905 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
9792 /* 29909 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
9793 /* 29912 */ GIR_EraseRootFromParent_Done,
9794 /* 29913 */ // Label 398: @29913
9795 /* 29913 */ GIM_Try, /*On fail goto*//*Label 399*/ GIMT_Encode4(29990), // Rule ID 468 //
9796 /* 29918 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule335Enabled),
9797 /* 29921 */ // MIs[0] dst
9798 /* 29921 */ // No operand predicates
9799 /* 29921 */ // MIs[0] sum
9800 /* 29921 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9801 /* 29925 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
9802 /* 29929 */ // MIs[1] ext1
9803 /* 29929 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9804 /* 29933 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ZEXT),
9805 /* 29937 */ // MIs[2] x
9806 /* 29937 */ GIM_RecordRegType, /*MI*/2, /*Op*/1, /*TempTypeIdx*/255,
9807 /* 29941 */ // MIs[1] ext2
9808 /* 29941 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/1, /*OpIdx*/2, // MIs[3]
9809 /* 29945 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_ZEXT),
9810 /* 29949 */ // MIs[3] y
9811 /* 29949 */ // No operand predicates
9812 /* 29949 */ // MIs[0] Operand 2
9813 /* 29949 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
9814 /* 29953 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner63),
9815 /* 29957 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
9816 /* 29959 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
9817 /* 29962 */ // Combiner Rule #335: avgfloor_u_match
9818 /* 29962 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UAVGFLOOR),
9819 /* 29965 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
9820 /* 29970 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // x
9821 /* 29974 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // y
9822 /* 29978 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ZEXT),
9823 /* 29982 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
9824 /* 29986 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
9825 /* 29989 */ GIR_EraseRootFromParent_Done,
9826 /* 29990 */ // Label 399: @29990
9827 /* 29990 */ GIM_Try, /*On fail goto*//*Label 400*/ GIMT_Encode4(30013), // Rule ID 134 //
9828 /* 29995 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
9829 /* 29998 */ // MIs[0] dst
9830 /* 29998 */ // No operand predicates
9831 /* 29998 */ // MIs[0] zero
9832 /* 29998 */ // No operand predicates
9833 /* 29998 */ // MIs[0] rhs
9834 /* 29998 */ // No operand predicates
9835 /* 29998 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
9836 /* 30002 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9837 /* 30007 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[1]]
9838 /* 30007 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9839 /* 30012 */ GIR_EraseRootFromParent_Done,
9840 /* 30013 */ // Label 400: @30013
9841 /* 30013 */ GIM_Try, /*On fail goto*//*Label 401*/ GIMT_Encode4(30042), // Rule ID 451 //
9842 /* 30018 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule321Enabled),
9843 /* 30021 */ // MIs[0] dst
9844 /* 30021 */ // No operand predicates
9845 /* 30021 */ // MIs[0] d2
9846 /* 30021 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9847 /* 30025 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_TRUNC),
9848 /* 30029 */ // MIs[1] d1
9849 /* 30029 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9850 /* 30033 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_LSHR),
9851 /* 30037 */ // MIs[2] x
9852 /* 30037 */ // No operand predicates
9853 /* 30037 */ // MIs[2] y
9854 /* 30037 */ // No operand predicates
9855 /* 30037 */ // MIs[0] z
9856 /* 30037 */ // No operand predicates
9857 /* 30037 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
9858 /* 30039 */ // Combiner Rule #321: lshr_of_trunc_of_lshr
9859 /* 30039 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner126),
9860 /* 30042 */ // Label 401: @30042
9861 /* 30042 */ GIM_Try, /*On fail goto*//*Label 402*/ GIMT_Encode4(30066), // Rule ID 96 //
9862 /* 30047 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
9863 /* 30050 */ // MIs[0] dst
9864 /* 30050 */ // No operand predicates
9865 /* 30050 */ // MIs[0] __binop_right_undef_to_undef_match_0.x
9866 /* 30050 */ // No operand predicates
9867 /* 30050 */ // MIs[0] __binop_right_undef_to_undef_match_0.y
9868 /* 30050 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
9869 /* 30054 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9870 /* 30058 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
9871 /* 30060 */ // Combiner Rule #81: binop_right_undef_to_undef @ [__binop_right_undef_to_undef_match_0[2]]
9872 /* 30060 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
9873 /* 30063 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
9874 /* 30065 */ GIR_EraseRootFromParent_Done,
9875 /* 30066 */ // Label 402: @30066
9876 /* 30066 */ GIM_Try, /*On fail goto*//*Label 403*/ GIMT_Encode4(30089), // Rule ID 125 //
9877 /* 30071 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
9878 /* 30074 */ // MIs[0] dst
9879 /* 30074 */ // No operand predicates
9880 /* 30074 */ // MIs[0] lhs
9881 /* 30074 */ // No operand predicates
9882 /* 30074 */ // MIs[0] Operand 2
9883 /* 30074 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
9884 /* 30078 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9885 /* 30083 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[6]]
9886 /* 30083 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
9887 /* 30088 */ GIR_EraseRootFromParent_Done,
9888 /* 30089 */ // Label 403: @30089
9889 /* 30089 */ GIM_Try, /*On fail goto*//*Label 404*/ GIMT_Encode4(30100), // Rule ID 170 //
9890 /* 30094 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
9891 /* 30097 */ // MIs[0] root
9892 /* 30097 */ // No operand predicates
9893 /* 30097 */ // MIs[0] mi.shifted
9894 /* 30097 */ // No operand predicates
9895 /* 30097 */ // MIs[0] mi.amt
9896 /* 30097 */ // No operand predicates
9897 /* 30097 */ // Combiner Rule #120: shifts_too_big @ [mi[2]]
9898 /* 30097 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
9899 /* 30100 */ // Label 404: @30100
9900 /* 30100 */ GIM_Try, /*On fail goto*//*Label 405*/ GIMT_Encode4(30111), // Rule ID 249 //
9901 /* 30105 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
9902 /* 30108 */ // MIs[0] d
9903 /* 30108 */ // No operand predicates
9904 /* 30108 */ // MIs[0] mi.base
9905 /* 30108 */ // No operand predicates
9906 /* 30108 */ // MIs[0] mi.amt
9907 /* 30108 */ // No operand predicates
9908 /* 30108 */ // Combiner Rule #193: shift_immed_chain @ [mi[2]]
9909 /* 30108 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
9910 /* 30111 */ // Label 405: @30111
9911 /* 30111 */ GIM_Try, /*On fail goto*//*Label 406*/ GIMT_Encode4(30122), // Rule ID 254 //
9912 /* 30116 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
9913 /* 30119 */ // MIs[0] d
9914 /* 30119 */ // No operand predicates
9915 /* 30119 */ // MIs[0] mi.base
9916 /* 30119 */ // No operand predicates
9917 /* 30119 */ // MIs[0] mi.amt
9918 /* 30119 */ // No operand predicates
9919 /* 30119 */ // Combiner Rule #194: shift_of_shifted_logic_chain @ [mi[2]]
9920 /* 30119 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner70),
9921 /* 30122 */ // Label 406: @30122
9922 /* 30122 */ GIM_Try, /*On fail goto*//*Label 407*/ GIMT_Encode4(30133), // Rule ID 278 //
9923 /* 30127 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule211Enabled),
9924 /* 30130 */ // MIs[0] dst
9925 /* 30130 */ // No operand predicates
9926 /* 30130 */ // MIs[0] root.src
9927 /* 30130 */ // No operand predicates
9928 /* 30130 */ // MIs[0] root.amt
9929 /* 30130 */ // No operand predicates
9930 /* 30130 */ // Combiner Rule #211: bitfield_extract_from_shr @ [root[1]]
9931 /* 30130 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner77),
9932 /* 30133 */ // Label 407: @30133
9933 /* 30133 */ GIM_Try, /*On fail goto*//*Label 408*/ GIMT_Encode4(30144), // Rule ID 280 //
9934 /* 30138 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule212Enabled),
9935 /* 30141 */ // MIs[0] dst
9936 /* 30141 */ // No operand predicates
9937 /* 30141 */ // MIs[0] root.src
9938 /* 30141 */ // No operand predicates
9939 /* 30141 */ // MIs[0] root.amt
9940 /* 30141 */ // No operand predicates
9941 /* 30141 */ // Combiner Rule #212: bitfield_extract_from_shr_and @ [root[1]]
9942 /* 30141 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner78),
9943 /* 30144 */ // Label 408: @30144
9944 /* 30144 */ GIM_Try, /*On fail goto*//*Label 409*/ GIMT_Encode4(30155), // Rule ID 285 //
9945 /* 30149 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
9946 /* 30152 */ // MIs[0] d
9947 /* 30152 */ // No operand predicates
9948 /* 30152 */ // MIs[0] mi.src0
9949 /* 30152 */ // No operand predicates
9950 /* 30152 */ // MIs[0] mi.src1
9951 /* 30152 */ // No operand predicates
9952 /* 30152 */ // Combiner Rule #213: constant_fold_binop @ [mi[4]]
9953 /* 30152 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
9954 /* 30155 */ // Label 409: @30155
9955 /* 30155 */ GIM_Try, /*On fail goto*//*Label 410*/ GIMT_Encode4(30166), // Rule ID 352 //
9956 /* 30160 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
9957 /* 30163 */ // MIs[0] root
9958 /* 30163 */ // No operand predicates
9959 /* 30163 */ // MIs[0] mi.x
9960 /* 30163 */ // No operand predicates
9961 /* 30163 */ // MIs[0] mi.y
9962 /* 30163 */ // No operand predicates
9963 /* 30163 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[10]]
9964 /* 30163 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
9965 /* 30166 */ // Label 410: @30166
9966 /* 30166 */ GIM_Reject,
9967 /* 30167 */ // Label 37: @30167
9968 /* 30167 */ GIM_Try, /*On fail goto*//*Label 411*/ GIMT_Encode4(30178), // Rule ID 512 //
9969 /* 30172 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule367Enabled),
9970 /* 30175 */ // Combiner Rule #367: simplify_demanded_bits; wip_match_opcode 'G_ASHR'
9971 /* 30175 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner140),
9972 /* 30178 */ // Label 411: @30178
9973 /* 30178 */ GIM_Try, /*On fail goto*//*Label 412*/ GIMT_Encode4(30267), // Rule ID 471 //
9974 /* 30183 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule338Enabled),
9975 /* 30186 */ // MIs[0] dst
9976 /* 30186 */ // No operand predicates
9977 /* 30186 */ // MIs[0] sum
9978 /* 30186 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
9979 /* 30190 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
9980 /* 30194 */ // MIs[1] inner
9981 /* 30194 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
9982 /* 30198 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_ADD),
9983 /* 30202 */ // MIs[2] ext1
9984 /* 30202 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/2, /*OpIdx*/1, // MIs[3]
9985 /* 30206 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_SEXT),
9986 /* 30210 */ // MIs[3] x
9987 /* 30210 */ GIM_RecordRegType, /*MI*/3, /*Op*/1, /*TempTypeIdx*/255,
9988 /* 30214 */ // MIs[2] ext2
9989 /* 30214 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/4, /*MI*/2, /*OpIdx*/2, // MIs[4]
9990 /* 30218 */ GIM_CheckOpcode, /*MI*/4, GIMT_Encode2(TargetOpcode::G_SEXT),
9991 /* 30222 */ // MIs[4] y
9992 /* 30222 */ // No operand predicates
9993 /* 30222 */ // MIs[1] Operand 2
9994 /* 30222 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 1,
9995 /* 30226 */ // MIs[0] Operand 2
9996 /* 30226 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
9997 /* 30230 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner66),
9998 /* 30234 */ GIM_CheckIsSafeToFold, /*NumInsns*/4,
9999 /* 30236 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
10000 /* 30239 */ // Combiner Rule #338: avgceil_s_match
10001 /* 30239 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SAVGCEIL),
10002 /* 30242 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
10003 /* 30247 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // x
10004 /* 30251 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/4, /*OpIdx*/1, // y
10005 /* 30255 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
10006 /* 30259 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
10007 /* 30263 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
10008 /* 30266 */ GIR_EraseRootFromParent_Done,
10009 /* 30267 */ // Label 412: @30267
10010 /* 30267 */ GIM_Try, /*On fail goto*//*Label 413*/ GIMT_Encode4(30344), // Rule ID 469 //
10011 /* 30272 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule336Enabled),
10012 /* 30275 */ // MIs[0] dst
10013 /* 30275 */ // No operand predicates
10014 /* 30275 */ // MIs[0] sum
10015 /* 30275 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10016 /* 30279 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ADD),
10017 /* 30283 */ // MIs[1] ext1
10018 /* 30283 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
10019 /* 30287 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_SEXT),
10020 /* 30291 */ // MIs[2] x
10021 /* 30291 */ GIM_RecordRegType, /*MI*/2, /*Op*/1, /*TempTypeIdx*/255,
10022 /* 30295 */ // MIs[1] ext2
10023 /* 30295 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/1, /*OpIdx*/2, // MIs[3]
10024 /* 30299 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_SEXT),
10025 /* 30303 */ // MIs[3] y
10026 /* 30303 */ // No operand predicates
10027 /* 30303 */ // MIs[0] Operand 2
10028 /* 30303 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 1,
10029 /* 30307 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner64),
10030 /* 30311 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
10031 /* 30313 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
10032 /* 30316 */ // Combiner Rule #336: avgfloor_s_match
10033 /* 30316 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SAVGFLOOR),
10034 /* 30319 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
10035 /* 30324 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // x
10036 /* 30328 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/3, /*OpIdx*/1, // y
10037 /* 30332 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SEXT),
10038 /* 30336 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
10039 /* 30340 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
10040 /* 30343 */ GIR_EraseRootFromParent_Done,
10041 /* 30344 */ // Label 413: @30344
10042 /* 30344 */ GIM_Try, /*On fail goto*//*Label 414*/ GIMT_Encode4(30367), // Rule ID 135 //
10043 /* 30349 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
10044 /* 30352 */ // MIs[0] dst
10045 /* 30352 */ // No operand predicates
10046 /* 30352 */ // MIs[0] zero
10047 /* 30352 */ // No operand predicates
10048 /* 30352 */ // MIs[0] rhs
10049 /* 30352 */ // No operand predicates
10050 /* 30352 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner13),
10051 /* 30356 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10052 /* 30361 */ // Combiner Rule #96: binop_left_to_zero @ [__binop_left_to_zero_match_0[2]]
10053 /* 30361 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10054 /* 30366 */ GIR_EraseRootFromParent_Done,
10055 /* 30367 */ // Label 414: @30367
10056 /* 30367 */ GIM_Try, /*On fail goto*//*Label 415*/ GIMT_Encode4(30391), // Rule ID 95 //
10057 /* 30372 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
10058 /* 30375 */ // MIs[0] dst
10059 /* 30375 */ // No operand predicates
10060 /* 30375 */ // MIs[0] __binop_right_undef_to_undef_match_0.x
10061 /* 30375 */ // No operand predicates
10062 /* 30375 */ // MIs[0] __binop_right_undef_to_undef_match_0.y
10063 /* 30375 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
10064 /* 30379 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
10065 /* 30383 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10066 /* 30385 */ // Combiner Rule #81: binop_right_undef_to_undef @ [__binop_right_undef_to_undef_match_0[1]]
10067 /* 30385 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
10068 /* 30388 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10069 /* 30390 */ GIR_EraseRootFromParent_Done,
10070 /* 30391 */ // Label 415: @30391
10071 /* 30391 */ GIM_Try, /*On fail goto*//*Label 416*/ GIMT_Encode4(30414), // Rule ID 124 //
10072 /* 30396 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
10073 /* 30399 */ // MIs[0] dst
10074 /* 30399 */ // No operand predicates
10075 /* 30399 */ // MIs[0] lhs
10076 /* 30399 */ // No operand predicates
10077 /* 30399 */ // MIs[0] Operand 2
10078 /* 30399 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
10079 /* 30403 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10080 /* 30408 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[5]]
10081 /* 30408 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10082 /* 30413 */ GIR_EraseRootFromParent_Done,
10083 /* 30414 */ // Label 416: @30414
10084 /* 30414 */ GIM_Try, /*On fail goto*//*Label 417*/ GIMT_Encode4(30425), // Rule ID 169 //
10085 /* 30419 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
10086 /* 30422 */ // MIs[0] root
10087 /* 30422 */ // No operand predicates
10088 /* 30422 */ // MIs[0] mi.shifted
10089 /* 30422 */ // No operand predicates
10090 /* 30422 */ // MIs[0] mi.amt
10091 /* 30422 */ // No operand predicates
10092 /* 30422 */ // Combiner Rule #120: shifts_too_big @ [mi[1]]
10093 /* 30422 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner39),
10094 /* 30425 */ // Label 417: @30425
10095 /* 30425 */ GIM_Try, /*On fail goto*//*Label 418*/ GIMT_Encode4(30436), // Rule ID 181 //
10096 /* 30430 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule131Enabled),
10097 /* 30433 */ // MIs[0] dst
10098 /* 30433 */ // No operand predicates
10099 /* 30433 */ // MIs[0] src1
10100 /* 30433 */ // No operand predicates
10101 /* 30433 */ // MIs[0] src2
10102 /* 30433 */ // No operand predicates
10103 /* 30433 */ // Combiner Rule #131: shl_ashr_to_sext_inreg
10104 /* 30433 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner48),
10105 /* 30436 */ // Label 418: @30436
10106 /* 30436 */ GIM_Try, /*On fail goto*//*Label 419*/ GIMT_Encode4(30447), // Rule ID 248 //
10107 /* 30441 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
10108 /* 30444 */ // MIs[0] d
10109 /* 30444 */ // No operand predicates
10110 /* 30444 */ // MIs[0] mi.base
10111 /* 30444 */ // No operand predicates
10112 /* 30444 */ // MIs[0] mi.amt
10113 /* 30444 */ // No operand predicates
10114 /* 30444 */ // Combiner Rule #193: shift_immed_chain @ [mi[1]]
10115 /* 30444 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
10116 /* 30447 */ // Label 419: @30447
10117 /* 30447 */ GIM_Try, /*On fail goto*//*Label 420*/ GIMT_Encode4(30458), // Rule ID 253 //
10118 /* 30452 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
10119 /* 30455 */ // MIs[0] d
10120 /* 30455 */ // No operand predicates
10121 /* 30455 */ // MIs[0] mi.base
10122 /* 30455 */ // No operand predicates
10123 /* 30455 */ // MIs[0] mi.amt
10124 /* 30455 */ // No operand predicates
10125 /* 30455 */ // Combiner Rule #194: shift_of_shifted_logic_chain @ [mi[1]]
10126 /* 30455 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner70),
10127 /* 30458 */ // Label 420: @30458
10128 /* 30458 */ GIM_Try, /*On fail goto*//*Label 421*/ GIMT_Encode4(30469), // Rule ID 277 //
10129 /* 30463 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule211Enabled),
10130 /* 30466 */ // MIs[0] dst
10131 /* 30466 */ // No operand predicates
10132 /* 30466 */ // MIs[0] root.src
10133 /* 30466 */ // No operand predicates
10134 /* 30466 */ // MIs[0] root.amt
10135 /* 30466 */ // No operand predicates
10136 /* 30466 */ // Combiner Rule #211: bitfield_extract_from_shr @ [root[0]]
10137 /* 30466 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner77),
10138 /* 30469 */ // Label 421: @30469
10139 /* 30469 */ GIM_Try, /*On fail goto*//*Label 422*/ GIMT_Encode4(30480), // Rule ID 279 //
10140 /* 30474 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule212Enabled),
10141 /* 30477 */ // MIs[0] dst
10142 /* 30477 */ // No operand predicates
10143 /* 30477 */ // MIs[0] root.src
10144 /* 30477 */ // No operand predicates
10145 /* 30477 */ // MIs[0] root.amt
10146 /* 30477 */ // No operand predicates
10147 /* 30477 */ // Combiner Rule #212: bitfield_extract_from_shr_and @ [root[0]]
10148 /* 30477 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner78),
10149 /* 30480 */ // Label 422: @30480
10150 /* 30480 */ GIM_Try, /*On fail goto*//*Label 423*/ GIMT_Encode4(30491), // Rule ID 284 //
10151 /* 30485 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
10152 /* 30488 */ // MIs[0] d
10153 /* 30488 */ // No operand predicates
10154 /* 30488 */ // MIs[0] mi.src0
10155 /* 30488 */ // No operand predicates
10156 /* 30488 */ // MIs[0] mi.src1
10157 /* 30488 */ // No operand predicates
10158 /* 30488 */ // Combiner Rule #213: constant_fold_binop @ [mi[3]]
10159 /* 30488 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
10160 /* 30491 */ // Label 423: @30491
10161 /* 30491 */ GIM_Try, /*On fail goto*//*Label 424*/ GIMT_Encode4(30502), // Rule ID 353 //
10162 /* 30496 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
10163 /* 30499 */ // MIs[0] root
10164 /* 30499 */ // No operand predicates
10165 /* 30499 */ // MIs[0] mi.x
10166 /* 30499 */ // No operand predicates
10167 /* 30499 */ // MIs[0] mi.y
10168 /* 30499 */ // No operand predicates
10169 /* 30499 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[11]]
10170 /* 30499 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
10171 /* 30502 */ // Label 424: @30502
10172 /* 30502 */ GIM_Reject,
10173 /* 30503 */ // Label 38: @30503
10174 /* 30503 */ GIM_Try, /*On fail goto*//*Label 425*/ GIMT_Encode4(30530), // Rule ID 261 //
10175 /* 30508 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule198Enabled),
10176 /* 30511 */ // MIs[0] dst
10177 /* 30511 */ // No operand predicates
10178 /* 30511 */ // MIs[0] x
10179 /* 30511 */ // No operand predicates
10180 /* 30511 */ // MIs[0] x
10181 /* 30511 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
10182 /* 30516 */ // MIs[0] amt
10183 /* 30516 */ // No operand predicates
10184 /* 30516 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner39),
10185 /* 30520 */ // Combiner Rule #198: funnel_shift_to_rotate_left
10186 /* 30520 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ROTL),
10187 /* 30523 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10188 /* 30525 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
10189 /* 30527 */ GIR_RootToRootCopy, /*OpIdx*/3, // amt
10190 /* 30529 */ GIR_EraseRootFromParent_Done,
10191 /* 30530 */ // Label 425: @30530
10192 /* 30530 */ GIM_Try, /*On fail goto*//*Label 426*/ GIMT_Encode4(30550), // Rule ID 264 //
10193 /* 30535 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule201Enabled),
10194 /* 30538 */ // MIs[0] x
10195 /* 30538 */ // No operand predicates
10196 /* 30538 */ // MIs[0] y
10197 /* 30538 */ // No operand predicates
10198 /* 30538 */ // MIs[0] z
10199 /* 30538 */ // No operand predicates
10200 /* 30538 */ // MIs[0] Operand 3
10201 /* 30538 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
10202 /* 30542 */ // Combiner Rule #201: funnel_shift_left_zero
10203 /* 30542 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
10204 /* 30545 */ GIR_RootToRootCopy, /*OpIdx*/0, // x
10205 /* 30547 */ GIR_RootToRootCopy, /*OpIdx*/1, // y
10206 /* 30549 */ GIR_EraseRootFromParent_Done,
10207 /* 30550 */ // Label 426: @30550
10208 /* 30550 */ GIM_Try, /*On fail goto*//*Label 427*/ GIMT_Encode4(30561), // Rule ID 265 //
10209 /* 30555 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule202Enabled),
10210 /* 30558 */ // MIs[0] dst
10211 /* 30558 */ // No operand predicates
10212 /* 30558 */ // MIs[0] root.x
10213 /* 30558 */ // No operand predicates
10214 /* 30558 */ // MIs[0] root.y
10215 /* 30558 */ // No operand predicates
10216 /* 30558 */ // MIs[0] root.amt
10217 /* 30558 */ // No operand predicates
10218 /* 30558 */ // Combiner Rule #202: funnel_shift_overshift @ [root[0]]
10219 /* 30558 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner74),
10220 /* 30561 */ // Label 427: @30561
10221 /* 30561 */ GIM_Reject,
10222 /* 30562 */ // Label 39: @30562
10223 /* 30562 */ GIM_Try, /*On fail goto*//*Label 428*/ GIMT_Encode4(30589), // Rule ID 262 //
10224 /* 30567 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule199Enabled),
10225 /* 30570 */ // MIs[0] dst
10226 /* 30570 */ // No operand predicates
10227 /* 30570 */ // MIs[0] x
10228 /* 30570 */ // No operand predicates
10229 /* 30570 */ // MIs[0] x
10230 /* 30570 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/0, /*OtherOpIdx*/1,
10231 /* 30575 */ // MIs[0] amt
10232 /* 30575 */ // No operand predicates
10233 /* 30575 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner40),
10234 /* 30579 */ // Combiner Rule #199: funnel_shift_to_rotate_right
10235 /* 30579 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ROTR),
10236 /* 30582 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10237 /* 30584 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
10238 /* 30586 */ GIR_RootToRootCopy, /*OpIdx*/3, // amt
10239 /* 30588 */ GIR_EraseRootFromParent_Done,
10240 /* 30589 */ // Label 428: @30589
10241 /* 30589 */ GIM_Try, /*On fail goto*//*Label 429*/ GIMT_Encode4(30609), // Rule ID 263 //
10242 /* 30594 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule200Enabled),
10243 /* 30597 */ // MIs[0] x
10244 /* 30597 */ // No operand predicates
10245 /* 30597 */ // MIs[0] y
10246 /* 30597 */ // No operand predicates
10247 /* 30597 */ // MIs[0] z
10248 /* 30597 */ // No operand predicates
10249 /* 30597 */ // MIs[0] Operand 3
10250 /* 30597 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
10251 /* 30601 */ // Combiner Rule #200: funnel_shift_right_zero
10252 /* 30601 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::COPY),
10253 /* 30604 */ GIR_RootToRootCopy, /*OpIdx*/0, // x
10254 /* 30606 */ GIR_RootToRootCopy, /*OpIdx*/2, // z
10255 /* 30608 */ GIR_EraseRootFromParent_Done,
10256 /* 30609 */ // Label 429: @30609
10257 /* 30609 */ GIM_Try, /*On fail goto*//*Label 430*/ GIMT_Encode4(30620), // Rule ID 266 //
10258 /* 30614 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule202Enabled),
10259 /* 30617 */ // MIs[0] dst
10260 /* 30617 */ // No operand predicates
10261 /* 30617 */ // MIs[0] root.x
10262 /* 30617 */ // No operand predicates
10263 /* 30617 */ // MIs[0] root.y
10264 /* 30617 */ // No operand predicates
10265 /* 30617 */ // MIs[0] root.amt
10266 /* 30617 */ // No operand predicates
10267 /* 30617 */ // Combiner Rule #202: funnel_shift_overshift @ [root[1]]
10268 /* 30617 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner74),
10269 /* 30620 */ // Label 430: @30620
10270 /* 30620 */ GIM_Reject,
10271 /* 30621 */ // Label 40: @30621
10272 /* 30621 */ GIM_Try, /*On fail goto*//*Label 431*/ GIMT_Encode4(30644), // Rule ID 128 //
10273 /* 30626 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
10274 /* 30629 */ // MIs[0] dst
10275 /* 30629 */ // No operand predicates
10276 /* 30629 */ // MIs[0] lhs
10277 /* 30629 */ // No operand predicates
10278 /* 30629 */ // MIs[0] Operand 2
10279 /* 30629 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
10280 /* 30633 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10281 /* 30638 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[9]]
10282 /* 30638 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10283 /* 30643 */ GIR_EraseRootFromParent_Done,
10284 /* 30644 */ // Label 431: @30644
10285 /* 30644 */ GIM_Reject,
10286 /* 30645 */ // Label 41: @30645
10287 /* 30645 */ GIM_Try, /*On fail goto*//*Label 432*/ GIMT_Encode4(30668), // Rule ID 127 //
10288 /* 30650 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
10289 /* 30653 */ // MIs[0] dst
10290 /* 30653 */ // No operand predicates
10291 /* 30653 */ // MIs[0] lhs
10292 /* 30653 */ // No operand predicates
10293 /* 30653 */ // MIs[0] Operand 2
10294 /* 30653 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
10295 /* 30657 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10296 /* 30662 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[8]]
10297 /* 30662 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
10298 /* 30667 */ GIR_EraseRootFromParent_Done,
10299 /* 30668 */ // Label 432: @30668
10300 /* 30668 */ GIM_Reject,
10301 /* 30669 */ // Label 42: @30669
10302 /* 30669 */ GIM_Try, /*On fail goto*//*Label 433*/ GIMT_Encode4(30680), // Rule ID 174 //
10303 /* 30674 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule124Enabled),
10304 /* 30677 */ // MIs[0] root
10305 /* 30677 */ // No operand predicates
10306 /* 30677 */ // MIs[0] pred
10307 /* 30677 */ // No operand predicates
10308 /* 30677 */ // MIs[0] lhs
10309 /* 30677 */ // No operand predicates
10310 /* 30677 */ // MIs[0] rhs
10311 /* 30677 */ // No operand predicates
10312 /* 30677 */ // Combiner Rule #124: canonicalize_icmp
10313 /* 30677 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner43),
10314 /* 30680 */ // Label 433: @30680
10315 /* 30680 */ GIM_Try, /*On fail goto*//*Label 434*/ GIMT_Encode4(30691), // Rule ID 176 //
10316 /* 30685 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule126Enabled),
10317 /* 30688 */ // MIs[0] dst
10318 /* 30688 */ // No operand predicates
10319 /* 30688 */ // MIs[0] pred
10320 /* 30688 */ // No operand predicates
10321 /* 30688 */ // MIs[0] src1
10322 /* 30688 */ // No operand predicates
10323 /* 30688 */ // MIs[0] src2
10324 /* 30688 */ // No operand predicates
10325 /* 30688 */ // Combiner Rule #126: icmp_to_true_false_known_bits
10326 /* 30688 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner45),
10327 /* 30691 */ // Label 434: @30691
10328 /* 30691 */ GIM_Try, /*On fail goto*//*Label 435*/ GIMT_Encode4(30702), // Rule ID 177 //
10329 /* 30696 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule127Enabled),
10330 /* 30699 */ // MIs[0] dst
10331 /* 30699 */ // No operand predicates
10332 /* 30699 */ // MIs[0] pred
10333 /* 30699 */ // No operand predicates
10334 /* 30699 */ // MIs[0] src1
10335 /* 30699 */ // No operand predicates
10336 /* 30699 */ // MIs[0] src2
10337 /* 30699 */ // No operand predicates
10338 /* 30699 */ // Combiner Rule #127: icmp_to_lhs_known_bits
10339 /* 30699 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner46),
10340 /* 30702 */ // Label 435: @30702
10341 /* 30702 */ GIM_Try, /*On fail goto*//*Label 436*/ GIMT_Encode4(30713), // Rule ID 180 //
10342 /* 30707 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule130Enabled),
10343 /* 30710 */ // MIs[0] dst
10344 /* 30710 */ // No operand predicates
10345 /* 30710 */ // MIs[0] pred
10346 /* 30710 */ // No operand predicates
10347 /* 30710 */ // MIs[0] src1
10348 /* 30710 */ // No operand predicates
10349 /* 30710 */ // MIs[0] src2
10350 /* 30710 */ // No operand predicates
10351 /* 30710 */ // Combiner Rule #130: redundant_binop_in_equality
10352 /* 30710 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner47),
10353 /* 30713 */ // Label 436: @30713
10354 /* 30713 */ GIM_Reject,
10355 /* 30714 */ // Label 43: @30714
10356 /* 30714 */ GIM_Try, /*On fail goto*//*Label 437*/ GIMT_Encode4(30725), // Rule ID 175 //
10357 /* 30719 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule125Enabled),
10358 /* 30722 */ // MIs[0] root
10359 /* 30722 */ // No operand predicates
10360 /* 30722 */ // MIs[0] pred
10361 /* 30722 */ // No operand predicates
10362 /* 30722 */ // MIs[0] lhs
10363 /* 30722 */ // No operand predicates
10364 /* 30722 */ // MIs[0] rhs
10365 /* 30722 */ // No operand predicates
10366 /* 30722 */ // Combiner Rule #125: canonicalize_fcmp
10367 /* 30722 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner44),
10368 /* 30725 */ // Label 437: @30725
10369 /* 30725 */ GIM_Reject,
10370 /* 30726 */ // Label 44: @30726
10371 /* 30726 */ GIM_Try, /*On fail goto*//*Label 438*/ GIMT_Encode4(30775), // Rule ID 193 //
10372 /* 30731 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule143Enabled),
10373 /* 30734 */ // MIs[0] dst
10374 /* 30734 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
10375 /* 30738 */ // MIs[0] c
10376 /* 30738 */ // No operand predicates
10377 /* 30738 */ // MIs[0] x
10378 /* 30738 */ // No operand predicates
10379 /* 30738 */ // MIs[0] Operand 3
10380 /* 30738 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/3, 0,
10381 /* 30742 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner28),
10382 /* 30746 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
10383 /* 30749 */ // Combiner Rule #143: select_zero_false
10384 /* 30749 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FREEZE),
10385 /* 30752 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
10386 /* 30757 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10387 /* 30759 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_AND),
10388 /* 30763 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
10389 /* 30767 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // c
10390 /* 30771 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
10391 /* 30774 */ GIR_EraseRootFromParent_Done,
10392 /* 30775 */ // Label 438: @30775
10393 /* 30775 */ GIM_Try, /*On fail goto*//*Label 439*/ GIMT_Encode4(30798), // Rule ID 118 //
10394 /* 30780 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
10395 /* 30783 */ // MIs[0] dst
10396 /* 30783 */ // No operand predicates
10397 /* 30783 */ // MIs[0] cond
10398 /* 30783 */ // No operand predicates
10399 /* 30783 */ // MIs[0] tval
10400 /* 30783 */ // No operand predicates
10401 /* 30783 */ // MIs[0] fval
10402 /* 30783 */ // No operand predicates
10403 /* 30783 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner12),
10404 /* 30787 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10405 /* 30792 */ // Combiner Rule #92: select_same_val_equiv
10406 /* 30792 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10407 /* 30797 */ GIR_EraseRootFromParent_Done,
10408 /* 30798 */ // Label 439: @30798
10409 /* 30798 */ GIM_Try, /*On fail goto*//*Label 440*/ GIMT_Encode4(30821), // Rule ID 189 //
10410 /* 30803 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule139Enabled),
10411 /* 30806 */ // MIs[0] dst
10412 /* 30806 */ // No operand predicates
10413 /* 30806 */ // MIs[0] cond
10414 /* 30806 */ // No operand predicates
10415 /* 30806 */ // MIs[0] tval
10416 /* 30806 */ // No operand predicates
10417 /* 30806 */ // MIs[0] fval
10418 /* 30806 */ // No operand predicates
10419 /* 30806 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner26),
10420 /* 30810 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10421 /* 30815 */ // Combiner Rule #139: select_constant_cmp_general_false
10422 /* 30815 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10423 /* 30820 */ GIR_EraseRootFromParent_Done,
10424 /* 30821 */ // Label 440: @30821
10425 /* 30821 */ GIM_Try, /*On fail goto*//*Label 441*/ GIMT_Encode4(30844), // Rule ID 190 //
10426 /* 30826 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule140Enabled),
10427 /* 30829 */ // MIs[0] dst
10428 /* 30829 */ // No operand predicates
10429 /* 30829 */ // MIs[0] cond
10430 /* 30829 */ // No operand predicates
10431 /* 30829 */ // MIs[0] tval
10432 /* 30829 */ // No operand predicates
10433 /* 30829 */ // MIs[0] fval
10434 /* 30829 */ // No operand predicates
10435 /* 30829 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner27),
10436 /* 30833 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10437 /* 30838 */ // Combiner Rule #140: select_constant_cmp_general_true
10438 /* 30838 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10439 /* 30843 */ GIR_EraseRootFromParent_Done,
10440 /* 30844 */ // Label 441: @30844
10441 /* 30844 */ GIM_Try_CheckFeatures, /*On fail goto*//*Label 442*/ GIMT_Encode4(30870), GIMT_Encode2(GIFBS_HasFminFmaxLegacy), // Rule ID 476 //
10442 /* 30851 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule340Enabled),
10443 /* 30854 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_f32,
10444 /* 30857 */ // MIs[0] cond
10445 /* 30857 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10446 /* 30861 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCMP),
10447 /* 30865 */ // MIs[1] pred
10448 /* 30865 */ // No operand predicates
10449 /* 30865 */ // MIs[1] lhs
10450 /* 30865 */ // No operand predicates
10451 /* 30865 */ // MIs[1] rhs
10452 /* 30865 */ // No operand predicates
10453 /* 30865 */ // MIs[0] true
10454 /* 30865 */ // No operand predicates
10455 /* 30865 */ // MIs[0] false
10456 /* 30865 */ // No operand predicates
10457 /* 30865 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10458 /* 30867 */ // Combiner Rule #340: fcmp_select_to_fmin_fmax_legacy
10459 /* 30867 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner129),
10460 /* 30870 */ // Label 442: @30870
10461 /* 30870 */ GIM_Try, /*On fail goto*//*Label 443*/ GIMT_Encode4(30891), // Rule ID 191 //
10462 /* 30875 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule141Enabled),
10463 /* 30878 */ // MIs[0] root
10464 /* 30878 */ // No operand predicates
10465 /* 30878 */ // MIs[0] tst
10466 /* 30878 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10467 /* 30882 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_ICMP),
10468 /* 30886 */ // MIs[1] tst1
10469 /* 30886 */ // No operand predicates
10470 /* 30886 */ // MIs[1] a
10471 /* 30886 */ // No operand predicates
10472 /* 30886 */ // MIs[1] b
10473 /* 30886 */ // No operand predicates
10474 /* 30886 */ // MIs[0] x
10475 /* 30886 */ // No operand predicates
10476 /* 30886 */ // MIs[0] y
10477 /* 30886 */ // No operand predicates
10478 /* 30886 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10479 /* 30888 */ // Combiner Rule #141: select_to_iminmax
10480 /* 30888 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner52),
10481 /* 30891 */ // Label 443: @30891
10482 /* 30891 */ GIM_Try, /*On fail goto*//*Label 444*/ GIMT_Encode4(30927), // Rule ID 194 //
10483 /* 30896 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule144Enabled),
10484 /* 30899 */ // MIs[0] dst
10485 /* 30899 */ // No operand predicates
10486 /* 30899 */ // MIs[0] c
10487 /* 30899 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10488 /* 30903 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_XOR),
10489 /* 30907 */ // MIs[1] src
10490 /* 30907 */ // No operand predicates
10491 /* 30907 */ // MIs[1] Operand 2
10492 /* 30907 */ GIM_CheckConstantInt8, /*MI*/1, /*Op*/2, 255,
10493 /* 30911 */ // MIs[0] x
10494 /* 30911 */ // No operand predicates
10495 /* 30911 */ // MIs[0] y
10496 /* 30911 */ // No operand predicates
10497 /* 30911 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10498 /* 30913 */ // Combiner Rule #144: select_not
10499 /* 30913 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SELECT),
10500 /* 30916 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10501 /* 30918 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // src
10502 /* 30922 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10503 /* 30924 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10504 /* 30926 */ GIR_EraseRootFromParent_Done,
10505 /* 30927 */ // Label 444: @30927
10506 /* 30927 */ GIM_Try, /*On fail goto*//*Label 445*/ GIMT_Encode4(30956), // Rule ID 186 //
10507 /* 30932 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule136Enabled),
10508 /* 30935 */ // MIs[0] dst
10509 /* 30935 */ // No operand predicates
10510 /* 30935 */ // MIs[0] undef
10511 /* 30935 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10512 /* 30939 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
10513 /* 30943 */ // MIs[0] x
10514 /* 30943 */ // No operand predicates
10515 /* 30943 */ // MIs[0] y
10516 /* 30943 */ // No operand predicates
10517 /* 30943 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10518 /* 30948 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10519 /* 30950 */ // Combiner Rule #136: select_undef_cmp
10520 /* 30950 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10521 /* 30955 */ GIR_EraseRootFromParent_Done,
10522 /* 30956 */ // Label 445: @30956
10523 /* 30956 */ GIM_Try, /*On fail goto*//*Label 446*/ GIMT_Encode4(30996), // Rule ID 187 //
10524 /* 30961 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule137Enabled),
10525 /* 30964 */ // MIs[0] dst
10526 /* 30964 */ // No operand predicates
10527 /* 30964 */ // MIs[0] cond
10528 /* 30964 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10529 /* 30968 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
10530 /* 30972 */ // MIs[1] Operand 1
10531 /* 30972 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
10532 /* 30983 */ // MIs[0] tval
10533 /* 30983 */ // No operand predicates
10534 /* 30983 */ // MIs[0] fval
10535 /* 30983 */ // No operand predicates
10536 /* 30983 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10537 /* 30988 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10538 /* 30990 */ // Combiner Rule #137: select_constant_cmp_false
10539 /* 30990 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/3,
10540 /* 30995 */ GIR_EraseRootFromParent_Done,
10541 /* 30996 */ // Label 446: @30996
10542 /* 30996 */ GIM_Try, /*On fail goto*//*Label 447*/ GIMT_Encode4(31036), // Rule ID 188 //
10543 /* 31001 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule138Enabled),
10544 /* 31004 */ // MIs[0] dst
10545 /* 31004 */ // No operand predicates
10546 /* 31004 */ // MIs[0] cond
10547 /* 31004 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
10548 /* 31008 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
10549 /* 31012 */ // MIs[1] Operand 1
10550 /* 31012 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(1),
10551 /* 31023 */ // MIs[0] tval
10552 /* 31023 */ // No operand predicates
10553 /* 31023 */ // MIs[0] fval
10554 /* 31023 */ // No operand predicates
10555 /* 31023 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10556 /* 31028 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
10557 /* 31030 */ // Combiner Rule #138: select_constant_cmp_true
10558 /* 31030 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10559 /* 31035 */ GIR_EraseRootFromParent_Done,
10560 /* 31036 */ // Label 447: @31036
10561 /* 31036 */ GIM_Try, /*On fail goto*//*Label 448*/ GIMT_Encode4(31060), // Rule ID 117 //
10562 /* 31041 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule91Enabled),
10563 /* 31044 */ // MIs[0] dst
10564 /* 31044 */ // No operand predicates
10565 /* 31044 */ // MIs[0] cond
10566 /* 31044 */ // No operand predicates
10567 /* 31044 */ // MIs[0] x
10568 /* 31044 */ // No operand predicates
10569 /* 31044 */ // MIs[0] x
10570 /* 31044 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/3, /*OtherMI*/0, /*OtherOpIdx*/2,
10571 /* 31049 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10572 /* 31054 */ // Combiner Rule #91: select_same_val_trivial
10573 /* 31054 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
10574 /* 31059 */ GIR_EraseRootFromParent_Done,
10575 /* 31060 */ // Label 448: @31060
10576 /* 31060 */ GIM_Try, /*On fail goto*//*Label 449*/ GIMT_Encode4(31071), // Rule ID 192 //
10577 /* 31065 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule142Enabled),
10578 /* 31068 */ // MIs[0] dst
10579 /* 31068 */ // No operand predicates
10580 /* 31068 */ // MIs[0] cond
10581 /* 31068 */ // No operand predicates
10582 /* 31068 */ // MIs[0] tval
10583 /* 31068 */ // No operand predicates
10584 /* 31068 */ // MIs[0] fval
10585 /* 31068 */ // No operand predicates
10586 /* 31068 */ // Combiner Rule #142: match_selects
10587 /* 31068 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner53),
10588 /* 31071 */ // Label 449: @31071
10589 /* 31071 */ GIM_Try, /*On fail goto*//*Label 450*/ GIMT_Encode4(31082), // Rule ID 381 //
10590 /* 31076 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule251Enabled),
10591 /* 31079 */ // MIs[0] dst
10592 /* 31079 */ // No operand predicates
10593 /* 31079 */ // MIs[0] cond
10594 /* 31079 */ // No operand predicates
10595 /* 31079 */ // MIs[0] tval
10596 /* 31079 */ // No operand predicates
10597 /* 31079 */ // MIs[0] fval
10598 /* 31079 */ // No operand predicates
10599 /* 31079 */ // Combiner Rule #251: select_to_minmax
10600 /* 31079 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner102),
10601 /* 31082 */ // Label 450: @31082
10602 /* 31082 */ GIM_Try, /*On fail goto*//*Label 451*/ GIMT_Encode4(31093), // Rule ID 504 //
10603 /* 31087 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule363Enabled),
10604 /* 31090 */ // MIs[0] dst
10605 /* 31090 */ // No operand predicates
10606 /* 31090 */ // MIs[0] c
10607 /* 31090 */ // No operand predicates
10608 /* 31090 */ // MIs[0] t
10609 /* 31090 */ // No operand predicates
10610 /* 31090 */ // MIs[0] f
10611 /* 31090 */ // No operand predicates
10612 /* 31090 */ // Combiner Rule #363: anonymous_57057
10613 /* 31090 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner139),
10614 /* 31093 */ // Label 451: @31093
10615 /* 31093 */ GIM_Reject,
10616 /* 31094 */ // Label 45: @31094
10617 /* 31094 */ GIM_Try, /*On fail goto*//*Label 452*/ GIMT_Encode4(31121), // Rule ID 400 //
10618 /* 31099 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule270Enabled),
10619 /* 31102 */ // MIs[0] dst
10620 /* 31102 */ // No operand predicates
10621 /* 31102 */ // MIs[0] carry
10622 /* 31102 */ // No operand predicates
10623 /* 31102 */ // MIs[0] lhs
10624 /* 31102 */ // No operand predicates
10625 /* 31102 */ // MIs[0] rhs
10626 /* 31102 */ // No operand predicates
10627 /* 31102 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
10628 /* 31106 */ // Combiner Rule #270: G_UADDO_commute_constant_to_rhs
10629 /* 31106 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDO),
10630 /* 31109 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10631 /* 31111 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10632 /* 31113 */ GIR_RootToRootCopy, /*OpIdx*/3, // rhs
10633 /* 31115 */ GIR_RootToRootCopy, /*OpIdx*/2, // lhs
10634 /* 31117 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10635 /* 31120 */ GIR_EraseRootFromParent_Done,
10636 /* 31121 */ // Label 452: @31121
10637 /* 31121 */ GIM_Try, /*On fail goto*//*Label 453*/ GIMT_Encode4(31151), // Rule ID 440 //
10638 /* 31126 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule310Enabled),
10639 /* 31129 */ // MIs[0] dst
10640 /* 31129 */ // No operand predicates
10641 /* 31129 */ // MIs[0] carry
10642 /* 31129 */ // No operand predicates
10643 /* 31129 */ // MIs[0] x
10644 /* 31129 */ // No operand predicates
10645 /* 31129 */ // MIs[0] y
10646 /* 31129 */ // No operand predicates
10647 /* 31129 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner55),
10648 /* 31133 */ // Combiner Rule #310: match_addos_uaddo_dead_carry
10649 /* 31133 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
10650 /* 31136 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10651 /* 31138 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10652 /* 31140 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10653 /* 31142 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
10654 /* 31146 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // carry
10655 /* 31150 */ GIR_EraseRootFromParent_Done,
10656 /* 31151 */ // Label 453: @31151
10657 /* 31151 */ GIM_Try, /*On fail goto*//*Label 454*/ GIMT_Encode4(31162), // Rule ID 442 //
10658 /* 31156 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule312Enabled),
10659 /* 31159 */ // MIs[0] dst
10660 /* 31159 */ // No operand predicates
10661 /* 31159 */ // MIs[0] carry
10662 /* 31159 */ // No operand predicates
10663 /* 31159 */ // MIs[0] x
10664 /* 31159 */ // No operand predicates
10665 /* 31159 */ // MIs[0] y
10666 /* 31159 */ // No operand predicates
10667 /* 31159 */ // Combiner Rule #312: match_addos_uaddo
10668 /* 31159 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner122),
10669 /* 31162 */ // Label 454: @31162
10670 /* 31162 */ GIM_Reject,
10671 /* 31163 */ // Label 46: @31163
10672 /* 31163 */ GIM_Try, /*On fail goto*//*Label 455*/ GIMT_Encode4(31190), // Rule ID 231 //
10673 /* 31168 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule181Enabled),
10674 /* 31171 */ // MIs[0] dst
10675 /* 31171 */ // No operand predicates
10676 /* 31171 */ // MIs[0] carry_out
10677 /* 31171 */ // No operand predicates
10678 /* 31171 */ // MIs[0] x
10679 /* 31171 */ // No operand predicates
10680 /* 31171 */ // MIs[0] y
10681 /* 31171 */ // No operand predicates
10682 /* 31171 */ // MIs[0] carry_in
10683 /* 31171 */ // No operand predicates
10684 /* 31171 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner34),
10685 /* 31175 */ // Combiner Rule #181: adde_to_addo_uadde
10686 /* 31175 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDO),
10687 /* 31178 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10688 /* 31180 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry_out
10689 /* 31182 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10690 /* 31184 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10691 /* 31186 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10692 /* 31189 */ GIR_EraseRootFromParent_Done,
10693 /* 31190 */ // Label 455: @31190
10694 /* 31190 */ GIM_Reject,
10695 /* 31191 */ // Label 47: @31191
10696 /* 31191 */ GIM_Try, /*On fail goto*//*Label 456*/ GIMT_Encode4(31202), // Rule ID 444 //
10697 /* 31196 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule314Enabled),
10698 /* 31199 */ // MIs[0] dst
10699 /* 31199 */ // No operand predicates
10700 /* 31199 */ // MIs[0] carry
10701 /* 31199 */ // No operand predicates
10702 /* 31199 */ // MIs[0] x
10703 /* 31199 */ // No operand predicates
10704 /* 31199 */ // MIs[0] y
10705 /* 31199 */ // No operand predicates
10706 /* 31199 */ // Combiner Rule #314: match_subo_no_overflow_usubo
10707 /* 31199 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner123),
10708 /* 31202 */ // Label 456: @31202
10709 /* 31202 */ GIM_Reject,
10710 /* 31203 */ // Label 48: @31203
10711 /* 31203 */ GIM_Try, /*On fail goto*//*Label 457*/ GIMT_Encode4(31230), // Rule ID 233 //
10712 /* 31208 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule183Enabled),
10713 /* 31211 */ // MIs[0] dst
10714 /* 31211 */ // No operand predicates
10715 /* 31211 */ // MIs[0] carry_out
10716 /* 31211 */ // No operand predicates
10717 /* 31211 */ // MIs[0] x
10718 /* 31211 */ // No operand predicates
10719 /* 31211 */ // MIs[0] y
10720 /* 31211 */ // No operand predicates
10721 /* 31211 */ // MIs[0] carry_in
10722 /* 31211 */ // No operand predicates
10723 /* 31211 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner34),
10724 /* 31215 */ // Combiner Rule #183: adde_to_addo_usube
10725 /* 31215 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_USUBO),
10726 /* 31218 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10727 /* 31220 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry_out
10728 /* 31222 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10729 /* 31224 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10730 /* 31226 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10731 /* 31229 */ GIR_EraseRootFromParent_Done,
10732 /* 31230 */ // Label 457: @31230
10733 /* 31230 */ GIM_Reject,
10734 /* 31231 */ // Label 49: @31231
10735 /* 31231 */ GIM_Try, /*On fail goto*//*Label 458*/ GIMT_Encode4(31258), // Rule ID 401 //
10736 /* 31236 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule271Enabled),
10737 /* 31239 */ // MIs[0] dst
10738 /* 31239 */ // No operand predicates
10739 /* 31239 */ // MIs[0] carry
10740 /* 31239 */ // No operand predicates
10741 /* 31239 */ // MIs[0] lhs
10742 /* 31239 */ // No operand predicates
10743 /* 31239 */ // MIs[0] rhs
10744 /* 31239 */ // No operand predicates
10745 /* 31239 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
10746 /* 31243 */ // Combiner Rule #271: G_SADDO_commute_constant_to_rhs
10747 /* 31243 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SADDO),
10748 /* 31246 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10749 /* 31248 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10750 /* 31250 */ GIR_RootToRootCopy, /*OpIdx*/3, // rhs
10751 /* 31252 */ GIR_RootToRootCopy, /*OpIdx*/2, // lhs
10752 /* 31254 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10753 /* 31257 */ GIR_EraseRootFromParent_Done,
10754 /* 31258 */ // Label 458: @31258
10755 /* 31258 */ GIM_Try, /*On fail goto*//*Label 459*/ GIMT_Encode4(31288), // Rule ID 439 //
10756 /* 31263 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule309Enabled),
10757 /* 31266 */ // MIs[0] dst
10758 /* 31266 */ // No operand predicates
10759 /* 31266 */ // MIs[0] carry
10760 /* 31266 */ // No operand predicates
10761 /* 31266 */ // MIs[0] x
10762 /* 31266 */ // No operand predicates
10763 /* 31266 */ // MIs[0] y
10764 /* 31266 */ // No operand predicates
10765 /* 31266 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner55),
10766 /* 31270 */ // Combiner Rule #309: match_addos_saddo_dead_carry
10767 /* 31270 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_ADD),
10768 /* 31273 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10769 /* 31275 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10770 /* 31277 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10771 /* 31279 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
10772 /* 31283 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/1, // carry
10773 /* 31287 */ GIR_EraseRootFromParent_Done,
10774 /* 31288 */ // Label 459: @31288
10775 /* 31288 */ GIM_Try, /*On fail goto*//*Label 460*/ GIMT_Encode4(31299), // Rule ID 441 //
10776 /* 31293 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule311Enabled),
10777 /* 31296 */ // MIs[0] dst
10778 /* 31296 */ // No operand predicates
10779 /* 31296 */ // MIs[0] carry
10780 /* 31296 */ // No operand predicates
10781 /* 31296 */ // MIs[0] x
10782 /* 31296 */ // No operand predicates
10783 /* 31296 */ // MIs[0] y
10784 /* 31296 */ // No operand predicates
10785 /* 31296 */ // Combiner Rule #311: match_addos_saddo
10786 /* 31296 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner122),
10787 /* 31299 */ // Label 460: @31299
10788 /* 31299 */ GIM_Reject,
10789 /* 31300 */ // Label 50: @31300
10790 /* 31300 */ GIM_Try, /*On fail goto*//*Label 461*/ GIMT_Encode4(31327), // Rule ID 232 //
10791 /* 31305 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule182Enabled),
10792 /* 31308 */ // MIs[0] dst
10793 /* 31308 */ // No operand predicates
10794 /* 31308 */ // MIs[0] carry_out
10795 /* 31308 */ // No operand predicates
10796 /* 31308 */ // MIs[0] x
10797 /* 31308 */ // No operand predicates
10798 /* 31308 */ // MIs[0] y
10799 /* 31308 */ // No operand predicates
10800 /* 31308 */ // MIs[0] carry_in
10801 /* 31308 */ // No operand predicates
10802 /* 31308 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner34),
10803 /* 31312 */ // Combiner Rule #182: adde_to_addo_sadde
10804 /* 31312 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SADDO),
10805 /* 31315 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10806 /* 31317 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry_out
10807 /* 31319 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10808 /* 31321 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10809 /* 31323 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10810 /* 31326 */ GIR_EraseRootFromParent_Done,
10811 /* 31327 */ // Label 461: @31327
10812 /* 31327 */ GIM_Reject,
10813 /* 31328 */ // Label 51: @31328
10814 /* 31328 */ GIM_Try, /*On fail goto*//*Label 462*/ GIMT_Encode4(31339), // Rule ID 443 //
10815 /* 31333 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule313Enabled),
10816 /* 31336 */ // MIs[0] dst
10817 /* 31336 */ // No operand predicates
10818 /* 31336 */ // MIs[0] carry
10819 /* 31336 */ // No operand predicates
10820 /* 31336 */ // MIs[0] x
10821 /* 31336 */ // No operand predicates
10822 /* 31336 */ // MIs[0] y
10823 /* 31336 */ // No operand predicates
10824 /* 31336 */ // Combiner Rule #313: match_subo_no_overflow_ssubo
10825 /* 31336 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner123),
10826 /* 31339 */ // Label 462: @31339
10827 /* 31339 */ GIM_Reject,
10828 /* 31340 */ // Label 52: @31340
10829 /* 31340 */ GIM_Try, /*On fail goto*//*Label 463*/ GIMT_Encode4(31367), // Rule ID 234 //
10830 /* 31345 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule184Enabled),
10831 /* 31348 */ // MIs[0] dst
10832 /* 31348 */ // No operand predicates
10833 /* 31348 */ // MIs[0] carry_out
10834 /* 31348 */ // No operand predicates
10835 /* 31348 */ // MIs[0] x
10836 /* 31348 */ // No operand predicates
10837 /* 31348 */ // MIs[0] y
10838 /* 31348 */ // No operand predicates
10839 /* 31348 */ // MIs[0] carry_in
10840 /* 31348 */ // No operand predicates
10841 /* 31348 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner34),
10842 /* 31352 */ // Combiner Rule #184: adde_to_addo_ssube
10843 /* 31352 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SSUBO),
10844 /* 31355 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10845 /* 31357 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry_out
10846 /* 31359 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10847 /* 31361 */ GIR_RootToRootCopy, /*OpIdx*/3, // y
10848 /* 31363 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10849 /* 31366 */ GIR_EraseRootFromParent_Done,
10850 /* 31367 */ // Label 463: @31367
10851 /* 31367 */ GIM_Reject,
10852 /* 31368 */ // Label 53: @31368
10853 /* 31368 */ GIM_Try, /*On fail goto*//*Label 464*/ GIMT_Encode4(31395), // Rule ID 227 //
10854 /* 31373 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule177Enabled),
10855 /* 31376 */ // MIs[0] dst
10856 /* 31376 */ // No operand predicates
10857 /* 31376 */ // MIs[0] carry
10858 /* 31376 */ // No operand predicates
10859 /* 31376 */ // MIs[0] x
10860 /* 31376 */ // No operand predicates
10861 /* 31376 */ // MIs[0] rhs
10862 /* 31376 */ // No operand predicates
10863 /* 31376 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner33),
10864 /* 31380 */ // Combiner Rule #177: mulo_by_2_umulo
10865 /* 31380 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDO),
10866 /* 31383 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10867 /* 31385 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10868 /* 31387 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10869 /* 31389 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10870 /* 31391 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10871 /* 31394 */ GIR_EraseRootFromParent_Done,
10872 /* 31395 */ // Label 464: @31395
10873 /* 31395 */ GIM_Try, /*On fail goto*//*Label 465*/ GIMT_Encode4(31422), // Rule ID 402 //
10874 /* 31400 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule272Enabled),
10875 /* 31403 */ // MIs[0] dst
10876 /* 31403 */ // No operand predicates
10877 /* 31403 */ // MIs[0] carry
10878 /* 31403 */ // No operand predicates
10879 /* 31403 */ // MIs[0] lhs
10880 /* 31403 */ // No operand predicates
10881 /* 31403 */ // MIs[0] rhs
10882 /* 31403 */ // No operand predicates
10883 /* 31403 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
10884 /* 31407 */ // Combiner Rule #272: G_UMULO_commute_constant_to_rhs
10885 /* 31407 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMULO),
10886 /* 31410 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10887 /* 31412 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10888 /* 31414 */ GIR_RootToRootCopy, /*OpIdx*/3, // rhs
10889 /* 31416 */ GIR_RootToRootCopy, /*OpIdx*/2, // lhs
10890 /* 31418 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10891 /* 31421 */ GIR_EraseRootFromParent_Done,
10892 /* 31422 */ // Label 465: @31422
10893 /* 31422 */ GIM_Try, /*On fail goto*//*Label 466*/ GIMT_Encode4(31433), // Rule ID 229 //
10894 /* 31427 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
10895 /* 31430 */ // MIs[0] dst
10896 /* 31430 */ // No operand predicates
10897 /* 31430 */ // MIs[0] carry
10898 /* 31430 */ // No operand predicates
10899 /* 31430 */ // MIs[0] x
10900 /* 31430 */ // No operand predicates
10901 /* 31430 */ // MIs[0] y
10902 /* 31430 */ // No operand predicates
10903 /* 31430 */ // Combiner Rule #179: mulo_by_0_umulo
10904 /* 31430 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner66),
10905 /* 31433 */ // Label 466: @31433
10906 /* 31433 */ GIM_Reject,
10907 /* 31434 */ // Label 54: @31434
10908 /* 31434 */ GIM_Try, /*On fail goto*//*Label 467*/ GIMT_Encode4(31461), // Rule ID 228 //
10909 /* 31439 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
10910 /* 31442 */ // MIs[0] dst
10911 /* 31442 */ // No operand predicates
10912 /* 31442 */ // MIs[0] carry
10913 /* 31442 */ // No operand predicates
10914 /* 31442 */ // MIs[0] x
10915 /* 31442 */ // No operand predicates
10916 /* 31442 */ // MIs[0] rhs
10917 /* 31442 */ // No operand predicates
10918 /* 31442 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner33),
10919 /* 31446 */ // Combiner Rule #178: mulo_by_2_smulo
10920 /* 31446 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SADDO),
10921 /* 31449 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10922 /* 31451 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10923 /* 31453 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10924 /* 31455 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
10925 /* 31457 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10926 /* 31460 */ GIR_EraseRootFromParent_Done,
10927 /* 31461 */ // Label 467: @31461
10928 /* 31461 */ GIM_Try, /*On fail goto*//*Label 468*/ GIMT_Encode4(31488), // Rule ID 403 //
10929 /* 31466 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule273Enabled),
10930 /* 31469 */ // MIs[0] dst
10931 /* 31469 */ // No operand predicates
10932 /* 31469 */ // MIs[0] carry
10933 /* 31469 */ // No operand predicates
10934 /* 31469 */ // MIs[0] lhs
10935 /* 31469 */ // No operand predicates
10936 /* 31469 */ // MIs[0] rhs
10937 /* 31469 */ // No operand predicates
10938 /* 31469 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
10939 /* 31473 */ // Combiner Rule #273: G_SMULO_commute_constant_to_rhs
10940 /* 31473 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMULO),
10941 /* 31476 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10942 /* 31478 */ GIR_RootToRootCopy, /*OpIdx*/1, // carry
10943 /* 31480 */ GIR_RootToRootCopy, /*OpIdx*/3, // rhs
10944 /* 31482 */ GIR_RootToRootCopy, /*OpIdx*/2, // lhs
10945 /* 31484 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10946 /* 31487 */ GIR_EraseRootFromParent_Done,
10947 /* 31488 */ // Label 468: @31488
10948 /* 31488 */ GIM_Try, /*On fail goto*//*Label 469*/ GIMT_Encode4(31499), // Rule ID 230 //
10949 /* 31493 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule180Enabled),
10950 /* 31496 */ // MIs[0] dst
10951 /* 31496 */ // No operand predicates
10952 /* 31496 */ // MIs[0] carry
10953 /* 31496 */ // No operand predicates
10954 /* 31496 */ // MIs[0] x
10955 /* 31496 */ // No operand predicates
10956 /* 31496 */ // MIs[0] y
10957 /* 31496 */ // No operand predicates
10958 /* 31496 */ // Combiner Rule #180: mulo_by_0_smulo
10959 /* 31496 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner66),
10960 /* 31499 */ // Label 469: @31499
10961 /* 31499 */ GIM_Reject,
10962 /* 31500 */ // Label 55: @31500
10963 /* 31500 */ GIM_Try, /*On fail goto*//*Label 470*/ GIMT_Encode4(31525), // Rule ID 392 //
10964 /* 31505 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule262Enabled),
10965 /* 31508 */ // MIs[0] dst
10966 /* 31508 */ // No operand predicates
10967 /* 31508 */ // MIs[0] lhs
10968 /* 31508 */ // No operand predicates
10969 /* 31508 */ // MIs[0] rhs
10970 /* 31508 */ // No operand predicates
10971 /* 31508 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
10972 /* 31512 */ // Combiner Rule #262: G_UMULH_commute_constant_to_rhs
10973 /* 31512 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMULH),
10974 /* 31515 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
10975 /* 31517 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
10976 /* 31519 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
10977 /* 31521 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
10978 /* 31524 */ GIR_EraseRootFromParent_Done,
10979 /* 31525 */ // Label 470: @31525
10980 /* 31525 */ GIM_Try, /*On fail goto*//*Label 471*/ GIMT_Encode4(31536), // Rule ID 325 //
10981 /* 31530 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule219Enabled),
10982 /* 31533 */ // MIs[0] dst
10983 /* 31533 */ // No operand predicates
10984 /* 31533 */ // MIs[0] src1
10985 /* 31533 */ // No operand predicates
10986 /* 31533 */ // MIs[0] src2
10987 /* 31533 */ // No operand predicates
10988 /* 31533 */ // Combiner Rule #219: mulh_to_lshr
10989 /* 31533 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner84),
10990 /* 31536 */ // Label 471: @31536
10991 /* 31536 */ GIM_Reject,
10992 /* 31537 */ // Label 56: @31537
10993 /* 31537 */ GIM_Try, /*On fail goto*//*Label 472*/ GIMT_Encode4(31562), // Rule ID 393 //
10994 /* 31542 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule263Enabled),
10995 /* 31545 */ // MIs[0] dst
10996 /* 31545 */ // No operand predicates
10997 /* 31545 */ // MIs[0] lhs
10998 /* 31545 */ // No operand predicates
10999 /* 31545 */ // MIs[0] rhs
11000 /* 31545 */ // No operand predicates
11001 /* 31545 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11002 /* 31549 */ // Combiner Rule #263: G_SMULH_commute_constant_to_rhs
11003 /* 31549 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMULH),
11004 /* 31552 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11005 /* 31554 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11006 /* 31556 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11007 /* 31558 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11008 /* 31561 */ GIR_EraseRootFromParent_Done,
11009 /* 31562 */ // Label 472: @31562
11010 /* 31562 */ GIM_Reject,
11011 /* 31563 */ // Label 57: @31563
11012 /* 31563 */ GIM_Try, /*On fail goto*//*Label 473*/ GIMT_Encode4(31588), // Rule ID 394 //
11013 /* 31568 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule264Enabled),
11014 /* 31571 */ // MIs[0] dst
11015 /* 31571 */ // No operand predicates
11016 /* 31571 */ // MIs[0] lhs
11017 /* 31571 */ // No operand predicates
11018 /* 31571 */ // MIs[0] rhs
11019 /* 31571 */ // No operand predicates
11020 /* 31571 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11021 /* 31575 */ // Combiner Rule #264: G_UADDSAT_commute_constant_to_rhs
11022 /* 31575 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UADDSAT),
11023 /* 31578 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11024 /* 31580 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11025 /* 31582 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11026 /* 31584 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11027 /* 31587 */ GIR_EraseRootFromParent_Done,
11028 /* 31588 */ // Label 473: @31588
11029 /* 31588 */ GIM_Reject,
11030 /* 31589 */ // Label 58: @31589
11031 /* 31589 */ GIM_Try, /*On fail goto*//*Label 474*/ GIMT_Encode4(31614), // Rule ID 395 //
11032 /* 31594 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule265Enabled),
11033 /* 31597 */ // MIs[0] dst
11034 /* 31597 */ // No operand predicates
11035 /* 31597 */ // MIs[0] lhs
11036 /* 31597 */ // No operand predicates
11037 /* 31597 */ // MIs[0] rhs
11038 /* 31597 */ // No operand predicates
11039 /* 31597 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11040 /* 31601 */ // Combiner Rule #265: G_SADDSAT_commute_constant_to_rhs
11041 /* 31601 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SADDSAT),
11042 /* 31604 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11043 /* 31606 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11044 /* 31608 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11045 /* 31610 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11046 /* 31613 */ GIR_EraseRootFromParent_Done,
11047 /* 31614 */ // Label 474: @31614
11048 /* 31614 */ GIM_Reject,
11049 /* 31615 */ // Label 59: @31615
11050 /* 31615 */ GIM_Try, /*On fail goto*//*Label 475*/ GIMT_Encode4(31626), // Rule ID 251 //
11051 /* 31620 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
11052 /* 31623 */ // MIs[0] d
11053 /* 31623 */ // No operand predicates
11054 /* 31623 */ // MIs[0] mi.base
11055 /* 31623 */ // No operand predicates
11056 /* 31623 */ // MIs[0] mi.amt
11057 /* 31623 */ // No operand predicates
11058 /* 31623 */ // Combiner Rule #193: shift_immed_chain @ [mi[4]]
11059 /* 31623 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
11060 /* 31626 */ // Label 475: @31626
11061 /* 31626 */ GIM_Reject,
11062 /* 31627 */ // Label 60: @31627
11063 /* 31627 */ GIM_Try, /*On fail goto*//*Label 476*/ GIMT_Encode4(31638), // Rule ID 250 //
11064 /* 31632 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
11065 /* 31635 */ // MIs[0] d
11066 /* 31635 */ // No operand predicates
11067 /* 31635 */ // MIs[0] mi.base
11068 /* 31635 */ // No operand predicates
11069 /* 31635 */ // MIs[0] mi.amt
11070 /* 31635 */ // No operand predicates
11071 /* 31635 */ // Combiner Rule #193: shift_immed_chain @ [mi[3]]
11072 /* 31635 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner69),
11073 /* 31638 */ // Label 476: @31638
11074 /* 31638 */ GIM_Reject,
11075 /* 31639 */ // Label 61: @31639
11076 /* 31639 */ GIM_Try, /*On fail goto*//*Label 477*/ GIMT_Encode4(31666), // Rule ID 396 //
11077 /* 31644 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule266Enabled),
11078 /* 31647 */ // MIs[0] dst
11079 /* 31647 */ // No operand predicates
11080 /* 31647 */ // MIs[0] lhs
11081 /* 31647 */ // No operand predicates
11082 /* 31647 */ // MIs[0] rhs
11083 /* 31647 */ // No operand predicates
11084 /* 31647 */ // MIs[0] scale
11085 /* 31647 */ // No operand predicates
11086 /* 31647 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11087 /* 31651 */ // Combiner Rule #266: G_SMULFIX_commute_constant_to_rhs
11088 /* 31651 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMULFIX),
11089 /* 31654 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11090 /* 31656 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11091 /* 31658 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11092 /* 31660 */ GIR_RootToRootCopy, /*OpIdx*/3, // scale
11093 /* 31662 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11094 /* 31665 */ GIR_EraseRootFromParent_Done,
11095 /* 31666 */ // Label 477: @31666
11096 /* 31666 */ GIM_Reject,
11097 /* 31667 */ // Label 62: @31667
11098 /* 31667 */ GIM_Try, /*On fail goto*//*Label 478*/ GIMT_Encode4(31694), // Rule ID 397 //
11099 /* 31672 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule267Enabled),
11100 /* 31675 */ // MIs[0] dst
11101 /* 31675 */ // No operand predicates
11102 /* 31675 */ // MIs[0] lhs
11103 /* 31675 */ // No operand predicates
11104 /* 31675 */ // MIs[0] rhs
11105 /* 31675 */ // No operand predicates
11106 /* 31675 */ // MIs[0] scale
11107 /* 31675 */ // No operand predicates
11108 /* 31675 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11109 /* 31679 */ // Combiner Rule #267: G_UMULFIX_commute_constant_to_rhs
11110 /* 31679 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMULFIX),
11111 /* 31682 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11112 /* 31684 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11113 /* 31686 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11114 /* 31688 */ GIR_RootToRootCopy, /*OpIdx*/3, // scale
11115 /* 31690 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11116 /* 31693 */ GIR_EraseRootFromParent_Done,
11117 /* 31694 */ // Label 478: @31694
11118 /* 31694 */ GIM_Reject,
11119 /* 31695 */ // Label 63: @31695
11120 /* 31695 */ GIM_Try, /*On fail goto*//*Label 479*/ GIMT_Encode4(31722), // Rule ID 398 //
11121 /* 31700 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule268Enabled),
11122 /* 31703 */ // MIs[0] dst
11123 /* 31703 */ // No operand predicates
11124 /* 31703 */ // MIs[0] lhs
11125 /* 31703 */ // No operand predicates
11126 /* 31703 */ // MIs[0] rhs
11127 /* 31703 */ // No operand predicates
11128 /* 31703 */ // MIs[0] scale
11129 /* 31703 */ // No operand predicates
11130 /* 31703 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11131 /* 31707 */ // Combiner Rule #268: G_SMULFIXSAT_commute_constant_to_rhs
11132 /* 31707 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMULFIXSAT),
11133 /* 31710 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11134 /* 31712 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11135 /* 31714 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11136 /* 31716 */ GIR_RootToRootCopy, /*OpIdx*/3, // scale
11137 /* 31718 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11138 /* 31721 */ GIR_EraseRootFromParent_Done,
11139 /* 31722 */ // Label 479: @31722
11140 /* 31722 */ GIM_Reject,
11141 /* 31723 */ // Label 64: @31723
11142 /* 31723 */ GIM_Try, /*On fail goto*//*Label 480*/ GIMT_Encode4(31750), // Rule ID 399 //
11143 /* 31728 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule269Enabled),
11144 /* 31731 */ // MIs[0] dst
11145 /* 31731 */ // No operand predicates
11146 /* 31731 */ // MIs[0] lhs
11147 /* 31731 */ // No operand predicates
11148 /* 31731 */ // MIs[0] rhs
11149 /* 31731 */ // No operand predicates
11150 /* 31731 */ // MIs[0] scale
11151 /* 31731 */ // No operand predicates
11152 /* 31731 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
11153 /* 31735 */ // Combiner Rule #269: G_UMULFIXSAT_commute_constant_to_rhs
11154 /* 31735 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMULFIXSAT),
11155 /* 31738 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11156 /* 31740 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11157 /* 31742 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11158 /* 31744 */ GIR_RootToRootCopy, /*OpIdx*/3, // scale
11159 /* 31746 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11160 /* 31749 */ GIR_EraseRootFromParent_Done,
11161 /* 31750 */ // Label 480: @31750
11162 /* 31750 */ GIM_Reject,
11163 /* 31751 */ // Label 65: @31751
11164 /* 31751 */ GIM_Try, /*On fail goto*//*Label 481*/ GIMT_Encode4(31780), // Rule ID 160 //
11165 /* 31756 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule115Enabled),
11166 /* 31759 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmNsz),
11167 /* 31765 */ // MIs[0] dst
11168 /* 31765 */ // No operand predicates
11169 /* 31765 */ // MIs[0] x
11170 /* 31765 */ // No operand predicates
11171 /* 31765 */ // MIs[0] y
11172 /* 31765 */ // No operand predicates
11173 /* 31765 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner21),
11174 /* 31769 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11175 /* 31774 */ // Combiner Rule #115: right_identity_neg_zero_fp_nsz
11176 /* 31774 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11177 /* 31779 */ GIR_EraseRootFromParent_Done,
11178 /* 31780 */ // Label 481: @31780
11179 /* 31780 */ GIM_Try, /*On fail goto*//*Label 482*/ GIMT_Encode4(31817), // Rule ID 327 //
11180 /* 31785 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule221Enabled),
11181 /* 31788 */ // MIs[0] dst
11182 /* 31788 */ // No operand predicates
11183 /* 31788 */ // MIs[0] negy
11184 /* 31788 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11185 /* 31792 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11186 /* 31796 */ // MIs[1] y
11187 /* 31796 */ // No operand predicates
11188 /* 31796 */ // MIs[0] x
11189 /* 31796 */ // No operand predicates
11190 /* 31796 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner44),
11191 /* 31800 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11192 /* 31802 */ // Combiner Rule #221: redundant_neg_operands_fadd_lhs
11193 /* 31802 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FSUB),
11194 /* 31805 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11195 /* 31807 */ GIR_RootToRootCopy, /*OpIdx*/2, // x
11196 /* 31809 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // y
11197 /* 31813 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11198 /* 31816 */ GIR_EraseRootFromParent_Done,
11199 /* 31817 */ // Label 482: @31817
11200 /* 31817 */ GIM_Try, /*On fail goto*//*Label 483*/ GIMT_Encode4(31854), // Rule ID 326 //
11201 /* 31822 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule220Enabled),
11202 /* 31825 */ // MIs[0] dst
11203 /* 31825 */ // No operand predicates
11204 /* 31825 */ // MIs[0] x
11205 /* 31825 */ // No operand predicates
11206 /* 31825 */ // MIs[0] negy
11207 /* 31825 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
11208 /* 31829 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11209 /* 31833 */ // MIs[1] y
11210 /* 31833 */ // No operand predicates
11211 /* 31833 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner44),
11212 /* 31837 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11213 /* 31839 */ // Combiner Rule #220: redundant_neg_operands_fadd_rhs
11214 /* 31839 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FSUB),
11215 /* 31842 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11216 /* 31844 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
11217 /* 31846 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // y
11218 /* 31850 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11219 /* 31853 */ GIR_EraseRootFromParent_Done,
11220 /* 31854 */ // Label 483: @31854
11221 /* 31854 */ GIM_Try, /*On fail goto*//*Label 484*/ GIMT_Encode4(31877), // Rule ID 159 //
11222 /* 31859 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
11223 /* 31862 */ // MIs[0] dst
11224 /* 31862 */ // No operand predicates
11225 /* 31862 */ // MIs[0] x
11226 /* 31862 */ // No operand predicates
11227 /* 31862 */ // MIs[0] y
11228 /* 31862 */ // No operand predicates
11229 /* 31862 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner20),
11230 /* 31866 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11231 /* 31871 */ // Combiner Rule #114: right_identity_neg_zero_fp
11232 /* 31871 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11233 /* 31876 */ GIR_EraseRootFromParent_Done,
11234 /* 31877 */ // Label 484: @31877
11235 /* 31877 */ GIM_Try, /*On fail goto*//*Label 485*/ GIMT_Encode4(31902), // Rule ID 404 //
11236 /* 31882 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule274Enabled),
11237 /* 31885 */ // MIs[0] dst
11238 /* 31885 */ // No operand predicates
11239 /* 31885 */ // MIs[0] lhs
11240 /* 31885 */ // No operand predicates
11241 /* 31885 */ // MIs[0] rhs
11242 /* 31885 */ // No operand predicates
11243 /* 31885 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
11244 /* 31889 */ // Combiner Rule #274: G_FADD_commute_fp_constant_to_rhs
11245 /* 31889 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FADD),
11246 /* 31892 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11247 /* 31894 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11248 /* 31896 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11249 /* 31898 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11250 /* 31901 */ GIR_EraseRootFromParent_Done,
11251 /* 31902 */ // Label 485: @31902
11252 /* 31902 */ GIM_Try, /*On fail goto*//*Label 486*/ GIMT_Encode4(31913), // Rule ID 299 //
11253 /* 31907 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
11254 /* 31910 */ // MIs[0] d
11255 /* 31910 */ // No operand predicates
11256 /* 31910 */ // MIs[0] mi.src0
11257 /* 31910 */ // No operand predicates
11258 /* 31910 */ // MIs[0] mi.src1
11259 /* 31910 */ // No operand predicates
11260 /* 31910 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[0]]
11261 /* 31910 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
11262 /* 31913 */ // Label 486: @31913
11263 /* 31913 */ GIM_Try, /*On fail goto*//*Label 487*/ GIMT_Encode4(31924), // Rule ID 334 //
11264 /* 31918 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule228Enabled),
11265 /* 31921 */ // MIs[0] dst
11266 /* 31921 */ // No operand predicates
11267 /* 31921 */ // MIs[0] src1
11268 /* 31921 */ // No operand predicates
11269 /* 31921 */ // MIs[0] src2
11270 /* 31921 */ // No operand predicates
11271 /* 31921 */ // Combiner Rule #228: combine_fadd_fmul_to_fmad_or_fma
11272 /* 31921 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner86),
11273 /* 31924 */ // Label 487: @31924
11274 /* 31924 */ GIM_Try, /*On fail goto*//*Label 488*/ GIMT_Encode4(31935), // Rule ID 335 //
11275 /* 31929 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule229Enabled),
11276 /* 31932 */ // MIs[0] dst
11277 /* 31932 */ // No operand predicates
11278 /* 31932 */ // MIs[0] src1
11279 /* 31932 */ // No operand predicates
11280 /* 31932 */ // MIs[0] src2
11281 /* 31932 */ // No operand predicates
11282 /* 31932 */ // Combiner Rule #229: combine_fadd_fpext_fmul_to_fmad_or_fma
11283 /* 31932 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner87),
11284 /* 31935 */ // Label 488: @31935
11285 /* 31935 */ GIM_Try, /*On fail goto*//*Label 489*/ GIMT_Encode4(31946), // Rule ID 336 //
11286 /* 31940 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule230Enabled),
11287 /* 31943 */ // MIs[0] dst
11288 /* 31943 */ // No operand predicates
11289 /* 31943 */ // MIs[0] src1
11290 /* 31943 */ // No operand predicates
11291 /* 31943 */ // MIs[0] src2
11292 /* 31943 */ // No operand predicates
11293 /* 31943 */ // Combiner Rule #230: combine_fadd_fma_fmul_to_fmad_or_fma
11294 /* 31943 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner88),
11295 /* 31946 */ // Label 489: @31946
11296 /* 31946 */ GIM_Try, /*On fail goto*//*Label 490*/ GIMT_Encode4(31957), // Rule ID 337 //
11297 /* 31951 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule231Enabled),
11298 /* 31954 */ // MIs[0] dst
11299 /* 31954 */ // No operand predicates
11300 /* 31954 */ // MIs[0] src1
11301 /* 31954 */ // No operand predicates
11302 /* 31954 */ // MIs[0] src2
11303 /* 31954 */ // No operand predicates
11304 /* 31954 */ // Combiner Rule #231: combine_fadd_fpext_fma_fmul_to_fmad_or_fma
11305 /* 31954 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner89),
11306 /* 31957 */ // Label 490: @31957
11307 /* 31957 */ GIM_Try, /*On fail goto*//*Label 491*/ GIMT_Encode4(31968), // Rule ID 360 //
11308 /* 31962 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
11309 /* 31965 */ // MIs[0] root
11310 /* 31965 */ // No operand predicates
11311 /* 31965 */ // MIs[0] mi.x
11312 /* 31965 */ // No operand predicates
11313 /* 31965 */ // MIs[0] mi.y
11314 /* 31965 */ // No operand predicates
11315 /* 31965 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[5]]
11316 /* 31965 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
11317 /* 31968 */ // Label 491: @31968
11318 /* 31968 */ GIM_Reject,
11319 /* 31969 */ // Label 66: @31969
11320 /* 31969 */ GIM_Try, /*On fail goto*//*Label 492*/ GIMT_Encode4(32010), // Rule ID 382 //
11321 /* 31974 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule252Enabled),
11322 /* 31977 */ // MIs[0] dst
11323 /* 31977 */ GIM_RecordRegType, /*MI*/0, /*Op*/0, /*TempTypeIdx*/255,
11324 /* 31981 */ // MIs[0] lhs
11325 /* 31981 */ // No operand predicates
11326 /* 31981 */ // MIs[0] rhs
11327 /* 31981 */ // No operand predicates
11328 /* 31981 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner50),
11329 /* 31985 */ GIR_MakeTempReg, /*TempRegID*/0, /*TypeID*/255,
11330 /* 31988 */ // Combiner Rule #252: fsub_to_fneg
11331 /* 31988 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FCANONICALIZE),
11332 /* 31991 */ GIR_AddTempRegister, /*InsnID*/0, /*TempRegID*/0, /*TempRegFlags*/GIMT_Encode2(static_cast<uint16_t>(RegState::Define)),
11333 /* 31996 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11334 /* 31998 */ GIR_BuildMI, /*InsnID*/1, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FNEG),
11335 /* 32002 */ GIR_Copy, /*NewInsnID*/1, /*OldInsnID*/0, /*OpIdx*/0, // dst
11336 /* 32006 */ GIR_AddSimpleTempRegister, /*InsnID*/1, /*TempRegID*/0,
11337 /* 32009 */ GIR_EraseRootFromParent_Done,
11338 /* 32010 */ // Label 492: @32010
11339 /* 32010 */ GIM_Try, /*On fail goto*//*Label 493*/ GIMT_Encode4(32047), // Rule ID 328 //
11340 /* 32015 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule222Enabled),
11341 /* 32018 */ // MIs[0] dst
11342 /* 32018 */ // No operand predicates
11343 /* 32018 */ // MIs[0] x
11344 /* 32018 */ // No operand predicates
11345 /* 32018 */ // MIs[0] negy
11346 /* 32018 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
11347 /* 32022 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11348 /* 32026 */ // MIs[1] y
11349 /* 32026 */ // No operand predicates
11350 /* 32026 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner45),
11351 /* 32030 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11352 /* 32032 */ // Combiner Rule #222: redundant_neg_operands_fsub
11353 /* 32032 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FADD),
11354 /* 32035 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11355 /* 32037 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
11356 /* 32039 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // y
11357 /* 32043 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11358 /* 32046 */ GIR_EraseRootFromParent_Done,
11359 /* 32047 */ // Label 493: @32047
11360 /* 32047 */ GIM_Try, /*On fail goto*//*Label 494*/ GIMT_Encode4(32058), // Rule ID 300 //
11361 /* 32052 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
11362 /* 32055 */ // MIs[0] d
11363 /* 32055 */ // No operand predicates
11364 /* 32055 */ // MIs[0] mi.src0
11365 /* 32055 */ // No operand predicates
11366 /* 32055 */ // MIs[0] mi.src1
11367 /* 32055 */ // No operand predicates
11368 /* 32055 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[1]]
11369 /* 32055 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
11370 /* 32058 */ // Label 494: @32058
11371 /* 32058 */ GIM_Try, /*On fail goto*//*Label 495*/ GIMT_Encode4(32069), // Rule ID 338 //
11372 /* 32063 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule232Enabled),
11373 /* 32066 */ // MIs[0] dst
11374 /* 32066 */ // No operand predicates
11375 /* 32066 */ // MIs[0] src1
11376 /* 32066 */ // No operand predicates
11377 /* 32066 */ // MIs[0] src2
11378 /* 32066 */ // No operand predicates
11379 /* 32066 */ // Combiner Rule #232: combine_fsub_fmul_to_fmad_or_fma
11380 /* 32066 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner90),
11381 /* 32069 */ // Label 495: @32069
11382 /* 32069 */ GIM_Try, /*On fail goto*//*Label 496*/ GIMT_Encode4(32080), // Rule ID 339 //
11383 /* 32074 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule233Enabled),
11384 /* 32077 */ // MIs[0] dst
11385 /* 32077 */ // No operand predicates
11386 /* 32077 */ // MIs[0] src1
11387 /* 32077 */ // No operand predicates
11388 /* 32077 */ // MIs[0] src2
11389 /* 32077 */ // No operand predicates
11390 /* 32077 */ // Combiner Rule #233: combine_fsub_fneg_fmul_to_fmad_or_fma
11391 /* 32077 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner91),
11392 /* 32080 */ // Label 496: @32080
11393 /* 32080 */ GIM_Try, /*On fail goto*//*Label 497*/ GIMT_Encode4(32091), // Rule ID 340 //
11394 /* 32085 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule234Enabled),
11395 /* 32088 */ // MIs[0] dst
11396 /* 32088 */ // No operand predicates
11397 /* 32088 */ // MIs[0] src1
11398 /* 32088 */ // No operand predicates
11399 /* 32088 */ // MIs[0] src2
11400 /* 32088 */ // No operand predicates
11401 /* 32088 */ // Combiner Rule #234: combine_fsub_fpext_fmul_to_fmad_or_fma
11402 /* 32088 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner92),
11403 /* 32091 */ // Label 497: @32091
11404 /* 32091 */ GIM_Try, /*On fail goto*//*Label 498*/ GIMT_Encode4(32102), // Rule ID 341 //
11405 /* 32096 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule235Enabled),
11406 /* 32099 */ // MIs[0] dst
11407 /* 32099 */ // No operand predicates
11408 /* 32099 */ // MIs[0] src1
11409 /* 32099 */ // No operand predicates
11410 /* 32099 */ // MIs[0] src2
11411 /* 32099 */ // No operand predicates
11412 /* 32099 */ // Combiner Rule #235: combine_fsub_fpext_fneg_fmul_to_fmad_or_fma
11413 /* 32099 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner93),
11414 /* 32102 */ // Label 498: @32102
11415 /* 32102 */ GIM_Try, /*On fail goto*//*Label 499*/ GIMT_Encode4(32113), // Rule ID 361 //
11416 /* 32107 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
11417 /* 32110 */ // MIs[0] root
11418 /* 32110 */ // No operand predicates
11419 /* 32110 */ // MIs[0] mi.x
11420 /* 32110 */ // No operand predicates
11421 /* 32110 */ // MIs[0] mi.y
11422 /* 32110 */ // No operand predicates
11423 /* 32110 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[6]]
11424 /* 32110 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
11425 /* 32113 */ // Label 499: @32113
11426 /* 32113 */ GIM_Reject,
11427 /* 32114 */ // Label 67: @32114
11428 /* 32114 */ GIM_Try, /*On fail goto*//*Label 500*/ GIMT_Encode4(32137), // Rule ID 149 //
11429 /* 32119 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule105Enabled),
11430 /* 32122 */ // MIs[0] dst
11431 /* 32122 */ // No operand predicates
11432 /* 32122 */ // MIs[0] x
11433 /* 32122 */ // No operand predicates
11434 /* 32122 */ // MIs[0] y
11435 /* 32122 */ // No operand predicates
11436 /* 32122 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner18),
11437 /* 32126 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11438 /* 32131 */ // Combiner Rule #105: right_identity_one_fp
11439 /* 32131 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11440 /* 32136 */ GIR_EraseRootFromParent_Done,
11441 /* 32137 */ // Label 500: @32137
11442 /* 32137 */ GIM_Try, /*On fail goto*//*Label 501*/ GIMT_Encode4(32157), // Rule ID 161 //
11443 /* 32142 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule116Enabled),
11444 /* 32145 */ // MIs[0] dst
11445 /* 32145 */ // No operand predicates
11446 /* 32145 */ // MIs[0] x
11447 /* 32145 */ // No operand predicates
11448 /* 32145 */ // MIs[0] y
11449 /* 32145 */ // No operand predicates
11450 /* 32145 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner22),
11451 /* 32149 */ // Combiner Rule #116: right_identity_neg_one_fp
11452 /* 32149 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FNEG),
11453 /* 32152 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11454 /* 32154 */ GIR_RootToRootCopy, /*OpIdx*/1, // x
11455 /* 32156 */ GIR_EraseRootFromParent_Done,
11456 /* 32157 */ // Label 501: @32157
11457 /* 32157 */ GIM_Try, /*On fail goto*//*Label 502*/ GIMT_Encode4(32182), // Rule ID 405 //
11458 /* 32162 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule275Enabled),
11459 /* 32165 */ // MIs[0] dst
11460 /* 32165 */ // No operand predicates
11461 /* 32165 */ // MIs[0] lhs
11462 /* 32165 */ // No operand predicates
11463 /* 32165 */ // MIs[0] rhs
11464 /* 32165 */ // No operand predicates
11465 /* 32165 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
11466 /* 32169 */ // Combiner Rule #275: G_FMUL_commute_fp_constant_to_rhs
11467 /* 32169 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMUL),
11468 /* 32172 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11469 /* 32174 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
11470 /* 32176 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
11471 /* 32178 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11472 /* 32181 */ GIR_EraseRootFromParent_Done,
11473 /* 32182 */ // Label 502: @32182
11474 /* 32182 */ GIM_Try, /*On fail goto*//*Label 503*/ GIMT_Encode4(32225), // Rule ID 329 //
11475 /* 32187 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule223Enabled),
11476 /* 32190 */ // MIs[0] dst
11477 /* 32190 */ // No operand predicates
11478 /* 32190 */ // MIs[0] nx
11479 /* 32190 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11480 /* 32194 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11481 /* 32198 */ // MIs[1] x
11482 /* 32198 */ // No operand predicates
11483 /* 32198 */ // MIs[0] ny
11484 /* 32198 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
11485 /* 32202 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FNEG),
11486 /* 32206 */ // MIs[2] y
11487 /* 32206 */ // No operand predicates
11488 /* 32206 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
11489 /* 32208 */ // Combiner Rule #223: G_FMUL_fneg_fneg
11490 /* 32208 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMUL),
11491 /* 32211 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11492 /* 32213 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11493 /* 32217 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
11494 /* 32221 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11495 /* 32224 */ GIR_EraseRootFromParent_Done,
11496 /* 32225 */ // Label 503: @32225
11497 /* 32225 */ GIM_Try, /*On fail goto*//*Label 504*/ GIMT_Encode4(32246), // Rule ID 478 //
11498 /* 32230 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule342Enabled),
11499 /* 32233 */ // MIs[0] dst
11500 /* 32233 */ // No operand predicates
11501 /* 32233 */ // MIs[0] x
11502 /* 32233 */ // No operand predicates
11503 /* 32233 */ // MIs[0] select
11504 /* 32233 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
11505 /* 32237 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SELECT),
11506 /* 32241 */ // MIs[1] y
11507 /* 32241 */ // No operand predicates
11508 /* 32241 */ // MIs[1] A
11509 /* 32241 */ // No operand predicates
11510 /* 32241 */ // MIs[1] B
11511 /* 32241 */ // No operand predicates
11512 /* 32241 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11513 /* 32243 */ // Combiner Rule #342: combine_fmul_with_select_to_fldexp
11514 /* 32243 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner131),
11515 /* 32246 */ // Label 504: @32246
11516 /* 32246 */ GIM_Try, /*On fail goto*//*Label 505*/ GIMT_Encode4(32257), // Rule ID 301 //
11517 /* 32251 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
11518 /* 32254 */ // MIs[0] d
11519 /* 32254 */ // No operand predicates
11520 /* 32254 */ // MIs[0] mi.src0
11521 /* 32254 */ // No operand predicates
11522 /* 32254 */ // MIs[0] mi.src1
11523 /* 32254 */ // No operand predicates
11524 /* 32254 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[2]]
11525 /* 32254 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
11526 /* 32257 */ // Label 505: @32257
11527 /* 32257 */ GIM_Try, /*On fail goto*//*Label 506*/ GIMT_Encode4(32268), // Rule ID 359 //
11528 /* 32262 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
11529 /* 32265 */ // MIs[0] root
11530 /* 32265 */ // No operand predicates
11531 /* 32265 */ // MIs[0] mi.x
11532 /* 32265 */ // No operand predicates
11533 /* 32265 */ // MIs[0] mi.y
11534 /* 32265 */ // No operand predicates
11535 /* 32265 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[4]]
11536 /* 32265 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
11537 /* 32268 */ // Label 506: @32268
11538 /* 32268 */ GIM_Reject,
11539 /* 32269 */ // Label 68: @32269
11540 /* 32269 */ GIM_Try, /*On fail goto*//*Label 507*/ GIMT_Encode4(32314), // Rule ID 332 //
11541 /* 32274 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule226Enabled),
11542 /* 32277 */ // MIs[0] dst
11543 /* 32277 */ // No operand predicates
11544 /* 32277 */ // MIs[0] nx
11545 /* 32277 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11546 /* 32281 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11547 /* 32285 */ // MIs[1] x
11548 /* 32285 */ // No operand predicates
11549 /* 32285 */ // MIs[0] ny
11550 /* 32285 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
11551 /* 32289 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FNEG),
11552 /* 32293 */ // MIs[2] y
11553 /* 32293 */ // No operand predicates
11554 /* 32293 */ // MIs[0] z
11555 /* 32293 */ // No operand predicates
11556 /* 32293 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
11557 /* 32295 */ // Combiner Rule #226: G_FMA_fneg_fneg
11558 /* 32295 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMA),
11559 /* 32298 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11560 /* 32300 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11561 /* 32304 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
11562 /* 32308 */ GIR_RootToRootCopy, /*OpIdx*/3, // z
11563 /* 32310 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11564 /* 32313 */ GIR_EraseRootFromParent_Done,
11565 /* 32314 */ // Label 507: @32314
11566 /* 32314 */ GIM_Try, /*On fail goto*//*Label 508*/ GIMT_Encode4(32325), // Rule ID 312 //
11567 /* 32319 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule215Enabled),
11568 /* 32322 */ // MIs[0] dst
11569 /* 32322 */ // No operand predicates
11570 /* 32322 */ // MIs[0] d.src0
11571 /* 32322 */ // No operand predicates
11572 /* 32322 */ // MIs[0] d.src1
11573 /* 32322 */ // No operand predicates
11574 /* 32322 */ // MIs[0] d.src2
11575 /* 32322 */ // No operand predicates
11576 /* 32322 */ // Combiner Rule #215: constant_fold_fma @ [d[1]]
11577 /* 32322 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner81),
11578 /* 32325 */ // Label 508: @32325
11579 /* 32325 */ GIM_Reject,
11580 /* 32326 */ // Label 69: @32326
11581 /* 32326 */ GIM_Try, /*On fail goto*//*Label 509*/ GIMT_Encode4(32371), // Rule ID 331 //
11582 /* 32331 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule225Enabled),
11583 /* 32334 */ // MIs[0] dst
11584 /* 32334 */ // No operand predicates
11585 /* 32334 */ // MIs[0] nx
11586 /* 32334 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11587 /* 32338 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11588 /* 32342 */ // MIs[1] x
11589 /* 32342 */ // No operand predicates
11590 /* 32342 */ // MIs[0] ny
11591 /* 32342 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
11592 /* 32346 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FNEG),
11593 /* 32350 */ // MIs[2] y
11594 /* 32350 */ // No operand predicates
11595 /* 32350 */ // MIs[0] z
11596 /* 32350 */ // No operand predicates
11597 /* 32350 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
11598 /* 32352 */ // Combiner Rule #225: G_FMAD_fneg_fneg
11599 /* 32352 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMAD),
11600 /* 32355 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11601 /* 32357 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11602 /* 32361 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
11603 /* 32365 */ GIR_RootToRootCopy, /*OpIdx*/3, // z
11604 /* 32367 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11605 /* 32370 */ GIR_EraseRootFromParent_Done,
11606 /* 32371 */ // Label 509: @32371
11607 /* 32371 */ GIM_Try, /*On fail goto*//*Label 510*/ GIMT_Encode4(32382), // Rule ID 311 //
11608 /* 32376 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule215Enabled),
11609 /* 32379 */ // MIs[0] dst
11610 /* 32379 */ // No operand predicates
11611 /* 32379 */ // MIs[0] d.src0
11612 /* 32379 */ // No operand predicates
11613 /* 32379 */ // MIs[0] d.src1
11614 /* 32379 */ // No operand predicates
11615 /* 32379 */ // MIs[0] d.src2
11616 /* 32379 */ // No operand predicates
11617 /* 32379 */ // Combiner Rule #215: constant_fold_fma @ [d[0]]
11618 /* 32379 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner81),
11619 /* 32382 */ // Label 510: @32382
11620 /* 32382 */ GIM_Reject,
11621 /* 32383 */ // Label 70: @32383
11622 /* 32383 */ GIM_Try, /*On fail goto*//*Label 511*/ GIMT_Encode4(32422), // Rule ID 492 //
11623 /* 32388 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule352Enabled),
11624 /* 32391 */ GIM_RootCheckType, /*Op*/0, /*Type*/GILLT_f16,
11625 /* 32394 */ GIM_RootCheckType, /*Op*/2, /*Type*/GILLT_f16,
11626 /* 32397 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
11627 /* 32403 */ // MIs[0] y
11628 /* 32403 */ // No operand predicates
11629 /* 32403 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
11630 /* 32407 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FSQRT),
11631 /* 32411 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
11632 /* 32417 */ // MIs[1] x
11633 /* 32417 */ // No operand predicates
11634 /* 32417 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11635 /* 32419 */ // Combiner Rule #352: fdiv_by_sqrt_to_rsq_f16
11636 /* 32419 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner136),
11637 /* 32422 */ // Label 511: @32422
11638 /* 32422 */ GIM_Try, /*On fail goto*//*Label 512*/ GIMT_Encode4(32465), // Rule ID 330 //
11639 /* 32427 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule224Enabled),
11640 /* 32430 */ // MIs[0] dst
11641 /* 32430 */ // No operand predicates
11642 /* 32430 */ // MIs[0] nx
11643 /* 32430 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11644 /* 32434 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11645 /* 32438 */ // MIs[1] x
11646 /* 32438 */ // No operand predicates
11647 /* 32438 */ // MIs[0] ny
11648 /* 32438 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
11649 /* 32442 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_FNEG),
11650 /* 32446 */ // MIs[2] y
11651 /* 32446 */ // No operand predicates
11652 /* 32446 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
11653 /* 32448 */ // Combiner Rule #224: G_FDIV_fneg_fneg
11654 /* 32448 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FDIV),
11655 /* 32451 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11656 /* 32453 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11657 /* 32457 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // y
11658 /* 32461 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
11659 /* 32464 */ GIR_EraseRootFromParent_Done,
11660 /* 32465 */ // Label 512: @32465
11661 /* 32465 */ GIM_Try, /*On fail goto*//*Label 513*/ GIMT_Encode4(32476), // Rule ID 302 //
11662 /* 32470 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
11663 /* 32473 */ // MIs[0] d
11664 /* 32473 */ // No operand predicates
11665 /* 32473 */ // MIs[0] mi.src0
11666 /* 32473 */ // No operand predicates
11667 /* 32473 */ // MIs[0] mi.src1
11668 /* 32473 */ // No operand predicates
11669 /* 32473 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[3]]
11670 /* 32473 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
11671 /* 32476 */ // Label 513: @32476
11672 /* 32476 */ GIM_Try, /*On fail goto*//*Label 514*/ GIMT_Encode4(32487), // Rule ID 362 //
11673 /* 32481 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
11674 /* 32484 */ // MIs[0] root
11675 /* 32484 */ // No operand predicates
11676 /* 32484 */ // MIs[0] mi.x
11677 /* 32484 */ // No operand predicates
11678 /* 32484 */ // MIs[0] mi.y
11679 /* 32484 */ // No operand predicates
11680 /* 32484 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[7]]
11681 /* 32484 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
11682 /* 32487 */ // Label 514: @32487
11683 /* 32487 */ GIM_Try, /*On fail goto*//*Label 515*/ GIMT_Encode4(32498), // Rule ID 376 //
11684 /* 32492 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule246Enabled),
11685 /* 32495 */ // MIs[0] dst
11686 /* 32495 */ // No operand predicates
11687 /* 32495 */ // MIs[0] src1
11688 /* 32495 */ // No operand predicates
11689 /* 32495 */ // MIs[0] src2
11690 /* 32495 */ // No operand predicates
11691 /* 32495 */ // Combiner Rule #246: fdiv_repeated_divison
11692 /* 32495 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner101),
11693 /* 32498 */ // Label 515: @32498
11694 /* 32498 */ GIM_Reject,
11695 /* 32499 */ // Label 71: @32499
11696 /* 32499 */ GIM_Try, /*On fail goto*//*Label 516*/ GIMT_Encode4(32510), // Rule ID 303 //
11697 /* 32504 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
11698 /* 32507 */ // MIs[0] d
11699 /* 32507 */ // No operand predicates
11700 /* 32507 */ // MIs[0] mi.src0
11701 /* 32507 */ // No operand predicates
11702 /* 32507 */ // MIs[0] mi.src1
11703 /* 32507 */ // No operand predicates
11704 /* 32507 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[4]]
11705 /* 32507 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
11706 /* 32510 */ // Label 516: @32510
11707 /* 32510 */ GIM_Try, /*On fail goto*//*Label 517*/ GIMT_Encode4(32521), // Rule ID 363 //
11708 /* 32515 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
11709 /* 32518 */ // MIs[0] root
11710 /* 32518 */ // No operand predicates
11711 /* 32518 */ // MIs[0] mi.x
11712 /* 32518 */ // No operand predicates
11713 /* 32518 */ // MIs[0] mi.y
11714 /* 32518 */ // No operand predicates
11715 /* 32518 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[8]]
11716 /* 32518 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
11717 /* 32521 */ // Label 517: @32521
11718 /* 32521 */ GIM_Reject,
11719 /* 32522 */ // Label 72: @32522
11720 /* 32522 */ GIM_Try, /*On fail goto*//*Label 518*/ GIMT_Encode4(32543), // Rule ID 243 //
11721 /* 32527 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
11722 /* 32530 */ // MIs[0] dst
11723 /* 32530 */ // No operand predicates
11724 /* 32530 */ // MIs[0] float
11725 /* 32530 */ // No operand predicates
11726 /* 32530 */ // MIs[0] int
11727 /* 32530 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
11728 /* 32534 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
11729 /* 32538 */ // MIs[1] imm
11730 /* 32538 */ // No operand predicates
11731 /* 32538 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11732 /* 32540 */ // Combiner Rule #189: expand_const_fpowi
11733 /* 32540 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner67),
11734 /* 32543 */ // Label 518: @32543
11735 /* 32543 */ GIM_Reject,
11736 /* 32544 */ // Label 73: @32544
11737 /* 32544 */ GIM_Try, /*On fail goto*//*Label 519*/ GIMT_Encode4(32555), // Rule ID 213 //
11738 /* 32549 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule163Enabled),
11739 /* 32552 */ // MIs[0] dst
11740 /* 32552 */ // No operand predicates
11741 /* 32552 */ // MIs[0] src0
11742 /* 32552 */ // No operand predicates
11743 /* 32552 */ // Combiner Rule #163: constant_fold_flog2
11744 /* 32552 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
11745 /* 32555 */ // Label 519: @32555
11746 /* 32555 */ GIM_Reject,
11747 /* 32556 */ // Label 74: @32556
11748 /* 32556 */ GIM_Try, /*On fail goto*//*Label 520*/ GIMT_Encode4(32585), // Rule ID 147 //
11749 /* 32561 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
11750 /* 32564 */ // MIs[0] dst
11751 /* 32564 */ // No operand predicates
11752 /* 32564 */ // MIs[0] t
11753 /* 32564 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11754 /* 32568 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11755 /* 32572 */ // MIs[1] src
11756 /* 32572 */ // No operand predicates
11757 /* 32572 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
11758 /* 32577 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11759 /* 32579 */ // Combiner Rule #103: fneg_fneg_fold
11760 /* 32579 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
11761 /* 32584 */ GIR_EraseRootFromParent_Done,
11762 /* 32585 */ // Label 520: @32585
11763 /* 32585 */ GIM_Try, /*On fail goto*//*Label 521*/ GIMT_Encode4(32596), // Rule ID 210 //
11764 /* 32590 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule160Enabled),
11765 /* 32593 */ // MIs[0] dst
11766 /* 32593 */ // No operand predicates
11767 /* 32593 */ // MIs[0] src0
11768 /* 32593 */ // No operand predicates
11769 /* 32593 */ // Combiner Rule #160: constant_fold_fneg
11770 /* 32593 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
11771 /* 32596 */ // Label 521: @32596
11772 /* 32596 */ GIM_Try, /*On fail goto*//*Label 522*/ GIMT_Encode4(32607), // Rule ID 486 //
11773 /* 32601 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule346Enabled),
11774 /* 32604 */ // MIs[0] dst
11775 /* 32604 */ // No operand predicates
11776 /* 32604 */ // MIs[0] src
11777 /* 32604 */ // No operand predicates
11778 /* 32604 */ // Combiner Rule #346: foldable_fneg
11779 /* 32604 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner134),
11780 /* 32607 */ // Label 522: @32607
11781 /* 32607 */ GIM_Reject,
11782 /* 32608 */ // Label 75: @32608
11783 /* 32608 */ GIM_Try, /*On fail goto*//*Label 523*/ GIMT_Encode4(32619), // Rule ID 215 //
11784 /* 32613 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
11785 /* 32616 */ // MIs[0] dst
11786 /* 32616 */ // No operand predicates
11787 /* 32616 */ // MIs[0] src0
11788 /* 32616 */ // No operand predicates
11789 /* 32616 */ // Combiner Rule #165: constant_fold_fpext
11790 /* 32616 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
11791 /* 32619 */ // Label 523: @32619
11792 /* 32619 */ GIM_Reject,
11793 /* 32620 */ // Label 76: @32620
11794 /* 32620 */ GIM_Try, /*On fail goto*//*Label 524*/ GIMT_Encode4(32653), // Rule ID 158 //
11795 /* 32625 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
11796 /* 32628 */ // MIs[0] dst
11797 /* 32628 */ // No operand predicates
11798 /* 32628 */ // MIs[0] src1
11799 /* 32628 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11800 /* 32632 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPEXT),
11801 /* 32636 */ // MIs[1] src0
11802 /* 32636 */ // No operand predicates
11803 /* 32636 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner14),
11804 /* 32640 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
11805 /* 32645 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11806 /* 32647 */ // Combiner Rule #113: fptrunc_fpext_fold
11807 /* 32647 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/1,
11808 /* 32652 */ GIR_EraseRootFromParent_Done,
11809 /* 32653 */ // Label 524: @32653
11810 /* 32653 */ GIM_Try_CheckFeatures, /*On fail goto*//*Label 525*/ GIMT_Encode4(32676), GIMT_Encode2(GIFBS_Has16BitInsts_NotHasMed3_16), // Rule ID 477 //
11811 /* 32660 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule341Enabled),
11812 /* 32663 */ // MIs[0] fptrunc_dst
11813 /* 32663 */ // No operand predicates
11814 /* 32663 */ // MIs[0] fmed3_dst
11815 /* 32663 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11816 /* 32667 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(AMDGPU::G_AMDGPU_FMED3),
11817 /* 32671 */ // MIs[1] src0
11818 /* 32671 */ // No operand predicates
11819 /* 32671 */ // MIs[1] src1
11820 /* 32671 */ // No operand predicates
11821 /* 32671 */ // MIs[1] src2
11822 /* 32671 */ // No operand predicates
11823 /* 32671 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11824 /* 32673 */ // Combiner Rule #341: expand_promoted_fmed3
11825 /* 32673 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner130),
11826 /* 32676 */ // Label 525: @32676
11827 /* 32676 */ GIM_Try, /*On fail goto*//*Label 526*/ GIMT_Encode4(32687), // Rule ID 214 //
11828 /* 32681 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
11829 /* 32684 */ // MIs[0] dst
11830 /* 32684 */ // No operand predicates
11831 /* 32684 */ // MIs[0] src0
11832 /* 32684 */ // No operand predicates
11833 /* 32684 */ // Combiner Rule #164: constant_fold_fptrunc
11834 /* 32684 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
11835 /* 32687 */ // Label 526: @32687
11836 /* 32687 */ GIM_Reject,
11837 /* 32688 */ // Label 77: @32688
11838 /* 32688 */ GIM_Try, /*On fail goto*//*Label 527*/ GIMT_Encode4(32712), // Rule ID 103 //
11839 /* 32693 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
11840 /* 32696 */ // MIs[0] dst
11841 /* 32696 */ // No operand predicates
11842 /* 32696 */ // MIs[0] __unary_undef_to_undef_match_0.x
11843 /* 32696 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11844 /* 32700 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11845 /* 32704 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11846 /* 32706 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[5]]
11847 /* 32706 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11848 /* 32709 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11849 /* 32711 */ GIR_EraseRootFromParent_Done,
11850 /* 32712 */ // Label 527: @32712
11851 /* 32712 */ GIM_Reject,
11852 /* 32713 */ // Label 78: @32713
11853 /* 32713 */ GIM_Try, /*On fail goto*//*Label 528*/ GIMT_Encode4(32741), // Rule ID 449 //
11854 /* 32718 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule319Enabled),
11855 /* 32721 */ // MIs[0] dst
11856 /* 32721 */ // No operand predicates
11857 /* 32721 */ // MIs[0] floor
11858 /* 32721 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11859 /* 32725 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FFLOOR),
11860 /* 32729 */ // MIs[1] x
11861 /* 32729 */ // No operand predicates
11862 /* 32729 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11863 /* 32731 */ // Combiner Rule #319: fptoui_ffloor_fold
11864 /* 32731 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FPTOUI),
11865 /* 32734 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11866 /* 32736 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11867 /* 32740 */ GIR_EraseRootFromParent_Done,
11868 /* 32741 */ // Label 528: @32741
11869 /* 32741 */ GIM_Try, /*On fail goto*//*Label 529*/ GIMT_Encode4(32765), // Rule ID 104 //
11870 /* 32746 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
11871 /* 32749 */ // MIs[0] dst
11872 /* 32749 */ // No operand predicates
11873 /* 32749 */ // MIs[0] __unary_undef_to_undef_match_0.x
11874 /* 32749 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11875 /* 32753 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11876 /* 32757 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11877 /* 32759 */ // Combiner Rule #83: unary_undef_to_undef @ [__unary_undef_to_undef_match_0[6]]
11878 /* 32759 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11879 /* 32762 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11880 /* 32764 */ GIR_EraseRootFromParent_Done,
11881 /* 32765 */ // Label 529: @32765
11882 /* 32765 */ GIM_Reject,
11883 /* 32766 */ // Label 79: @32766
11884 /* 32766 */ GIM_Try, /*On fail goto*//*Label 530*/ GIMT_Encode4(32787), // Rule ID 84 //
11885 /* 32771 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
11886 /* 32774 */ // MIs[0] dst
11887 /* 32774 */ // No operand predicates
11888 /* 32774 */ // MIs[0] __undef_to_fp_zero_match_0.x
11889 /* 32774 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11890 /* 32778 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11891 /* 32782 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11892 /* 32784 */ // Combiner Rule #77: undef_to_fp_zero @ [__undef_to_fp_zero_match_0[1]]
11893 /* 32784 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
11894 /* 32787 */ // Label 530: @32787
11895 /* 32787 */ GIM_Try, /*On fail goto*//*Label 531*/ GIMT_Encode4(32802), // Rule ID 223 //
11896 /* 32792 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule173Enabled),
11897 /* 32795 */ // MIs[0] dst
11898 /* 32795 */ // No operand predicates
11899 /* 32795 */ // MIs[0] Operand 1
11900 /* 32795 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
11901 /* 32799 */ // Combiner Rule #173: itof_const_zero_fold_si
11902 /* 32799 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
11903 /* 32802 */ // Label 531: @32802
11904 /* 32802 */ GIM_Try, /*On fail goto*//*Label 532*/ GIMT_Encode4(32813), // Rule ID 480 //
11905 /* 32807 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule343Enabled),
11906 /* 32810 */ // MIs[0] dst
11907 /* 32810 */ // No operand predicates
11908 /* 32810 */ // MIs[0] itofp.src
11909 /* 32810 */ // No operand predicates
11910 /* 32810 */ // Combiner Rule #343: uchar_to_float @ [itofp[1]]
11911 /* 32810 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner132),
11912 /* 32813 */ // Label 532: @32813
11913 /* 32813 */ GIM_Reject,
11914 /* 32814 */ // Label 80: @32814
11915 /* 32814 */ GIM_Try, /*On fail goto*//*Label 533*/ GIMT_Encode4(32835), // Rule ID 83 //
11916 /* 32819 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
11917 /* 32822 */ // MIs[0] dst
11918 /* 32822 */ // No operand predicates
11919 /* 32822 */ // MIs[0] __undef_to_fp_zero_match_0.x
11920 /* 32822 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11921 /* 32826 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
11922 /* 32830 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11923 /* 32832 */ // Combiner Rule #77: undef_to_fp_zero @ [__undef_to_fp_zero_match_0[0]]
11924 /* 32832 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
11925 /* 32835 */ // Label 533: @32835
11926 /* 32835 */ GIM_Try, /*On fail goto*//*Label 534*/ GIMT_Encode4(32850), // Rule ID 224 //
11927 /* 32840 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule174Enabled),
11928 /* 32843 */ // MIs[0] dst
11929 /* 32843 */ // No operand predicates
11930 /* 32843 */ // MIs[0] Operand 1
11931 /* 32843 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/1, 0,
11932 /* 32847 */ // Combiner Rule #174: itof_const_zero_fold_ui
11933 /* 32847 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner30),
11934 /* 32850 */ // Label 534: @32850
11935 /* 32850 */ GIM_Try, /*On fail goto*//*Label 535*/ GIMT_Encode4(32861), // Rule ID 479 //
11936 /* 32855 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule343Enabled),
11937 /* 32858 */ // MIs[0] dst
11938 /* 32858 */ // No operand predicates
11939 /* 32858 */ // MIs[0] itofp.src
11940 /* 32858 */ // No operand predicates
11941 /* 32858 */ // Combiner Rule #343: uchar_to_float @ [itofp[0]]
11942 /* 32858 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner132),
11943 /* 32861 */ // Label 535: @32861
11944 /* 32861 */ GIM_Reject,
11945 /* 32862 */ // Label 81: @32862
11946 /* 32862 */ GIM_Try, /*On fail goto*//*Label 536*/ GIMT_Encode4(32890), // Rule ID 450 //
11947 /* 32867 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule320Enabled),
11948 /* 32870 */ // MIs[0] dst
11949 /* 32870 */ // No operand predicates
11950 /* 32870 */ // MIs[0] floor
11951 /* 32870 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11952 /* 32874 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FFLOOR),
11953 /* 32878 */ // MIs[1] x
11954 /* 32878 */ // No operand predicates
11955 /* 32878 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11956 /* 32880 */ // Combiner Rule #320: fptouisat_ffloor_fold
11957 /* 32880 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FPTOUI_SAT),
11958 /* 32883 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11959 /* 32885 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11960 /* 32889 */ GIR_EraseRootFromParent_Done,
11961 /* 32890 */ // Label 536: @32890
11962 /* 32890 */ GIM_Reject,
11963 /* 32891 */ // Label 82: @32891
11964 /* 32891 */ GIM_Try, /*On fail goto*//*Label 537*/ GIMT_Encode4(32920), // Rule ID 26 //
11965 /* 32896 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
11966 /* 32899 */ // MIs[0] dst
11967 /* 32899 */ // No operand predicates
11968 /* 32899 */ // MIs[0] src
11969 /* 32899 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11970 /* 32903 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FABS),
11971 /* 32907 */ // MIs[1] __idempotent_prop_match_0.x
11972 /* 32907 */ // No operand predicates
11973 /* 32907 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11974 /* 32912 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11975 /* 32914 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[1]]
11976 /* 32914 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
11977 /* 32919 */ GIR_EraseRootFromParent_Done,
11978 /* 32920 */ // Label 537: @32920
11979 /* 32920 */ GIM_Try, /*On fail goto*//*Label 538*/ GIMT_Encode4(32948), // Rule ID 324 //
11980 /* 32925 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule218Enabled),
11981 /* 32928 */ // MIs[0] dst
11982 /* 32928 */ // No operand predicates
11983 /* 32928 */ // MIs[0] tmp
11984 /* 32928 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
11985 /* 32932 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FNEG),
11986 /* 32936 */ // MIs[1] x
11987 /* 32936 */ // No operand predicates
11988 /* 32936 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
11989 /* 32938 */ // Combiner Rule #218: fabs_fneg_fold
11990 /* 32938 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FABS),
11991 /* 32941 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
11992 /* 32943 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // x
11993 /* 32947 */ GIR_EraseRootFromParent_Done,
11994 /* 32948 */ // Label 538: @32948
11995 /* 32948 */ GIM_Try, /*On fail goto*//*Label 539*/ GIMT_Encode4(32969), // Rule ID 487 //
11996 /* 32953 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule347Enabled),
11997 /* 32956 */ // MIs[0] dst
11998 /* 32956 */ // No operand predicates
11999 /* 32956 */ // MIs[0] round
12000 /* 32956 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12001 /* 32960 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FPTRUNC),
12002 /* 32964 */ // MIs[1] src
12003 /* 32964 */ // No operand predicates
12004 /* 32964 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12005 /* 32966 */ // Combiner Rule #347: fold_fabs_fptrunc
12006 /* 32966 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner135),
12007 /* 32969 */ // Label 539: @32969
12008 /* 32969 */ GIM_Try, /*On fail goto*//*Label 540*/ GIMT_Encode4(32980), // Rule ID 211 //
12009 /* 32974 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule161Enabled),
12010 /* 32977 */ // MIs[0] dst
12011 /* 32977 */ // No operand predicates
12012 /* 32977 */ // MIs[0] src0
12013 /* 32977 */ // No operand predicates
12014 /* 32977 */ // Combiner Rule #161: constant_fold_fabs
12015 /* 32977 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
12016 /* 32980 */ // Label 540: @32980
12017 /* 32980 */ GIM_Reject,
12018 /* 32981 */ // Label 83: @32981
12019 /* 32981 */ GIM_Try, /*On fail goto*//*Label 541*/ GIMT_Encode4(32992), // Rule ID 304 //
12020 /* 32986 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12021 /* 32989 */ // MIs[0] d
12022 /* 32989 */ // No operand predicates
12023 /* 32989 */ // MIs[0] mi.src0
12024 /* 32989 */ // No operand predicates
12025 /* 32989 */ // MIs[0] mi.src1
12026 /* 32989 */ // No operand predicates
12027 /* 32989 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[5]]
12028 /* 32989 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12029 /* 32992 */ // Label 541: @32992
12030 /* 32992 */ GIM_Reject,
12031 /* 32993 */ // Label 84: @32993
12032 /* 32993 */ GIM_Try, /*On fail goto*//*Label 542*/ GIMT_Encode4(33016), // Rule ID 485 //
12033 /* 32998 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule345Enabled),
12034 /* 33001 */ // MIs[0] dst
12035 /* 33001 */ // No operand predicates
12036 /* 33001 */ // MIs[0] src
12037 /* 33001 */ // No operand predicates
12038 /* 33001 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner67),
12039 /* 33005 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12040 /* 33010 */ // Combiner Rule #345: remove_fcanonicalize
12041 /* 33010 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12042 /* 33015 */ GIR_EraseRootFromParent_Done,
12043 /* 33016 */ // Label 542: @33016
12044 /* 33016 */ GIM_Try, /*On fail goto*//*Label 543*/ GIMT_Encode4(33045), // Rule ID 27 //
12045 /* 33021 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
12046 /* 33024 */ // MIs[0] dst
12047 /* 33024 */ // No operand predicates
12048 /* 33024 */ // MIs[0] src
12049 /* 33024 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12050 /* 33028 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_FCANONICALIZE),
12051 /* 33032 */ // MIs[1] __idempotent_prop_match_0.x
12052 /* 33032 */ // No operand predicates
12053 /* 33032 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12054 /* 33037 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12055 /* 33039 */ // Combiner Rule #24: idempotent_prop @ [__idempotent_prop_match_0[2]]
12056 /* 33039 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12057 /* 33044 */ GIR_EraseRootFromParent_Done,
12058 /* 33045 */ // Label 543: @33045
12059 /* 33045 */ GIM_Reject,
12060 /* 33046 */ // Label 85: @33046
12061 /* 33046 */ GIM_Try, /*On fail goto*//*Label 544*/ GIMT_Encode4(33069), // Rule ID 235 //
12062 /* 33051 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
12063 /* 33054 */ // MIs[0] dst
12064 /* 33054 */ // No operand predicates
12065 /* 33054 */ // MIs[0] lhs
12066 /* 33054 */ // No operand predicates
12067 /* 33054 */ // MIs[0] rhs
12068 /* 33054 */ // No operand predicates
12069 /* 33054 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner35),
12070 /* 33058 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12071 /* 33063 */ // Combiner Rule #185: minmax_nan_num_lhs @ [__minmax_nan_num_lhs_match_0[0]]
12072 /* 33063 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12073 /* 33068 */ GIR_EraseRootFromParent_Done,
12074 /* 33069 */ // Label 544: @33069
12075 /* 33069 */ GIM_Try, /*On fail goto*//*Label 545*/ GIMT_Encode4(33092), // Rule ID 237 //
12076 /* 33074 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
12077 /* 33077 */ // MIs[0] dst
12078 /* 33077 */ // No operand predicates
12079 /* 33077 */ // MIs[0] lhs
12080 /* 33077 */ // No operand predicates
12081 /* 33077 */ // MIs[0] rhs
12082 /* 33077 */ // No operand predicates
12083 /* 33077 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner36),
12084 /* 33081 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12085 /* 33086 */ // Combiner Rule #186: minmax_nan_num_rhs @ [__minmax_nan_num_rhs_match_0[0]]
12086 /* 33086 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12087 /* 33091 */ GIR_EraseRootFromParent_Done,
12088 /* 33092 */ // Label 545: @33092
12089 /* 33092 */ GIM_Try, /*On fail goto*//*Label 546*/ GIMT_Encode4(33117), // Rule ID 406 //
12090 /* 33097 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule276Enabled),
12091 /* 33100 */ // MIs[0] dst
12092 /* 33100 */ // No operand predicates
12093 /* 33100 */ // MIs[0] lhs
12094 /* 33100 */ // No operand predicates
12095 /* 33100 */ // MIs[0] rhs
12096 /* 33100 */ // No operand predicates
12097 /* 33100 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12098 /* 33104 */ // Combiner Rule #276: G_FMINNUM_commute_fp_constant_to_rhs
12099 /* 33104 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMINNUM),
12100 /* 33107 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12101 /* 33109 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12102 /* 33111 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12103 /* 33113 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12104 /* 33116 */ GIR_EraseRootFromParent_Done,
12105 /* 33117 */ // Label 546: @33117
12106 /* 33117 */ GIM_Try, /*On fail goto*//*Label 547*/ GIMT_Encode4(33128), // Rule ID 305 //
12107 /* 33122 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12108 /* 33125 */ // MIs[0] d
12109 /* 33125 */ // No operand predicates
12110 /* 33125 */ // MIs[0] mi.src0
12111 /* 33125 */ // No operand predicates
12112 /* 33125 */ // MIs[0] mi.src1
12113 /* 33125 */ // No operand predicates
12114 /* 33125 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[6]]
12115 /* 33125 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12116 /* 33128 */ // Label 547: @33128
12117 /* 33128 */ GIM_Try, /*On fail goto*//*Label 548*/ GIMT_Encode4(33139), // Rule ID 364 //
12118 /* 33133 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12119 /* 33136 */ // MIs[0] root
12120 /* 33136 */ // No operand predicates
12121 /* 33136 */ // MIs[0] mi.x
12122 /* 33136 */ // No operand predicates
12123 /* 33136 */ // MIs[0] mi.y
12124 /* 33136 */ // No operand predicates
12125 /* 33136 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[9]]
12126 /* 33136 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12127 /* 33139 */ // Label 548: @33139
12128 /* 33139 */ GIM_Reject,
12129 /* 33140 */ // Label 86: @33140
12130 /* 33140 */ GIM_Try, /*On fail goto*//*Label 549*/ GIMT_Encode4(33163), // Rule ID 236 //
12131 /* 33145 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
12132 /* 33148 */ // MIs[0] dst
12133 /* 33148 */ // No operand predicates
12134 /* 33148 */ // MIs[0] lhs
12135 /* 33148 */ // No operand predicates
12136 /* 33148 */ // MIs[0] rhs
12137 /* 33148 */ // No operand predicates
12138 /* 33148 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner35),
12139 /* 33152 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12140 /* 33157 */ // Combiner Rule #185: minmax_nan_num_lhs @ [__minmax_nan_num_lhs_match_0[1]]
12141 /* 33157 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12142 /* 33162 */ GIR_EraseRootFromParent_Done,
12143 /* 33163 */ // Label 549: @33163
12144 /* 33163 */ GIM_Try, /*On fail goto*//*Label 550*/ GIMT_Encode4(33186), // Rule ID 238 //
12145 /* 33168 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
12146 /* 33171 */ // MIs[0] dst
12147 /* 33171 */ // No operand predicates
12148 /* 33171 */ // MIs[0] lhs
12149 /* 33171 */ // No operand predicates
12150 /* 33171 */ // MIs[0] rhs
12151 /* 33171 */ // No operand predicates
12152 /* 33171 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner36),
12153 /* 33175 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12154 /* 33180 */ // Combiner Rule #186: minmax_nan_num_rhs @ [__minmax_nan_num_rhs_match_0[1]]
12155 /* 33180 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12156 /* 33185 */ GIR_EraseRootFromParent_Done,
12157 /* 33186 */ // Label 550: @33186
12158 /* 33186 */ GIM_Try, /*On fail goto*//*Label 551*/ GIMT_Encode4(33211), // Rule ID 407 //
12159 /* 33191 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule277Enabled),
12160 /* 33194 */ // MIs[0] dst
12161 /* 33194 */ // No operand predicates
12162 /* 33194 */ // MIs[0] lhs
12163 /* 33194 */ // No operand predicates
12164 /* 33194 */ // MIs[0] rhs
12165 /* 33194 */ // No operand predicates
12166 /* 33194 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12167 /* 33198 */ // Combiner Rule #277: G_FMAXNUM_commute_fp_constant_to_rhs
12168 /* 33198 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMAXNUM),
12169 /* 33201 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12170 /* 33203 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12171 /* 33205 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12172 /* 33207 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12173 /* 33210 */ GIR_EraseRootFromParent_Done,
12174 /* 33211 */ // Label 551: @33211
12175 /* 33211 */ GIM_Try, /*On fail goto*//*Label 552*/ GIMT_Encode4(33222), // Rule ID 306 //
12176 /* 33216 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12177 /* 33219 */ // MIs[0] d
12178 /* 33219 */ // No operand predicates
12179 /* 33219 */ // MIs[0] mi.src0
12180 /* 33219 */ // No operand predicates
12181 /* 33219 */ // MIs[0] mi.src1
12182 /* 33219 */ // No operand predicates
12183 /* 33219 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[7]]
12184 /* 33219 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12185 /* 33222 */ // Label 552: @33222
12186 /* 33222 */ GIM_Try, /*On fail goto*//*Label 553*/ GIMT_Encode4(33233), // Rule ID 365 //
12187 /* 33227 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12188 /* 33230 */ // MIs[0] root
12189 /* 33230 */ // No operand predicates
12190 /* 33230 */ // MIs[0] mi.x
12191 /* 33230 */ // No operand predicates
12192 /* 33230 */ // MIs[0] mi.y
12193 /* 33230 */ // No operand predicates
12194 /* 33230 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[10]]
12195 /* 33230 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12196 /* 33233 */ // Label 553: @33233
12197 /* 33233 */ GIM_Reject,
12198 /* 33234 */ // Label 87: @33234
12199 /* 33234 */ GIM_Try, /*On fail goto*//*Label 554*/ GIMT_Encode4(33259), // Rule ID 408 //
12200 /* 33239 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule278Enabled),
12201 /* 33242 */ // MIs[0] dst
12202 /* 33242 */ // No operand predicates
12203 /* 33242 */ // MIs[0] lhs
12204 /* 33242 */ // No operand predicates
12205 /* 33242 */ // MIs[0] rhs
12206 /* 33242 */ // No operand predicates
12207 /* 33242 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12208 /* 33246 */ // Combiner Rule #278: G_FMINNUM_IEEE_commute_fp_constant_to_rhs
12209 /* 33246 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMINNUM_IEEE),
12210 /* 33249 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12211 /* 33251 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12212 /* 33253 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12213 /* 33255 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12214 /* 33258 */ GIR_EraseRootFromParent_Done,
12215 /* 33259 */ // Label 554: @33259
12216 /* 33259 */ GIM_Reject,
12217 /* 33260 */ // Label 88: @33260
12218 /* 33260 */ GIM_Try, /*On fail goto*//*Label 555*/ GIMT_Encode4(33285), // Rule ID 409 //
12219 /* 33265 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule279Enabled),
12220 /* 33268 */ // MIs[0] dst
12221 /* 33268 */ // No operand predicates
12222 /* 33268 */ // MIs[0] lhs
12223 /* 33268 */ // No operand predicates
12224 /* 33268 */ // MIs[0] rhs
12225 /* 33268 */ // No operand predicates
12226 /* 33268 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12227 /* 33272 */ // Combiner Rule #279: G_FMAXNUM_IEEE_commute_fp_constant_to_rhs
12228 /* 33272 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMAXNUM_IEEE),
12229 /* 33275 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12230 /* 33277 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12231 /* 33279 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12232 /* 33281 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12233 /* 33284 */ GIR_EraseRootFromParent_Done,
12234 /* 33285 */ // Label 555: @33285
12235 /* 33285 */ GIM_Reject,
12236 /* 33286 */ // Label 89: @33286
12237 /* 33286 */ GIM_Try, /*On fail goto*//*Label 556*/ GIMT_Encode4(33309), // Rule ID 239 //
12238 /* 33291 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
12239 /* 33294 */ // MIs[0] dst
12240 /* 33294 */ // No operand predicates
12241 /* 33294 */ // MIs[0] lhs
12242 /* 33294 */ // No operand predicates
12243 /* 33294 */ // MIs[0] rhs
12244 /* 33294 */ // No operand predicates
12245 /* 33294 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner35),
12246 /* 33298 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12247 /* 33303 */ // Combiner Rule #187: minmax_nan_ieee_lhs @ [__minmax_nan_ieee_lhs_match_0[0]]
12248 /* 33303 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12249 /* 33308 */ GIR_EraseRootFromParent_Done,
12250 /* 33309 */ // Label 556: @33309
12251 /* 33309 */ GIM_Try, /*On fail goto*//*Label 557*/ GIMT_Encode4(33332), // Rule ID 241 //
12252 /* 33314 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
12253 /* 33317 */ // MIs[0] dst
12254 /* 33317 */ // No operand predicates
12255 /* 33317 */ // MIs[0] lhs
12256 /* 33317 */ // No operand predicates
12257 /* 33317 */ // MIs[0] rhs
12258 /* 33317 */ // No operand predicates
12259 /* 33317 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner36),
12260 /* 33321 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12261 /* 33326 */ // Combiner Rule #188: minmax_nan_ieee_rhs @ [__minmax_nan_ieee_rhs_match_0[0]]
12262 /* 33326 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12263 /* 33331 */ GIR_EraseRootFromParent_Done,
12264 /* 33332 */ // Label 557: @33332
12265 /* 33332 */ GIM_Try, /*On fail goto*//*Label 558*/ GIMT_Encode4(33357), // Rule ID 410 //
12266 /* 33337 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule280Enabled),
12267 /* 33340 */ // MIs[0] dst
12268 /* 33340 */ // No operand predicates
12269 /* 33340 */ // MIs[0] lhs
12270 /* 33340 */ // No operand predicates
12271 /* 33340 */ // MIs[0] rhs
12272 /* 33340 */ // No operand predicates
12273 /* 33340 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12274 /* 33344 */ // Combiner Rule #280: G_FMINIMUM_commute_fp_constant_to_rhs
12275 /* 33344 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMINIMUM),
12276 /* 33347 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12277 /* 33349 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12278 /* 33351 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12279 /* 33353 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12280 /* 33356 */ GIR_EraseRootFromParent_Done,
12281 /* 33357 */ // Label 558: @33357
12282 /* 33357 */ GIM_Try, /*On fail goto*//*Label 559*/ GIMT_Encode4(33368), // Rule ID 307 //
12283 /* 33362 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12284 /* 33365 */ // MIs[0] d
12285 /* 33365 */ // No operand predicates
12286 /* 33365 */ // MIs[0] mi.src0
12287 /* 33365 */ // No operand predicates
12288 /* 33365 */ // MIs[0] mi.src1
12289 /* 33365 */ // No operand predicates
12290 /* 33365 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[8]]
12291 /* 33365 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12292 /* 33368 */ // Label 559: @33368
12293 /* 33368 */ GIM_Try, /*On fail goto*//*Label 560*/ GIMT_Encode4(33379), // Rule ID 366 //
12294 /* 33373 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12295 /* 33376 */ // MIs[0] root
12296 /* 33376 */ // No operand predicates
12297 /* 33376 */ // MIs[0] mi.x
12298 /* 33376 */ // No operand predicates
12299 /* 33376 */ // MIs[0] mi.y
12300 /* 33376 */ // No operand predicates
12301 /* 33376 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[11]]
12302 /* 33376 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12303 /* 33379 */ // Label 560: @33379
12304 /* 33379 */ GIM_Reject,
12305 /* 33380 */ // Label 90: @33380
12306 /* 33380 */ GIM_Try, /*On fail goto*//*Label 561*/ GIMT_Encode4(33403), // Rule ID 240 //
12307 /* 33385 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
12308 /* 33388 */ // MIs[0] dst
12309 /* 33388 */ // No operand predicates
12310 /* 33388 */ // MIs[0] lhs
12311 /* 33388 */ // No operand predicates
12312 /* 33388 */ // MIs[0] rhs
12313 /* 33388 */ // No operand predicates
12314 /* 33388 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner35),
12315 /* 33392 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12316 /* 33397 */ // Combiner Rule #187: minmax_nan_ieee_lhs @ [__minmax_nan_ieee_lhs_match_0[1]]
12317 /* 33397 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12318 /* 33402 */ GIR_EraseRootFromParent_Done,
12319 /* 33403 */ // Label 561: @33403
12320 /* 33403 */ GIM_Try, /*On fail goto*//*Label 562*/ GIMT_Encode4(33426), // Rule ID 242 //
12321 /* 33408 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
12322 /* 33411 */ // MIs[0] dst
12323 /* 33411 */ // No operand predicates
12324 /* 33411 */ // MIs[0] lhs
12325 /* 33411 */ // No operand predicates
12326 /* 33411 */ // MIs[0] rhs
12327 /* 33411 */ // No operand predicates
12328 /* 33411 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner36),
12329 /* 33415 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12330 /* 33420 */ // Combiner Rule #188: minmax_nan_ieee_rhs @ [__minmax_nan_ieee_rhs_match_0[1]]
12331 /* 33420 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/2,
12332 /* 33425 */ GIR_EraseRootFromParent_Done,
12333 /* 33426 */ // Label 562: @33426
12334 /* 33426 */ GIM_Try, /*On fail goto*//*Label 563*/ GIMT_Encode4(33451), // Rule ID 411 //
12335 /* 33431 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule281Enabled),
12336 /* 33434 */ // MIs[0] dst
12337 /* 33434 */ // No operand predicates
12338 /* 33434 */ // MIs[0] lhs
12339 /* 33434 */ // No operand predicates
12340 /* 33434 */ // MIs[0] rhs
12341 /* 33434 */ // No operand predicates
12342 /* 33434 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner52),
12343 /* 33438 */ // Combiner Rule #281: G_FMAXIMUM_commute_fp_constant_to_rhs
12344 /* 33438 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_FMAXIMUM),
12345 /* 33441 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12346 /* 33443 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12347 /* 33445 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12348 /* 33447 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12349 /* 33450 */ GIR_EraseRootFromParent_Done,
12350 /* 33451 */ // Label 563: @33451
12351 /* 33451 */ GIM_Try, /*On fail goto*//*Label 564*/ GIMT_Encode4(33462), // Rule ID 308 //
12352 /* 33456 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12353 /* 33459 */ // MIs[0] d
12354 /* 33459 */ // No operand predicates
12355 /* 33459 */ // MIs[0] mi.src0
12356 /* 33459 */ // No operand predicates
12357 /* 33459 */ // MIs[0] mi.src1
12358 /* 33459 */ // No operand predicates
12359 /* 33459 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[9]]
12360 /* 33459 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12361 /* 33462 */ // Label 564: @33462
12362 /* 33462 */ GIM_Try, /*On fail goto*//*Label 565*/ GIMT_Encode4(33473), // Rule ID 367 //
12363 /* 33467 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12364 /* 33470 */ // MIs[0] root
12365 /* 33470 */ // No operand predicates
12366 /* 33470 */ // MIs[0] mi.x
12367 /* 33470 */ // No operand predicates
12368 /* 33470 */ // MIs[0] mi.y
12369 /* 33470 */ // No operand predicates
12370 /* 33470 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[12]]
12371 /* 33470 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12372 /* 33473 */ // Label 565: @33473
12373 /* 33473 */ GIM_Reject,
12374 /* 33474 */ // Label 91: @33474
12375 /* 33474 */ GIM_Try, /*On fail goto*//*Label 566*/ GIMT_Encode4(33485), // Rule ID 309 //
12376 /* 33479 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12377 /* 33482 */ // MIs[0] d
12378 /* 33482 */ // No operand predicates
12379 /* 33482 */ // MIs[0] mi.src0
12380 /* 33482 */ // No operand predicates
12381 /* 33482 */ // MIs[0] mi.src1
12382 /* 33482 */ // No operand predicates
12383 /* 33482 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[10]]
12384 /* 33482 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12385 /* 33485 */ // Label 566: @33485
12386 /* 33485 */ GIM_Reject,
12387 /* 33486 */ // Label 92: @33486
12388 /* 33486 */ GIM_Try, /*On fail goto*//*Label 567*/ GIMT_Encode4(33497), // Rule ID 310 //
12389 /* 33491 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
12390 /* 33494 */ // MIs[0] d
12391 /* 33494 */ // No operand predicates
12392 /* 33494 */ // MIs[0] mi.src0
12393 /* 33494 */ // No operand predicates
12394 /* 33494 */ // MIs[0] mi.src1
12395 /* 33494 */ // No operand predicates
12396 /* 33494 */ // Combiner Rule #214: constant_fold_fp_binop @ [mi[11]]
12397 /* 33494 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner80),
12398 /* 33497 */ // Label 567: @33497
12399 /* 33497 */ GIM_Reject,
12400 /* 33498 */ // Label 93: @33498
12401 /* 33498 */ GIM_Try, /*On fail goto*//*Label 568*/ GIMT_Encode4(33539), // Rule ID 245 //
12402 /* 33503 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
12403 /* 33506 */ // MIs[0] dst
12404 /* 33506 */ // No operand predicates
12405 /* 33506 */ // MIs[0] base
12406 /* 33506 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12407 /* 33510 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
12408 /* 33514 */ // MIs[1] Operand 1
12409 /* 33514 */ GIM_CheckLiteralInt, /*MI*/1, /*Op*/1, GIMT_Encode8(0),
12410 /* 33525 */ // MIs[0] offset
12411 /* 33525 */ // No operand predicates
12412 /* 33525 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner37),
12413 /* 33529 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12414 /* 33531 */ // Combiner Rule #191: ptr_add_with_zero_scalar
12415 /* 33531 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTTOPTR),
12416 /* 33534 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12417 /* 33536 */ GIR_RootToRootCopy, /*OpIdx*/2, // offset
12418 /* 33538 */ GIR_EraseRootFromParent_Done,
12419 /* 33539 */ // Label 568: @33539
12420 /* 33539 */ GIM_Try, /*On fail goto*//*Label 569*/ GIMT_Encode4(33559), // Rule ID 246 //
12421 /* 33544 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
12422 /* 33547 */ // MIs[0] dst
12423 /* 33547 */ // No operand predicates
12424 /* 33547 */ // MIs[0] base
12425 /* 33547 */ // No operand predicates
12426 /* 33547 */ // MIs[0] offset
12427 /* 33547 */ // No operand predicates
12428 /* 33547 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner38),
12429 /* 33551 */ // Combiner Rule #192: ptr_add_with_zero_vector
12430 /* 33551 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTTOPTR),
12431 /* 33554 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12432 /* 33556 */ GIR_RootToRootCopy, /*OpIdx*/2, // offset
12433 /* 33558 */ GIR_EraseRootFromParent_Done,
12434 /* 33559 */ // Label 569: @33559
12435 /* 33559 */ GIM_Try, /*On fail goto*//*Label 570*/ GIMT_Encode4(33596), // Rule ID 225 //
12436 /* 33564 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule175Enabled),
12437 /* 33567 */ // MIs[0] dst
12438 /* 33567 */ // No operand predicates
12439 /* 33567 */ // MIs[0] base
12440 /* 33567 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12441 /* 33571 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
12442 /* 33575 */ // MIs[1] c1reg
12443 /* 33575 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
12444 /* 33579 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
12445 /* 33583 */ // MIs[2] c1imm
12446 /* 33583 */ // No operand predicates
12447 /* 33583 */ // MIs[0] c2reg
12448 /* 33583 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/3, /*MI*/0, /*OpIdx*/2, // MIs[3]
12449 /* 33587 */ GIM_CheckOpcode, /*MI*/3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
12450 /* 33591 */ // MIs[3] c2imm
12451 /* 33591 */ // No operand predicates
12452 /* 33591 */ GIM_CheckIsSafeToFold, /*NumInsns*/3,
12453 /* 33593 */ // Combiner Rule #175: const_ptradd_to_i2p
12454 /* 33593 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner64),
12455 /* 33596 */ // Label 570: @33596
12456 /* 33596 */ GIM_Try, /*On fail goto*//*Label 571*/ GIMT_Encode4(33619), // Rule ID 126 //
12457 /* 33601 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
12458 /* 33604 */ // MIs[0] dst
12459 /* 33604 */ // No operand predicates
12460 /* 33604 */ // MIs[0] lhs
12461 /* 33604 */ // No operand predicates
12462 /* 33604 */ // MIs[0] Operand 2
12463 /* 33604 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0,
12464 /* 33608 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12465 /* 33613 */ // Combiner Rule #93: right_identity_zero @ [__right_identity_zero_match_0[7]]
12466 /* 33613 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12467 /* 33618 */ GIR_EraseRootFromParent_Done,
12468 /* 33619 */ // Label 571: @33619
12469 /* 33619 */ GIM_Try, /*On fail goto*//*Label 572*/ GIMT_Encode4(33630), // Rule ID 171 //
12470 /* 33624 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule121Enabled),
12471 /* 33627 */ // MIs[0] dst
12472 /* 33627 */ // No operand predicates
12473 /* 33627 */ // MIs[0] base
12474 /* 33627 */ // No operand predicates
12475 /* 33627 */ // MIs[0] offset
12476 /* 33627 */ // No operand predicates
12477 /* 33627 */ // Combiner Rule #121: reassoc_ptradd
12478 /* 33627 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner40),
12479 /* 33630 */ // Label 572: @33630
12480 /* 33630 */ GIM_Try, /*On fail goto*//*Label 573*/ GIMT_Encode4(33641), // Rule ID 173 //
12481 /* 33635 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule123Enabled),
12482 /* 33638 */ // MIs[0] dst
12483 /* 33638 */ // No operand predicates
12484 /* 33638 */ // MIs[0] base
12485 /* 33638 */ // No operand predicates
12486 /* 33638 */ // MIs[0] offset
12487 /* 33638 */ // No operand predicates
12488 /* 33638 */ // Combiner Rule #123: ptr_add_immed_chain
12489 /* 33638 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner42),
12490 /* 33641 */ // Label 573: @33641
12491 /* 33641 */ GIM_Try, /*On fail goto*//*Label 574*/ GIMT_Encode4(33652), // Rule ID 282 //
12492 /* 33646 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
12493 /* 33649 */ // MIs[0] d
12494 /* 33649 */ // No operand predicates
12495 /* 33649 */ // MIs[0] mi.src0
12496 /* 33649 */ // No operand predicates
12497 /* 33649 */ // MIs[0] mi.src1
12498 /* 33649 */ // No operand predicates
12499 /* 33649 */ // Combiner Rule #213: constant_fold_binop @ [mi[1]]
12500 /* 33649 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
12501 /* 33652 */ // Label 574: @33652
12502 /* 33652 */ GIM_Try, /*On fail goto*//*Label 575*/ GIMT_Encode4(33663), // Rule ID 344 //
12503 /* 33657 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule236Enabled),
12504 /* 33660 */ // MIs[0] root
12505 /* 33660 */ // No operand predicates
12506 /* 33660 */ // MIs[0] mi.x
12507 /* 33660 */ // No operand predicates
12508 /* 33660 */ // MIs[0] mi.y
12509 /* 33660 */ // No operand predicates
12510 /* 33660 */ // Combiner Rule #236: fold_binop_into_select_a @ [mi[2]]
12511 /* 33660 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12512 /* 33663 */ // Label 575: @33663
12513 /* 33663 */ GIM_Reject,
12514 /* 33664 */ // Label 94: @33664
12515 /* 33664 */ GIM_Try, /*On fail goto*//*Label 576*/ GIMT_Encode4(33689), // Rule ID 388 //
12516 /* 33669 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule258Enabled),
12517 /* 33672 */ // MIs[0] dst
12518 /* 33672 */ // No operand predicates
12519 /* 33672 */ // MIs[0] lhs
12520 /* 33672 */ // No operand predicates
12521 /* 33672 */ // MIs[0] rhs
12522 /* 33672 */ // No operand predicates
12523 /* 33672 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
12524 /* 33676 */ // Combiner Rule #258: G_SMIN_commute_constant_to_rhs
12525 /* 33676 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMIN),
12526 /* 33679 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12527 /* 33681 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12528 /* 33683 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12529 /* 33685 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12530 /* 33688 */ GIR_EraseRootFromParent_Done,
12531 /* 33689 */ // Label 576: @33689
12532 /* 33689 */ GIM_Try, /*On fail goto*//*Label 577*/ GIMT_Encode4(33700), // Rule ID 295 //
12533 /* 33694 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
12534 /* 33697 */ // MIs[0] d
12535 /* 33697 */ // No operand predicates
12536 /* 33697 */ // MIs[0] mi.src0
12537 /* 33697 */ // No operand predicates
12538 /* 33697 */ // MIs[0] mi.src1
12539 /* 33697 */ // No operand predicates
12540 /* 33697 */ // Combiner Rule #213: constant_fold_binop @ [mi[14]]
12541 /* 33697 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
12542 /* 33700 */ // Label 577: @33700
12543 /* 33700 */ GIM_Try, /*On fail goto*//*Label 578*/ GIMT_Encode4(33711), // Rule ID 355 //
12544 /* 33705 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12545 /* 33708 */ // MIs[0] root
12546 /* 33708 */ // No operand predicates
12547 /* 33708 */ // MIs[0] mi.x
12548 /* 33708 */ // No operand predicates
12549 /* 33708 */ // MIs[0] mi.y
12550 /* 33708 */ // No operand predicates
12551 /* 33708 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[0]]
12552 /* 33708 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12553 /* 33711 */ // Label 578: @33711
12554 /* 33711 */ GIM_Reject,
12555 /* 33712 */ // Label 95: @33712
12556 /* 33712 */ GIM_Try, /*On fail goto*//*Label 579*/ GIMT_Encode4(33737), // Rule ID 389 //
12557 /* 33717 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule259Enabled),
12558 /* 33720 */ // MIs[0] dst
12559 /* 33720 */ // No operand predicates
12560 /* 33720 */ // MIs[0] lhs
12561 /* 33720 */ // No operand predicates
12562 /* 33720 */ // MIs[0] rhs
12563 /* 33720 */ // No operand predicates
12564 /* 33720 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
12565 /* 33724 */ // Combiner Rule #259: G_SMAX_commute_constant_to_rhs
12566 /* 33724 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SMAX),
12567 /* 33727 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12568 /* 33729 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12569 /* 33731 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12570 /* 33733 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12571 /* 33736 */ GIR_EraseRootFromParent_Done,
12572 /* 33737 */ // Label 579: @33737
12573 /* 33737 */ GIM_Try, /*On fail goto*//*Label 580*/ GIMT_Encode4(33748), // Rule ID 296 //
12574 /* 33742 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
12575 /* 33745 */ // MIs[0] d
12576 /* 33745 */ // No operand predicates
12577 /* 33745 */ // MIs[0] mi.src0
12578 /* 33745 */ // No operand predicates
12579 /* 33745 */ // MIs[0] mi.src1
12580 /* 33745 */ // No operand predicates
12581 /* 33745 */ // Combiner Rule #213: constant_fold_binop @ [mi[15]]
12582 /* 33745 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
12583 /* 33748 */ // Label 580: @33748
12584 /* 33748 */ GIM_Try, /*On fail goto*//*Label 581*/ GIMT_Encode4(33759), // Rule ID 356 //
12585 /* 33753 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12586 /* 33756 */ // MIs[0] root
12587 /* 33756 */ // No operand predicates
12588 /* 33756 */ // MIs[0] mi.x
12589 /* 33756 */ // No operand predicates
12590 /* 33756 */ // MIs[0] mi.y
12591 /* 33756 */ // No operand predicates
12592 /* 33756 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[1]]
12593 /* 33756 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12594 /* 33759 */ // Label 581: @33759
12595 /* 33759 */ GIM_Reject,
12596 /* 33760 */ // Label 96: @33760
12597 /* 33760 */ GIM_Try, /*On fail goto*//*Label 582*/ GIMT_Encode4(33785), // Rule ID 390 //
12598 /* 33765 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule260Enabled),
12599 /* 33768 */ // MIs[0] dst
12600 /* 33768 */ // No operand predicates
12601 /* 33768 */ // MIs[0] lhs
12602 /* 33768 */ // No operand predicates
12603 /* 33768 */ // MIs[0] rhs
12604 /* 33768 */ // No operand predicates
12605 /* 33768 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
12606 /* 33772 */ // Combiner Rule #260: G_UMIN_commute_constant_to_rhs
12607 /* 33772 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMIN),
12608 /* 33775 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12609 /* 33777 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12610 /* 33779 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12611 /* 33781 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12612 /* 33784 */ GIR_EraseRootFromParent_Done,
12613 /* 33785 */ // Label 582: @33785
12614 /* 33785 */ GIM_Try, /*On fail goto*//*Label 583*/ GIMT_Encode4(33796), // Rule ID 297 //
12615 /* 33790 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
12616 /* 33793 */ // MIs[0] d
12617 /* 33793 */ // No operand predicates
12618 /* 33793 */ // MIs[0] mi.src0
12619 /* 33793 */ // No operand predicates
12620 /* 33793 */ // MIs[0] mi.src1
12621 /* 33793 */ // No operand predicates
12622 /* 33793 */ // Combiner Rule #213: constant_fold_binop @ [mi[16]]
12623 /* 33793 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
12624 /* 33796 */ // Label 583: @33796
12625 /* 33796 */ GIM_Try, /*On fail goto*//*Label 584*/ GIMT_Encode4(33807), // Rule ID 357 //
12626 /* 33801 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12627 /* 33804 */ // MIs[0] root
12628 /* 33804 */ // No operand predicates
12629 /* 33804 */ // MIs[0] mi.x
12630 /* 33804 */ // No operand predicates
12631 /* 33804 */ // MIs[0] mi.y
12632 /* 33804 */ // No operand predicates
12633 /* 33804 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[2]]
12634 /* 33804 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12635 /* 33807 */ // Label 584: @33807
12636 /* 33807 */ GIM_Reject,
12637 /* 33808 */ // Label 97: @33808
12638 /* 33808 */ GIM_Try, /*On fail goto*//*Label 585*/ GIMT_Encode4(33833), // Rule ID 391 //
12639 /* 33813 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule261Enabled),
12640 /* 33816 */ // MIs[0] dst
12641 /* 33816 */ // No operand predicates
12642 /* 33816 */ // MIs[0] lhs
12643 /* 33816 */ // No operand predicates
12644 /* 33816 */ // MIs[0] rhs
12645 /* 33816 */ // No operand predicates
12646 /* 33816 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner51),
12647 /* 33820 */ // Combiner Rule #261: G_UMAX_commute_constant_to_rhs
12648 /* 33820 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_UMAX),
12649 /* 33823 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12650 /* 33825 */ GIR_RootToRootCopy, /*OpIdx*/2, // rhs
12651 /* 33827 */ GIR_RootToRootCopy, /*OpIdx*/1, // lhs
12652 /* 33829 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
12653 /* 33832 */ GIR_EraseRootFromParent_Done,
12654 /* 33833 */ // Label 585: @33833
12655 /* 33833 */ GIM_Try, /*On fail goto*//*Label 586*/ GIMT_Encode4(33844), // Rule ID 298 //
12656 /* 33838 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
12657 /* 33841 */ // MIs[0] d
12658 /* 33841 */ // No operand predicates
12659 /* 33841 */ // MIs[0] mi.src0
12660 /* 33841 */ // No operand predicates
12661 /* 33841 */ // MIs[0] mi.src1
12662 /* 33841 */ // No operand predicates
12663 /* 33841 */ // Combiner Rule #213: constant_fold_binop @ [mi[17]]
12664 /* 33841 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner79),
12665 /* 33844 */ // Label 586: @33844
12666 /* 33844 */ GIM_Try, /*On fail goto*//*Label 587*/ GIMT_Encode4(33855), // Rule ID 358 //
12667 /* 33849 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule237Enabled),
12668 /* 33852 */ // MIs[0] root
12669 /* 33852 */ // No operand predicates
12670 /* 33852 */ // MIs[0] mi.x
12671 /* 33852 */ // No operand predicates
12672 /* 33852 */ // MIs[0] mi.y
12673 /* 33852 */ // No operand predicates
12674 /* 33852 */ // Combiner Rule #237: fold_binop_into_select_b @ [mi[3]]
12675 /* 33852 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner94),
12676 /* 33855 */ // Label 587: @33855
12677 /* 33855 */ GIM_Reject,
12678 /* 33856 */ // Label 98: @33856
12679 /* 33856 */ GIM_Try, /*On fail goto*//*Label 588*/ GIMT_Encode4(33877), // Rule ID 97 //
12680 /* 33861 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
12681 /* 33864 */ // MIs[0] dst
12682 /* 33864 */ // No operand predicates
12683 /* 33864 */ // MIs[0] __unary_undef_to_zero_match_0.x
12684 /* 33864 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12685 /* 33868 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12686 /* 33872 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12687 /* 33874 */ // Combiner Rule #82: unary_undef_to_zero @ [__unary_undef_to_zero_match_0[0]]
12688 /* 33874 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner31),
12689 /* 33877 */ // Label 588: @33877
12690 /* 33877 */ GIM_Try, /*On fail goto*//*Label 589*/ GIMT_Encode4(33888), // Rule ID 321 //
12691 /* 33882 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
12692 /* 33885 */ // MIs[0] dst
12693 /* 33885 */ // No operand predicates
12694 /* 33885 */ // MIs[0] mi.src
12695 /* 33885 */ // No operand predicates
12696 /* 33885 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[5]]
12697 /* 33885 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
12698 /* 33888 */ // Label 589: @33888
12699 /* 33888 */ GIM_Reject,
12700 /* 33889 */ // Label 99: @33889
12701 /* 33889 */ GIM_Try, /*On fail goto*//*Label 590*/ GIMT_Encode4(33900), // Rule ID 209 //
12702 /* 33894 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule159Enabled),
12703 /* 33897 */ // MIs[0] tgt
12704 /* 33897 */ // No operand predicates
12705 /* 33897 */ // Combiner Rule #159: opt_brcond_by_inverting_cond
12706 /* 33897 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner62),
12707 /* 33900 */ // Label 590: @33900
12708 /* 33900 */ GIM_Reject,
12709 /* 33901 */ // Label 100: @33901
12710 /* 33901 */ GIM_Try, /*On fail goto*//*Label 591*/ GIMT_Encode4(33934), // Rule ID 31 //
12711 /* 33906 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule27Enabled),
12712 /* 33909 */ // MIs[0] root
12713 /* 33909 */ // No operand predicates
12714 /* 33909 */ // MIs[0] src
12715 /* 33909 */ // No operand predicates
12716 /* 33909 */ // MIs[0] elt
12717 /* 33909 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
12718 /* 33913 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12719 /* 33917 */ // MIs[0] idx
12720 /* 33917 */ // No operand predicates
12721 /* 33917 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner3),
12722 /* 33921 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12723 /* 33926 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12724 /* 33928 */ // Combiner Rule #27: insert_vector_element_elt_undef
12725 /* 33928 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12726 /* 33933 */ GIR_EraseRootFromParent_Done,
12727 /* 33934 */ // Label 591: @33934
12728 /* 33934 */ GIM_Try, /*On fail goto*//*Label 592*/ GIMT_Encode4(33952), // Rule ID 33 //
12729 /* 33939 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule29Enabled),
12730 /* 33942 */ // MIs[0] dst
12731 /* 33942 */ // No operand predicates
12732 /* 33942 */ // MIs[0] src
12733 /* 33942 */ // No operand predicates
12734 /* 33942 */ // MIs[0] elt
12735 /* 33942 */ // No operand predicates
12736 /* 33942 */ // MIs[0] idx
12737 /* 33942 */ // No operand predicates
12738 /* 33942 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner5),
12739 /* 33946 */ // Combiner Rule #29: insert_vector_elt_oob
12740 /* 33946 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12741 /* 33949 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12742 /* 33951 */ GIR_EraseRootFromParent_Done,
12743 /* 33952 */ // Label 592: @33952
12744 /* 33952 */ GIM_Try, /*On fail goto*//*Label 593*/ GIMT_Encode4(33970), // Rule ID 115 //
12745 /* 33957 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule89Enabled),
12746 /* 33960 */ // MIs[0] root
12747 /* 33960 */ // No operand predicates
12748 /* 33960 */ // MIs[0] vec
12749 /* 33960 */ // No operand predicates
12750 /* 33960 */ // MIs[0] elt
12751 /* 33960 */ // No operand predicates
12752 /* 33960 */ // MIs[0] idx
12753 /* 33960 */ // No operand predicates
12754 /* 33960 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner11),
12755 /* 33964 */ // Combiner Rule #89: insert_vec_elt_out_of_bounds
12756 /* 33964 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12757 /* 33967 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
12758 /* 33969 */ GIR_EraseRootFromParent_Done,
12759 /* 33970 */ // Label 593: @33970
12760 /* 33970 */ GIM_Try, /*On fail goto*//*Label 594*/ GIMT_Encode4(34009), // Rule ID 45 //
12761 /* 33975 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule41Enabled),
12762 /* 33978 */ // MIs[0] root
12763 /* 33978 */ // No operand predicates
12764 /* 33978 */ // MIs[0] src
12765 /* 33978 */ // No operand predicates
12766 /* 33978 */ // MIs[0] elt
12767 /* 33978 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
12768 /* 33982 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_EXTRACT_VECTOR_ELT),
12769 /* 33986 */ // MIs[1] src
12770 /* 33986 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/1, /*OtherMI*/0, /*OtherOpIdx*/1,
12771 /* 33991 */ // MIs[1] idx
12772 /* 33991 */ // No operand predicates
12773 /* 33991 */ // MIs[0] idx
12774 /* 33991 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/3, /*OtherMI*/1, /*OtherOpIdx*/2,
12775 /* 33996 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12776 /* 34001 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12777 /* 34003 */ // Combiner Rule #41: insert_vector_element_extract_vector_element
12778 /* 34003 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/0, /*NewOpIdx*/1,
12779 /* 34008 */ GIR_EraseRootFromParent_Done,
12780 /* 34009 */ // Label 594: @34009
12781 /* 34009 */ GIM_Try, /*On fail goto*//*Label 595*/ GIMT_Encode4(34033), // Rule ID 30 //
12782 /* 34014 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule26Enabled),
12783 /* 34017 */ // MIs[0] root
12784 /* 34017 */ // No operand predicates
12785 /* 34017 */ // MIs[0] src
12786 /* 34017 */ // No operand predicates
12787 /* 34017 */ // MIs[0] elt
12788 /* 34017 */ // No operand predicates
12789 /* 34017 */ // MIs[0] idx
12790 /* 34017 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/3, // MIs[1]
12791 /* 34021 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12792 /* 34025 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12793 /* 34027 */ // Combiner Rule #26: insert_vector_element_idx_undef
12794 /* 34027 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12795 /* 34030 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
12796 /* 34032 */ GIR_EraseRootFromParent_Done,
12797 /* 34033 */ // Label 595: @34033
12798 /* 34033 */ GIM_Try, /*On fail goto*//*Label 596*/ GIMT_Encode4(34044), // Rule ID 75 //
12799 /* 34038 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule71Enabled),
12800 /* 34041 */ // MIs[0] dst
12801 /* 34041 */ // No operand predicates
12802 /* 34041 */ // MIs[0] src
12803 /* 34041 */ // No operand predicates
12804 /* 34041 */ // MIs[0] elt
12805 /* 34041 */ // No operand predicates
12806 /* 34041 */ // MIs[0] idx
12807 /* 34041 */ // No operand predicates
12808 /* 34041 */ // Combiner Rule #71: combine_insert_vec_elts_build_vector
12809 /* 34041 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner24),
12810 /* 34044 */ // Label 596: @34044
12811 /* 34044 */ GIM_Reject,
12812 /* 34045 */ // Label 101: @34045
12813 /* 34045 */ GIM_Try, /*On fail goto*//*Label 597*/ GIMT_Encode4(34063), // Rule ID 32 //
12814 /* 34050 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule28Enabled),
12815 /* 34053 */ // MIs[0] dst
12816 /* 34053 */ // No operand predicates
12817 /* 34053 */ // MIs[0] src
12818 /* 34053 */ // No operand predicates
12819 /* 34053 */ // MIs[0] idx
12820 /* 34053 */ // No operand predicates
12821 /* 34053 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner4),
12822 /* 34057 */ // Combiner Rule #28: match_extract_of_element
12823 /* 34057 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12824 /* 34060 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
12825 /* 34062 */ GIR_EraseRootFromParent_Done,
12826 /* 34063 */ // Label 597: @34063
12827 /* 34063 */ GIM_Try, /*On fail goto*//*Label 598*/ GIMT_Encode4(34081), // Rule ID 116 //
12828 /* 34068 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
12829 /* 34071 */ // MIs[0] root
12830 /* 34071 */ // No operand predicates
12831 /* 34071 */ // MIs[0] vec
12832 /* 34071 */ // No operand predicates
12833 /* 34071 */ // MIs[0] idx
12834 /* 34071 */ // No operand predicates
12835 /* 34071 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner11),
12836 /* 34075 */ // Combiner Rule #90: extract_vec_elt_out_of_bounds
12837 /* 34075 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
12838 /* 34078 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
12839 /* 34080 */ GIR_EraseRootFromParent_Done,
12840 /* 34081 */ // Label 598: @34081
12841 /* 34081 */ GIM_Try, /*On fail goto*//*Label 599*/ GIMT_Encode4(34105), // Rule ID 43 //
12842 /* 34086 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule39Enabled),
12843 /* 34089 */ // MIs[0] root
12844 /* 34089 */ // No operand predicates
12845 /* 34089 */ // MIs[0] src
12846 /* 34089 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12847 /* 34093 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12848 /* 34097 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/9,
12849 /* 34100 */ // MIs[1] x
12850 /* 34100 */ // No operand predicates
12851 /* 34100 */ // MIs[1] y
12852 /* 34100 */ // No operand predicates
12853 /* 34100 */ // MIs[1] z
12854 /* 34100 */ // No operand predicates
12855 /* 34100 */ // MIs[1] a
12856 /* 34100 */ // No operand predicates
12857 /* 34100 */ // MIs[1] b
12858 /* 34100 */ // No operand predicates
12859 /* 34100 */ // MIs[1] c
12860 /* 34100 */ // No operand predicates
12861 /* 34100 */ // MIs[1] d
12862 /* 34100 */ // No operand predicates
12863 /* 34100 */ // MIs[1] e
12864 /* 34100 */ // No operand predicates
12865 /* 34100 */ // MIs[0] idx
12866 /* 34100 */ // No operand predicates
12867 /* 34100 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12868 /* 34102 */ // Combiner Rule #39: extract_vector_element_build_vector_trunc8
12869 /* 34102 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12870 /* 34105 */ // Label 599: @34105
12871 /* 34105 */ GIM_Try, /*On fail goto*//*Label 600*/ GIMT_Encode4(34129), // Rule ID 42 //
12872 /* 34110 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule38Enabled),
12873 /* 34113 */ // MIs[0] root
12874 /* 34113 */ // No operand predicates
12875 /* 34113 */ // MIs[0] src
12876 /* 34113 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12877 /* 34117 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12878 /* 34121 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/8,
12879 /* 34124 */ // MIs[1] x
12880 /* 34124 */ // No operand predicates
12881 /* 34124 */ // MIs[1] y
12882 /* 34124 */ // No operand predicates
12883 /* 34124 */ // MIs[1] z
12884 /* 34124 */ // No operand predicates
12885 /* 34124 */ // MIs[1] a
12886 /* 34124 */ // No operand predicates
12887 /* 34124 */ // MIs[1] b
12888 /* 34124 */ // No operand predicates
12889 /* 34124 */ // MIs[1] c
12890 /* 34124 */ // No operand predicates
12891 /* 34124 */ // MIs[1] d
12892 /* 34124 */ // No operand predicates
12893 /* 34124 */ // MIs[0] idx
12894 /* 34124 */ // No operand predicates
12895 /* 34124 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12896 /* 34126 */ // Combiner Rule #38: extract_vector_element_build_vector_trunc7
12897 /* 34126 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12898 /* 34129 */ // Label 600: @34129
12899 /* 34129 */ GIM_Try, /*On fail goto*//*Label 601*/ GIMT_Encode4(34153), // Rule ID 41 //
12900 /* 34134 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule37Enabled),
12901 /* 34137 */ // MIs[0] root
12902 /* 34137 */ // No operand predicates
12903 /* 34137 */ // MIs[0] src
12904 /* 34137 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12905 /* 34141 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12906 /* 34145 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/7,
12907 /* 34148 */ // MIs[1] x
12908 /* 34148 */ // No operand predicates
12909 /* 34148 */ // MIs[1] y
12910 /* 34148 */ // No operand predicates
12911 /* 34148 */ // MIs[1] z
12912 /* 34148 */ // No operand predicates
12913 /* 34148 */ // MIs[1] a
12914 /* 34148 */ // No operand predicates
12915 /* 34148 */ // MIs[1] b
12916 /* 34148 */ // No operand predicates
12917 /* 34148 */ // MIs[1] c
12918 /* 34148 */ // No operand predicates
12919 /* 34148 */ // MIs[0] idx
12920 /* 34148 */ // No operand predicates
12921 /* 34148 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12922 /* 34150 */ // Combiner Rule #37: extract_vector_element_build_vector_trunc6
12923 /* 34150 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12924 /* 34153 */ // Label 601: @34153
12925 /* 34153 */ GIM_Try, /*On fail goto*//*Label 602*/ GIMT_Encode4(34177), // Rule ID 40 //
12926 /* 34158 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule36Enabled),
12927 /* 34161 */ // MIs[0] root
12928 /* 34161 */ // No operand predicates
12929 /* 34161 */ // MIs[0] src
12930 /* 34161 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12931 /* 34165 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12932 /* 34169 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/6,
12933 /* 34172 */ // MIs[1] x
12934 /* 34172 */ // No operand predicates
12935 /* 34172 */ // MIs[1] y
12936 /* 34172 */ // No operand predicates
12937 /* 34172 */ // MIs[1] z
12938 /* 34172 */ // No operand predicates
12939 /* 34172 */ // MIs[1] a
12940 /* 34172 */ // No operand predicates
12941 /* 34172 */ // MIs[1] b
12942 /* 34172 */ // No operand predicates
12943 /* 34172 */ // MIs[0] idx
12944 /* 34172 */ // No operand predicates
12945 /* 34172 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12946 /* 34174 */ // Combiner Rule #36: extract_vector_element_build_vector_trunc5
12947 /* 34174 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12948 /* 34177 */ // Label 602: @34177
12949 /* 34177 */ GIM_Try, /*On fail goto*//*Label 603*/ GIMT_Encode4(34201), // Rule ID 39 //
12950 /* 34182 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule35Enabled),
12951 /* 34185 */ // MIs[0] root
12952 /* 34185 */ // No operand predicates
12953 /* 34185 */ // MIs[0] src
12954 /* 34185 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12955 /* 34189 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12956 /* 34193 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/5,
12957 /* 34196 */ // MIs[1] x
12958 /* 34196 */ // No operand predicates
12959 /* 34196 */ // MIs[1] y
12960 /* 34196 */ // No operand predicates
12961 /* 34196 */ // MIs[1] z
12962 /* 34196 */ // No operand predicates
12963 /* 34196 */ // MIs[1] a
12964 /* 34196 */ // No operand predicates
12965 /* 34196 */ // MIs[0] idx
12966 /* 34196 */ // No operand predicates
12967 /* 34196 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12968 /* 34198 */ // Combiner Rule #35: extract_vector_element_build_vector_trunc4
12969 /* 34198 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12970 /* 34201 */ // Label 603: @34201
12971 /* 34201 */ GIM_Try, /*On fail goto*//*Label 604*/ GIMT_Encode4(34225), // Rule ID 38 //
12972 /* 34206 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule34Enabled),
12973 /* 34209 */ // MIs[0] root
12974 /* 34209 */ // No operand predicates
12975 /* 34209 */ // MIs[0] src
12976 /* 34209 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12977 /* 34213 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
12978 /* 34217 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/4,
12979 /* 34220 */ // MIs[1] x
12980 /* 34220 */ // No operand predicates
12981 /* 34220 */ // MIs[1] y
12982 /* 34220 */ // No operand predicates
12983 /* 34220 */ // MIs[1] z
12984 /* 34220 */ // No operand predicates
12985 /* 34220 */ // MIs[0] idx
12986 /* 34220 */ // No operand predicates
12987 /* 34220 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
12988 /* 34222 */ // Combiner Rule #34: extract_vector_element_build_vector_trunc3
12989 /* 34222 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
12990 /* 34225 */ // Label 604: @34225
12991 /* 34225 */ GIM_Try, /*On fail goto*//*Label 605*/ GIMT_Encode4(34259), // Rule ID 34 //
12992 /* 34230 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule30Enabled),
12993 /* 34233 */ // MIs[0] root
12994 /* 34233 */ // No operand predicates
12995 /* 34233 */ // MIs[0] src
12996 /* 34233 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
12997 /* 34237 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
12998 /* 34241 */ // MIs[1] x
12999 /* 34241 */ // No operand predicates
13000 /* 34241 */ // MIs[1] value
13001 /* 34241 */ // No operand predicates
13002 /* 34241 */ // MIs[1] idx
13003 /* 34241 */ // No operand predicates
13004 /* 34241 */ // MIs[0] idx
13005 /* 34241 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/0, /*OpIdx*/2, /*OtherMI*/1, /*OtherOpIdx*/3,
13006 /* 34246 */ GIM_CheckCanReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
13007 /* 34251 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13008 /* 34253 */ // Combiner Rule #30: extract_vector_element_not_const
13009 /* 34253 */ GIR_ReplaceReg, /*OldInsnID*/0, /*OldOpIdx*/0, /*NewInsnId*/1, /*NewOpIdx*/2,
13010 /* 34258 */ GIR_EraseRootFromParent_Done,
13011 /* 34259 */ // Label 605: @34259
13012 /* 34259 */ GIM_Try, /*On fail goto*//*Label 606*/ GIMT_Encode4(34280), // Rule ID 35 //
13013 /* 34264 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule31Enabled),
13014 /* 34267 */ // MIs[0] root
13015 /* 34267 */ // No operand predicates
13016 /* 34267 */ // MIs[0] src
13017 /* 34267 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13018 /* 34271 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
13019 /* 34275 */ // MIs[1] x
13020 /* 34275 */ // No operand predicates
13021 /* 34275 */ // MIs[1] value
13022 /* 34275 */ // No operand predicates
13023 /* 34275 */ // MIs[1] idx2
13024 /* 34275 */ // No operand predicates
13025 /* 34275 */ // MIs[0] idx1
13026 /* 34275 */ // No operand predicates
13027 /* 34275 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13028 /* 34277 */ // Combiner Rule #31: extract_vector_element_different_indices
13029 /* 34277 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner8),
13030 /* 34280 */ // Label 606: @34280
13031 /* 34280 */ GIM_Try, /*On fail goto*//*Label 607*/ GIMT_Encode4(34309), // Rule ID 44 //
13032 /* 34285 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule40Enabled),
13033 /* 34288 */ // MIs[0] root
13034 /* 34288 */ // No operand predicates
13035 /* 34288 */ // MIs[0] src
13036 /* 34288 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13037 /* 34292 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHUFFLE_VECTOR),
13038 /* 34296 */ // MIs[1] src1
13039 /* 34296 */ // No operand predicates
13040 /* 34296 */ // MIs[1] src2
13041 /* 34296 */ // No operand predicates
13042 /* 34296 */ // MIs[1] mask
13043 /* 34296 */ // No operand predicates
13044 /* 34296 */ // MIs[0] idx
13045 /* 34296 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
13046 /* 34300 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
13047 /* 34304 */ // MIs[2] imm
13048 /* 34304 */ // No operand predicates
13049 /* 34304 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
13050 /* 34306 */ // Combiner Rule #40: extract_vector_element_shuffle_vector
13051 /* 34306 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner11),
13052 /* 34309 */ // Label 607: @34309
13053 /* 34309 */ GIM_Try, /*On fail goto*//*Label 608*/ GIMT_Encode4(34333), // Rule ID 37 //
13054 /* 34314 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule33Enabled),
13055 /* 34317 */ // MIs[0] root
13056 /* 34317 */ // No operand predicates
13057 /* 34317 */ // MIs[0] src
13058 /* 34317 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13059 /* 34321 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
13060 /* 34325 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/3,
13061 /* 34328 */ // MIs[1] x
13062 /* 34328 */ // No operand predicates
13063 /* 34328 */ // MIs[1] y
13064 /* 34328 */ // No operand predicates
13065 /* 34328 */ // MIs[0] idx
13066 /* 34328 */ // No operand predicates
13067 /* 34328 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13068 /* 34330 */ // Combiner Rule #33: extract_vector_element_build_vector_trunc2
13069 /* 34330 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner10),
13070 /* 34333 */ // Label 608: @34333
13071 /* 34333 */ GIM_Try, /*On fail goto*//*Label 609*/ GIMT_Encode4(34365), // Rule ID 36 //
13072 /* 34338 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule32Enabled),
13073 /* 34341 */ // MIs[0] root
13074 /* 34341 */ // No operand predicates
13075 /* 34341 */ // MIs[0] src
13076 /* 34341 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13077 /* 34345 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
13078 /* 34349 */ GIM_CheckNumOperandsGE, /*MI*/1, /*Expected*/2,
13079 /* 34352 */ // MIs[1] unused
13080 /* 34352 */ // No operand predicates
13081 /* 34352 */ // MIs[0] idx
13082 /* 34352 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/0, /*OpIdx*/2, // MIs[2]
13083 /* 34356 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
13084 /* 34360 */ // MIs[2] imm
13085 /* 34360 */ // No operand predicates
13086 /* 34360 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
13087 /* 34362 */ // Combiner Rule #32: extract_vector_element_build_vector
13088 /* 34362 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner9),
13089 /* 34365 */ // Label 609: @34365
13090 /* 34365 */ GIM_Try, /*On fail goto*//*Label 610*/ GIMT_Encode4(34389), // Rule ID 28 //
13091 /* 34370 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule25Enabled),
13092 /* 34373 */ // MIs[0] root
13093 /* 34373 */ // No operand predicates
13094 /* 34373 */ // MIs[0] __extract_vector_element_undef_match_0.x
13095 /* 34373 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13096 /* 34377 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13097 /* 34381 */ // MIs[0] __extract_vector_element_undef_match_0.y
13098 /* 34381 */ // No operand predicates
13099 /* 34381 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13100 /* 34383 */ // Combiner Rule #25: extract_vector_element_undef @ [__extract_vector_element_undef_match_0[0]]
13101 /* 34383 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13102 /* 34386 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
13103 /* 34388 */ GIR_EraseRootFromParent_Done,
13104 /* 34389 */ // Label 610: @34389
13105 /* 34389 */ GIM_Try, /*On fail goto*//*Label 611*/ GIMT_Encode4(34413), // Rule ID 29 //
13106 /* 34394 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule25Enabled),
13107 /* 34397 */ // MIs[0] root
13108 /* 34397 */ // No operand predicates
13109 /* 34397 */ // MIs[0] __extract_vector_element_undef_match_0.x
13110 /* 34397 */ // No operand predicates
13111 /* 34397 */ // MIs[0] __extract_vector_element_undef_match_0.y
13112 /* 34397 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
13113 /* 34401 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13114 /* 34405 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13115 /* 34407 */ // Combiner Rule #25: extract_vector_element_undef @ [__extract_vector_element_undef_match_0[1]]
13116 /* 34407 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13117 /* 34410 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
13118 /* 34412 */ GIR_EraseRootFromParent_Done,
13119 /* 34413 */ // Label 611: @34413
13120 /* 34413 */ GIM_Try, /*On fail goto*//*Label 612*/ GIMT_Encode4(34424), // Rule ID 76 //
13121 /* 34418 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
13122 /* 34421 */ // MIs[0] dst
13123 /* 34421 */ // No operand predicates
13124 /* 34421 */ // MIs[0] src
13125 /* 34421 */ // No operand predicates
13126 /* 34421 */ // MIs[0] idx
13127 /* 34421 */ // No operand predicates
13128 /* 34421 */ // Combiner Rule #72: extract_vec_elt_build_vec
13129 /* 34421 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner25),
13130 /* 34424 */ // Label 612: @34424
13131 /* 34424 */ GIM_Try, /*On fail goto*//*Label 613*/ GIMT_Encode4(34435), // Rule ID 82 //
13132 /* 34429 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule76Enabled),
13133 /* 34432 */ // MIs[0] dst
13134 /* 34432 */ // No operand predicates
13135 /* 34432 */ // MIs[0] src
13136 /* 34432 */ // No operand predicates
13137 /* 34432 */ // MIs[0] idx
13138 /* 34432 */ // No operand predicates
13139 /* 34432 */ // Combiner Rule #76: combine_extracted_vector_load
13140 /* 34432 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner29),
13141 /* 34435 */ // Label 613: @34435
13142 /* 34435 */ GIM_Reject,
13143 /* 34436 */ // Label 102: @34436
13144 /* 34436 */ GIM_Try, /*On fail goto*//*Label 614*/ GIMT_Encode4(34454), // Rule ID 111 //
13145 /* 34441 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule85Enabled),
13146 /* 34444 */ // MIs[0] root
13147 /* 34444 */ // No operand predicates
13148 /* 34444 */ // MIs[0] src1
13149 /* 34444 */ // No operand predicates
13150 /* 34444 */ // MIs[0] src2
13151 /* 34444 */ // No operand predicates
13152 /* 34444 */ // MIs[0] mask
13153 /* 34444 */ // No operand predicates
13154 /* 34444 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner8),
13155 /* 34448 */ // Combiner Rule #85: propagate_undef_all_ops_shuffle_vector
13156 /* 34448 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13157 /* 34451 */ GIR_RootToRootCopy, /*OpIdx*/0, // root
13158 /* 34453 */ GIR_EraseRootFromParent_Done,
13159 /* 34454 */ // Label 614: @34454
13160 /* 34454 */ GIM_Try, /*On fail goto*//*Label 615*/ GIMT_Encode4(34472), // Rule ID 113 //
13161 /* 34459 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule87Enabled),
13162 /* 34462 */ // MIs[0] dst
13163 /* 34462 */ // No operand predicates
13164 /* 34462 */ // MIs[0] src1
13165 /* 34462 */ // No operand predicates
13166 /* 34462 */ // MIs[0] src2
13167 /* 34462 */ // No operand predicates
13168 /* 34462 */ // MIs[0] mask
13169 /* 34462 */ // No operand predicates
13170 /* 34462 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner9),
13171 /* 34466 */ // Combiner Rule #87: propagate_undef_shuffle_mask
13172 /* 34466 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13173 /* 34469 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
13174 /* 34471 */ GIR_EraseRootFromParent_Done,
13175 /* 34472 */ // Label 615: @34472
13176 /* 34472 */ GIM_Try, /*On fail goto*//*Label 616*/ GIMT_Encode4(34493), // Rule ID 426 //
13177 /* 34477 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule296Enabled),
13178 /* 34480 */ // MIs[0] root
13179 /* 34480 */ // No operand predicates
13180 /* 34480 */ // MIs[0] src1
13181 /* 34480 */ // No operand predicates
13182 /* 34480 */ // MIs[0] undef
13183 /* 34480 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1]
13184 /* 34484 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
13185 /* 34488 */ // MIs[0] mask
13186 /* 34488 */ // No operand predicates
13187 /* 34488 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13188 /* 34490 */ // Combiner Rule #296: combine_shuffle_undef_rhs
13189 /* 34490 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner111),
13190 /* 34493 */ // Label 616: @34493
13191 /* 34493 */ GIM_Try, /*On fail goto*//*Label 617*/ GIMT_Encode4(34504), // Rule ID 425 //
13192 /* 34498 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule295Enabled),
13193 /* 34501 */ // MIs[0] dst
13194 /* 34501 */ // No operand predicates
13195 /* 34501 */ // MIs[0] src1
13196 /* 34501 */ // No operand predicates
13197 /* 34501 */ // MIs[0] src2
13198 /* 34501 */ // No operand predicates
13199 /* 34501 */ // MIs[0] mask
13200 /* 34501 */ // No operand predicates
13201 /* 34501 */ // Combiner Rule #295: combine_shuffle_concat
13202 /* 34501 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner110),
13203 /* 34504 */ // Label 617: @34504
13204 /* 34504 */ GIM_Try, /*On fail goto*//*Label 618*/ GIMT_Encode4(34515), // Rule ID 427 //
13205 /* 34509 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule297Enabled),
13206 /* 34512 */ // MIs[0] dst
13207 /* 34512 */ // No operand predicates
13208 /* 34512 */ // MIs[0] src1
13209 /* 34512 */ // No operand predicates
13210 /* 34512 */ // MIs[0] src2
13211 /* 34512 */ // No operand predicates
13212 /* 34512 */ // MIs[0] mask
13213 /* 34512 */ // No operand predicates
13214 /* 34512 */ // Combiner Rule #297: combine_shuffle_disjoint_mask
13215 /* 34512 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner112),
13216 /* 34515 */ // Label 618: @34515
13217 /* 34515 */ GIM_Reject,
13218 /* 34516 */ // Label 103: @34516
13219 /* 34516 */ GIM_Try, /*On fail goto*//*Label 619*/ GIMT_Encode4(34539), // Rule ID 455 //
13220 /* 34521 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule325Enabled),
13221 /* 34524 */ // MIs[0] dst
13222 /* 34524 */ // No operand predicates
13223 /* 34524 */ // MIs[0] src
13224 /* 34524 */ // No operand predicates
13225 /* 34524 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner59),
13226 /* 34528 */ // Combiner Rule #325: cttz_to_cttz_zero_poison
13227 /* 34528 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_CTTZ_ZERO_POISON),
13228 /* 34531 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
13229 /* 34533 */ GIR_RootToRootCopy, /*OpIdx*/1, // src
13230 /* 34535 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
13231 /* 34538 */ GIR_EraseRootFromParent_Done,
13232 /* 34539 */ // Label 619: @34539
13233 /* 34539 */ GIM_Try, /*On fail goto*//*Label 620*/ GIMT_Encode4(34550), // Rule ID 318 //
13234 /* 34544 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13235 /* 34547 */ // MIs[0] dst
13236 /* 34547 */ // No operand predicates
13237 /* 34547 */ // MIs[0] mi.src
13238 /* 34547 */ // No operand predicates
13239 /* 34547 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[2]]
13240 /* 34547 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13241 /* 34550 */ // Label 620: @34550
13242 /* 34550 */ GIM_Reject,
13243 /* 34551 */ // Label 104: @34551
13244 /* 34551 */ GIM_Try, /*On fail goto*//*Label 621*/ GIMT_Encode4(34562), // Rule ID 319 //
13245 /* 34556 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13246 /* 34559 */ // MIs[0] dst
13247 /* 34559 */ // No operand predicates
13248 /* 34559 */ // MIs[0] mi.src
13249 /* 34559 */ // No operand predicates
13250 /* 34559 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[3]]
13251 /* 34559 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13252 /* 34562 */ // Label 621: @34562
13253 /* 34562 */ GIM_Reject,
13254 /* 34563 */ // Label 105: @34563
13255 /* 34563 */ GIM_Try, /*On fail goto*//*Label 622*/ GIMT_Encode4(34586), // Rule ID 454 //
13256 /* 34568 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule324Enabled),
13257 /* 34571 */ // MIs[0] dst
13258 /* 34571 */ // No operand predicates
13259 /* 34571 */ // MIs[0] src
13260 /* 34571 */ // No operand predicates
13261 /* 34571 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner58),
13262 /* 34575 */ // Combiner Rule #324: ctlz_to_ctlz_zero_poison
13263 /* 34575 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_CTLZ_ZERO_POISON),
13264 /* 34578 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
13265 /* 34580 */ GIR_RootToRootCopy, /*OpIdx*/1, // src
13266 /* 34582 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
13267 /* 34585 */ GIR_EraseRootFromParent_Done,
13268 /* 34586 */ // Label 622: @34586
13269 /* 34586 */ GIM_Try, /*On fail goto*//*Label 623*/ GIMT_Encode4(34597), // Rule ID 316 //
13270 /* 34591 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13271 /* 34594 */ // MIs[0] dst
13272 /* 34594 */ // No operand predicates
13273 /* 34594 */ // MIs[0] mi.src
13274 /* 34594 */ // No operand predicates
13275 /* 34594 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[0]]
13276 /* 34594 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13277 /* 34597 */ // Label 623: @34597
13278 /* 34597 */ GIM_Try, /*On fail goto*//*Label 624*/ GIMT_Encode4(34608), // Rule ID 452 //
13279 /* 34602 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule322Enabled),
13280 /* 34605 */ // MIs[0] dst
13281 /* 34605 */ // No operand predicates
13282 /* 34605 */ // MIs[0] src
13283 /* 34605 */ // No operand predicates
13284 /* 34605 */ // Combiner Rule #322: ctlz_to_ctls
13285 /* 34605 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner127),
13286 /* 34608 */ // Label 624: @34608
13287 /* 34608 */ GIM_Reject,
13288 /* 34609 */ // Label 106: @34609
13289 /* 34609 */ GIM_Try, /*On fail goto*//*Label 625*/ GIMT_Encode4(34620), // Rule ID 317 //
13290 /* 34614 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13291 /* 34617 */ // MIs[0] dst
13292 /* 34617 */ // No operand predicates
13293 /* 34617 */ // MIs[0] mi.src
13294 /* 34617 */ // No operand predicates
13295 /* 34617 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[1]]
13296 /* 34617 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13297 /* 34620 */ // Label 625: @34620
13298 /* 34620 */ GIM_Try, /*On fail goto*//*Label 626*/ GIMT_Encode4(34631), // Rule ID 453 //
13299 /* 34625 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule323Enabled),
13300 /* 34628 */ // MIs[0] dst
13301 /* 34628 */ // No operand predicates
13302 /* 34628 */ // MIs[0] src
13303 /* 34628 */ // No operand predicates
13304 /* 34628 */ // Combiner Rule #323: ctlz_zero_poison_to_ctls
13305 /* 34628 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner127),
13306 /* 34631 */ // Label 626: @34631
13307 /* 34631 */ GIM_Reject,
13308 /* 34632 */ // Label 107: @34632
13309 /* 34632 */ GIM_Try, /*On fail goto*//*Label 627*/ GIMT_Encode4(34643), // Rule ID 320 //
13310 /* 34637 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13311 /* 34640 */ // MIs[0] dst
13312 /* 34640 */ // No operand predicates
13313 /* 34640 */ // MIs[0] mi.src
13314 /* 34640 */ // No operand predicates
13315 /* 34640 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[4]]
13316 /* 34640 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13317 /* 34643 */ // Label 627: @34643
13318 /* 34643 */ GIM_Reject,
13319 /* 34644 */ // Label 108: @34644
13320 /* 34644 */ GIM_Try, /*On fail goto*//*Label 628*/ GIMT_Encode4(34655), // Rule ID 322 //
13321 /* 34649 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13322 /* 34652 */ // MIs[0] dst
13323 /* 34652 */ // No operand predicates
13324 /* 34652 */ // MIs[0] mi.src
13325 /* 34652 */ // No operand predicates
13326 /* 34652 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[6]]
13327 /* 34652 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13328 /* 34655 */ // Label 628: @34655
13329 /* 34655 */ GIM_Reject,
13330 /* 34656 */ // Label 109: @34656
13331 /* 34656 */ GIM_Try, /*On fail goto*//*Label 629*/ GIMT_Encode4(34700), // Rule ID 272 //
13332 /* 34661 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule206Enabled),
13333 /* 34664 */ // MIs[0] d
13334 /* 34664 */ // No operand predicates
13335 /* 34664 */ // MIs[0] src
13336 /* 34664 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13337 /* 34668 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_LSHR),
13338 /* 34672 */ // MIs[1] rev
13339 /* 34672 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
13340 /* 34676 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
13341 /* 34680 */ // MIs[2] val
13342 /* 34680 */ // No operand predicates
13343 /* 34680 */ // MIs[1] amt
13344 /* 34680 */ // No operand predicates
13345 /* 34680 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner42),
13346 /* 34684 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
13347 /* 34686 */ // Combiner Rule #206: bitreverse_lshr
13348 /* 34686 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_SHL),
13349 /* 34689 */ GIR_RootToRootCopy, /*OpIdx*/0, // d
13350 /* 34691 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // val
13351 /* 34695 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // amt
13352 /* 34699 */ GIR_EraseRootFromParent_Done,
13353 /* 34700 */ // Label 629: @34700
13354 /* 34700 */ GIM_Try, /*On fail goto*//*Label 630*/ GIMT_Encode4(34744), // Rule ID 271 //
13355 /* 34705 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule205Enabled),
13356 /* 34708 */ // MIs[0] d
13357 /* 34708 */ // No operand predicates
13358 /* 34708 */ // MIs[0] src
13359 /* 34708 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13360 /* 34712 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_SHL),
13361 /* 34716 */ // MIs[1] rev
13362 /* 34716 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/2, /*MI*/1, /*OpIdx*/1, // MIs[2]
13363 /* 34720 */ GIM_CheckOpcode, /*MI*/2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
13364 /* 34724 */ // MIs[2] val
13365 /* 34724 */ // No operand predicates
13366 /* 34724 */ // MIs[1] amt
13367 /* 34724 */ // No operand predicates
13368 /* 34724 */ GIM_CheckCxxInsnPredicate, /*MI*/0, /*FnId*/GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner41),
13369 /* 34728 */ GIM_CheckIsSafeToFold, /*NumInsns*/2,
13370 /* 34730 */ // Combiner Rule #205: bitreverse_shl
13371 /* 34730 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_LSHR),
13372 /* 34733 */ GIR_RootToRootCopy, /*OpIdx*/0, // d
13373 /* 34735 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/2, /*OpIdx*/1, // val
13374 /* 34739 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // amt
13375 /* 34743 */ GIR_EraseRootFromParent_Done,
13376 /* 34744 */ // Label 630: @34744
13377 /* 34744 */ GIM_Try, /*On fail goto*//*Label 631*/ GIMT_Encode4(34755), // Rule ID 323 //
13378 /* 34749 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule217Enabled),
13379 /* 34752 */ // MIs[0] dst
13380 /* 34752 */ // No operand predicates
13381 /* 34752 */ // MIs[0] mi.src
13382 /* 34752 */ // No operand predicates
13383 /* 34752 */ // Combiner Rule #217: constant_fold_unary_int_op @ [mi[7]]
13384 /* 34752 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner83),
13385 /* 34755 */ // Label 631: @34755
13386 /* 34755 */ GIM_Reject,
13387 /* 34756 */ // Label 110: @34756
13388 /* 34756 */ GIM_Try, /*On fail goto*//*Label 632*/ GIMT_Encode4(34767), // Rule ID 216 //
13389 /* 34761 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule166Enabled),
13390 /* 34764 */ // MIs[0] dst
13391 /* 34764 */ // No operand predicates
13392 /* 34764 */ // MIs[0] src0
13393 /* 34764 */ // No operand predicates
13394 /* 34764 */ // Combiner Rule #166: constant_fold_fceil
13395 /* 34764 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
13396 /* 34767 */ // Label 632: @34767
13397 /* 34767 */ GIM_Reject,
13398 /* 34768 */ // Label 111: @34768
13399 /* 34768 */ GIM_Try, /*On fail goto*//*Label 633*/ GIMT_Encode4(34828), // Rule ID 490 //
13400 /* 34773 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule350Enabled),
13401 /* 34776 */ GIM_MIFlags, /*MI*/0, GIMT_Encode4(MachineInstr::FmContract),
13402 /* 34782 */ // MIs[0] dst
13403 /* 34782 */ // No operand predicates
13404 /* 34782 */ // MIs[0] rcp
13405 /* 34782 */ GIM_RecordInsnIgnoreCopies, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1]
13406 /* 34786 */ GIM_CheckOpcode, /*MI*/1, GIMT_Encode2(TargetOpcode::G_INTRINSIC),
13407 /* 34790 */ GIM_CheckNumOperands, /*MI*/1, /*Expected*/3,
13408 /* 34793 */ GIM_CheckIntrinsicID, /*MI*/1, /*Op*/1, GIMT_Encode2(Intrinsic::amdgcn_rcp),
13409 /* 34798 */ GIM_MIFlags, /*MI*/1, GIMT_Encode4(MachineInstr::FmContract),
13410 /* 34804 */ // MIs[1] rcp
13411 /* 34804 */ GIM_CheckIsSameOperandIgnoreCopies, /*MI*/1, /*OpIdx*/0, /*OtherMI*/0, /*OtherOpIdx*/1,
13412 /* 34809 */ // MIs[1] x
13413 /* 34809 */ // No operand predicates
13414 /* 34809 */ GIM_CheckIsSafeToFold, /*NumInsns*/1,
13415 /* 34811 */ // Combiner Rule #350: fsqrt_of_rcp_to_rsq
13416 /* 34811 */ GIR_BuildRootMI, /*Opcode*/GIMT_Encode2(TargetOpcode::G_INTRINSIC),
13417 /* 34814 */ GIR_RootToRootCopy, /*OpIdx*/0, // dst
13418 /* 34816 */ GIR_AddIntrinsicID, /*MI*/0, GIMT_Encode2(Intrinsic::amdgcn_rsq),
13419 /* 34820 */ GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/2, // x
13420 /* 34824 */ GIR_CopyMIFlags, /*InsnID*/0, /*OldInsnID*/0,
13421 /* 34827 */ GIR_EraseRootFromParent_Done,
13422 /* 34828 */ // Label 633: @34828
13423 /* 34828 */ GIM_Try, /*On fail goto*//*Label 634*/ GIMT_Encode4(34839), // Rule ID 212 //
13424 /* 34833 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule162Enabled),
13425 /* 34836 */ // MIs[0] dst
13426 /* 34836 */ // No operand predicates
13427 /* 34836 */ // MIs[0] src0
13428 /* 34836 */ // No operand predicates
13429 /* 34836 */ // Combiner Rule #162: constant_fold_fsqrt
13430 /* 34836 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
13431 /* 34839 */ // Label 634: @34839
13432 /* 34839 */ GIM_Reject,
13433 /* 34840 */ // Label 112: @34840
13434 /* 34840 */ GIM_Try, /*On fail goto*//*Label 635*/ GIMT_Encode4(34851), // Rule ID 217 //
13435 /* 34845 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
13436 /* 34848 */ // MIs[0] dst
13437 /* 34848 */ // No operand predicates
13438 /* 34848 */ // MIs[0] src0
13439 /* 34848 */ // No operand predicates
13440 /* 34848 */ // Combiner Rule #167: constant_fold_ffloor
13441 /* 34848 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
13442 /* 34851 */ // Label 635: @34851
13443 /* 34851 */ GIM_Reject,
13444 /* 34852 */ // Label 113: @34852
13445 /* 34852 */ GIM_Try, /*On fail goto*//*Label 636*/ GIMT_Encode4(34863), // Rule ID 221 //
13446 /* 34857 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
13447 /* 34860 */ // MIs[0] dst
13448 /* 34860 */ // No operand predicates
13449 /* 34860 */ // MIs[0] src0
13450 /* 34860 */ // No operand predicates
13451 /* 34860 */ // Combiner Rule #171: constant_fold_frint
13452 /* 34860 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
13453 /* 34863 */ // Label 636: @34863
13454 /* 34863 */ GIM_Reject,
13455 /* 34864 */ // Label 114: @34864
13456 /* 34864 */ GIM_Try, /*On fail goto*//*Label 637*/ GIMT_Encode4(34875), // Rule ID 222 //
13457 /* 34869 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
13458 /* 34872 */ // MIs[0] dst
13459 /* 34872 */ // No operand predicates
13460 /* 34872 */ // MIs[0] src0
13461 /* 34872 */ // No operand predicates
13462 /* 34872 */ // Combiner Rule #172: constant_fold_fnearbyint
13463 /* 34872 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner63),
13464 /* 34875 */ // Label 637: @34875
13465 /* 34875 */ GIM_Reject,
13466 /* 34876 */ // Label 115: @34876
13467 /* 34876 */ GIM_Try, /*On fail goto*//*Label 638*/ GIMT_Encode4(34887), // Rule ID 481 //
13468 /* 34881 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule344Enabled),
13469 /* 34884 */ // MIs[0] dst
13470 /* 34884 */ // No operand predicates
13471 /* 34884 */ // MIs[0] cvt_f32_ubyteN.src
13472 /* 34884 */ // No operand predicates
13473 /* 34884 */ // Combiner Rule #344: cvt_f32_ubyteN @ [cvt_f32_ubyteN[0]]
13474 /* 34884 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner133),
13475 /* 34887 */ // Label 638: @34887
13476 /* 34887 */ GIM_Reject,
13477 /* 34888 */ // Label 116: @34888
13478 /* 34888 */ GIM_Try, /*On fail goto*//*Label 639*/ GIMT_Encode4(34899), // Rule ID 482 //
13479 /* 34893 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule344Enabled),
13480 /* 34896 */ // MIs[0] dst
13481 /* 34896 */ // No operand predicates
13482 /* 34896 */ // MIs[0] cvt_f32_ubyteN.src
13483 /* 34896 */ // No operand predicates
13484 /* 34896 */ // Combiner Rule #344: cvt_f32_ubyteN @ [cvt_f32_ubyteN[1]]
13485 /* 34896 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner133),
13486 /* 34899 */ // Label 639: @34899
13487 /* 34899 */ GIM_Reject,
13488 /* 34900 */ // Label 117: @34900
13489 /* 34900 */ GIM_Try, /*On fail goto*//*Label 640*/ GIMT_Encode4(34911), // Rule ID 483 //
13490 /* 34905 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule344Enabled),
13491 /* 34908 */ // MIs[0] dst
13492 /* 34908 */ // No operand predicates
13493 /* 34908 */ // MIs[0] cvt_f32_ubyteN.src
13494 /* 34908 */ // No operand predicates
13495 /* 34908 */ // Combiner Rule #344: cvt_f32_ubyteN @ [cvt_f32_ubyteN[2]]
13496 /* 34908 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner133),
13497 /* 34911 */ // Label 640: @34911
13498 /* 34911 */ GIM_Reject,
13499 /* 34912 */ // Label 118: @34912
13500 /* 34912 */ GIM_Try, /*On fail goto*//*Label 641*/ GIMT_Encode4(34923), // Rule ID 484 //
13501 /* 34917 */ GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule344Enabled),
13502 /* 34920 */ // MIs[0] dst
13503 /* 34920 */ // No operand predicates
13504 /* 34920 */ // MIs[0] cvt_f32_ubyteN.src
13505 /* 34920 */ // No operand predicates
13506 /* 34920 */ // Combiner Rule #344: cvt_f32_ubyteN @ [cvt_f32_ubyteN[3]]
13507 /* 34920 */ GIR_DoneWithCustomAction, /*Fn*/GIMT_Encode2(GICXXCustomAction_GICombiner133),
13508 /* 34923 */ // Label 641: @34923
13509 /* 34923 */ GIM_Reject,
13510 /* 34924 */ // Label 119: @34924
13511 /* 34924 */ GIM_Reject,
13512 /* 34925 */ }; // Size: 34925 bytes
13513 return MatchTable0;
13514}
13515#undef GIMT_Encode2
13516#undef GIMT_Encode4
13517#undef GIMT_Encode8
13518
13519LLT AMDGPUPostLegalizerCombinerImpl::getLLTForHwMode(unsigned Index) const {
13520 llvm_unreachable("Unexpected index");
13521}
13522
13523
13524#endif // GET_GICOMBINER_IMPL
13525
13526#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
13527
13528AvailableModuleFeatures(computeAvailableModuleFeatures(&STI)),
13529AvailableFunctionFeatures()
13530
13531#endif // GET_GICOMBINER_CONSTRUCTOR_INITS
13532
13533#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
13534
13535, State(0),
13536ExecInfo(TypeObjects, NumTypeObjects, FeatureBitsets, ComplexPredicateFns, CustomRenderers)
13537
13538#endif // GET_GICOMBINER_CONSTRUCTOR_INITS
13539
13540