Lines Matching full:ret

12 ; CHECK-NEXT:    ret i8 -1
14 %ret = shl nuw i8 -1, %x
16 ret i8 %ret
21 ; CHECK-NEXT: ret i8 -1
23 %ret = shl nuw nsw i8 -1, %x
25 ret i8 %ret
30 ; CHECK-NEXT: ret i8 -128
32 %ret = shl nuw i8 128, %x
34 ret i8 %ret
47 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
48 ; CHECK-NEXT: ret i8 [[RET]]
52 %ret = shl nuw i8 %x, %y
53 ret i8 %ret
60 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
61 ; CHECK-NEXT: ret i8 [[RET]]
65 %ret = shl nuw i8 %x, %y
66 ret i8 %ret
75 ; CHECK-NEXT: ret <2 x i8> splat (i8 -1)
77 %ret = shl nuw <2 x i8> <i8 -1, i8 -1>, %x
78 ret <2 x i8> %ret
83 ; CHECK-NEXT: ret <3 x i8> <i8 -1, i8 poison, i8 -1>
85 %ret = shl nuw <3 x i8> <i8 -1, i8 poison, i8 -1>, %x
86 ret <3 x i8> %ret
91 ; CHECK-NEXT: ret <2 x i8> <i8 -1, i8 -2>
93 %ret = shl nuw <2 x i8> <i8 -1, i8 -2>, %x
94 ret <2 x i8> %ret
103 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 127, [[X:%.*]]
104 ; CHECK-NEXT: ret i8 [[RET]]
106 %ret = shl nuw i8 127, %x
108 ret i8 %ret
113 ; CHECK-NEXT: [[RET:%.*]] = shl i8 -1, [[X:%.*]]
114 ; CHECK-NEXT: ret i8 [[RET]]
116 %ret = shl i8 -1, %x ; need nuw
117 ret i8 %ret
122 ; CHECK-NEXT: [[RET:%.*]] = shl nsw i8 -1, [[X:%.*]]
123 ; CHECK-NEXT: ret i8 [[RET]]
125 %ret = shl nsw i8 -1, %x ; need nuw
126 ret i8 %ret
133 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[SHLOP1:%.*]], [[X:%.*]]
134 ; CHECK-NEXT: ret i8 [[RET]]
136 %ret = shl nuw i8 %shlop1, %x
137 ret i8 %ret
144 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 1, [[X:%.*]]
145 ; CHECK-NEXT: ret i8 [[RET]]
147 %ret = shl nuw i8 1, %x ; not -1
148 ret i8 %ret
153 ; CHECK-NEXT: [[RET:%.*]] = shl nuw <2 x i8> <i8 -1, i8 1>, [[X:%.*]]
154 ; CHECK-NEXT: ret <2 x i8> [[RET]]
156 %ret = shl nuw <2 x i8> <i8 -1, i8 1>, %x
157 ret <2 x i8> %ret
166 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
167 ; CHECK-NEXT: ret i8 [[RET]]
171 %ret = shl nuw i8 %x, %y
172 ret i8 %ret
179 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
180 ; CHECK-NEXT: ret i8 [[RET]]
184 %ret = shl nuw i8 %x, %y
185 ret i8 %ret
192 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
193 ; CHECK-NEXT: ret i8 [[RET]]
197 %ret = shl nuw i8 %x, %y
198 ret i8 %ret
205 ; CHECK-NEXT: [[RET:%.*]] = shl nuw i8 [[X]], [[Y:%.*]]
206 ; CHECK-NEXT: ret i8 [[RET]]
210 %ret = shl nuw i8 %x, %y
211 ret i8 %ret