Home
last modified time | relevance | path

Searched refs:icmp (Results 1 – 25 of 3062) sorted by relevance

12345678910>>...123

/external/llvm/test/ExecutionEngine/OrcMCJIT/
Dtest-setcond-int.ll20 %test1 = icmp eq i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
21 %test2 = icmp uge i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
22 %test3 = icmp ugt i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
23 %test4 = icmp ule i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
24 %test5 = icmp ult i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
25 %test6 = icmp ne i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
26 %test7 = icmp eq i16 %ushort1, %ushort2 ; <i1> [#uses=0]
27 %test8 = icmp uge i16 %ushort1, %ushort2 ; <i1> [#uses=0]
28 %test9 = icmp ugt i16 %ushort1, %ushort2 ; <i1> [#uses=0]
29 %test10 = icmp ule i16 %ushort1, %ushort2 ; <i1> [#uses=0]
[all …]
/external/llvm/test/ExecutionEngine/MCJIT/
Dtest-setcond-int.ll20 %test1 = icmp eq i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
21 %test2 = icmp uge i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
22 %test3 = icmp ugt i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
23 %test4 = icmp ule i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
24 %test5 = icmp ult i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
25 %test6 = icmp ne i8 %ubyte1, %ubyte2 ; <i1> [#uses=0]
26 %test7 = icmp eq i16 %ushort1, %ushort2 ; <i1> [#uses=0]
27 %test8 = icmp uge i16 %ushort1, %ushort2 ; <i1> [#uses=0]
28 %test9 = icmp ugt i16 %ushort1, %ushort2 ; <i1> [#uses=0]
29 %test10 = icmp ule i16 %ushort1, %ushort2 ; <i1> [#uses=0]
[all …]
/external/llvm/test/ExecutionEngine/
Dtest-interp-vec-setcond-int.ll20 %test1 = icmp eq <5 x i8> %ubyte1, %ubyte2
21 %test2 = icmp uge <5 x i8> %ubyte1, %ubyte2
22 %test3 = icmp ugt <5 x i8> %ubyte1, %ubyte2
23 %test4 = icmp ule <5 x i8> %ubyte1, %ubyte2
24 %test5 = icmp ult <5 x i8> %ubyte1, %ubyte2
25 %test6 = icmp ne <5 x i8> %ubyte1, %ubyte2
26 %test7 = icmp eq <4 x i16> %ushort1, %ushort2
27 %test8 = icmp uge <4 x i16> %ushort1, %ushort2
28 %test9 = icmp ugt <4 x i16> %ushort1, %ushort2
29 %test10 = icmp ule <4 x i16> %ushort1, %ushort2
[all …]
/external/llvm/test/Transforms/InstCombine/
Dicmp-shr.ll6 ; CHECK-NEXT: icmp ugt i8 %a, 6
9 %cmp = icmp eq i8 %shr, 0
14 ; CHECK-NEXT: icmp ugt i8 %a, 6
17 %cmp = icmp eq i8 %shr, 0
22 ; CHECK-NEXT: icmp ult i8 %a, 7
25 %cmp = icmp ne i8 %shr, 0
30 ; CHECK-NEXT: icmp ult i8 %a, 7
33 %cmp = icmp ne i8 %shr, 0
38 ; CHECK-NEXT: icmp eq i8 %a, 0
41 %cmp = icmp eq i8 %shr, 128
[all …]
Drange-check.ll4 ; (icmp sgt x, -1) & (icmp sgt/sge n, x) --> icmp ugt/uge n, x
7 ; CHECK: [[R:%[0-9]+]] = icmp ugt i32 %nn, %x
11 %a = icmp sge i32 %x, 0
12 %b = icmp slt i32 %x, %nn
18 ; CHECK: [[R:%[0-9]+]] = icmp uge i32 %nn, %x
22 %a = icmp sgt i32 %x, -1
23 %b = icmp sle i32 %x, %nn
29 ; CHECK: [[R:%[0-9]+]] = icmp ugt i32 %nn, %x
33 %a = icmp sgt i32 %nn, %x
34 %b = icmp sge i32 %x, 0
[all …]
Dicmp-logical.ll6 ; CHECK: icmp ne i32 [[MASK]], 0
11 %tst1 = icmp ne i32 %mask1, 0
14 %tst2 = icmp ne i32 %mask2, 0
23 ; CHECK: icmp eq i32 [[MASK]], 0
28 %tst1 = icmp eq i32 %mask1, 0
31 %tst2 = icmp eq i32 %mask2, 0
40 ; CHECK: icmp ne i32 [[MASK]], 7
45 %tst1 = icmp ne i32 %mask1, 7
48 %tst2 = icmp ne i32 %mask2, 39
57 ; CHECK: icmp eq i32 [[MASK]], 7
[all …]
Dicmp.ll7 icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
17 icmp ult i32 %X, -2147483648 ; <i1>:0 [#uses=1]
28 icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
38 icmp ult i32 %X, -2147483648 ; <i1>:0 [#uses=1]
50 %V = icmp eq <2 x i64> %x, undef
57 %c = icmp sle i32 %a, -1
72 %b = icmp ult i32 %a, %x
75 ; CHECK: %b = icmp ne i32 %x, 0
82 %b = icmp eq i32 %a, %x
91 %b = icmp ugt i32 %x, %a
[all …]
D2004-11-27-SetCCForCastLargerAndConstant.ll4 ; %C = icmp ult i32 %Y, 1024
16 %C = icmp ult i32 %Y, 1024 ; <i1> [#uses=1]
18 ; CHECK: %C1 = icmp sgt i8 %SB, -1
24 %C = icmp slt i32 %Y, 1024 ; <i1> [#uses=1]
31 %C = icmp slt i32 %Y, -1024 ; <i1> [#uses=1]
38 %C = icmp ult i32 %Y, 17
40 ; CHECK: %C = icmp ult i8 %SB, 17
46 %C = icmp slt i32 %Y, 17 ; <i1> [#uses=1]
48 ; CHECK: %C = icmp slt i8 %SB, 17
53 %C = icmp slt i32 %Y, -17 ; <i1> [#uses=1]
[all …]
Dbit-checks.ll9 %tobool = icmp ne i32 %and, 0 ; <i1> [#uses=1]
11 %tobool3 = icmp ne i32 %and2, 0 ; <i1> [#uses=1]
20 %tobool = icmp eq i32 %and, 0 ; <i1> [#uses=1]
22 %tobool3 = icmp eq i32 %and2, 0 ; <i1> [#uses=1]
28 ; tests to check combining (icmp eq (A & B), C) & (icmp eq (A & D), E)
29 ; tests to check if (icmp eq (A & B), 0) is treated like (icmp eq (A & B), B)
32 ; (icmp eq (A & B), 0) & (icmp eq (A & D), 0) -> (icmp eq (A & (B|D)), 0)
36 %tobool = icmp eq i32 %and, 0 ; <i1> [#uses=1]
38 %tobool3 = icmp eq i32 %and2, 0 ; <i1> [#uses=1]
47 %tobool = icmp eq i32 %and, 0 ; <i1> [#uses=1]
[all …]
Dsign-test-and-or.ll6 %1 = icmp slt i32 %a, 0
7 %2 = icmp slt i32 %b, 0
13 ; CHECK-NEXT: %2 = icmp slt i32 %1, 0
25 %1 = icmp sgt i32 %a, -1
26 %2 = icmp sgt i32 %b, -1
32 ; CHECK-NEXT: %2 = icmp sgt i32 %1, -1
44 %1 = icmp slt i32 %a, 0
45 %2 = icmp slt i32 %b, 0
51 ; CHECK-NEXT: %2 = icmp slt i32 %1, 0
63 %1 = icmp sgt i32 %a, -1
[all …]
Dabs_abs.ll4 %cmp = icmp sgt i32 %x, -1
7 %cmp1 = icmp sgt i32 %cond, -1
12 ; CHECK-NEXT: [[CMP:%[a-z0-9]+]] = icmp sgt i32 %x, -1
19 %cmp = icmp sgt i32 %x, 0
22 %cmp1 = icmp sgt i32 %cond, -1
27 ; CHECK-NEXT: [[CMP:%[a-z0-9]+]] = icmp sgt i32 %x, 0
34 %cmp = icmp slt i32 %x, 0
37 %cmp1 = icmp sgt i32 %cond, -1
42 ; CHECK-NEXT: [[CMP:%[a-z0-9]+]] = icmp slt i32 %x, 0
49 %cmp = icmp slt i32 %x, 1
[all …]
Dset.ll3 ; RUN: opt < %s -instcombine -S | not grep icmp
9 %B = icmp eq i32 %A, %A ; <i1> [#uses=1]
11 %C = icmp eq i32* @X, null ; <i1> [#uses=1]
17 %B = icmp ne i32 %A, %A ; <i1> [#uses=1]
19 %C = icmp ne i32* @X, null ; <i1> [#uses=1]
25 %B = icmp slt i32 %A, %A ; <i1> [#uses=1]
31 %B = icmp sgt i32 %A, %A ; <i1> [#uses=1]
36 %B = icmp sle i32 %A, %A ; <i1> [#uses=1]
41 %B = icmp sge i32 %A, %A ; <i1> [#uses=1]
47 %B = icmp uge i32 %A, 0 ; <i1> [#uses=1]
[all …]
Dminmax-fold.ll4 ; CHECK-NEXT: icmp
9 %1 = icmp slt i32 %a, 5
16 ; CHECK-NEXT: icmp
21 %1 = icmp slt i32 %a, 5
28 ; CHECK-NEXT: icmp
33 %1 = icmp ult i32 %a, 5
40 ; CHECK-NEXT: icmp
45 %1 = icmp slt i64 %a, 5
52 ; CHECK-NEXT: icmp
56 ; Same as @t3, but with mismatched signedness between icmp and zext.
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dcmp.ll33 ;AVX1: cost of 1 {{.*}} icmp
34 ;AVX2: cost of 1 {{.*}} icmp
35 %F = icmp eq <16 x i8> undef, undef
36 ;AVX1: cost of 1 {{.*}} icmp
37 ;AVX2: cost of 1 {{.*}} icmp
38 %G = icmp eq <8 x i16> undef, undef
39 ;AVX1: cost of 1 {{.*}} icmp
40 ;AVX2: cost of 1 {{.*}} icmp
41 %H = icmp eq <4 x i32> undef, undef
42 ;AVX1: cost of 1 {{.*}} icmp
[all …]
/external/llvm/test/Transforms/InstSimplify/
Dmaxmin.ll5 %c = icmp sgt i32 %x, %y
7 %r = icmp slt i32 %m, %x
14 %c = icmp sge i32 %x, %y
16 %r = icmp sge i32 %m, %x
23 %c = icmp ugt i32 %x, %y
25 %r = icmp ult i32 %m, %x
32 %c = icmp uge i32 %x, %y
34 %r = icmp uge i32 %m, %x
41 %c = icmp sgt i32 %x, %y
43 %r = icmp sgt i32 %x, %m
[all …]
Dimplies.ll7 %var29 = icmp slt i32 %i, %length.i
8 %res = icmp uge i1 %var29, %var29
17 %var29 = icmp slt i32 %i, %length.i
18 %var30 = icmp slt i32 %iplus1, %length.i
19 %res = icmp ule i1 %var30, %var29
28 %var29 = icmp slt i32 %i, %length.i
29 %var30 = icmp slt i32 %iplus1, %length.i
30 %res = icmp ule i1 %var30, %var29
39 %var29 = icmp slt i32 %i, %length.i
40 %var30 = icmp slt i32 %iplus1, %length.i
[all …]
DAndOrXor.ll35 %2 = icmp ult i32 %1, 4
36 %cmp3 = icmp sgt i32 %b, 2
45 %2 = icmp slt i32 %1, 4
46 %cmp3 = icmp sgt i32 %b, 2
55 %2 = icmp ule i32 %1, 3
56 %cmp3 = icmp sgt i32 %b, 2
65 %2 = icmp sle i32 %1, 3
66 %cmp3 = icmp sgt i32 %b, 2
75 %2 = icmp ult i32 %1, 4
76 %cmp3 = icmp ugt i32 %b, 2
[all …]
Dshr-nop.ll18 %cmp = icmp eq i8 %shr, 0
26 %cmp = icmp eq i8 %shr, 0
34 %cmp = icmp eq i8 %shr, 0
42 %cmp = icmp ne i8 %shr, 0
50 %cmp = icmp ne i8 %shr, 0
58 %cmp = icmp ne i8 %shr, 0
66 %cmp = icmp ne i8 %shr, 0
74 %cmp = icmp eq i8 %shr, 0
82 %cmp = icmp eq i8 %shr, 0
90 %cmp = icmp eq i8 %shr, 0
[all …]
Dcompare.ll8 %r = icmp eq i32 %tmp, 0
19 %cmp = icmp eq i8* %x, %y
28 %cmp = icmp eq i8* %x, null
38 %cmp = icmp eq i8* %x, %y
53 %equal = icmp eq i32* %a, %b
63 %equal = icmp eq i32* %a, %b
73 %equal = icmp eq i32* %a, %b
83 %equal = icmp eq i32* %a, %b
92 %equal = icmp eq i32* %a, %b
101 %equal = icmp ugt %gept* %a, %b
[all …]
/external/llvm/test/Transforms/LoopStrengthReduce/
D2011-10-13-SCEVChain.ll12 ; CHECK: icmp
13 ; CHECK: icmp
14 ; CHECK: icmp
15 ; CHECK: icmp
16 ; CHECK: icmp
17 ; CHECK: icmp
18 ; CHECK: icmp
19 ; CHECK: icmp
20 ; CHECK: icmp
21 ; CHECK: icmp
[all …]
/external/llvm/test/Transforms/ConstProp/
Dconstant-expr.ll7 @A = global i1 add (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
8 ; CHECK: @A = global i1 xor (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
9 @B = global i1 sub (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z)), align 2
10 ; CHECK: @B = global i1 xor (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
11 @C = global i1 mul (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
12 ; CHECK: @C = global i1 and (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
14 @D = global i1 sdiv (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
15 ; CHECK: @D = global i1 icmp ult (i8* @X, i8* @Y)
16 @E = global i1 udiv (i1 icmp ult (i8* @X, i8* @Y), i1 icmp ult (i8* @X, i8* @Z))
17 ; CHECK: @E = global i1 icmp ult (i8* @X, i8* @Y)
[all …]
/external/llvm/test/CodeGen/Mips/
Dselpat.ll17 %cmp = icmp eq i32 %0, %1
27 %cmp6 = icmp eq i32 %4, %0
38 %cmp = icmp eq i32 %0, 1
46 %cmp1 = icmp eq i32 %0, 10
50 %cmp6 = icmp eq i32 %3, 3
56 %cmp11 = icmp eq i32 %3, 10
65 %cmp = icmp eq i32 %0, 0
73 %cmp1 = icmp eq i32 %3, 0
77 %cmp6 = icmp eq i32 %4, 0
88 %cmp = icmp sge i32 %0, %1
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll8 %smin.cmp = icmp slt i32 %a_len, %n
10 %entry.cond = icmp slt i32 0, %smin
16 %in.bounds = icmp slt i32 %idx, %a_len
26 %be.cond = icmp slt i32 %idx.inc, %smin
36 %smin.cmp = icmp slt i32 %a_len, %n
38 %entry.cond = icmp slt i32 0, %smin
44 %in.bounds = icmp sgt i32 %a_len, %idx
54 %be.cond = icmp slt i32 %idx.inc, %smin
64 %smin.cmp = icmp slt i32 42, %n
66 %entry.cond = icmp slt i32 0, %smin
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
Dswitch_create.ll9 %C1 = icmp eq i32 %V, 4 ; <i1> [#uses=1]
10 %C2 = icmp eq i32 %V, 17 ; <i1> [#uses=1]
27 %C1 = icmp eq i32* %V, inttoptr (i32 4 to i32*)
28 %C2 = icmp eq i32* %V, inttoptr (i32 17 to i32*)
46 %C1 = icmp eq i32 addrspace(1)* %V, inttoptr (i32 4 to i32 addrspace(1)*)
47 %C2 = icmp eq i32 addrspace(1)* %V, inttoptr (i32 17 to i32 addrspace(1)*)
65 %C1 = icmp ne i32 %V, 4 ; <i1> [#uses=1]
66 %C2 = icmp ne i32 %V, 17 ; <i1> [#uses=1]
83 %C1 = icmp eq i32 %V, 4 ; <i1> [#uses=1]
86 %C2 = icmp eq i32 %V, 17 ; <i1> [#uses=1]
[all …]
/external/llvm/test/Transforms/CorrelatedValuePropagation/
Drange.ll7 %cmp = icmp ult i32 %a.off, 8
11 %dead = icmp eq i32 %a, 7
27 %cmp = icmp ult i32 %a.off, 8
31 %dead = icmp ugt i32 %a, 15
47 %cmp = icmp slt i32 %c, 2
54 %cmp1 = icmp slt i32 %c, 3
59 %cmp2 = icmp eq i32 %c, 2
84 %cmp = icmp sge i32 %c, 1
104 %cmp = icmp slt i32 %c, 5
108 %cmp1 = icmp eq i32 %c, 4
[all …]

12345678910>>...123