Home | History | Annotate | Download | only in InstCombine

Lines Matching full:i16

3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
74 %s = trunc i32 %e to i16
75 %n = sext i16 %s to i32
84 define i16 @test9(i16 %t, i1 %cond) nounwind {
88 %t2 = sext i16 %t to i32
93 %W = trunc i32 %V to i16
94 ret i16 %W
99 ; CHECK-NEXT: phi i16
100 ; CHECK-NEXT: ret i16
117 define void @test11(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) {
118 %cmp = icmp eq <2 x i16> %srcB, %srcA
119 %sext = sext <2 x i1> %cmp to <2 x i16>
120 %tmask = ashr <2 x i16> %sext, <i16 15, i16 15>
121 store <2 x i16> %tmask, <2 x i16>* %dst
126 ; CHECK-NEXT: store <2 x i16>
152 define i32 @test14(i16 %x) nounwind {
153 %and = and i16 %x, 16
154 %cmp = icmp ne i16 %and, 16
158 ; CHECK-NEXT: %and = lshr i16 %x, 4
159 ; CHECK-NEXT: %1 = and i16 %and, 1
160 ; CHECK-NEXT: %sext = add i16 %1, -1
161 ; CHECK-NEXT: %ext = sext i16 %sext to i32
176 define i32 @test16(i16 %x) nounwind {
177 %and = and i16 %x, 8
178 %cmp = icmp eq i16 %and, 8
182 ; CHECK-NEXT: %1 = shl i16 %x, 12
183 ; CHECK-NEXT: %sext = ashr i16 %1, 15
184 ; CHECK-NEXT: %ext = sext i16 %sext to i32