Lines Matching refs:half

4 @varhalf = global half 0.0
6 define void @test_vsel32sgt(i32 %lhs, i32 %rhs, half* %a_ptr, half* %b_ptr) {
17 %a = load volatile half, half* %a_ptr
18 %b = load volatile half, half* %b_ptr
20 %val1 = select i1 %tst1, half %a, half %b
21 store half %val1, half* @varhalf
25 define void @test_vsel32sge(i32 %lhs, i32 %rhs, half* %a_ptr, half* %b_ptr) {
36 %a = load volatile half, half* %a_ptr
37 %b = load volatile half, half* %b_ptr
39 %val1 = select i1 %tst1, half %a, half %b
40 store half %val1, half* @varhalf
44 define void @test_vsel32eq(i32 %lhs, i32 %rhs, half* %a_ptr, half* %b_ptr) {
55 %a = load volatile half, half* %a_ptr
56 %b = load volatile half, half* %b_ptr
58 %val1 = select i1 %tst1, half %a, half %b
59 store half %val1, half* @varhalf
63 define void @test_vsel32slt(i32 %lhs, i32 %rhs, half* %a_ptr, half* %b_ptr) {
74 %a = load volatile half, half* %a_ptr
75 %b = load volatile half, half* %b_ptr
77 %val1 = select i1 %tst1, half %a, half %b
78 store half %val1, half* @varhalf
82 define void @test_vsel32sle(i32 %lhs, i32 %rhs, half* %a_ptr, half* %b_ptr) {
93 %a = load volatile half, half* %a_ptr
94 %b = load volatile half, half* %b_ptr
96 %val1 = select i1 %tst1, half %a, half %b
97 store half %val1, half* @varhalf
101 define void @test_vsel32ogt(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
115 %a = load volatile half, half* %a_ptr
116 %b = load volatile half, half* %b_ptr
117 %lhs = load volatile half, half* %lhs_ptr
118 %rhs = load volatile half, half* %rhs_ptr
119 %tst1 = fcmp ogt half %lhs, %rhs
120 %val1 = select i1 %tst1, half %a, half %b
121 store half %val1, half* @varhalf
125 define void @test_vsel32oge(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
139 %a = load volatile half, half* %a_ptr
140 %b = load volatile half, half* %b_ptr
141 %lhs = load volatile half, half* %lhs_ptr
142 %rhs = load volatile half, half* %rhs_ptr
143 %tst1 = fcmp oge half %lhs, %rhs
144 %val1 = select i1 %tst1, half %a, half %b
145 store half %val1, half* @varhalf
149 define void @test_vsel32oeq(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
163 %a = load volatile half, half* %a_ptr
164 %b = load volatile half, half* %b_ptr
165 %lhs = load volatile half, half* %lhs_ptr
166 %rhs = load volatile half, half* %rhs_ptr
167 %tst1 = fcmp oeq half %lhs, %rhs
168 %val1 = select i1 %tst1, half %a, half %b
169 store half %val1, half* @varhalf
173 define void @test_vsel32ugt(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
187 %a = load volatile half, half* %a_ptr
188 %b = load volatile half, half* %b_ptr
189 %lhs = load volatile half, half* %lhs_ptr
190 %rhs = load volatile half, half* %rhs_ptr
191 %tst1 = fcmp ugt half %lhs, %rhs
192 %val1 = select i1 %tst1, half %a, half %b
193 store half %val1, half* @varhalf
197 define void @test_vsel32uge(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
211 %a = load volatile half, half* %a_ptr
212 %b = load volatile half, half* %b_ptr
213 %lhs = load volatile half, half* %lhs_ptr
214 %rhs = load volatile half, half* %rhs_ptr
215 %tst1 = fcmp uge half %lhs, %rhs
216 %val1 = select i1 %tst1, half %a, half %b
217 store half %val1, half* @varhalf
221 define void @test_vsel32olt(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
235 %a = load volatile half, half* %a_ptr
236 %b = load volatile half, half* %b_ptr
237 %lhs = load volatile half, half* %lhs_ptr
238 %rhs = load volatile half, half* %rhs_ptr
239 %tst1 = fcmp olt half %lhs, %rhs
240 %val1 = select i1 %tst1, half %a, half %b
241 store half %val1, half* @varhalf
245 define void @test_vsel32ult(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
259 %a = load volatile half, half* %a_ptr
260 %b = load volatile half, half* %b_ptr
261 %lhs = load volatile half, half* %lhs_ptr
262 %rhs = load volatile half, half* %rhs_ptr
263 %tst1 = fcmp ult half %lhs, %rhs
264 %val1 = select i1 %tst1, half %a, half %b
265 store half %val1, half* @varhalf
269 define void @test_vsel32ole(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
283 %a = load volatile half, half* %a_ptr
284 %b = load volatile half, half* %b_ptr
285 %lhs = load volatile half, half* %lhs_ptr
286 %rhs = load volatile half, half* %rhs_ptr
287 %tst1 = fcmp ole half %lhs, %rhs
288 %val1 = select i1 %tst1, half %a, half %b
289 store half %val1, half* @varhalf
293 define void @test_vsel32ule(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
307 %a = load volatile half, half* %a_ptr
308 %b = load volatile half, half* %b_ptr
309 %lhs = load volatile half, half* %lhs_ptr
310 %rhs = load volatile half, half* %rhs_ptr
311 %tst1 = fcmp ule half %lhs, %rhs
312 %val1 = select i1 %tst1, half %a, half %b
313 store half %val1, half* @varhalf
317 define void @test_vsel32ord(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
331 %a = load volatile half, half* %a_ptr
332 %b = load volatile half, half* %b_ptr
333 %lhs = load volatile half, half* %lhs_ptr
334 %rhs = load volatile half, half* %rhs_ptr
335 %tst1 = fcmp ord half %lhs, %rhs
336 %val1 = select i1 %tst1, half %a, half %b
337 store half %val1, half* @varhalf
341 define void @test_vsel32une(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
355 %a = load volatile half, half* %a_ptr
356 %b = load volatile half, half* %b_ptr
357 %lhs = load volatile half, half* %lhs_ptr
358 %rhs = load volatile half, half* %rhs_ptr
359 %tst1 = fcmp une half %lhs, %rhs
360 %val1 = select i1 %tst1, half %a, half %b
361 store half %val1, half* @varhalf
365 define void @test_vsel32uno(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
379 %a = load volatile half, half* %a_ptr
380 %b = load volatile half, half* %b_ptr
381 %lhs = load volatile half, half* %lhs_ptr
382 %rhs = load volatile half, half* %rhs_ptr
383 %tst1 = fcmp uno half %lhs, %rhs
384 %val1 = select i1 %tst1, half %a, half %b
385 store half %val1, half* @varhalf
390 define void @test_vsel32ogt_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
404 %a = load volatile half, half* %a_ptr
405 %b = load volatile half, half* %b_ptr
406 %lhs = load volatile half, half* %lhs_ptr
407 %rhs = load volatile half, half* %rhs_ptr
408 %tst1 = fcmp nnan ogt half %lhs, %rhs
409 %val1 = select i1 %tst1, half %a, half %b
410 store half %val1, half* @varhalf
414 define void @test_vsel32oge_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
428 %a = load volatile half, half* %a_ptr
429 %b = load volatile half, half* %b_ptr
430 %lhs = load volatile half, half* %lhs_ptr
431 %rhs = load volatile half, half* %rhs_ptr
432 %tst1 = fcmp nnan oge half %lhs, %rhs
433 %val1 = select i1 %tst1, half %a, half %b
434 store half %val1, half* @varhalf
438 define void @test_vsel32oeq_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
452 %a = load volatile half, half* %a_ptr
453 %b = load volatile half, half* %b_ptr
454 %lhs = load volatile half, half* %lhs_ptr
455 %rhs = load volatile half, half* %rhs_ptr
456 %tst1 = fcmp nnan oeq half %lhs, %rhs
457 %val1 = select i1 %tst1, half %a, half %b
458 store half %val1, half* @varhalf
462 define void @test_vsel32ugt_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
476 %a = load volatile half, half* %a_ptr
477 %b = load volatile half, half* %b_ptr
478 %lhs = load volatile half, half* %lhs_ptr
479 %rhs = load volatile half, half* %rhs_ptr
480 %tst1 = fcmp nnan ugt half %lhs, %rhs
481 %val1 = select i1 %tst1, half %a, half %b
482 store half %val1, half* @varhalf
486 define void @test_vsel32uge_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
500 %a = load volatile half, half* %a_ptr
501 %b = load volatile half, half* %b_ptr
502 %lhs = load volatile half, half* %lhs_ptr
503 %rhs = load volatile half, half* %rhs_ptr
504 %tst1 = fcmp nnan uge half %lhs, %rhs
505 %val1 = select i1 %tst1, half %a, half %b
506 store half %val1, half* @varhalf
510 define void @test_vsel32olt_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
524 %a = load volatile half, half* %a_ptr
525 %b = load volatile half, half* %b_ptr
526 %lhs = load volatile half, half* %lhs_ptr
527 %rhs = load volatile half, half* %rhs_ptr
528 %tst1 = fcmp nnan olt half %lhs, %rhs
529 %val1 = select i1 %tst1, half %a, half %b
530 store half %val1, half* @varhalf
534 define void @test_vsel32ult_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
548 %a = load volatile half, half* %a_ptr
549 %b = load volatile half, half* %b_ptr
550 %lhs = load volatile half, half* %lhs_ptr
551 %rhs = load volatile half, half* %rhs_ptr
552 %tst1 = fcmp nnan ult half %lhs, %rhs
553 %val1 = select i1 %tst1, half %a, half %b
554 store half %val1, half* @varhalf
558 define void @test_vsel32ole_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
572 %a = load volatile half, half* %a_ptr
573 %b = load volatile half, half* %b_ptr
574 %lhs = load volatile half, half* %lhs_ptr
575 %rhs = load volatile half, half* %rhs_ptr
576 %tst1 = fcmp nnan ole half %lhs, %rhs
577 %val1 = select i1 %tst1, half %a, half %b
578 store half %val1, half* @varhalf
582 define void @test_vsel32ule_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
596 %a = load volatile half, half* %a_ptr
597 %b = load volatile half, half* %b_ptr
598 %lhs = load volatile half, half* %lhs_ptr
599 %rhs = load volatile half, half* %rhs_ptr
600 %tst1 = fcmp nnan ule half %lhs, %rhs
601 %val1 = select i1 %tst1, half %a, half %b
602 store half %val1, half* @varhalf
606 define void @test_vsel32ord_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
620 %a = load volatile half, half* %a_ptr
621 %b = load volatile half, half* %b_ptr
622 %lhs = load volatile half, half* %lhs_ptr
623 %rhs = load volatile half, half* %rhs_ptr
624 %tst1 = fcmp nnan ord half %lhs, %rhs
625 %val1 = select i1 %tst1, half %a, half %b
626 store half %val1, half* @varhalf
630 define void @test_vsel32une_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
644 %a = load volatile half, half* %a_ptr
645 %b = load volatile half, half* %b_ptr
646 %lhs = load volatile half, half* %lhs_ptr
647 %rhs = load volatile half, half* %rhs_ptr
648 %tst1 = fcmp nnan une half %lhs, %rhs
649 %val1 = select i1 %tst1, half %a, half %b
650 store half %val1, half* @varhalf
654 define void @test_vsel32uno_nnan(half* %lhs_ptr, half* %rhs_ptr, half* %a_ptr, half* %b_ptr) {
668 %a = load volatile half, half* %a_ptr
669 %b = load volatile half, half* %b_ptr
670 %lhs = load volatile half, half* %lhs_ptr
671 %rhs = load volatile half, half* %rhs_ptr
672 %tst1 = fcmp nnan uno half %lhs, %rhs
673 %val1 = select i1 %tst1, half %a, half %b
674 store half %val1, half* @varhalf