builtins-hvx64.c 32.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
// REQUIRES: hexagon-registered-target
// RUN: %clang_cc1 -triple hexagon-unknown-elf -target-cpu hexagonv65 -target-feature +hvxv65 -target-feature +hvx-length64b -emit-llvm %s -o - | FileCheck %s

void test() {
  int q64 __attribute__((__vector_size__(64)));
  int v64 __attribute__((__vector_size__(64)));
  int v128 __attribute__((__vector_size__(128)));

  // CHECK: @llvm.hexagon.V6.extractw
  __builtin_HEXAGON_V6_extractw(v64, 0);
  // CHECK: @llvm.hexagon.V6.hi
  __builtin_HEXAGON_V6_hi(v128);
  // CHECK: @llvm.hexagon.V6.lo
  __builtin_HEXAGON_V6_lo(v128);
  // CHECK: @llvm.hexagon.V6.lvsplatb
  __builtin_HEXAGON_V6_lvsplatb(0);
  // CHECK: @llvm.hexagon.V6.lvsplath
  __builtin_HEXAGON_V6_lvsplath(0);
  // CHECK: @llvm.hexagon.V6.lvsplatw
  __builtin_HEXAGON_V6_lvsplatw(0);
  // CHECK: @llvm.hexagon.V6.pred.and
  __builtin_HEXAGON_V6_pred_and(q64, q64);
  // CHECK: @llvm.hexagon.V6.pred.and.n
  __builtin_HEXAGON_V6_pred_and_n(q64, q64);
  // CHECK: @llvm.hexagon.V6.pred.not
  __builtin_HEXAGON_V6_pred_not(q64);
  // CHECK: @llvm.hexagon.V6.pred.or
  __builtin_HEXAGON_V6_pred_or(q64, q64);
  // CHECK: @llvm.hexagon.V6.pred.or.n
  __builtin_HEXAGON_V6_pred_or_n(q64, q64);
  // CHECK: @llvm.hexagon.V6.pred.scalar2
  __builtin_HEXAGON_V6_pred_scalar2(0);
  // CHECK: @llvm.hexagon.V6.pred.scalar2v2
  __builtin_HEXAGON_V6_pred_scalar2v2(0);
  // CHECK: @llvm.hexagon.V6.pred.xor
  __builtin_HEXAGON_V6_pred_xor(q64, q64);
  // CHECK: @llvm.hexagon.V6.shuffeqh
  __builtin_HEXAGON_V6_shuffeqh(q64, q64);
  // CHECK: @llvm.hexagon.V6.shuffeqw
  __builtin_HEXAGON_V6_shuffeqw(q64, q64);
  // CHECK: @llvm.hexagon.V6.vS32b.nqpred.ai
  __builtin_HEXAGON_V6_vS32b_nqpred_ai(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vS32b.nt.nqpred.ai
  __builtin_HEXAGON_V6_vS32b_nt_nqpred_ai(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vS32b.nt.qpred.ai
  __builtin_HEXAGON_V6_vS32b_nt_qpred_ai(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vS32b.qpred.ai
  __builtin_HEXAGON_V6_vS32b_qpred_ai(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vabsb
  __builtin_HEXAGON_V6_vabsb(v64);
  // CHECK: @llvm.hexagon.V6.vabsb.sat
  __builtin_HEXAGON_V6_vabsb_sat(v64);
  // CHECK: @llvm.hexagon.V6.vabsdiffh
  __builtin_HEXAGON_V6_vabsdiffh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vabsdiffub
  __builtin_HEXAGON_V6_vabsdiffub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vabsdiffuh
  __builtin_HEXAGON_V6_vabsdiffuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vabsdiffw
  __builtin_HEXAGON_V6_vabsdiffw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vabsh
  __builtin_HEXAGON_V6_vabsh(v64);
  // CHECK: @llvm.hexagon.V6.vabsh.sat
  __builtin_HEXAGON_V6_vabsh_sat(v64);
  // CHECK: @llvm.hexagon.V6.vabsw
  __builtin_HEXAGON_V6_vabsw(v64);
  // CHECK: @llvm.hexagon.V6.vabsw.sat
  __builtin_HEXAGON_V6_vabsw_sat(v64);
  // CHECK: @llvm.hexagon.V6.vaddb
  __builtin_HEXAGON_V6_vaddb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddb.dv
  __builtin_HEXAGON_V6_vaddb_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddbnq
  __builtin_HEXAGON_V6_vaddbnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddbq
  __builtin_HEXAGON_V6_vaddbq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddbsat
  __builtin_HEXAGON_V6_vaddbsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddbsat.dv
  __builtin_HEXAGON_V6_vaddbsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddcarry
  __builtin_HEXAGON_V6_vaddcarry(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vaddclbh
  __builtin_HEXAGON_V6_vaddclbh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddclbw
  __builtin_HEXAGON_V6_vaddclbw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddh
  __builtin_HEXAGON_V6_vaddh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddh.dv
  __builtin_HEXAGON_V6_vaddh_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddhnq
  __builtin_HEXAGON_V6_vaddhnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddhq
  __builtin_HEXAGON_V6_vaddhq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddhsat
  __builtin_HEXAGON_V6_vaddhsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddhsat.dv
  __builtin_HEXAGON_V6_vaddhsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddhw
  __builtin_HEXAGON_V6_vaddhw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddhw.acc
  __builtin_HEXAGON_V6_vaddhw_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddubh
  __builtin_HEXAGON_V6_vaddubh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddubh.acc
  __builtin_HEXAGON_V6_vaddubh_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddubsat
  __builtin_HEXAGON_V6_vaddubsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddubsat.dv
  __builtin_HEXAGON_V6_vaddubsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddububb.sat
  __builtin_HEXAGON_V6_vaddububb_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vadduhsat
  __builtin_HEXAGON_V6_vadduhsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vadduhsat.dv
  __builtin_HEXAGON_V6_vadduhsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vadduhw
  __builtin_HEXAGON_V6_vadduhw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vadduhw.acc
  __builtin_HEXAGON_V6_vadduhw_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vadduwsat
  __builtin_HEXAGON_V6_vadduwsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vadduwsat.dv
  __builtin_HEXAGON_V6_vadduwsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddw
  __builtin_HEXAGON_V6_vaddw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddw.dv
  __builtin_HEXAGON_V6_vaddw_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vaddwnq
  __builtin_HEXAGON_V6_vaddwnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddwq
  __builtin_HEXAGON_V6_vaddwq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddwsat
  __builtin_HEXAGON_V6_vaddwsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaddwsat.dv
  __builtin_HEXAGON_V6_vaddwsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.valignb
  __builtin_HEXAGON_V6_valignb(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.valignbi
  __builtin_HEXAGON_V6_valignbi(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vand
  __builtin_HEXAGON_V6_vand(v64, v64);
  // CHECK: @llvm.hexagon.V6.vandnqrt
  __builtin_HEXAGON_V6_vandnqrt(q64, 0);
  // CHECK: @llvm.hexagon.V6.vandnqrt.acc
  __builtin_HEXAGON_V6_vandnqrt_acc(v64, q64, 0);
  // CHECK: @llvm.hexagon.V6.vandqrt
  __builtin_HEXAGON_V6_vandqrt(q64, 0);
  // CHECK: @llvm.hexagon.V6.vandqrt.acc
  __builtin_HEXAGON_V6_vandqrt_acc(v64, q64, 0);
  // CHECK: @llvm.hexagon.V6.vandvnqv
  __builtin_HEXAGON_V6_vandvnqv(q64, v64);
  // CHECK: @llvm.hexagon.V6.vandvqv
  __builtin_HEXAGON_V6_vandvqv(q64, v64);
  // CHECK: @llvm.hexagon.V6.vandvrt
  __builtin_HEXAGON_V6_vandvrt(v64, 0);
  // CHECK: @llvm.hexagon.V6.vandvrt.acc
  __builtin_HEXAGON_V6_vandvrt_acc(q64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vaslh
  __builtin_HEXAGON_V6_vaslh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vaslh.acc
  __builtin_HEXAGON_V6_vaslh_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vaslhv
  __builtin_HEXAGON_V6_vaslhv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vaslw
  __builtin_HEXAGON_V6_vaslw(v64, 0);
  // CHECK: @llvm.hexagon.V6.vaslw.acc
  __builtin_HEXAGON_V6_vaslw_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vaslwv
  __builtin_HEXAGON_V6_vaslwv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vasrh
  __builtin_HEXAGON_V6_vasrh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrh.acc
  __builtin_HEXAGON_V6_vasrh_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrhbrndsat
  __builtin_HEXAGON_V6_vasrhbrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrhbsat
  __builtin_HEXAGON_V6_vasrhbsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrhubrndsat
  __builtin_HEXAGON_V6_vasrhubrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrhubsat
  __builtin_HEXAGON_V6_vasrhubsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrhv
  __builtin_HEXAGON_V6_vasrhv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vasruhubrndsat
  __builtin_HEXAGON_V6_vasruhubrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasruhubsat
  __builtin_HEXAGON_V6_vasruhubsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasruwuhrndsat
  __builtin_HEXAGON_V6_vasruwuhrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasruwuhsat
  __builtin_HEXAGON_V6_vasruwuhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrw
  __builtin_HEXAGON_V6_vasrw(v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrw.acc
  __builtin_HEXAGON_V6_vasrw_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwh
  __builtin_HEXAGON_V6_vasrwh(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwhrndsat
  __builtin_HEXAGON_V6_vasrwhrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwhsat
  __builtin_HEXAGON_V6_vasrwhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwuhrndsat
  __builtin_HEXAGON_V6_vasrwuhrndsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwuhsat
  __builtin_HEXAGON_V6_vasrwuhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vasrwv
  __builtin_HEXAGON_V6_vasrwv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vassign
  __builtin_HEXAGON_V6_vassign(v64);
  // CHECK: @llvm.hexagon.V6.vassignp
  __builtin_HEXAGON_V6_vassignp(v128);
  // CHECK: @llvm.hexagon.V6.vavgb
  __builtin_HEXAGON_V6_vavgb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgbrnd
  __builtin_HEXAGON_V6_vavgbrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgh
  __builtin_HEXAGON_V6_vavgh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavghrnd
  __builtin_HEXAGON_V6_vavghrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgub
  __builtin_HEXAGON_V6_vavgub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgubrnd
  __builtin_HEXAGON_V6_vavgubrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavguh
  __builtin_HEXAGON_V6_vavguh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavguhrnd
  __builtin_HEXAGON_V6_vavguhrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavguw
  __builtin_HEXAGON_V6_vavguw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavguwrnd
  __builtin_HEXAGON_V6_vavguwrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgw
  __builtin_HEXAGON_V6_vavgw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vavgwrnd
  __builtin_HEXAGON_V6_vavgwrnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vcl0h
  __builtin_HEXAGON_V6_vcl0h(v64);
  // CHECK: @llvm.hexagon.V6.vcl0w
  __builtin_HEXAGON_V6_vcl0w(v64);
  // CHECK: @llvm.hexagon.V6.vcombine
  __builtin_HEXAGON_V6_vcombine(v64, v64);
  // CHECK: @llvm.hexagon.V6.vd0
  __builtin_HEXAGON_V6_vd0();
  // CHECK: @llvm.hexagon.V6.vdd0
  __builtin_HEXAGON_V6_vdd0();
  // CHECK: @llvm.hexagon.V6.vdealb
  __builtin_HEXAGON_V6_vdealb(v64);
  // CHECK: @llvm.hexagon.V6.vdealb4w
  __builtin_HEXAGON_V6_vdealb4w(v64, v64);
  // CHECK: @llvm.hexagon.V6.vdealh
  __builtin_HEXAGON_V6_vdealh(v64);
  // CHECK: @llvm.hexagon.V6.vdealvdd
  __builtin_HEXAGON_V6_vdealvdd(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vdelta
  __builtin_HEXAGON_V6_vdelta(v64, v64);
  // CHECK: @llvm.hexagon.V6.vdmpybus
  __builtin_HEXAGON_V6_vdmpybus(v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpybus.acc
  __builtin_HEXAGON_V6_vdmpybus_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpybus.dv
  __builtin_HEXAGON_V6_vdmpybus_dv(v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpybus.dv.acc
  __builtin_HEXAGON_V6_vdmpybus_dv_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhb
  __builtin_HEXAGON_V6_vdmpyhb(v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhb.acc
  __builtin_HEXAGON_V6_vdmpyhb_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhb.dv
  __builtin_HEXAGON_V6_vdmpyhb_dv(v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhb.dv.acc
  __builtin_HEXAGON_V6_vdmpyhb_dv_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhisat
  __builtin_HEXAGON_V6_vdmpyhisat(v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhisat.acc
  __builtin_HEXAGON_V6_vdmpyhisat_acc(v64, v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsat
  __builtin_HEXAGON_V6_vdmpyhsat(v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsat.acc
  __builtin_HEXAGON_V6_vdmpyhsat_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsuisat
  __builtin_HEXAGON_V6_vdmpyhsuisat(v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsuisat.acc
  __builtin_HEXAGON_V6_vdmpyhsuisat_acc(v64, v128, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsusat
  __builtin_HEXAGON_V6_vdmpyhsusat(v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhsusat.acc
  __builtin_HEXAGON_V6_vdmpyhsusat_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vdmpyhvsat
  __builtin_HEXAGON_V6_vdmpyhvsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vdmpyhvsat.acc
  __builtin_HEXAGON_V6_vdmpyhvsat_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vdsaduh
  __builtin_HEXAGON_V6_vdsaduh(v128, 0);
  // CHECK: @llvm.hexagon.V6.vdsaduh.acc
  __builtin_HEXAGON_V6_vdsaduh_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.veqb
  __builtin_HEXAGON_V6_veqb(v64, v64);
  // CHECK: @llvm.hexagon.V6.veqb.and
  __builtin_HEXAGON_V6_veqb_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqb.or
  __builtin_HEXAGON_V6_veqb_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqb.xor
  __builtin_HEXAGON_V6_veqb_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqh
  __builtin_HEXAGON_V6_veqh(v64, v64);
  // CHECK: @llvm.hexagon.V6.veqh.and
  __builtin_HEXAGON_V6_veqh_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqh.or
  __builtin_HEXAGON_V6_veqh_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqh.xor
  __builtin_HEXAGON_V6_veqh_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqw
  __builtin_HEXAGON_V6_veqw(v64, v64);
  // CHECK: @llvm.hexagon.V6.veqw.and
  __builtin_HEXAGON_V6_veqw_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqw.or
  __builtin_HEXAGON_V6_veqw_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.veqw.xor
  __builtin_HEXAGON_V6_veqw_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgathermh
  __builtin_HEXAGON_V6_vgathermh(0, 0, 0, v64);
  // CHECK: @llvm.hexagon.V6.vgathermhq
  __builtin_HEXAGON_V6_vgathermhq(0, q64, 0, 0, v64);
  // CHECK: @llvm.hexagon.V6.vgathermhw
  __builtin_HEXAGON_V6_vgathermhw(0, 0, 0, v128);
  // CHECK: @llvm.hexagon.V6.vgathermhwq
  __builtin_HEXAGON_V6_vgathermhwq(0, q64, 0, 0, v128);
  // CHECK: @llvm.hexagon.V6.vgathermw
  __builtin_HEXAGON_V6_vgathermw(0, 0, 0, v64);
  // CHECK: @llvm.hexagon.V6.vgathermwq
  __builtin_HEXAGON_V6_vgathermwq(0, q64, 0, 0, v64);
  // CHECK: @llvm.hexagon.V6.vgtb
  __builtin_HEXAGON_V6_vgtb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtb.and
  __builtin_HEXAGON_V6_vgtb_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtb.or
  __builtin_HEXAGON_V6_vgtb_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtb.xor
  __builtin_HEXAGON_V6_vgtb_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgth
  __builtin_HEXAGON_V6_vgth(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgth.and
  __builtin_HEXAGON_V6_vgth_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgth.or
  __builtin_HEXAGON_V6_vgth_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgth.xor
  __builtin_HEXAGON_V6_vgth_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtub
  __builtin_HEXAGON_V6_vgtub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtub.and
  __builtin_HEXAGON_V6_vgtub_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtub.or
  __builtin_HEXAGON_V6_vgtub_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtub.xor
  __builtin_HEXAGON_V6_vgtub_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuh
  __builtin_HEXAGON_V6_vgtuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuh.and
  __builtin_HEXAGON_V6_vgtuh_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuh.or
  __builtin_HEXAGON_V6_vgtuh_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuh.xor
  __builtin_HEXAGON_V6_vgtuh_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuw
  __builtin_HEXAGON_V6_vgtuw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuw.and
  __builtin_HEXAGON_V6_vgtuw_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuw.or
  __builtin_HEXAGON_V6_vgtuw_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtuw.xor
  __builtin_HEXAGON_V6_vgtuw_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtw
  __builtin_HEXAGON_V6_vgtw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtw.and
  __builtin_HEXAGON_V6_vgtw_and(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtw.or
  __builtin_HEXAGON_V6_vgtw_or(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vgtw.xor
  __builtin_HEXAGON_V6_vgtw_xor(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vinsertwr
  __builtin_HEXAGON_V6_vinsertwr(v64, 0);
  // CHECK: @llvm.hexagon.V6.vlalignb
  __builtin_HEXAGON_V6_vlalignb(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlalignbi
  __builtin_HEXAGON_V6_vlalignbi(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlsrb
  __builtin_HEXAGON_V6_vlsrb(v64, 0);
  // CHECK: @llvm.hexagon.V6.vlsrh
  __builtin_HEXAGON_V6_vlsrh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vlsrhv
  __builtin_HEXAGON_V6_vlsrhv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vlsrw
  __builtin_HEXAGON_V6_vlsrw(v64, 0);
  // CHECK: @llvm.hexagon.V6.vlsrwv
  __builtin_HEXAGON_V6_vlsrwv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vlut4
  __builtin_HEXAGON_V6_vlut4(v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvvb
  __builtin_HEXAGON_V6_vlutvvb(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvvb.nm
  __builtin_HEXAGON_V6_vlutvvb_nm(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvvb.oracc
  __builtin_HEXAGON_V6_vlutvvb_oracc(v64, v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvvb.oracci
  __builtin_HEXAGON_V6_vlutvvb_oracci(v64, v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvvbi
  __builtin_HEXAGON_V6_vlutvvbi(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvwh
  __builtin_HEXAGON_V6_vlutvwh(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvwh.nm
  __builtin_HEXAGON_V6_vlutvwh_nm(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvwh.oracc
  __builtin_HEXAGON_V6_vlutvwh_oracc(v128, v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvwh.oracci
  __builtin_HEXAGON_V6_vlutvwh_oracci(v128, v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vlutvwhi
  __builtin_HEXAGON_V6_vlutvwhi(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmaskedstorenq
  __builtin_HEXAGON_V6_vmaskedstorenq(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vmaskedstorentnq
  __builtin_HEXAGON_V6_vmaskedstorentnq(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vmaskedstorentq
  __builtin_HEXAGON_V6_vmaskedstorentq(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vmaskedstoreq
  __builtin_HEXAGON_V6_vmaskedstoreq(q64, 0, v64);
  // CHECK: @llvm.hexagon.V6.vmaxb
  __builtin_HEXAGON_V6_vmaxb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmaxh
  __builtin_HEXAGON_V6_vmaxh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmaxub
  __builtin_HEXAGON_V6_vmaxub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmaxuh
  __builtin_HEXAGON_V6_vmaxuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmaxw
  __builtin_HEXAGON_V6_vmaxw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vminb
  __builtin_HEXAGON_V6_vminb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vminh
  __builtin_HEXAGON_V6_vminh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vminub
  __builtin_HEXAGON_V6_vminub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vminuh
  __builtin_HEXAGON_V6_vminuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vminw
  __builtin_HEXAGON_V6_vminw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpabus
  __builtin_HEXAGON_V6_vmpabus(v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpabus.acc
  __builtin_HEXAGON_V6_vmpabus_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpabusv
  __builtin_HEXAGON_V6_vmpabusv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vmpabuu
  __builtin_HEXAGON_V6_vmpabuu(v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpabuu.acc
  __builtin_HEXAGON_V6_vmpabuu_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpabuuv
  __builtin_HEXAGON_V6_vmpabuuv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vmpahb
  __builtin_HEXAGON_V6_vmpahb(v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpahb.acc
  __builtin_HEXAGON_V6_vmpahb_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpahhsat
  __builtin_HEXAGON_V6_vmpahhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpauhb
  __builtin_HEXAGON_V6_vmpauhb(v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpauhb.acc
  __builtin_HEXAGON_V6_vmpauhb_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vmpauhuhsat
  __builtin_HEXAGON_V6_vmpauhuhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpsuhuhsat
  __builtin_HEXAGON_V6_vmpsuhuhsat(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpybus
  __builtin_HEXAGON_V6_vmpybus(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpybus.acc
  __builtin_HEXAGON_V6_vmpybus_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpybusv
  __builtin_HEXAGON_V6_vmpybusv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpybusv.acc
  __builtin_HEXAGON_V6_vmpybusv_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpybv
  __builtin_HEXAGON_V6_vmpybv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpybv.acc
  __builtin_HEXAGON_V6_vmpybv_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyewuh
  __builtin_HEXAGON_V6_vmpyewuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyewuh.64
  __builtin_HEXAGON_V6_vmpyewuh_64(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyh
  __builtin_HEXAGON_V6_vmpyh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyh.acc
  __builtin_HEXAGON_V6_vmpyh_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyhsat.acc
  __builtin_HEXAGON_V6_vmpyhsat_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyhsrs
  __builtin_HEXAGON_V6_vmpyhsrs(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyhss
  __builtin_HEXAGON_V6_vmpyhss(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyhus
  __builtin_HEXAGON_V6_vmpyhus(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyhus.acc
  __builtin_HEXAGON_V6_vmpyhus_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyhv
  __builtin_HEXAGON_V6_vmpyhv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyhv.acc
  __builtin_HEXAGON_V6_vmpyhv_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyhvsrs
  __builtin_HEXAGON_V6_vmpyhvsrs(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyieoh
  __builtin_HEXAGON_V6_vmpyieoh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyiewh.acc
  __builtin_HEXAGON_V6_vmpyiewh_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyiewuh
  __builtin_HEXAGON_V6_vmpyiewuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyiewuh.acc
  __builtin_HEXAGON_V6_vmpyiewuh_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyih
  __builtin_HEXAGON_V6_vmpyih(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyih.acc
  __builtin_HEXAGON_V6_vmpyih_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyihb
  __builtin_HEXAGON_V6_vmpyihb(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyihb.acc
  __builtin_HEXAGON_V6_vmpyihb_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiowh
  __builtin_HEXAGON_V6_vmpyiowh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyiwb
  __builtin_HEXAGON_V6_vmpyiwb(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiwb.acc
  __builtin_HEXAGON_V6_vmpyiwb_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiwh
  __builtin_HEXAGON_V6_vmpyiwh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiwh.acc
  __builtin_HEXAGON_V6_vmpyiwh_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiwub
  __builtin_HEXAGON_V6_vmpyiwub(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyiwub.acc
  __builtin_HEXAGON_V6_vmpyiwub_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyowh
  __builtin_HEXAGON_V6_vmpyowh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyowh.64.acc
  __builtin_HEXAGON_V6_vmpyowh_64_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyowh.rnd
  __builtin_HEXAGON_V6_vmpyowh_rnd(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyowh.rnd.sacc
  __builtin_HEXAGON_V6_vmpyowh_rnd_sacc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyowh.sacc
  __builtin_HEXAGON_V6_vmpyowh_sacc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyub
  __builtin_HEXAGON_V6_vmpyub(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyub.acc
  __builtin_HEXAGON_V6_vmpyub_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyubv
  __builtin_HEXAGON_V6_vmpyubv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyubv.acc
  __builtin_HEXAGON_V6_vmpyubv_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyuh
  __builtin_HEXAGON_V6_vmpyuh(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyuh.acc
  __builtin_HEXAGON_V6_vmpyuh_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyuhe
  __builtin_HEXAGON_V6_vmpyuhe(v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyuhe.acc
  __builtin_HEXAGON_V6_vmpyuhe_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vmpyuhv
  __builtin_HEXAGON_V6_vmpyuhv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vmpyuhv.acc
  __builtin_HEXAGON_V6_vmpyuhv_acc(v128, v64, v64);
  // CHECK: @llvm.hexagon.V6.vmux
  __builtin_HEXAGON_V6_vmux(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vnavgb
  __builtin_HEXAGON_V6_vnavgb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vnavgh
  __builtin_HEXAGON_V6_vnavgh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vnavgub
  __builtin_HEXAGON_V6_vnavgub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vnavgw
  __builtin_HEXAGON_V6_vnavgw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vnormamth
  __builtin_HEXAGON_V6_vnormamth(v64);
  // CHECK: @llvm.hexagon.V6.vnormamtw
  __builtin_HEXAGON_V6_vnormamtw(v64);
  // CHECK: @llvm.hexagon.V6.vnot
  __builtin_HEXAGON_V6_vnot(v64);
  // CHECK: @llvm.hexagon.V6.vor
  __builtin_HEXAGON_V6_vor(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackeb
  __builtin_HEXAGON_V6_vpackeb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackeh
  __builtin_HEXAGON_V6_vpackeh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackhb.sat
  __builtin_HEXAGON_V6_vpackhb_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackhub.sat
  __builtin_HEXAGON_V6_vpackhub_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackob
  __builtin_HEXAGON_V6_vpackob(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackoh
  __builtin_HEXAGON_V6_vpackoh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackwh.sat
  __builtin_HEXAGON_V6_vpackwh_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpackwuh.sat
  __builtin_HEXAGON_V6_vpackwuh_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vpopcounth
  __builtin_HEXAGON_V6_vpopcounth(v64);
  // CHECK: @llvm.hexagon.V6.vprefixqb
  __builtin_HEXAGON_V6_vprefixqb(q64);
  // CHECK: @llvm.hexagon.V6.vprefixqh
  __builtin_HEXAGON_V6_vprefixqh(q64);
  // CHECK: @llvm.hexagon.V6.vprefixqw
  __builtin_HEXAGON_V6_vprefixqw(q64);
  // CHECK: @llvm.hexagon.V6.vrdelta
  __builtin_HEXAGON_V6_vrdelta(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpybub.rtt
  __builtin_HEXAGON_V6_vrmpybub_rtt(v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybub.rtt.acc
  __builtin_HEXAGON_V6_vrmpybub_rtt_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybus
  __builtin_HEXAGON_V6_vrmpybus(v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybus.acc
  __builtin_HEXAGON_V6_vrmpybus_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybusi
  __builtin_HEXAGON_V6_vrmpybusi(v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybusi.acc
  __builtin_HEXAGON_V6_vrmpybusi_acc(v128, v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vrmpybusv
  __builtin_HEXAGON_V6_vrmpybusv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpybusv.acc
  __builtin_HEXAGON_V6_vrmpybusv_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpybv
  __builtin_HEXAGON_V6_vrmpybv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpybv.acc
  __builtin_HEXAGON_V6_vrmpybv_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpyub
  __builtin_HEXAGON_V6_vrmpyub(v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyub.acc
  __builtin_HEXAGON_V6_vrmpyub_acc(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyub.rtt
  __builtin_HEXAGON_V6_vrmpyub_rtt(v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyub.rtt.acc
  __builtin_HEXAGON_V6_vrmpyub_rtt_acc(v128, v64, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyubi
  __builtin_HEXAGON_V6_vrmpyubi(v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyubi.acc
  __builtin_HEXAGON_V6_vrmpyubi_acc(v128, v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vrmpyubv
  __builtin_HEXAGON_V6_vrmpyubv(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrmpyubv.acc
  __builtin_HEXAGON_V6_vrmpyubv_acc(v64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vror
  __builtin_HEXAGON_V6_vror(v64, 0);
  // CHECK: @llvm.hexagon.V6.vroundhb
  __builtin_HEXAGON_V6_vroundhb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vroundhub
  __builtin_HEXAGON_V6_vroundhub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrounduhub
  __builtin_HEXAGON_V6_vrounduhub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrounduwuh
  __builtin_HEXAGON_V6_vrounduwuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vroundwh
  __builtin_HEXAGON_V6_vroundwh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vroundwuh
  __builtin_HEXAGON_V6_vroundwuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vrsadubi
  __builtin_HEXAGON_V6_vrsadubi(v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vrsadubi.acc
  __builtin_HEXAGON_V6_vrsadubi_acc(v128, v128, 0, 0);
  // CHECK: @llvm.hexagon.V6.vsathub
  __builtin_HEXAGON_V6_vsathub(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsatuwuh
  __builtin_HEXAGON_V6_vsatuwuh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsatwh
  __builtin_HEXAGON_V6_vsatwh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsb
  __builtin_HEXAGON_V6_vsb(v64);
  // CHECK: @llvm.hexagon.V6.vscattermh
  __builtin_HEXAGON_V6_vscattermh(0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vscattermh.add
  __builtin_HEXAGON_V6_vscattermh_add(0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vscattermhq
  __builtin_HEXAGON_V6_vscattermhq(q64, 0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vscattermhw
  __builtin_HEXAGON_V6_vscattermhw(0, 0, v128, v64);
  // CHECK: @llvm.hexagon.V6.vscattermhw.add
  __builtin_HEXAGON_V6_vscattermhw_add(0, 0, v128, v64);
  // CHECK: @llvm.hexagon.V6.vscattermhwq
  __builtin_HEXAGON_V6_vscattermhwq(q64, 0, 0, v128, v64);
  // CHECK: @llvm.hexagon.V6.vscattermw
  __builtin_HEXAGON_V6_vscattermw(0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vscattermw.add
  __builtin_HEXAGON_V6_vscattermw_add(0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vscattermwq
  __builtin_HEXAGON_V6_vscattermwq(q64, 0, 0, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsh
  __builtin_HEXAGON_V6_vsh(v64);
  // CHECK: @llvm.hexagon.V6.vshufeh
  __builtin_HEXAGON_V6_vshufeh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vshuffb
  __builtin_HEXAGON_V6_vshuffb(v64);
  // CHECK: @llvm.hexagon.V6.vshuffeb
  __builtin_HEXAGON_V6_vshuffeb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vshuffh
  __builtin_HEXAGON_V6_vshuffh(v64);
  // CHECK: @llvm.hexagon.V6.vshuffob
  __builtin_HEXAGON_V6_vshuffob(v64, v64);
  // CHECK: @llvm.hexagon.V6.vshuffvdd
  __builtin_HEXAGON_V6_vshuffvdd(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vshufoeb
  __builtin_HEXAGON_V6_vshufoeb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vshufoeh
  __builtin_HEXAGON_V6_vshufoeh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vshufoh
  __builtin_HEXAGON_V6_vshufoh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubb
  __builtin_HEXAGON_V6_vsubb(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubb.dv
  __builtin_HEXAGON_V6_vsubb_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubbnq
  __builtin_HEXAGON_V6_vsubbnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubbq
  __builtin_HEXAGON_V6_vsubbq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubbsat
  __builtin_HEXAGON_V6_vsubbsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubbsat.dv
  __builtin_HEXAGON_V6_vsubbsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubcarry
  __builtin_HEXAGON_V6_vsubcarry(v64, v64, 0);
  // CHECK: @llvm.hexagon.V6.vsubh
  __builtin_HEXAGON_V6_vsubh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubh.dv
  __builtin_HEXAGON_V6_vsubh_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubhnq
  __builtin_HEXAGON_V6_vsubhnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubhq
  __builtin_HEXAGON_V6_vsubhq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubhsat
  __builtin_HEXAGON_V6_vsubhsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubhsat.dv
  __builtin_HEXAGON_V6_vsubhsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubhw
  __builtin_HEXAGON_V6_vsubhw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsububh
  __builtin_HEXAGON_V6_vsububh(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsububsat
  __builtin_HEXAGON_V6_vsububsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsububsat.dv
  __builtin_HEXAGON_V6_vsububsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubububb.sat
  __builtin_HEXAGON_V6_vsubububb_sat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubuhsat
  __builtin_HEXAGON_V6_vsubuhsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubuhsat.dv
  __builtin_HEXAGON_V6_vsubuhsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubuhw
  __builtin_HEXAGON_V6_vsubuhw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubuwsat
  __builtin_HEXAGON_V6_vsubuwsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubuwsat.dv
  __builtin_HEXAGON_V6_vsubuwsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubw
  __builtin_HEXAGON_V6_vsubw(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubw.dv
  __builtin_HEXAGON_V6_vsubw_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vsubwnq
  __builtin_HEXAGON_V6_vsubwnq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubwq
  __builtin_HEXAGON_V6_vsubwq(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubwsat
  __builtin_HEXAGON_V6_vsubwsat(v64, v64);
  // CHECK: @llvm.hexagon.V6.vsubwsat.dv
  __builtin_HEXAGON_V6_vsubwsat_dv(v128, v128);
  // CHECK: @llvm.hexagon.V6.vswap
  __builtin_HEXAGON_V6_vswap(q64, v64, v64);
  // CHECK: @llvm.hexagon.V6.vtmpyb
  __builtin_HEXAGON_V6_vtmpyb(v128, 0);
  // CHECK: @llvm.hexagon.V6.vtmpyb.acc
  __builtin_HEXAGON_V6_vtmpyb_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vtmpybus
  __builtin_HEXAGON_V6_vtmpybus(v128, 0);
  // CHECK: @llvm.hexagon.V6.vtmpybus.acc
  __builtin_HEXAGON_V6_vtmpybus_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vtmpyhb
  __builtin_HEXAGON_V6_vtmpyhb(v128, 0);
  // CHECK: @llvm.hexagon.V6.vtmpyhb.acc
  __builtin_HEXAGON_V6_vtmpyhb_acc(v128, v128, 0);
  // CHECK: @llvm.hexagon.V6.vunpackb
  __builtin_HEXAGON_V6_vunpackb(v64);
  // CHECK: @llvm.hexagon.V6.vunpackh
  __builtin_HEXAGON_V6_vunpackh(v64);
  // CHECK: @llvm.hexagon.V6.vunpackob
  __builtin_HEXAGON_V6_vunpackob(v128, v64);
  // CHECK: @llvm.hexagon.V6.vunpackoh
  __builtin_HEXAGON_V6_vunpackoh(v128, v64);
  // CHECK: @llvm.hexagon.V6.vunpackub
  __builtin_HEXAGON_V6_vunpackub(v64);
  // CHECK: @llvm.hexagon.V6.vunpackuh
  __builtin_HEXAGON_V6_vunpackuh(v64);
  // CHECK: @llvm.hexagon.V6.vxor
  __builtin_HEXAGON_V6_vxor(v64, v64);
  // CHECK: @llvm.hexagon.V6.vzb
  __builtin_HEXAGON_V6_vzb(v64);
  // CHECK: @llvm.hexagon.V6.vzh
  __builtin_HEXAGON_V6_vzh(v64);
}