Lines Matching refs:i32
213 def : MipsPat<(select (i32 (seteq i64:$cond, immz)), i64:$t, i64:$f),
217 def : MipsPat<(select (i32 (setne i64:$cond, immz)), i64:$t, i64:$f),
221 def : MipsPat<(select (i32 (seteq i64:$cond, immZExt16_64:$imm)), i64:$t, i64:$f),
225 def : MipsPat<(select (i32 (setne i64:$cond, immZExt16_64:$imm)), i64:$t, i64:$f),
230 (select (i32 (setgt i64:$cond, immSExt16Plus1:$imm)), i64:$t, i64:$f),
239 (select (i32 (setugt i64:$cond, immSExt16Plus1:$imm)), i64:$t, i64:$f),
248 def : MipsPat<(select (i32 (setne i64:$cond, immz)), i64:$t, immz),
250 def : MipsPat<(select (i32 (seteq i64:$cond, immz)), i64:$t, immz),
252 def : MipsPat<(select (i32 (setne i64:$cond, immz)), immz, i64:$f),
254 def : MipsPat<(select (i32 (seteq i64:$cond, immz)), immz, i64:$f),
257 // i64 selects from an i32 comparison
258 // One complicating factor here is that bits 32-63 of an i32 are undefined.
261 def : MipsPat<(select i32:$cond, i64:$t, i64:$f),
262 (OR64 (SELNEZ64 i64:$t, (SLL64_32 i32:$cond)),
263 (SELEQZ64 i64:$f, (SLL64_32 i32:$cond)))>,
265 def : MipsPat<(select (i32 (seteq i32:$cond, immz)), i64:$t, i64:$f),
266 (OR64 (SELEQZ64 i64:$t, (SLL64_32 i32:$cond)),
267 (SELNEZ64 i64:$f, (SLL64_32 i32:$cond)))>,
269 def : MipsPat<(select (i32 (setne i32:$cond, immz)), i64:$t, i64:$f),
270 (OR64 (SELNEZ64 i64:$t, (SLL64_32 i32:$cond)),
271 (SELEQZ64 i64:$f, (SLL64_32 i32:$cond)))>,
273 def : MipsPat<(select (i32 (seteq i32:$cond, immZExt16:$imm)), i64:$t, i64:$f),
274 (OR64 (SELEQZ64 i64:$t, (SLL64_32 (XORi i32:$cond,
276 (SELNEZ64 i64:$f, (SLL64_32 (XORi i32:$cond,
279 def : MipsPat<(select (i32 (setne i32:$cond, immZExt16:$imm)), i64:$t, i64:$f),
280 (OR64 (SELNEZ64 i64:$t, (SLL64_32 (XORi i32:$cond,
282 (SELEQZ64 i64:$f, (SLL64_32 (XORi i32:$cond,
286 def : MipsPat<(select i32:$cond, i64:$t, immz),
287 (SELNEZ64 i64:$t, (SLL64_32 i32:$cond))>,
289 def : MipsPat<(select (i32 (setne i32:$cond, immz)), i64:$t, immz),
290 (SELNEZ64 i64:$t, (SLL64_32 i32:$cond))>,
292 def : MipsPat<(select (i32 (seteq i32:$cond, immz)), i64:$t, immz),
293 (SELEQZ64 i64:$t, (SLL64_32 i32:$cond))>,
295 def : MipsPat<(select i32:$cond, immz, i64:$f),
296 (SELEQZ64 i64:$f, (SLL64_32 i32:$cond))>,
298 def : MipsPat<(select (i32 (setne i32:$cond, immz)), immz, i64:$f),
299 (SELEQZ64 i64:$f, (SLL64_32 i32:$cond))>,
301 def : MipsPat<(select (i32 (seteq i32:$cond, immz)), immz, i64:$f),
302 (SELNEZ64 i64:$f, (SLL64_32 i32:$cond))>,
307 def : MipsPat<(i64 (sext (i32 (mul GPR32:$src, GPR32:$src2)))),
310 def : MipsPat<(i64 (sext (i32 (sdiv GPR32:$src, GPR32:$src2)))),
313 def : MipsPat<(i64 (sext (i32 (udiv GPR32:$src, GPR32:$src2)))),
316 def : MipsPat<(i64 (sext (i32 (srem GPR32:$src, GPR32:$src2)))),
319 def : MipsPat<(i64 (sext (i32 (urem GPR32:$src, GPR32:$src2)))),