Lines Matching full:imm
83 def : Pat<(i32 (load (regPlusImm I32:$addr, imm:$off))),
84 (LOAD_I32 imm:$off, $addr, 0)>;
85 def : Pat<(i64 (load (regPlusImm I32:$addr, imm:$off))),
86 (LOAD_I64 imm:$off, $addr, 0)>;
87 def : Pat<(f32 (load (regPlusImm I32:$addr, imm:$off))),
88 (LOAD_F32 imm:$off, $addr, 0)>;
89 def : Pat<(f64 (load (regPlusImm I32:$addr, imm:$off))),
90 (LOAD_F64 imm:$off, $addr, 0)>;
91 def : Pat<(i32 (load (or_is_add I32:$addr, imm:$off))),
92 (LOAD_I32 imm:$off, $addr, 0)>;
93 def : Pat<(i64 (load (or_is_add I32:$addr, imm:$off))),
94 (LOAD_I64 imm:$off, $addr, 0)>;
95 def : Pat<(f32 (load (or_is_add I32:$addr, imm:$off))),
96 (LOAD_F32 imm:$off, $addr, 0)>;
97 def : Pat<(f64 (load (or_is_add I32:$addr, imm:$off))),
98 (LOAD_F64 imm:$off, $addr, 0)>;
121 def : Pat<(i32 (load imm:$off)), (LOAD_I32 imm:$off, (CONST_I32 0), 0)>;
122 def : Pat<(i64 (load imm:$off)), (LOAD_I64 imm:$off, (CONST_I32 0), 0)>;
123 def : Pat<(f32 (load imm:$off)), (LOAD_F32 imm:$off, (CONST_I32 0), 0)>;
124 def : Pat<(f64 (load imm:$off)), (LOAD_F64 imm:$off, (CONST_I32 0), 0)>;
191 def : Pat<(i32 (sextloadi8 (regPlusImm I32:$addr, imm:$off))),
192 (LOAD8_S_I32 imm:$off, $addr, 0)>;
193 def : Pat<(i32 (zextloadi8 (regPlusImm I32:$addr, imm:$off))),
194 (LOAD8_U_I32 imm:$off, $addr, 0)>;
195 def : Pat<(i32 (sextloadi16 (regPlusImm I32:$addr, imm:$off))),
196 (LOAD16_S_I32 imm:$off, $addr, 0)>;
197 def : Pat<(i32 (zextloadi16 (regPlusImm I32:$addr, imm:$off))),
198 (LOAD16_U_I32 imm:$off, $addr, 0)>;
199 def : Pat<(i64 (sextloadi8 (regPlusImm I32:$addr, imm:$off))),
200 (LOAD8_S_I64 imm:$off, $addr, 0)>;
201 def : Pat<(i64 (zextloadi8 (regPlusImm I32:$addr, imm:$off))),
202 (LOAD8_U_I64 imm:$off, $addr, 0)>;
203 def : Pat<(i64 (sextloadi16 (regPlusImm I32:$addr, imm:$off))),
204 (LOAD16_S_I64 imm:$off, $addr, 0)>;
205 def : Pat<(i64 (zextloadi16 (regPlusImm I32:$addr, imm:$off))),
206 (LOAD16_U_I64 imm:$off, $addr, 0)>;
207 def : Pat<(i64 (sextloadi32 (regPlusImm I32:$addr, imm:$off))),
208 (LOAD32_S_I64 imm:$off, $addr, 0)>;
209 def : Pat<(i64 (zextloadi32 (regPlusImm I32:$addr, imm:$off))),
210 (LOAD32_U_I64 imm:$off, $addr, 0)>;
211 def : Pat<(i32 (sextloadi8 (or_is_add I32:$addr, imm:$off))),
212 (LOAD8_S_I32 imm:$off, $addr, 0)>;
213 def : Pat<(i32 (zextloadi8 (or_is_add I32:$addr, imm:$off))),
214 (LOAD8_U_I32 imm:$off, $addr, 0)>;
215 def : Pat<(i32 (sextloadi16 (or_is_add I32:$addr, imm:$off))),
216 (LOAD16_S_I32 imm:$off, $addr, 0)>;
217 def : Pat<(i32 (zextloadi16 (or_is_add I32:$addr, imm:$off))),
218 (LOAD16_U_I32 imm:$off, $addr, 0)>;
219 def : Pat<(i64 (sextloadi8 (or_is_add I32:$addr, imm:$off))),
220 (LOAD8_S_I64 imm:$off, $addr, 0)>;
221 def : Pat<(i64 (zextloadi8 (or_is_add I32:$addr, imm:$off))),
222 (LOAD8_U_I64 imm:$off, $addr, 0)>;
223 def : Pat<(i64 (sextloadi16 (or_is_add I32:$addr, imm:$off))),
224 (LOAD16_S_I64 imm:$off, $addr, 0)>;
225 def : Pat<(i64 (zextloadi16 (or_is_add I32:$addr, imm:$off))),
226 (LOAD16_U_I64 imm:$off, $addr, 0)>;
227 def : Pat<(i64 (sextloadi32 (or_is_add I32:$addr, imm:$off))),
228 (LOAD32_S_I64 imm:$off, $addr, 0)>;
229 def : Pat<(i64 (zextloadi32 (or_is_add I32:$addr, imm:$off))),
230 (LOAD32_U_I64 imm:$off, $addr, 0)>;
293 def : Pat<(i32 (sextloadi8 imm:$off)),
294 (LOAD8_S_I32 imm:$off, (CONST_I32 0), 0)>;
295 def : Pat<(i32 (zextloadi8 imm:$off)),
296 (LOAD8_U_I32 imm:$off, (CONST_I32 0), 0)>;
297 def : Pat<(i32 (sextloadi16 imm:$off)),
298 (LOAD16_S_I32 imm:$off, (CONST_I32 0), 0)>;
299 def : Pat<(i32 (zextloadi16 imm:$off)),
300 (LOAD16_U_I32 imm:$off, (CONST_I32 0), 0)>;
301 def : Pat<(i64 (sextloadi8 imm:$off)),
302 (LOAD8_S_I64 imm:$off, (CONST_I32 0), 0)>;
303 def : Pat<(i64 (zextloadi8 imm:$off)),
304 (LOAD8_U_I64 imm:$off, (CONST_I32 0), 0)>;
305 def : Pat<(i64 (sextloadi16 imm:$off)),
306 (LOAD16_S_I64 imm:$off, (CONST_I32 0), 0)>;
307 def : Pat<(i64 (zextloadi16 imm:$off)),
308 (LOAD16_U_I64 imm:$off, (CONST_I32 0), 0)>;
309 def : Pat<(i64 (sextloadi32 imm:$off)),
310 (LOAD32_S_I64 imm:$off, (CONST_I32 0), 0)>;
311 def : Pat<(i64 (zextloadi32 imm:$off)),
312 (LOAD32_U_I64 imm:$off, (CONST_I32 0), 0)>;
365 def : Pat<(i32 (extloadi8 (regPlusImm I32:$addr, imm:$off))),
366 (LOAD8_U_I32 imm:$off, $addr, 0)>;
367 def : Pat<(i32 (extloadi16 (regPlusImm I32:$addr, imm:$off))),
368 (LOAD16_U_I32 imm:$off, $addr, 0)>;
369 def : Pat<(i64 (extloadi8 (regPlusImm I32:$addr, imm:$off))),
370 (LOAD8_U_I64 imm:$off, $addr, 0)>;
371 def : Pat<(i64 (extloadi16 (regPlusImm I32:$addr, imm:$off))),
372 (LOAD16_U_I64 imm:$off, $addr, 0)>;
373 def : Pat<(i64 (extloadi32 (regPlusImm I32:$addr, imm:$off))),
374 (LOAD32_U_I64 imm:$off, $addr, 0)>;
375 def : Pat<(i32 (extloadi8 (or_is_add I32:$addr, imm:$off))),
376 (LOAD8_U_I32 imm:$off, $addr, 0)>;
377 def : Pat<(i32 (extloadi16 (or_is_add I32:$addr, imm:$off))),
378 (LOAD16_U_I32 imm:$off, $addr, 0)>;
379 def : Pat<(i64 (extloadi8 (or_is_add I32:$addr, imm:$off))),
380 (LOAD8_U_I64 imm:$off, $addr, 0)>;
381 def : Pat<(i64 (extloadi16 (or_is_add I32:$addr, imm:$off))),
382 (LOAD16_U_I64 imm:$off, $addr, 0)>;
383 def : Pat<(i64 (extloadi32 (or_is_add I32:$addr, imm:$off))),
384 (LOAD32_U_I64 imm:$off, $addr, 0)>;
417 def : Pat<(i32 (extloadi8 imm:$off)),
418 (LOAD8_U_I32 imm:$off, (CONST_I32 0), 0)>;
419 def : Pat<(i32 (extloadi16 imm:$off)),
420 (LOAD16_U_I32 imm:$off, (CONST_I32 0), 0)>;
421 def : Pat<(i64 (extloadi8 imm:$off)),
422 (LOAD8_U_I64 imm:$off, (CONST_I32 0), 0)>;
423 def : Pat<(i64 (extloadi16 imm:$off)),
424 (LOAD16_U_I64 imm:$off, (CONST_I32 0), 0)>;
425 def : Pat<(i64 (extloadi32 imm:$off)),
426 (LOAD32_U_I64 imm:$off, (CONST_I32 0), 0)>;
478 def : Pat<(store I32:$val, (regPlusImm I32:$addr, imm:$off)),
479 (STORE_I32 imm:$off, I32:$addr, 0, I32:$val)>;
480 def : Pat<(store I64:$val, (regPlusImm I32:$addr, imm:$off)),
481 (STORE_I64 imm:$off, I32:$addr, 0, I64:$val)>;
482 def : Pat<(store F32:$val, (regPlusImm I32:$addr, imm:$off)),
483 (STORE_F32 imm:$off, I32:$addr, 0, F32:$val)>;
484 def : Pat<(store F64:$val, (regPlusImm I32:$addr, imm:$off)),
485 (STORE_F64 imm:$off, I32:$addr, 0, F64:$val)>;
486 def : Pat<(store I32:$val, (or_is_add I32:$addr, imm:$off)),
487 (STORE_I32 imm:$off, I32:$addr, 0, I32:$val)>;
488 def : Pat<(store I64:$val, (or_is_add I32:$addr, imm:$off)),
489 (STORE_I64 imm:$off, I32:$addr, 0, I64:$val)>;
490 def : Pat<(store F32:$val, (or_is_add I32:$addr, imm:$off)),
491 (STORE_F32 imm:$off, I32:$addr, 0, F32:$val)>;
492 def : Pat<(store F64:$val, (or_is_add I32:$addr, imm:$off)),
493 (STORE_F64 imm:$off, I32:$addr, 0, F64:$val)>;
520 def : Pat<(store I32:$val, imm:$off),
521 (STORE_I32 imm:$off, (CONST_I32 0), 0, I32:$val)>;
522 def : Pat<(store I64:$val, imm:$off),
523 (STORE_I64 imm:$off, (CONST_I32 0), 0, I64:$val)>;
524 def : Pat<(store F32:$val, imm:$off),
525 (STORE_F32 imm:$off, (CONST_I32 0), 0, F32:$val)>;
526 def : Pat<(store F64:$val, imm:$off),
527 (STORE_F64 imm:$off, (CONST_I32 0), 0, F64:$val)>;
579 def : Pat<(truncstorei8 I32:$val, (regPlusImm I32:$addr, imm:$off)),
580 (STORE8_I32 imm:$off, I32:$addr, 0, I32:$val)>;
581 def : Pat<(truncstorei16 I32:$val, (regPlusImm I32:$addr, imm:$off)),
582 (STORE16_I32 imm:$off, I32:$addr, 0, I32:$val)>;
583 def : Pat<(truncstorei8 I64:$val, (regPlusImm I32:$addr, imm:$off)),
584 (STORE8_I64 imm:$off, I32:$addr, 0, I64:$val)>;
585 def : Pat<(truncstorei16 I64:$val, (regPlusImm I32:$addr, imm:$off)),
586 (STORE16_I64 imm:$off, I32:$addr, 0, I64:$val)>;
587 def : Pat<(truncstorei32 I64:$val, (regPlusImm I32:$addr, imm:$off)),
588 (STORE32_I64 imm:$off, I32:$addr, 0, I64:$val)>;
589 def : Pat<(truncstorei8 I32:$val, (or_is_add I32:$addr, imm:$off)),
590 (STORE8_I32 imm:$off, I32:$addr, 0, I32:$val)>;
591 def : Pat<(truncstorei16 I32:$val, (or_is_add I32:$addr, imm:$off)),
592 (STORE16_I32 imm:$off, I32:$addr, 0, I32:$val)>;
593 def : Pat<(truncstorei8 I64:$val, (or_is_add I32:$addr, imm:$off)),
594 (STORE8_I64 imm:$off, I32:$addr, 0, I64:$val)>;
595 def : Pat<(truncstorei16 I64:$val, (or_is_add I32:$addr, imm:$off)),
596 (STORE16_I64 imm:$off, I32:$addr, 0, I64:$val)>;
597 def : Pat<(truncstorei32 I64:$val, (or_is_add I32:$addr, imm:$off)),
598 (STORE32_I64 imm:$off, I32:$addr, 0, I64:$val)>;
640 def : Pat<(truncstorei8 I32:$val, imm:$off),
641 (STORE8_I32 imm:$off, (CONST_I32 0), 0, I32:$val)>;
642 def : Pat<(truncstorei16 I32:$val, imm:$off),
643 (STORE16_I32 imm:$off, (CONST_I32 0), 0, I32:$val)>;
644 def : Pat<(truncstorei8 I64:$val, imm:$off),
645 (STORE8_I64 imm:$off, (CONST_I32 0), 0, I64:$val)>;
646 def : Pat<(truncstorei16 I64:$val, imm:$off),
647 (STORE16_I64 imm:$off, (CONST_I32 0), 0, I64:$val)>;
648 def : Pat<(truncstorei32 I64:$val, imm:$off),
649 (STORE32_I64 imm:$off, (CONST_I32 0), 0, I64:$val)>;