Lines Matching refs:shift
10 %shift = ashr i64 %a, 1
11 ret i64 %shift
19 %shift = ashr i64 %a, 63
20 ret i64 %shift
28 %shift = ashr i64 %a, 64
29 ret i64 %shift
37 %shift = ashr i64 %a, %amt
38 ret i64 %shift
41 ; Check shift amounts that have a constant term.
47 %shift = ashr i64 %a, %add
48 ret i64 %shift
51 ; ...and again with a sign-extended 32-bit shift amount.
58 %shift = ashr i64 %a, %addext
59 ret i64 %shift
62 ; ...and now with a zero-extended 32-bit shift amount.
69 %shift = ashr i64 %a, %addext
70 ret i64 %shift
73 ; Check shift amounts that have the largest in-range constant term. We could
80 %shift = ashr i64 %a, %add
81 ret i64 %shift
92 %shift = ashr i64 %a, %add
93 ret i64 %shift
96 ; Check cases where 1 is subtracted from the shift amount.
102 %shift = ashr i64 %a, %sub
103 ret i64 %shift
106 ; Check the lowest value that can be subtracted from the shift amount.
107 ; Again, we could mask the shift amount instead.
113 %shift = ashr i64 %a, %sub
114 ret i64 %shift
125 %shift = ashr i64 %a, %sub
126 ret i64 %shift
136 %shift = ashr i64 %a, %add
137 ret i64 %shift
140 ; Check that the shift amount uses an address register. It cannot be in %r0.
147 %shift = ashr i64 %a, %amt
148 ret i64 %shift