Lines Matching full:sub

5 ; E.g., clamp0 implemented in a shifty way, could be optimized as v > 0 ? v : 0, where sub hasNoSig…
19 %sub = sub nsw i8 %y, %x
20 %shr = ashr i8 %sub, 7
32 %sub = sub nsw i16 %y, %x
33 %shr = ashr i16 %sub, 15
44 %sub = sub nsw i32 %y, %x
45 %shr = ashr i32 %sub, 31
56 %sub = sub nsw i64 %y, %x
57 %shr = ashr i64 %sub, 63
70 %sub = sub nuw nsw i32 %y, %x
71 %shr = ashr i32 %sub, 31
84 %sub = sub nsw i32 %y, %x
85 %shr = ashr i32 %sub, 31
98 %sub = sub nsw <4 x i32> %y, %x
99 %shr = ashr <4 x i32> %sub, <i32 31, i32 31, i32 31, i32 31>
110 %sub = sub nuw nsw <4 x i32> %y, %x
111 %shr = ashr <4 x i32> %sub, <i32 31, i32 31, i32 31, i32 31>
122 %sub = sub nsw <4 x i32> %y, %x
123 %shr = ashr <4 x i32> %sub, <i32 31, i32 31, i32 31, i32 31>
132 ; CHECK-NEXT: [[SUB:%.*]] = sub nsw i32 [[Y:%.*]], [[X:%.*]]
133 ; CHECK-NEXT: store i32 [[SUB]], ptr [[P:%.*]], align 4
134 ; CHECK-NEXT: [[ISNEG:%.*]] = icmp slt i32 [[SUB]], 0
138 %sub = sub nsw i32 %y, %x
139 store i32 %sub, ptr %p
140 %shr = ashr i32 %sub, 31
152 %sub = sub nsw i32 %y, %x
153 %shr = ashr i32 %sub, 31
169 %sub = sub nsw i32 %y, %x
170 %shr = ashr i32 %sub, 31
178 ; CHECK-NEXT: [[SUB:%.*]] = sub i32 [[Y:%.*]], [[X:%.*]]
179 ; CHECK-NEXT: [[SHR:%.*]] = ashr i32 [[SUB]], 7
183 %sub = sub i32 %y, %x
184 %shr = ashr i32 %sub, 7
195 %sub = sub nsw <4 x i32> %y, %x
196 %shr = ashr <4 x i32> %sub, <i32 31, i32 31, i32 31, i32 poison>
203 ; CHECK-NEXT: [[SUB:%.*]] = sub nsw i32 [[Y:%.*]], [[X:%.*]]
204 ; CHECK-NEXT: [[SHR:%.*]] = ashr i32 [[SUB]], 15
208 %sub = sub nsw i32 %y, %x
209 %shr = ashr i32 %sub, 15