Lines Matching full:sh
3 define i8 @flip_add_of_shift_neg(i8 %v, i8 %sh, i8 %x) {
5 ; CHECK-SAME: (i8 [[V:%.*]], i8 [[SH:%.*]], i8 [[X:%.*]]) {
6 ; CHECK-NEXT: [[TMP1:%.*]] = shl i8 [[V]], [[SH]]
11 %sv = shl nuw nsw i8 %nv, %sh
16 define <2 x i8> @flip_add_of_shift_neg_vec(<2 x i8> %v, <2 x i8> %sh, <2 x i8> %xx) {
18 ; CHECK-SAME: (<2 x i8> [[V:%.*]], <2 x i8> [[SH:%.*]], <2 x i8> [[XX:%.*]]) {
20 ; CHECK-NEXT: [[TMP1:%.*]] = shl <2 x i8> [[V]], [[SH]]
26 %sv = shl <2 x i8> %nv, %sh
31 define i8 @flip_add_of_shift_neg_fail_shr(i8 %v, i8 %sh, i8 %x) {
33 ; CHECK-SAME: (i8 [[V:%.*]], i8 [[SH:%.*]], i8 [[X:%.*]]) {
35 ; CHECK-NEXT: [[SV:%.*]] = lshr i8 [[NV]], [[SH]]
40 %sv = lshr i8 %nv, %sh
46 define <2 x i8> @flip_add_of_shift_neg_vec_fail_multiuse_neg(<2 x i8> %v, <2 x i8> %sh, <2 x i8> %x…
48 ; CHECK-SAME: (<2 x i8> [[V:%.*]], <2 x i8> [[SH:%.*]], <2 x i8> [[XX:%.*]]) {
51 ; CHECK-NEXT: [[SV:%.*]] = shl <2 x i8> [[NV]], [[SH]]
58 %sv = shl <2 x i8> %nv, %sh
64 define <2 x i8> @flip_add_of_shift_neg_vec_fail_multiuse_shift(<2 x i8> %v, <2 x i8> %sh, <2 x i8> …
66 ; CHECK-SAME: (<2 x i8> [[V:%.*]], <2 x i8> [[SH:%.*]], <2 x i8> [[XX:%.*]]) {
69 ; CHECK-NEXT: [[SV:%.*]] = shl <2 x i8> [[NV]], [[SH]]
76 %sv = shl <2 x i8> %nv, %sh