Lines Matching refs:shift
2 ; Test shortening of NILL to NILF when the result is used as a shift amount.
6 ; Test logical shift right.
14 %shift = lshr i32 %a, %and
15 ret i32 %shift
18 ; Test arithmetic shift right.
26 %shift = ashr i32 %a, %and
27 ret i32 %shift
30 ; Test shift left.
38 %shift = shl i32 %a, %and
39 ret i32 %shift
42 ; Test 64-bit logical shift right.
50 %shift = lshr i64 %a, %and
51 ret i64 %shift
54 ; Test 64-bit arithmetic shift right.
62 %shift = ashr i64 %a, %and
63 ret i64 %shift
66 ; Test 64-bit shift left.
74 %shift = shl i64 %a, %and
75 ret i64 %shift
78 ; Test shift with negative 32-bit value.
86 %shift = shl i32 %a, %and
88 ret i32 %shift
91 ; Test shift with negative 64-bit value.
99 %shift = shl i64 %a, %and
101 ret i64 %shift