Lines Matching full:ppc

44 #include "PPC.h"
60 #define DEBUG_TYPE "ppc-vsx-swaps"
168 return (isRegInClass(Reg, &PPC::VSRCRegClass) || in isVecReg()
169 isRegInClass(Reg, &PPC::VRRCRegClass)); in isVecReg()
174 return (isRegInClass(Reg, &PPC::VSFRCRegClass) || in isScalarVecReg()
175 isRegInClass(Reg, &PPC::VSSRCRegClass)); in isScalarVecReg()
288 case PPC::XXPERMDI: { in gatherVectorInstructions()
337 case PPC::LVX: in gatherVectorInstructions()
344 case PPC::LXVD2X: in gatherVectorInstructions()
345 case PPC::LXVW4X: in gatherVectorInstructions()
351 case PPC::LXSDX: in gatherVectorInstructions()
352 case PPC::LXSSPX: in gatherVectorInstructions()
353 case PPC::XFLOADf64: in gatherVectorInstructions()
354 case PPC::XFLOADf32: in gatherVectorInstructions()
362 case PPC::STVX: in gatherVectorInstructions()
369 case PPC::STXVD2X: in gatherVectorInstructions()
370 case PPC::STXVW4X: in gatherVectorInstructions()
376 case PPC::COPY: in gatherVectorInstructions()
390 case PPC::SUBREG_TO_REG: { in gatherVectorInstructions()
408 case PPC::VSPLTB: in gatherVectorInstructions()
409 case PPC::VSPLTH: in gatherVectorInstructions()
410 case PPC::VSPLTW: in gatherVectorInstructions()
411 case PPC::XXSPLTW: in gatherVectorInstructions()
425 case PPC::INLINEASM: in gatherVectorInstructions()
426 case PPC::INLINEASM_BR: in gatherVectorInstructions()
427 case PPC::EXTRACT_SUBREG: in gatherVectorInstructions()
428 case PPC::INSERT_SUBREG: in gatherVectorInstructions()
429 case PPC::COPY_TO_REGCLASS: in gatherVectorInstructions()
430 case PPC::LVEBX: in gatherVectorInstructions()
431 case PPC::LVEHX: in gatherVectorInstructions()
432 case PPC::LVEWX: in gatherVectorInstructions()
433 case PPC::LVSL: in gatherVectorInstructions()
434 case PPC::LVSR: in gatherVectorInstructions()
435 case PPC::LVXL: in gatherVectorInstructions()
436 case PPC::STVEBX: in gatherVectorInstructions()
437 case PPC::STVEHX: in gatherVectorInstructions()
438 case PPC::STVEWX: in gatherVectorInstructions()
439 case PPC::STVXL: in gatherVectorInstructions()
446 case PPC::STXSDX: in gatherVectorInstructions()
447 case PPC::STXSSPX: in gatherVectorInstructions()
448 case PPC::VCIPHER: in gatherVectorInstructions()
449 case PPC::VCIPHERLAST: in gatherVectorInstructions()
450 case PPC::VMRGHB: in gatherVectorInstructions()
451 case PPC::VMRGHH: in gatherVectorInstructions()
452 case PPC::VMRGHW: in gatherVectorInstructions()
453 case PPC::VMRGLB: in gatherVectorInstructions()
454 case PPC::VMRGLH: in gatherVectorInstructions()
455 case PPC::VMRGLW: in gatherVectorInstructions()
456 case PPC::VMULESB: in gatherVectorInstructions()
457 case PPC::VMULESH: in gatherVectorInstructions()
458 case PPC::VMULESW: in gatherVectorInstructions()
459 case PPC::VMULEUB: in gatherVectorInstructions()
460 case PPC::VMULEUH: in gatherVectorInstructions()
461 case PPC::VMULEUW: in gatherVectorInstructions()
462 case PPC::VMULOSB: in gatherVectorInstructions()
463 case PPC::VMULOSH: in gatherVectorInstructions()
464 case PPC::VMULOSW: in gatherVectorInstructions()
465 case PPC::VMULOUB: in gatherVectorInstructions()
466 case PPC::VMULOUH: in gatherVectorInstructions()
467 case PPC::VMULOUW: in gatherVectorInstructions()
468 case PPC::VNCIPHER: in gatherVectorInstructions()
469 case PPC::VNCIPHERLAST: in gatherVectorInstructions()
470 case PPC::VPERM: in gatherVectorInstructions()
471 case PPC::VPERMXOR: in gatherVectorInstructions()
472 case PPC::VPKPX: in gatherVectorInstructions()
473 case PPC::VPKSHSS: in gatherVectorInstructions()
474 case PPC::VPKSHUS: in gatherVectorInstructions()
475 case PPC::VPKSDSS: in gatherVectorInstructions()
476 case PPC::VPKSDUS: in gatherVectorInstructions()
477 case PPC::VPKSWSS: in gatherVectorInstructions()
478 case PPC::VPKSWUS: in gatherVectorInstructions()
479 case PPC::VPKUDUM: in gatherVectorInstructions()
480 case PPC::VPKUDUS: in gatherVectorInstructions()
481 case PPC::VPKUHUM: in gatherVectorInstructions()
482 case PPC::VPKUHUS: in gatherVectorInstructions()
483 case PPC::VPKUWUM: in gatherVectorInstructions()
484 case PPC::VPKUWUS: in gatherVectorInstructions()
485 case PPC::VPMSUMB: in gatherVectorInstructions()
486 case PPC::VPMSUMD: in gatherVectorInstructions()
487 case PPC::VPMSUMH: in gatherVectorInstructions()
488 case PPC::VPMSUMW: in gatherVectorInstructions()
489 case PPC::VRLB: in gatherVectorInstructions()
490 case PPC::VRLD: in gatherVectorInstructions()
491 case PPC::VRLH: in gatherVectorInstructions()
492 case PPC::VRLW: in gatherVectorInstructions()
493 case PPC::VSBOX: in gatherVectorInstructions()
494 case PPC::VSHASIGMAD: in gatherVectorInstructions()
495 case PPC::VSHASIGMAW: in gatherVectorInstructions()
496 case PPC::VSL: in gatherVectorInstructions()
497 case PPC::VSLDOI: in gatherVectorInstructions()
498 case PPC::VSLO: in gatherVectorInstructions()
499 case PPC::VSR: in gatherVectorInstructions()
500 case PPC::VSRO: in gatherVectorInstructions()
501 case PPC::VSUM2SWS: in gatherVectorInstructions()
502 case PPC::VSUM4SBS: in gatherVectorInstructions()
503 case PPC::VSUM4SHS: in gatherVectorInstructions()
504 case PPC::VSUM4UBS: in gatherVectorInstructions()
505 case PPC::VSUMSWS: in gatherVectorInstructions()
506 case PPC::VUPKHPX: in gatherVectorInstructions()
507 case PPC::VUPKHSB: in gatherVectorInstructions()
508 case PPC::VUPKHSH: in gatherVectorInstructions()
509 case PPC::VUPKHSW: in gatherVectorInstructions()
510 case PPC::VUPKLPX: in gatherVectorInstructions()
511 case PPC::VUPKLSB: in gatherVectorInstructions()
512 case PPC::VUPKLSH: in gatherVectorInstructions()
513 case PPC::VUPKLSW: in gatherVectorInstructions()
514 case PPC::XXMRGHW: in gatherVectorInstructions()
515 case PPC::XXMRGLW: in gatherVectorInstructions()
519 case PPC::XXSLDWI: in gatherVectorInstructions()
520 case PPC::XSCVDPSPN: in gatherVectorInstructions()
521 case PPC::XSCVSPDPN: in gatherVectorInstructions()
522 case PPC::MTVSCR: in gatherVectorInstructions()
523 case PPC::MFVSCR: in gatherVectorInstructions()
829 TII->get(PPC::XXPERMDI), DstReg) in insertSwap()
858 case PPC::VSPLTB: NElts = 16; break; in handleSpecialSwappables()
859 case PPC::VSPLTH: NElts = 8; break; in handleSpecialSwappables()
860 case PPC::VSPLTW: in handleSpecialSwappables()
861 case PPC::XXSPLTW: NElts = 4; break; in handleSpecialSwappables()
865 if (MI->getOpcode() == PPC::XXSPLTW) in handleSpecialSwappables()
871 if (MI->getOpcode() == PPC::XXSPLTW) in handleSpecialSwappables()
938 if (DstRC == &PPC::VRRCRegClass) { in handleSpecialSwappables()
939 Register VSRCTmp1 = MRI->createVirtualRegister(&PPC::VSRCRegClass); in handleSpecialSwappables()
940 Register VSRCTmp2 = MRI->createVirtualRegister(&PPC::VSRCRegClass); in handleSpecialSwappables()
943 TII->get(PPC::COPY), VSRCTmp1) in handleSpecialSwappables()
951 TII->get(PPC::COPY), DstReg) in handleSpecialSwappables()