/external/llvm/test/CodeGen/Generic/ |
D | i128-addsub.ll | 5 %tmp1 = zext i64 %AL to i128 ; <i128> [#uses=1] 6 %tmp23 = zext i64 %AH to i128 ; <i128> [#uses=1] 7 %tmp4 = shl i128 %tmp23, 64 ; <i128> [#uses=1] 8 %tmp5 = or i128 %tmp4, %tmp1 ; <i128> [#uses=1] 9 %tmp67 = zext i64 %BL to i128 ; <i128> [#uses=1] 10 %tmp89 = zext i64 %BH to i128 ; <i128> [#uses=1] 11 %tmp11 = shl i128 %tmp89, 64 ; <i128> [#uses=1] 12 %tmp12 = or i128 %tmp11, %tmp67 ; <i128> [#uses=1] 13 %tmp15 = add i128 %tmp12, %tmp5 ; <i128> [#uses=2] 14 %tmp1617 = trunc i128 %tmp15 to i64 ; <i64> [#uses=1] [all …]
|
D | add-with-overflow-128.ll | 8 define i1 @func2(i128 zeroext %v1, i128 zeroext %v2) nounwind { 10 %t = call {i128, i1} @llvm.uadd.with.overflow.i128(i128 %v1, i128 %v2) 11 %sum = extractvalue {i128, i1} %t, 0 12 %sum32 = trunc i128 %sum to i32 13 %obit = extractvalue {i128, i1} %t, 1 27 declare {i128, i1} @llvm.uadd.with.overflow.i128(i128, i128)
|
/external/llvm/test/CodeGen/Blackfin/ |
D | addsub-i128.ll | 8 %tmp1 = zext i64 %AL to i128 ; <i128> [#uses=1] 9 %tmp23 = zext i64 %AH to i128 ; <i128> [#uses=1] 10 %tmp4 = shl i128 %tmp23, 64 ; <i128> [#uses=1] 11 %tmp5 = or i128 %tmp4, %tmp1 ; <i128> [#uses=1] 12 %tmp67 = zext i64 %BL to i128 ; <i128> [#uses=1] 13 %tmp89 = zext i64 %BH to i128 ; <i128> [#uses=1] 14 %tmp11 = shl i128 %tmp89, 64 ; <i128> [#uses=1] 15 %tmp12 = or i128 %tmp11, %tmp67 ; <i128> [#uses=1] 16 %tmp15 = add i128 %tmp12, %tmp5 ; <i128> [#uses=2] 17 %tmp1617 = trunc i128 %tmp15 to i64 ; <i64> [#uses=1] [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | muloti.ll | 3 %1 = type { i128, i1 } 8 %tmp16 = zext i64 %a.coerce0 to i128 9 %tmp11 = zext i64 %a.coerce1 to i128 10 %tmp12 = shl nuw i128 %tmp11, 64 11 %ins14 = or i128 %tmp12, %tmp16 12 %tmp6 = zext i64 %b.coerce0 to i128 13 %tmp3 = zext i64 %b.coerce1 to i128 14 %tmp4 = shl nuw i128 %tmp3, 64 15 %ins = or i128 %tmp4, %tmp6 16 %0 = tail call %1 @llvm.smul.with.overflow.i128(i128 %ins14, i128 %ins) [all …]
|
D | 2009-03-09-APIntCrash.ll | 10 %srcval18 = load i128* null, align 8 ; <i128> [#uses=1] 11 %tmp15 = lshr i128 %srcval18, 64 ; <i128> [#uses=1] 12 %tmp9 = mul i128 %tmp15, 18446744073709551616000 ; <i128> [#uses=1] 16 %retval.0 = phi i128 [ %tmp9, %if.then ], [ undef, %entry ] ; <i128> [#uses=0] 20 define i128 @test(i128 %arg) nounwind { 21 %A = shl i128 1, 92 22 %B = sub i128 0, %A 23 %C = mul i128 %arg, %B 24 ret i128 %C ;; should codegen to neg(shift)
|
D | extmul128.ll | 3 define i128 @i64_sext_i128(i64 %a, i64 %b) { 4 %aa = sext i64 %a to i128 5 %bb = sext i64 %b to i128 6 %cc = mul i128 %aa, %bb 7 ret i128 %cc 9 define i128 @i64_zext_i128(i64 %a, i64 %b) { 10 %aa = zext i64 %a to i128 11 %bb = zext i64 %b to i128 12 %cc = mul i128 %aa, %bb 13 ret i128 %cc
|
D | adde-carry.ll | 5 %0 = zext i64 %a to i128 6 %1 = zext i64 %b to i128 7 %2 = add i128 %1, %0 8 %3 = zext i64 %c to i128 9 %4 = shl i128 %3, 64 10 %5 = add i128 %4, %2 11 %6 = lshr i128 %5, 64 12 %7 = trunc i128 %6 to i64 14 %8 = trunc i128 %2 to i64
|
D | mem-promote-integers.ll | 51 define <1 x i128> @test_1xi128(<1 x i128> %x, <1 x i128>* %b) { 52 %bb = load <1 x i128>* %b 53 %tt = xor <1 x i128> %x, %bb 54 store <1 x i128> %tt, <1 x i128>* %b 58 ret <1 x i128> %tt 128 define <2 x i128> @test_2xi128(<2 x i128> %x, <2 x i128>* %b) { 129 %bb = load <2 x i128>* %b 130 %tt = xor <2 x i128> %x, %bb 131 store <2 x i128> %tt, <2 x i128>* %b 135 ret <2 x i128> %tt [all …]
|
D | pr1462.ll | 8 define hidden i128 @__addvti3(i128 %a1, i128 %b2) { 10 %tmp8 = add i128 %b2, %a1 ; <i128> [#uses=3] 11 %tmp10 = icmp sgt i128 %b2, -1 ; <i1> [#uses=1] 12 %tmp18 = icmp sgt i128 %tmp8, %a1 ; <i1> [#uses=1] 13 %tmp14 = icmp slt i128 %tmp8, %a1 ; <i1> [#uses=1] 22 ret i128 %tmp8
|
D | shift-i128.ll | 4 define void @t(i128 %x, i128 %a, i128* nocapture %r) nounwind { 6 %0 = lshr i128 %x, %a 7 store i128 %0, i128* %r, align 16
|
D | i128-mul.ll | 5 %tmp0 = zext i64 %x to i128 6 %tmp1 = zext i64 %y to i128 7 %tmp2 = mul i128 %tmp0, %tmp1 8 %tmp7 = zext i32 64 to i128 9 %tmp3 = lshr i128 %tmp2, %tmp7 10 %tmp4 = trunc i128 %tmp3 to i64
|
/external/llvm/test/CodeGen/PowerPC/ |
D | return-val-i128.ll | 3 define i128 @__fixsfdi(float %a) { 6 %retval = alloca i128, align 16 ; <i128*> [#uses=2] 7 %tmp = alloca i128, align 16 ; <i128*> [#uses=3] 18 %tmp6 = call i128 @__fixunssfDI( float %tmp5 ) nounwind ; <i128> [#uses=1] 19 %tmp7 = sub i128 0, %tmp6 ; <i128> [#uses=1] 20 store i128 %tmp7, i128* %tmp, align 16 24 %tmp10 = call i128 @__fixunssfDI( float %tmp9 ) nounwind ; <i128> [#uses=1] 25 store i128 %tmp10, i128* %tmp, align 16 28 %tmp12 = load i128* %tmp, align 16 ; <i128> [#uses=1] 29 store i128 %tmp12, i128* %retval, align 16 [all …]
|
D | shift128.ll | 3 define i128 @foo_lshr(i128 %x, i128 %y) { 4 %r = lshr i128 %x, %y 5 ret i128 %r 7 define i128 @foo_ashr(i128 %x, i128 %y) { 8 %r = ashr i128 %x, %y 9 ret i128 %r 11 define i128 @foo_shl(i128 %x, i128 %y) { 12 %r = shl i128 %x, %y 13 ret i128 %r
|
D | itofp128.ll | 6 define i128 @__fixunstfti(ppc_fp128 %a) nounwind { 8 %tmp1213 = uitofp i128 0 to ppc_fp128 ; <ppc_fp128> [#uses=1] 11 %tmp282930 = zext i64 %tmp2829 to i128 ; <i128> [#uses=1] 12 %tmp32 = add i128 %tmp282930, 0 ; <i128> [#uses=1] 13 ret i128 %tmp32
|
/external/llvm/test/Transforms/InstCombine/ |
D | sdiv-2.ll | 7 %iftmp.13.0 = select i1 %0, i128 0, i128 200000000 ; <i128> [#uses=2] 8 %1 = sdiv i128 %iftmp.13.0, 10 ; <i128> [#uses=1] 12 %v.0 = phi i128 [ 0, %entry ], [ %6, %bb8 ] ; <i128> [#uses=2] 13 %2 = icmp sgt i128 %v.0, %1 ; <i1> [#uses=1] 17 %3 = mul i128 %v.0, 10 ; <i128> [#uses=2] 18 %4 = sub i128 %iftmp.13.0, 0 ; <i128> [#uses=1] 19 %5 = icmp slt i128 %4, %3 ; <i1> [#uses=1] 23 %6 = add i128 0, %3 ; <i128> [#uses=1]
|
D | 2009-01-05-i128-crash.ll | 6 define hidden i128 @"\01_gfortrani_max_value"(i32 %length, i32 %signed_flag) nounwind { 16 %iftmp.28.0 = select i1 %0, i128 18446744073709551615, i128 9223372036854775807 ; <i128> [#uses=1] 17 ret i128 %iftmp.28.0 20 ret i128 0 23 ret i128 0 26 ret i128 0
|
D | 2009-01-31-InfIterate.ll | 3 define i128 @test(i64 %A, i64 %B, i1 %C, i128 %Z, i128 %Y, i64* %P, i64* %Q) { 5 %tmp2 = trunc i128 %Z to i64 6 %tmp4 = trunc i128 %Y to i64 17 %F = zext i64 %G to i128 18 ret i128 %F
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | pr2537.ll | 9 %y.0 = phi i128 [ 0, %entry ], [ %add, %dobody ] 10 %x.0 = phi i128 [ 0, %entry ], [ %add2, %dobody ] 11 %add = add i128 %y.0, shl (i128 1, i128 64) 12 %add2 = add i128 %x.0, shl (i128 1, i128 48) 13 call void @b( i128 %add ) 14 %cmp = icmp ult i128 %add2, shl (i128 1, i128 64) 21 declare void @b(i128 %add)
|
/external/llvm/test/CodeGen/Alpha/ |
D | 2008-11-12-Add128.ll | 6 define i128 @__mulvti3(i128 %u, i128 %v) nounwind { 8 %0 = load i128* null, align 16 ; <i128> [#uses=1] 10 %2 = zext i64 %1 to i128 ; <i128> [#uses=1] 11 %3 = add i128 %2, %0 ; <i128> [#uses=1] 12 store i128 %3, i128* null, align 16
|
D | 2008-11-10-smul_lohi.ll | 8 %0 = sext i64 %a to i128 ; <i128> [#uses=1] 9 %1 = sext i64 %b to i128 ; <i128> [#uses=1] 10 %2 = mul i128 %1, %0 ; <i128> [#uses=2] 11 %3 = lshr i128 %2, 64 ; <i128> [#uses=1] 12 %4 = trunc i128 %3 to i64 ; <i64> [#uses=1] 13 %5 = trunc i128 %2 to i64 ; <i64> [#uses=1]
|
/external/llvm/test/CodeGen/CellSPU/ |
D | sext128.ll | 7 define i128 @sext_i64_i128(i64 %a) { 9 %0 = sext i64 %a to i128 10 ret i128 %0 21 define i128 @sext_i32_i128(i32 %a) { 23 %0 = sext i32 %a to i128 24 ret i128 %0 35 define i128 @sext_i32_i128a(float %a) { 38 %1 = sext i32 %0 to i128 39 ret i128 %1 52 define i128 @func1(i8 %u) { [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | 2009-10-21-InvalidFNeg.ll | 30 %tmp109132 = zext i64 %tfrm.0.0 to i128 ; <i128> [#uses=1] 31 %tmp113134 = zext i64 %tfrm.0.1 to i128 ; <i128> [#uses=1] 32 %tmp114133 = shl i128 %tmp113134, 64 ; <i128> [#uses=1] 33 %tmp94 = or i128 %tmp114133, %tmp109132 ; <i128> [#uses=1] 34 %tmp95 = bitcast i128 %tmp94 to <4 x float> ; <<4 x float>> [#uses=0] 36 %tmp83 = trunc i512 %tmp82 to i128 ; <i128> [#uses=1] 37 %tmp84 = bitcast i128 %tmp83 to <4 x float> ; <<4 x float>> [#uses=0] 39 %tmp87 = trunc i512 %tmp86 to i128 ; <i128> [#uses=1] 40 %tmp88 = bitcast i128 %tmp87 to <4 x float> ; <<4 x float>> [#uses=0] 42 %tmp91 = trunc i512 %tmp90 to i128 ; <i128> [#uses=1] [all …]
|
D | arguments6.ll | 4 define i128 @f(i32 %a, i128 %b) { 5 %tmp = call i128 @g(i128 %b) 6 ret i128 %tmp 9 declare i128 @g(i128)
|
D | 2010-06-11-vmovdrr-bitcast.ll | 8 %0 = bitcast %struct.__int8x8x2_t* %a to i128* ; <i128*> [#uses=1] 9 %srcval = load i128* %0, align 8 ; <i128> [#uses=2] 10 %tmp6 = trunc i128 %srcval to i64 ; <i64> [#uses=1] 11 %tmp8 = lshr i128 %srcval, 64 ; <i128> [#uses=1] 12 %tmp9 = trunc i128 %tmp8 to i64 ; <i64> [#uses=1]
|
/external/llvm/test/Transforms/SCCP/ |
D | apint-basictest3.ll | 8 define i128 @test(i1 %B) { 11 %t1 = add i128 0, 1 12 %t2 = sub i128 0, %t1 13 %t3 = mul i128 %t2, -1 16 %f1 = udiv i128 -1, 1 17 %f2 = add i128 %f1, 1 18 %f3 = urem i128 %f2, 2121 21 %Ret = phi i128 [%t3, %BB1], [%f3, %BB2] 22 ret i128 %Ret
|