/external/openssl/crypto/bn/ |
D | bn_div.c | 185 BIGNUM *tmp,wnum,*snum,*sdiv,*res; in BN_div() local 229 sdiv=BN_CTX_get(ctx); in BN_div() 233 if (sdiv == NULL || res == NULL || tmp == NULL || snum == NULL) in BN_div() 238 if (!(BN_lshift(sdiv,divisor,norm_shift))) goto err; in BN_div() 239 sdiv->neg=0; in BN_div() 250 if (snum->top <= sdiv->top+1) in BN_div() 252 if (bn_wexpand(snum, sdiv->top + 2) == NULL) goto err; in BN_div() 253 for (i = snum->top; i < sdiv->top + 2; i++) snum->d[i] = 0; in BN_div() 254 snum->top = sdiv->top + 2; in BN_div() 264 div_n=sdiv->top; in BN_div() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | exact.ll | 4 ; CHECK: sdiv i32 %x, 8 6 %y = sdiv i32 %x, 8 13 %y = sdiv exact i32 %x, 8 22 %y = sdiv i32 %x, 3 30 %y = sdiv exact i32 %x, 3 40 %y = sdiv i32 %x, 3 49 %y = sdiv exact i32 %x, 3 100 ; Make sure we don't transform the ashr here into an sdiv 127 %A = sdiv exact i64 %X, 5 ; X/5 == 0 --> x == 0 135 %A = sdiv exact i64 %X, 5 ; X/5 == 1 --> x == 5 [all …]
|
D | preserve-sminmax.ll | 3 ; Instcombine normally would fold the sdiv into the comparison, 4 ; making "icmp slt i32 %h, 2", but in this case the sdiv has 10 %sd = sdiv i32 %h, 2 16 ; CHECK: %sd = sdiv i32 %h, 2 22 %sd = sdiv i32 %h, 2 28 ; CHECK: %sd = sdiv i32 %h, 2
|
D | 2008-02-16-SDivOverflow.ll | 5 %tmp1 = sdiv i32 %a, -1431655765 6 %tmp2 = sdiv i32 %tmp1, 3 11 %tmp1 = sdiv i8 %a, 64 12 %tmp2 = sdiv i8 %tmp1, 3
|
D | 2008-02-16-SDivOverflow2.ll | 1 ; RUN: opt < %s -instcombine -S | grep "sdiv i8 \%a, 9" 5 %tmp1 = sdiv i8 %a, -3 6 %tmp2 = sdiv i8 %tmp1, -3
|
D | sink_instruction.ll | 9 %tmp.2 = sdiv i32 %A, %B ; <i32> [#uses=1] 17 ; CHECK: sdiv i32 26 ; CHECK-NOT: sdiv i32 34 %1 = sdiv i32 %0, %x_addr.17 ; <i32> [#uses=1] 41 ; CHECK-NEXT: sdiv i32
|
D | 2008-11-20-DivMulRem.ll | 16 %A = sdiv i8 %x, %y 50 %div = sdiv i32 %x, %y 51 ; CHECK-NEXT: sdiv 53 %r = sdiv i32 %mul, %y
|
D | nsw.ll | 5 ; CHECK: %z = sdiv i32 %y, 337 9 %z = sdiv i32 %y, 337 14 ; CHECK: %z = sdiv i32 %x, -337 18 %z = sdiv i32 %y, 337
|
D | sdiv-1.ll | 9 %1 = sdiv i32 %0, -3 22 %1 = sdiv i32 %0, -3
|
/external/llvm/test/CodeGen/X86/ |
D | atom-bypass-slow-division.ll | 12 %result = sdiv i32 %a, %b 40 %resultdiv = sdiv i32 %a, %b 54 %resultidiv = sdiv i32 %a, %b 63 %resultdiv = sdiv i32 256, 4 72 %resultdiv = sdiv i32 %a, 33 90 %resultdiv = sdiv i32 %a, 33 101 %resultdiv = sdiv i32 4, %a 110 %resultdiv = sdiv i32 4, %a
|
D | vec_sdiv_to_shift.ll | 12 %0 = sdiv <8 x i16> %var, <i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32> 21 %0 = sdiv <4 x i32> %var, <i32 0, i32 0, i32 0, i32 0> 33 %0 = sdiv <4 x i32> %var, <i32 16, i32 16, i32 16, i32 16> 46 %0 = sdiv <4 x i32> %var, <i32 -16, i32 -16, i32 -16, i32 -16> 58 %0 = sdiv <8 x i32> %var, <i32 64, i32 64, i32 64, i32 64, i32 64, i32 64, i32 64, i32 64> 70 …%a0 = sdiv <16 x i16> %var, <i16 4, i16 4, i16 4, i16 4, i16 4, i16 4, i16 4, i16 4, i16 4, i16 4,…
|
D | i128-sdiv.ll | 8 %tmp = sdiv i128 %x, 73786976294838206464 15 %tmp = sdiv i128 %x, -73786976294838206464 22 %tmp = sdiv i128 %x, -73786976294838206467
|
D | divrem.ll | 4 %r = sdiv i64 %x, %y 11 %r = sdiv i32 %x, %y 18 %r = sdiv i16 %x, %y 25 %r = sdiv i8 %x, %y
|
D | sdiv-exact.ll | 4 %div = sdiv exact i32 %x, 25 12 %div = sdiv exact i32 %x, 24
|
/external/llvm/test/CodeGen/PowerPC/ |
D | div-2.ll | 6 %Z = sdiv i32 %Y, 4 ; <i32> [#uses=1] 13 %Z = sdiv i32 %Y, 4 ; <i32> [#uses=1] 20 %Z = sdiv i32 %Y, 4 ; <i32> [#uses=1] 27 %Z = sdiv i32 %Y, 2 ; <i32> [#uses=1]
|
/external/llvm/test/Transforms/InstSimplify/ |
D | 2011-02-01-Vector.ll | 3 define <2 x i32> @sdiv(<2 x i32> %x) { 4 ; CHECK: @sdiv 5 %div = sdiv <2 x i32> %x, <i32 1, i32 1>
|
/external/llvm/test/CodeGen/Thumb2/ |
D | div.ll | 13 ; CHECK-THUMBV7M: sdiv 15 ; CHECK-SWIFT-T2: sdiv 16 %tmp1 = sdiv i32 %a, %b ; <i32> [#uses=1] 37 ; CHECK-THUMBV7M: sdiv 39 ; CHECK-SWIFT-T2: sdiv
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | 2009-01-19-UnconditionalTrappingConstantExpr.ll | 10 ; CHECK: sdiv 17 %tmp26 = icmp sgt i32 sdiv (i32 -32768, i32 ptrtoint (i32* @G to i32)), 0 29 ; CHECK: sdiv 35 br i1 icmp sgt (i32 sdiv (i32 32767, i32 ptrtoint (i32* @G to i32)), i32 0), label %bb6, label %bb7
|
/external/llvm/test/ExecutionEngine/ |
D | test-arith.ll | 7 %D = sdiv i8 %C, %C ; <i8> [#uses=2] 14 %D.upgrd.4 = sdiv i16 %C.upgrd.3, %C.upgrd.3 ; <i16> [#uses=2] 21 %D.upgrd.11 = sdiv i32 %C.upgrd.10, %C.upgrd.10 ; <i32> [#uses=2] 28 %D.upgrd.17 = sdiv i64 %C.upgrd.16, %C.upgrd.16 ; <i64> [#uses=2]
|
/external/llvm/test/ExecutionEngine/MCJIT/ |
D | test-arith.ll | 7 %D = sdiv i8 %C, %C ; <i8> [#uses=2] 14 %D.upgrd.4 = sdiv i16 %C.upgrd.3, %C.upgrd.3 ; <i16> [#uses=2] 21 %D.upgrd.11 = sdiv i32 %C.upgrd.10, %C.upgrd.10 ; <i32> [#uses=2] 28 %D.upgrd.17 = sdiv i64 %C.upgrd.16, %C.upgrd.16 ; <i64> [#uses=2]
|
/external/llvm/test/Transforms/LICM/ |
D | hoisting.ll | 19 ; CHECK-NEXT: sdiv i32 4, %A 20 %B1 = sdiv i32 4, %A ; <i32> [#uses=1] 39 ; CHECK-NEXT: %B = sdiv i32 4, %A 44 %B = sdiv i32 4, %A ; <i32> [#uses=2] 70 ; CHECK: sdiv 80 %div = sdiv i32 %x, %y
|
D | speculate.ll | 72 ; CHECK: %div = sdiv i64 %x, %or 89 %div = sdiv i64 %x, %or 106 ; CHECK-NOT: sdiv 122 %div = sdiv i64 %x, %or 139 ; CHECK-NOT: sdiv 155 %div = sdiv i64 %x, %and 174 ; CHECK-NOT: sdiv 183 %d = sdiv i64 %a, %b
|
/external/llvm/test/CodeGen/R600/ |
D | sdiv.ll | 3 ; The code generated by sdiv is long and complex and may frequently change. 7 ; opcodes generated by the sdiv lowering was being legalized and optimized to: 18 %result = sdiv i32 %num, %den
|
/external/llvm/test/CodeGen/ARM/ |
D | div.ll | 10 ; CHECK-SWIFT: sdiv 11 %tmp1 = sdiv i32 %a, %b ; <i32> [#uses=1] 32 ; CHECK-SWIFT: sdiv
|
D | divmod.ll | 13 ; SWIFT: sdiv 16 %div = sdiv i32 %x, %y 57 ; SWIFT: sdiv 62 %5 = sdiv i32 %cols, %3
|