Home
last modified time | relevance | path

Searched refs:i128 (Results 1 – 25 of 128) sorted by relevance

123456

/external/llvm/test/CodeGen/Generic/
Di128-addsub.ll5 %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 …]
Dadd-with-overflow-128.ll8 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/X86/
Dmuloti.ll3 %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 …]
D2009-03-09-APIntCrash.ll10 %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)
Di128-sdiv.ll5 define i128 @test1(i128 %x) {
8 %tmp = sdiv i128 %x, 73786976294838206464
9 ret i128 %tmp
12 define i128 @test2(i128 %x) {
15 %tmp = sdiv i128 %x, -73786976294838206464
16 ret i128 %tmp
19 define i128 @test3(i128 %x) {
22 %tmp = sdiv i128 %x, -73786976294838206467
23 ret i128 %tmp
Dextmul128.ll3 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
D2011-08-23-PerformSubCombine128.ll6 %conv76.i2623 = zext i64 %conv143.i2687 to i128
7 %mul148.i2338 = mul i128 0, %conv76.i2623
8 %add149.i2339 = add i128 %mul148.i2338, 0
9 %add.i2303 = add i128 0, 170141183460469229370468033484042534912
10 %add6.i2270 = add i128 %add.i2303, 0
11 %sub58.i2271 = sub i128 %add6.i2270, %add149.i2339
12 %add71.i2272 = add i128 %sub58.i2271, 0
13 %add105.i2273 = add i128 %add71.i2272, 0
14 %add116.i2274 = add i128 %add105.i2273, 0
15 %shr124.i2277 = lshr i128 %add116.i2274, 56
[all …]
Dmulx64.ll3 define i128 @f1(i64 %a, i64 %b) {
4 %x = zext i64 %a to i128
5 %y = zext i64 %b to i128
6 %r = mul i128 %x, %y
10 ret i128 %r
13 define i128 @f2(i64 %a, i64* %p) {
15 %x = zext i64 %a to i128
16 %y = zext i64 %b to i128
17 %r = mul i128 %x, %y
21 ret i128 %r
Dadde-carry.ll5 %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
Dpr1462.ll8 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
Dmem-promote-integers.ll51 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 …]
/external/llvm/test/CodeGen/AArch64/
Dadc.ll3 define i128 @test_simple(i128 %a, i128 %b, i128 %c) {
6 %valadd = add i128 %a, %b
10 %valsub = sub i128 %valadd, %c
14 ret i128 %valsub
18 define i128 @test_imm(i128 %a) {
21 %val = add i128 %a, 12
25 ret i128 %val
29 define i128 @test_shifted(i128 %a, i128 %b) {
32 %rhs = shl i128 %b, 45
34 %val = add i128 %a, %rhs
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dreturn-val-i128.ll3 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 …]
Dshift128.ll3 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
/external/llvm/test/Transforms/InstCombine/
Dsdiv-2.ll7 %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]
/external/llvm/test/Instrumentation/ThreadSanitizer/
Datomic.ll1541 define i128 @atomic128_load_unordered(i128* %a) nounwind uwtable {
1543 %0 = load atomic i128* %a unordered, align 16
1544 ret i128 %0
1547 ; CHECK: call i128 @__tsan_atomic128_load(i128* %a, i32 0)
1549 define i128 @atomic128_load_monotonic(i128* %a) nounwind uwtable {
1551 %0 = load atomic i128* %a monotonic, align 16
1552 ret i128 %0
1555 ; CHECK: call i128 @__tsan_atomic128_load(i128* %a, i32 0)
1557 define i128 @atomic128_load_acquire(i128* %a) nounwind uwtable {
1559 %0 = load atomic i128* %a acquire, align 16
[all …]
/external/llvm/test/Transforms/LoopStrengthReduce/
Dpr2537.ll9 %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/clang/test/Sema/
D128bitint.c5 typedef int i128 __attribute__((__mode__(TI))); typedef
8 int a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1];
20 __int128_t Signed128 = 123456789012345678901234567890i128;
21 long long Signed64 = 123456789012345678901234567890i128; // expected-warning {{implicit conversion …
23 __uint128_t Unsigned128 = 123456789012345678901234567890Ui128;
24 unsigned long long Unsigned64 = 123456789012345678901234567890Ui128; // expected-warning {{implicit…
29 …__attribute__(( pointer_with_type_tag(mpi,0x10000000000000001i128,1) )); // expected-error {{attri…
32 …__attribute__(( pointer_with_type_tag(mpi,1,0x10000000000000001i128) )); // expected-error {{attri…
36 …ng __attribute__(( type_tag_for_datatype(mpi,int) )) = 0x10000000000000001i128; // expected-error …
41 …MPI_Send(buf, 0x10000000000000001i128); // expected-warning {{implicit conversion from '__int128' … in test()
/external/llvm/test/CodeGen/Hexagon/
Dsube.ll14 %tmp1 = zext i64 %AL to i128
15 %tmp23 = zext i64 %AH to i128
16 %tmp4 = shl i128 %tmp23, 64
17 %tmp5 = or i128 %tmp4, %tmp1
18 %tmp67 = zext i64 %BL to i128
19 %tmp89 = zext i64 %BH to i128
20 %tmp11 = shl i128 %tmp89, 64
21 %tmp12 = or i128 %tmp11, %tmp67
22 %tmp15 = sub i128 %tmp5, %tmp12
23 %tmp1617 = trunc i128 %tmp15 to i64
[all …]
Dadde.ll19 %tmp1 = zext i64 %AL to i128
20 %tmp23 = zext i64 %AH to i128
21 %tmp4 = shl i128 %tmp23, 64
22 %tmp5 = or i128 %tmp4, %tmp1
23 %tmp67 = zext i64 %BL to i128
24 %tmp89 = zext i64 %BH to i128
25 %tmp11 = shl i128 %tmp89, 64
26 %tmp12 = or i128 %tmp11, %tmp67
27 %tmp15 = add i128 %tmp12, %tmp5
28 %tmp1617 = trunc i128 %tmp15 to i64
[all …]
/external/llvm/test/CodeGen/ARM/
D2012-01-23-PostRA-LICM.ll25i128 or (i128 shl (i128 zext (i64 trunc (i128 lshr (i128 bitcast (<4 x float> <float 1.000000e+00,…
28 %tmp12 = bitcast <4 x float> zeroinitializer to i128
29 %tmp13 = lshr i128 %tmp12, 64
30 %tmp14 = trunc i128 %tmp13 to i64
40 %tmp23 = bitcast <4 x float> %tmp22 to i128
41 %tmp24 = trunc i128 %tmp23 to i64
50i128 or (i128 shl (i128 zext (i64 trunc (i128 lshr (i128 bitcast (<4 x float> <float 1.000000e+00,…
80 %tmp63 = bitcast <4 x float> %tmp62 to i128
81 %tmp64 = lshr i128 %tmp63, 64
82 %tmp65 = trunc i128 %tmp64 to i64
D2009-10-21-InvalidFNeg.ll30 %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 …]
Darguments6.ll4 define i128 @f(i32 %a, i128 %b) {
5 %tmp = call i128 @g(i128 %b)
6 ret i128 %tmp
9 declare i128 @g(i128)
/external/llvm/test/Instrumentation/BoundsChecking/
Dsimple.ll65 %1 = alloca i128
67 %2 = load i128* %1, align 4
73 %1 = alloca i128, i64 %x
76 %2 = load i128* %1, align 4
82 %1 = alloca i128
83 %2 = alloca i128
84 %3 = select i1 undef, i128* %1, i128* %2
86 %4 = load i128* %3, align 4
91 define void @f9(i128* %arg) nounwind {
92 %1 = alloca i128
[all …]
/external/llvm/test/Transforms/SCCP/
Dapint-basictest3.ll8 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

123456