Lines Matching refs:Rt
43 // Alias of: memXX($Rs+#XX) = $Rt to memXX($Rs) = $Rt
44 def : InstAlias<"memb($Rs) = $Rt",
45 (S2_storerb_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
47 def : InstAlias<"memh($Rs) = $Rt",
48 (S2_storerh_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
50 def : InstAlias<"memh($Rs) = $Rt.h",
51 (S2_storerf_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
53 def : InstAlias<"memw($Rs) = $Rt",
54 (S2_storeri_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
56 def : InstAlias<"memb($Rs) = $Rt.new",
57 (S2_storerbnew_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
59 def : InstAlias<"memh($Rs) = $Rt.new",
60 (S2_storerhnew_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
62 def : InstAlias<"memw($Rs) = $Rt.new",
63 (S2_storerinew_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
152 // Alias of: if ($Pt) memXX($Rs + #$u6_X) = $Rt
153 // to: if ($Pt) memXX($Rs) = $Rt
154 def : InstAlias<"if ($Pt) memb($Rs) = $Rt",
155 (S2_pstorerbt_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
157 def : InstAlias<"if ($Pt) memh($Rs) = $Rt",
158 (S2_pstorerht_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
160 def : InstAlias<"if ($Pt) memh($Rs) = $Rt.h",
161 (S2_pstorerft_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
163 def : InstAlias<"if ($Pt) memw($Rs) = $Rt",
164 (S2_pstorerit_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
169 def : InstAlias<"if ($Pt) memb($Rs) = $Rt.new",
170 (S2_pstorerbnewt_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
172 def : InstAlias<"if ($Pt) memh($Rs) = $Rt.new",
173 (S2_pstorerhnewt_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
175 def : InstAlias<"if ($Pt) memw($Rs) = $Rt.new",
176 (S2_pstorerinewt_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
178 def : InstAlias<"if ($Pt.new) memb($Rs) = $Rt.new",
179 (S4_pstorerbnewtnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
181 def : InstAlias<"if ($Pt.new) memh($Rs) = $Rt.new",
182 (S4_pstorerhnewtnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
184 def : InstAlias<"if ($Pt.new) memw($Rs) = $Rt.new",
185 (S4_pstorerinewtnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
208 // Alias of: if (!$Pt) memXX($Rs + #$u6_X) = $Rt
209 // to: if (!$Pt) memXX($Rs) = $Rt
210 def : InstAlias<"if (!$Pt) memb($Rs) = $Rt",
211 (S2_pstorerbf_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
213 def : InstAlias<"if (!$Pt) memh($Rs) = $Rt",
214 (S2_pstorerhf_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
216 def : InstAlias<"if (!$Pt) memh($Rs) = $Rt.h",
217 (S2_pstorerff_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
219 def : InstAlias<"if (!$Pt) memw($Rs) = $Rt",
220 (S2_pstorerif_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
225 def : InstAlias<"if (!$Pt) memb($Rs) = $Rt.new",
226 (S2_pstorerbnewf_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
228 def : InstAlias<"if (!$Pt) memh($Rs) = $Rt.new",
229 (S2_pstorerhnewf_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
231 def : InstAlias<"if (!$Pt) memw($Rs) = $Rt.new",
232 (S2_pstorerinewf_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
234 def : InstAlias<"if (!$Pt.new) memb($Rs) = $Rt.new",
235 (S4_pstorerbnewfnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
237 def : InstAlias<"if (!$Pt.new) memh($Rs) = $Rt.new",
238 (S4_pstorerhnewfnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
240 def : InstAlias<"if (!$Pt.new) memw($Rs) = $Rt.new",
241 (S4_pstorerinewfnew_io PredRegs:$Pt, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
279 // Alias of: memXX($Rs + $u6_X) |= $Rt, also &=, +=, -=
280 // to: memXX($Rs) |= $Rt
281 def : InstAlias<"memb($Rs) &= $Rt",
282 (L4_and_memopb_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
285 def : InstAlias<"memb($Rs) |= $Rt",
286 (L4_or_memopb_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
289 def : InstAlias<"memb($Rs) += $Rt",
290 (L4_add_memopb_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
293 def : InstAlias<"memb($Rs) -= $Rt",
294 (L4_sub_memopb_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
305 def : InstAlias<"memh($Rs) &= $Rt",
306 (L4_and_memoph_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
309 def : InstAlias<"memh($Rs) |= $Rt",
310 (L4_or_memoph_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
313 def : InstAlias<"memh($Rs) += $Rt",
314 (L4_add_memoph_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
317 def : InstAlias<"memh($Rs) -= $Rt",
318 (L4_sub_memoph_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
329 def : InstAlias<"memw($Rs) &= $Rt",
330 (L4_and_memopw_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
333 def : InstAlias<"memw($Rs) |= $Rt",
334 (L4_or_memopw_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
337 def : InstAlias<"memw($Rs) += $Rt",
338 (L4_add_memopw_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
341 def : InstAlias<"memw($Rs) -= $Rt",
342 (L4_sub_memopw_io IntRegs:$Rs, 0, IntRegs:$Rt), 0>,
354 // Alias of: if ($Pv.new) memX($Rs) = $Rt
355 // to: if (p3.new) memX(r17 + #0) = $Rt
356 def : InstAlias<"if ($Pv.new) memb($Rs) = $Rt",
357 (S4_pstorerbtnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
359 def : InstAlias<"if ($Pv.new) memh($Rs) = $Rt",
360 (S4_pstorerhtnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
362 def : InstAlias<"if ($Pv.new) memh($Rs) = $Rt.h",
363 (S4_pstorerftnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
365 def : InstAlias<"if ($Pv.new) memw($Rs) = $Rt",
366 (S4_pstoreritnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
372 def : InstAlias<"if (!$Pv.new) memb($Rs) = $Rt",
373 (S4_pstorerbfnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
375 def : InstAlias<"if (!$Pv.new) memh($Rs) = $Rt",
376 (S4_pstorerhfnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
378 def : InstAlias<"if (!$Pv.new) memh($Rs) = $Rt.h",
379 (S4_pstorerffnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
381 def : InstAlias<"if (!$Pv.new) memw($Rs) = $Rt",
382 (S4_pstorerifnew_io PredRegs:$Pv, IntRegs:$Rs, 0, IntRegs:$Rt), 0>;
431 def : InstAlias<"$Pd=cmp.lt($Rs, $Rt)",
432 (C2_cmpgt PredRegs:$Pd, IntRegs:$Rt, IntRegs:$Rs), 0>;
433 def : InstAlias<"$Pd=cmp.ltu($Rs, $Rt)",
434 (C2_cmpgtu PredRegs:$Pd, IntRegs:$Rt, IntRegs:$Rs), 0>;
454 def : InstAlias<"$Rd = mpyui($Rs,$Rt)",
455 (M2_mpyi IntRegs:$Rd, IntRegs:$Rs, IntRegs:$Rt), 0>;
458 def : InstAlias<"$Pd=cmp.lt($Rs, $Rt)",
459 (C2_cmpgt PredRegs:$Pd, IntRegs:$Rt, IntRegs:$Rs), 0>;
460 def : InstAlias<"$Pd=cmp.ltu($Rs, $Rt)",
461 (C2_cmpgtu PredRegs:$Pd, IntRegs:$Rt, IntRegs:$Rs), 0>;