/external/llvm/test/Transforms/InstSimplify/ |
D | rem.ll | 6 %rem = srem i32 %x, %rhs 21 ; CHECK-NEXT: %mod = srem i32 %x, %n 23 %mod = srem i32 %x, %n 24 %mod1 = srem i32 %mod, %n 39 ; CHECK-NEXT: %[[srem:.*]] = srem i32 %x, %n 40 ; CHECK-NEXT: %[[urem:.*]] = urem i32 %[[srem]], %n 42 %mod = srem i32 %x, %n
|
/external/llvm/test/Analysis/CostModel/ARM/ |
D | divrem.ll | 229 ; CHECK: cost of 40 {{.*}} srem 231 %1 = srem <2 x i8> %a, %b 236 ; CHECK: cost of 40 {{.*}} srem 238 %1 = srem <2 x i16> %a, %b 243 ; CHECK: cost of 40 {{.*}} srem 245 %1 = srem <2 x i32> %a, %b 250 ; CHECK: cost of 40 {{.*}} srem 252 %1 = srem <2 x i64> %a, %b 257 ; CHECK: cost of 80 {{.*}} srem 259 %1 = srem <4 x i8> %a, %b [all …]
|
/external/llvm/test/CodeGen/R600/ |
D | srem.ll | 9 %result = srem i32 %num, %den 16 %result = srem i32 %num, 4 29 %result = srem i32 %num, 7 38 %result = srem <2 x i32> %num, %den 45 %result = srem <2 x i32> %num, <i32 4, i32 4> 54 %result = srem <4 x i32> %num, %den 61 %result = srem <4 x i32> %num, <i32 4, i32 4, i32 4, i32 4> 70 %result = srem i64 %num, %den 77 %result = srem i64 %num, 4 86 %result = srem <2 x i64> %num, %den [all …]
|
D | sdivrem24.ll | 137 %result = srem i8 %num, %den 156 %result = srem i16 %num, %den 179 %result = srem i32 %num.i24, %den.i24 198 %result = srem i32 %num.i24, %den.i24 217 %result = srem i32 %num.i24, %den.i24 236 %result = srem i32 %num.i24, %den.i24
|
/external/llvm/test/CodeGen/ARM/ |
D | divmod-eabi.ll | 16 %rem = srem i32 %conv, %conv1 28 %rem8 = srem i32 %conv1, %conv 50 %rem = srem i32 %a, %b 62 %rem1 = srem i32 %b, %a 102 ; FIXME: AEABI is not lowering long u/srem into u/ldivmod 109 %rem = srem i64 %a, %b 132 %rem = srem i32 %a, %b 153 %rem = srem i32 %a, %b 166 %rem = srem i32 %a, %b 173 %rem1 = srem i32 %b, %rem [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | PR16069.ll | 13 …%cond.i = phi i32 [ 0, %bb1 ], [ srem (i32 1, i32 zext (i1 icmp eq (i32* @b, i32* null) to i32)), … 14 ; CHECK: phi i32 {{.*}} srem (i32 1, i32 zext (i1 icmp eq (i32* @b, i32* null) to i32)), %bb2 25 …%cond = phi i32 [ 0, %bb1 ], [ srem (i32 1, i32 zext (i1 icmp eq (i32* @b, i32* null) to i32)), %b… 26 ; CHECK: %cond = phi i32 [ 0, %bb1 ], [ srem (i32 1, i32 zext (i1 icmp eq (i32* @b, i32* null) to …
|
/external/llvm/test/CodeGen/SystemZ/ |
D | int-div-03.ll | 29 %rem = srem i64 %a, %bext 43 %rem = srem i64 %a, %bext 66 %rem = srem i64 %a, %bext 94 %rem = srem i64 %a, %bext 110 %rem = srem i64 %a, %bext 123 %rem = srem i64 %a, %bext 137 %rem = srem i64 %a, %bext 149 %rem = srem i64 %a, %bext 161 %rem = srem i64 %a, %bext 175 %rem = srem i64 %a, %bext [all …]
|
D | int-div-01.ll | 26 %rem = srem i32 %a, %b 42 %rem = srem i32 %a, %b 57 %rem = srem i32 %a, %b 74 %rem = srem i32 %a, %b 100 %rem = srem i32 %a, %b 117 %rem = srem i32 %a, %b 129 %rem = srem i32 %a, %b 142 %rem = srem i32 %a, %b 153 %rem = srem i32 %a, %b 164 %rem = srem i32 %a, %b [all …]
|
D | int-div-04.ll | 26 %rem = srem i64 %a, %b 40 %rem = srem i64 %a, %b 66 %rem = srem i64 %a, %b 81 %rem = srem i64 %a, %b 93 %rem = srem i64 %a, %b 106 %rem = srem i64 %a, %b 117 %rem = srem i64 %a, %b 128 %rem = srem i64 %a, %b 141 %rem = srem i64 %a, %b 154 %rem = srem i64 %a, %b
|
/external/llvm/test/ExecutionEngine/MCJIT/ |
D | test-arith.ll | 8 %E = srem i8 %D, %D ; <i8> [#uses=0] 15 %E.upgrd.5 = srem i16 %D.upgrd.4, %D.upgrd.4 ; <i16> [#uses=0] 22 %E.upgrd.12 = srem i32 %D.upgrd.11, %D.upgrd.11 ; <i32> [#uses=0] 29 %E.upgrd.18 = srem i64 %D.upgrd.17, %D.upgrd.17 ; <i64> [#uses=0]
|
/external/llvm/test/ExecutionEngine/OrcMCJIT/ |
D | test-arith.ll | 8 %E = srem i8 %D, %D ; <i8> [#uses=0] 15 %E.upgrd.5 = srem i16 %D.upgrd.4, %D.upgrd.4 ; <i16> [#uses=0] 22 %E.upgrd.12 = srem i32 %D.upgrd.11, %D.upgrd.11 ; <i32> [#uses=0] 29 %E.upgrd.18 = srem i64 %D.upgrd.17, %D.upgrd.17 ; <i64> [#uses=0]
|
/external/llvm/test/CodeGen/X86/ |
D | rem.ll | 6 %tmp1 = srem i32 %X, 255 ; <i32> [#uses=1] 13 %tmp1 = srem i32 %X, 256 ; <i32> [#uses=1] 35 %0 = srem i32 41, %X
|
D | divrem.ll | 5 %t = srem i64 %x, %y 12 %t = srem i32 %x, %y 19 %t = srem i16 %x, %y 26 %t = srem i8 %x, %y
|
D | divrem8_ext.ll | 60 %1 = srem i8 %x, %y 70 %1 = srem i8 %x, %y 81 %1 = srem i8 %x, %y 95 %1 = srem i8 %x, %y
|
D | atom-bypass-slow-division.ll | 25 %result = srem i32 %a, %b 41 %resultrem = srem i32 %a, %b 81 %resultrem = srem i32 %a, 33 91 %resultrem = srem i32 %a, 33
|
D | fast-isel-divrem.ll | 16 %result = srem i8 %dividend, %divisor 56 %result = srem i16 %dividend, %divisor 96 %result = srem i32 %dividend, %divisor
|
D | atom-bypass-slow-division-64.ll | 31 %result = srem i64 %a, %b 48 %resultrem = srem i64 %a, %b
|
/external/llvm/test/Transforms/InstCombine/ |
D | pr20059.ll | 4 ; for an srem operation. This is not a valid optimization because it may cause a trap 10 ; CHECK-NEXT: %retval = srem <4 x i32> %splat1, %splat2 14 %retval = srem <4 x i32> %splat1, %splat2
|
D | rem.ll | 9 %B = srem i32 %A, 1 ; ISA constant 0 16 %B = srem i32 0, %A 33 %B = srem i32 %A, -8 63 %B = srem i32 %A, 0 ;; undef 71 %C = srem i32 %B, 4 79 %C = srem i32 %B, 8 115 %tmp.5 = srem i32 %tmp.1, 2 122 %x = srem i32 %i, %i
|
D | 2009-06-16-SRemDemandedBits.ll | 1 ; RUN: opt < %s -instcombine -S | grep srem 6 %rem = srem i32 %x, 2
|
/external/llvm/test/ExecutionEngine/ |
D | test-interp-vec-arithm_int.ll | 8 %E_i8 = srem <5 x i8> %D_i8, %D_i8 16 %E_i16 = srem <4 x i16> %D_i16, %D_i16 24 %E_i32 = srem <3 x i32> %D_i32, %D_i32 32 %E_i64 = srem <2 x i64> %D_i64, %D_i64
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | srem.ll | 46 %r = srem i1 %a, %b 69 %r = srem i8 %a, %b 92 %r = srem i16 %a, %b 107 %r = srem i32 %a, %b 124 %r = srem i64 %a, %b 137 %r = srem i128 %a, %b
|
/external/llvm/test/Transforms/ConstProp/ |
D | remtest.ll | 6 %R = srem i32 4, 3 ; <i32> [#uses=1] 11 %R = srem i32 123, -23 ; <i32> [#uses=1]
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 179 EXPECT_EQ(zero, neg_one.srem(one)); in TEST() 181 EXPECT_EQ(zero, one.srem(neg_one)); in TEST() 192 EXPECT_EQ(nine.srem(two), one); in TEST() 193 EXPECT_EQ(nine.srem(-two), one); in TEST() 194 EXPECT_EQ((-nine).srem(two), -one); in TEST() 195 EXPECT_EQ((-nine).srem(-two), -one); in TEST() 234 r = p.srem(a); in TEST() 241 r = p.srem(b); in TEST() 278 r = p.srem(a); in TEST() 285 r = p.srem(b); in TEST() [all …]
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | eliminate-rem.ll | 5 ; Indvars should be able to eliminate this srem. 20 %t7 = srem i64 %t6, %arg ; <i64> [#uses=1] 54 %t10 = srem i64 %t9, %arg1 ; <i64> [#uses=1] 57 %t13 = srem i64 %t12, %arg1 ; <i64> [#uses=1]
|