• Home
  • Raw
  • Download

Lines Matching refs:cmp

6 ; CHECK:       cmp w0, #31
8 %cmp = icmp eq i32 %a, 31
9 %conv = zext i1 %cmp to i32
18 %cmp = icmp eq i32 %a, -7
19 %conv = zext i1 %cmp to i32
26 ; CHECK: cmp w0, w1
28 %cmp = icmp eq i32 %a, %b
29 %conv = zext i1 %cmp to i32
36 ; CHECK: cmp w0, w1
38 %cmp = icmp ne i32 %a, %b
39 %conv = zext i1 %cmp to i32
46 ; CHECK: cmp x0, #0
48 %cmp = icmp eq i8* %a, null
49 %conv = zext i1 %cmp to i32
56 ; CHECK: cmp x0, #0
58 %cmp = icmp ne i8* %a, null
59 %conv = zext i1 %cmp to i32
66 ; CHECK: cmp w0, w1
68 %cmp = icmp ugt i32 %a, %b
69 %conv = zext i1 %cmp to i32
76 ; CHECK: cmp w0, w1
78 %cmp = icmp uge i32 %a, %b
79 %conv = zext i1 %cmp to i32
86 ; CHECK: cmp w0, w1
88 %cmp = icmp ult i32 %a, %b
89 %conv = zext i1 %cmp to i32
96 ; CHECK: cmp w0, w1
98 %cmp = icmp ule i32 %a, %b
99 %conv = zext i1 %cmp to i32
106 ; CHECK: cmp w0, w1
108 %cmp = icmp sgt i32 %a, %b
109 %conv = zext i1 %cmp to i32
116 ; CHECK: cmp w0, w1
118 %cmp = icmp sge i32 %a, %b
119 %conv = zext i1 %cmp to i32
126 ; CHECK: cmp w0, w1
128 %cmp = icmp slt i32 %a, %b
129 %conv = zext i1 %cmp to i32
136 ; CHECK: cmp w0, w1
138 %cmp = icmp sle i32 %a, %b
139 %conv = zext i1 %cmp to i32
146 ; CHECK: cmp x0, x1
148 %cmp = icmp sle i64 %a, %b
149 %conv = zext i1 %cmp to i32
157 ; CHECK: cmp w0, w1, sxth
159 %cmp = icmp eq i16 %a, %b
160 ret i1 %cmp
167 ; CHECK-NEXT: cmp w0, w1, sxtb
169 %cmp = icmp eq i8 %a, %b
170 ret i1 %cmp
177 ; CHECK-NEXT: cmp w0, w1, uxth
179 %cmp = icmp ult i16 %a, %b
180 %conv2 = zext i1 %cmp to i32
188 ; CHECK-NEXT: cmp w0, w1, sxtb
190 %cmp = icmp sgt i8 %a, %b
191 %conv2 = zext i1 %cmp to i32
200 ; CHECK-NEXT: cmp [[REG1]], [[REG2]]
202 %cmp = icmp sgt i1 %a, %b
203 %conv2 = zext i1 %cmp to i32
214 %cmp = icmp slt i16 %a, -233
215 %conv2 = zext i1 %cmp to i32
223 ; CHECK-NEXT: cmp w0, #124
226 %cmp = icmp sgt i8 %a, 124
227 %conv2 = zext i1 %cmp to i32
235 ; CHECK-NEXT: cmp w0, #0
238 %cmp = icmp ult i1 %a, 0
239 %conv2 = zext i1 %cmp to i32