Lines Matching refs:X86
58 : X86GenRegisterInfo((TT.isArch64Bit() ? X86::RIP : X86::EIP), in X86RegisterInfo()
61 (TT.isArch64Bit() ? X86::RIP : X86::EIP)) { in X86RegisterInfo()
77 StackPtr = Use64BitReg ? X86::RSP : X86::ESP; in X86RegisterInfo()
78 FramePtr = Use64BitReg ? X86::RBP : X86::EBP; in X86RegisterInfo()
79 BasePtr = Use64BitReg ? X86::RBX : X86::EBX; in X86RegisterInfo()
82 StackPtr = X86::ESP; in X86RegisterInfo()
83 FramePtr = X86::EBP; in X86RegisterInfo()
84 BasePtr = X86::ESI; in X86RegisterInfo()
104 if (!Is64Bit && Idx == X86::sub_8bit) in getSubClassWithSubReg()
105 Idx = X86::sub_8bit_hi; in getSubClassWithSubReg()
116 if (!Is64Bit && SubIdx == X86::sub_8bit) { in getMatchingSuperRegClass()
117 A = X86GenRegisterInfo::getSubClassWithSubReg(A, X86::sub_8bit_hi); in getMatchingSuperRegClass()
135 if (RC == &X86::GR8_NOREXRegClass) in getLargestLegalSuperClass()
142 case X86::GR8RegClassID: in getLargestLegalSuperClass()
143 case X86::GR16RegClassID: in getLargestLegalSuperClass()
144 case X86::GR32RegClassID: in getLargestLegalSuperClass()
145 case X86::GR64RegClassID: in getLargestLegalSuperClass()
146 case X86::FR32RegClassID: in getLargestLegalSuperClass()
147 case X86::FR64RegClassID: in getLargestLegalSuperClass()
148 case X86::RFP32RegClassID: in getLargestLegalSuperClass()
149 case X86::RFP64RegClassID: in getLargestLegalSuperClass()
150 case X86::RFP80RegClassID: in getLargestLegalSuperClass()
151 case X86::VR128RegClassID: in getLargestLegalSuperClass()
152 case X86::VR256RegClassID: in getLargestLegalSuperClass()
171 return &X86::GR64RegClass; in getPointerRegClass()
172 return &X86::GR32RegClass; in getPointerRegClass()
175 return &X86::GR64_NOSPRegClass; in getPointerRegClass()
176 return &X86::GR32_NOSPRegClass; in getPointerRegClass()
179 return &X86::GR64_TCW64RegClass; in getPointerRegClass()
181 return &X86::GR64_TCRegClass; in getPointerRegClass()
186 return &X86::GR32RegClass; in getPointerRegClass()
187 return &X86::GR32_TCRegClass; in getPointerRegClass()
193 if (RC == &X86::CCRRegClass) { in getCrossCopyRegClass()
195 return &X86::GR64RegClass; in getCrossCopyRegClass()
197 return &X86::GR32RegClass; in getCrossCopyRegClass()
211 case X86::GR32RegClassID: in getRegPressureLimit()
213 case X86::GR64RegClassID: in getRegPressureLimit()
215 case X86::VR128RegClassID: in getRegPressureLimit()
217 case X86::VR64RegClassID: in getRegPressureLimit()
349 for (MCSubRegIterator I(X86::RSP, this, /*IncludeSelf=*/true); I.isValid(); in getReservedRegs()
354 for (MCSubRegIterator I(X86::RIP, this, /*IncludeSelf=*/true); I.isValid(); in getReservedRegs()
360 for (MCSubRegIterator I(X86::RBP, this, /*IncludeSelf=*/true); I.isValid(); in getReservedRegs()
382 Reserved.set(X86::CS); in getReservedRegs()
383 Reserved.set(X86::SS); in getReservedRegs()
384 Reserved.set(X86::DS); in getReservedRegs()
385 Reserved.set(X86::ES); in getReservedRegs()
386 Reserved.set(X86::FS); in getReservedRegs()
387 Reserved.set(X86::GS); in getReservedRegs()
391 Reserved.set(X86::ST0 + n); in getReservedRegs()
397 Reserved.set(X86::SIL); in getReservedRegs()
398 Reserved.set(X86::DIL); in getReservedRegs()
399 Reserved.set(X86::BPL); in getReservedRegs()
400 Reserved.set(X86::SPL); in getReservedRegs()
404 for (MCRegAliasIterator AI(X86::R8 + n, this, true); AI.isValid(); ++AI) in getReservedRegs()
408 for (MCRegAliasIterator AI(X86::XMM8 + n, this, true); AI.isValid(); ++AI) in getReservedRegs()
414 for (MCRegAliasIterator AI(X86::XMM0 + n, this, true); AI.isValid(); ++AI) in getReservedRegs()
495 bool AfterFPPop = Opc == X86::TAILJMPm64 || Opc == X86::TAILJMPm; in eliminateFrameIndex()
526 if (Opc == X86::LEA64_32r && X86::GR32RegClass.contains(BasePtr)) in eliminateFrameIndex()
592 case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI: in getX86SubSuperRegister()
593 return X86::SI; in getX86SubSuperRegister()
594 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegister()
595 return X86::DI; in getX86SubSuperRegister()
596 case X86::BPL: case X86::BP: case X86::EBP: case X86::RBP: in getX86SubSuperRegister()
597 return X86::BP; in getX86SubSuperRegister()
598 case X86::SPL: case X86::SP: case X86::ESP: case X86::RSP: in getX86SubSuperRegister()
599 return X86::SP; in getX86SubSuperRegister()
600 case X86::AH: case X86::AL: case X86::AX: case X86::EAX: case X86::RAX: in getX86SubSuperRegister()
601 return X86::AH; in getX86SubSuperRegister()
602 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegister()
603 return X86::DH; in getX86SubSuperRegister()
604 case X86::CH: case X86::CL: case X86::CX: case X86::ECX: case X86::RCX: in getX86SubSuperRegister()
605 return X86::CH; in getX86SubSuperRegister()
606 case X86::BH: case X86::BL: case X86::BX: case X86::EBX: case X86::RBX: in getX86SubSuperRegister()
607 return X86::BH; in getX86SubSuperRegister()
612 case X86::AH: case X86::AL: case X86::AX: case X86::EAX: case X86::RAX: in getX86SubSuperRegister()
613 return X86::AL; in getX86SubSuperRegister()
614 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegister()
615 return X86::DL; in getX86SubSuperRegister()
616 case X86::CH: case X86::CL: case X86::CX: case X86::ECX: case X86::RCX: in getX86SubSuperRegister()
617 return X86::CL; in getX86SubSuperRegister()
618 case X86::BH: case X86::BL: case X86::BX: case X86::EBX: case X86::RBX: in getX86SubSuperRegister()
619 return X86::BL; in getX86SubSuperRegister()
620 case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI: in getX86SubSuperRegister()
621 return X86::SIL; in getX86SubSuperRegister()
622 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegister()
623 return X86::DIL; in getX86SubSuperRegister()
624 case X86::BPL: case X86::BP: case X86::EBP: case X86::RBP: in getX86SubSuperRegister()
625 return X86::BPL; in getX86SubSuperRegister()
626 case X86::SPL: case X86::SP: case X86::ESP: case X86::RSP: in getX86SubSuperRegister()
627 return X86::SPL; in getX86SubSuperRegister()
628 case X86::R8B: case X86::R8W: case X86::R8D: case X86::R8: in getX86SubSuperRegister()
629 return X86::R8B; in getX86SubSuperRegister()
630 case X86::R9B: case X86::R9W: case X86::R9D: case X86::R9: in getX86SubSuperRegister()
631 return X86::R9B; in getX86SubSuperRegister()
632 case X86::R10B: case X86::R10W: case X86::R10D: case X86::R10: in getX86SubSuperRegister()
633 return X86::R10B; in getX86SubSuperRegister()
634 case X86::R11B: case X86::R11W: case X86::R11D: case X86::R11: in getX86SubSuperRegister()
635 return X86::R11B; in getX86SubSuperRegister()
636 case X86::R12B: case X86::R12W: case X86::R12D: case X86::R12: in getX86SubSuperRegister()
637 return X86::R12B; in getX86SubSuperRegister()
638 case X86::R13B: case X86::R13W: case X86::R13D: case X86::R13: in getX86SubSuperRegister()
639 return X86::R13B; in getX86SubSuperRegister()
640 case X86::R14B: case X86::R14W: case X86::R14D: case X86::R14: in getX86SubSuperRegister()
641 return X86::R14B; in getX86SubSuperRegister()
642 case X86::R15B: case X86::R15W: case X86::R15D: case X86::R15: in getX86SubSuperRegister()
643 return X86::R15B; in getX86SubSuperRegister()
649 case X86::AH: case X86::AL: case X86::AX: case X86::EAX: case X86::RAX: in getX86SubSuperRegister()
650 return X86::AX; in getX86SubSuperRegister()
651 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegister()
652 return X86::DX; in getX86SubSuperRegister()
653 case X86::CH: case X86::CL: case X86::CX: case X86::ECX: case X86::RCX: in getX86SubSuperRegister()
654 return X86::CX; in getX86SubSuperRegister()
655 case X86::BH: case X86::BL: case X86::BX: case X86::EBX: case X86::RBX: in getX86SubSuperRegister()
656 return X86::BX; in getX86SubSuperRegister()
657 case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI: in getX86SubSuperRegister()
658 return X86::SI; in getX86SubSuperRegister()
659 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegister()
660 return X86::DI; in getX86SubSuperRegister()
661 case X86::BPL: case X86::BP: case X86::EBP: case X86::RBP: in getX86SubSuperRegister()
662 return X86::BP; in getX86SubSuperRegister()
663 case X86::SPL: case X86::SP: case X86::ESP: case X86::RSP: in getX86SubSuperRegister()
664 return X86::SP; in getX86SubSuperRegister()
665 case X86::R8B: case X86::R8W: case X86::R8D: case X86::R8: in getX86SubSuperRegister()
666 return X86::R8W; in getX86SubSuperRegister()
667 case X86::R9B: case X86::R9W: case X86::R9D: case X86::R9: in getX86SubSuperRegister()
668 return X86::R9W; in getX86SubSuperRegister()
669 case X86::R10B: case X86::R10W: case X86::R10D: case X86::R10: in getX86SubSuperRegister()
670 return X86::R10W; in getX86SubSuperRegister()
671 case X86::R11B: case X86::R11W: case X86::R11D: case X86::R11: in getX86SubSuperRegister()
672 return X86::R11W; in getX86SubSuperRegister()
673 case X86::R12B: case X86::R12W: case X86::R12D: case X86::R12: in getX86SubSuperRegister()
674 return X86::R12W; in getX86SubSuperRegister()
675 case X86::R13B: case X86::R13W: case X86::R13D: case X86::R13: in getX86SubSuperRegister()
676 return X86::R13W; in getX86SubSuperRegister()
677 case X86::R14B: case X86::R14W: case X86::R14D: case X86::R14: in getX86SubSuperRegister()
678 return X86::R14W; in getX86SubSuperRegister()
679 case X86::R15B: case X86::R15W: case X86::R15D: case X86::R15: in getX86SubSuperRegister()
680 return X86::R15W; in getX86SubSuperRegister()
685 case X86::AH: case X86::AL: case X86::AX: case X86::EAX: case X86::RAX: in getX86SubSuperRegister()
686 return X86::EAX; in getX86SubSuperRegister()
687 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegister()
688 return X86::EDX; in getX86SubSuperRegister()
689 case X86::CH: case X86::CL: case X86::CX: case X86::ECX: case X86::RCX: in getX86SubSuperRegister()
690 return X86::ECX; in getX86SubSuperRegister()
691 case X86::BH: case X86::BL: case X86::BX: case X86::EBX: case X86::RBX: in getX86SubSuperRegister()
692 return X86::EBX; in getX86SubSuperRegister()
693 case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI: in getX86SubSuperRegister()
694 return X86::ESI; in getX86SubSuperRegister()
695 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegister()
696 return X86::EDI; in getX86SubSuperRegister()
697 case X86::BPL: case X86::BP: case X86::EBP: case X86::RBP: in getX86SubSuperRegister()
698 return X86::EBP; in getX86SubSuperRegister()
699 case X86::SPL: case X86::SP: case X86::ESP: case X86::RSP: in getX86SubSuperRegister()
700 return X86::ESP; in getX86SubSuperRegister()
701 case X86::R8B: case X86::R8W: case X86::R8D: case X86::R8: in getX86SubSuperRegister()
702 return X86::R8D; in getX86SubSuperRegister()
703 case X86::R9B: case X86::R9W: case X86::R9D: case X86::R9: in getX86SubSuperRegister()
704 return X86::R9D; in getX86SubSuperRegister()
705 case X86::R10B: case X86::R10W: case X86::R10D: case X86::R10: in getX86SubSuperRegister()
706 return X86::R10D; in getX86SubSuperRegister()
707 case X86::R11B: case X86::R11W: case X86::R11D: case X86::R11: in getX86SubSuperRegister()
708 return X86::R11D; in getX86SubSuperRegister()
709 case X86::R12B: case X86::R12W: case X86::R12D: case X86::R12: in getX86SubSuperRegister()
710 return X86::R12D; in getX86SubSuperRegister()
711 case X86::R13B: case X86::R13W: case X86::R13D: case X86::R13: in getX86SubSuperRegister()
712 return X86::R13D; in getX86SubSuperRegister()
713 case X86::R14B: case X86::R14W: case X86::R14D: case X86::R14: in getX86SubSuperRegister()
714 return X86::R14D; in getX86SubSuperRegister()
715 case X86::R15B: case X86::R15W: case X86::R15D: case X86::R15: in getX86SubSuperRegister()
716 return X86::R15D; in getX86SubSuperRegister()
721 case X86::AH: case X86::AL: case X86::AX: case X86::EAX: case X86::RAX: in getX86SubSuperRegister()
722 return X86::RAX; in getX86SubSuperRegister()
723 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegister()
724 return X86::RDX; in getX86SubSuperRegister()
725 case X86::CH: case X86::CL: case X86::CX: case X86::ECX: case X86::RCX: in getX86SubSuperRegister()
726 return X86::RCX; in getX86SubSuperRegister()
727 case X86::BH: case X86::BL: case X86::BX: case X86::EBX: case X86::RBX: in getX86SubSuperRegister()
728 return X86::RBX; in getX86SubSuperRegister()
729 case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI: in getX86SubSuperRegister()
730 return X86::RSI; in getX86SubSuperRegister()
731 case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: in getX86SubSuperRegister()
732 return X86::RDI; in getX86SubSuperRegister()
733 case X86::BPL: case X86::BP: case X86::EBP: case X86::RBP: in getX86SubSuperRegister()
734 return X86::RBP; in getX86SubSuperRegister()
735 case X86::SPL: case X86::SP: case X86::ESP: case X86::RSP: in getX86SubSuperRegister()
736 return X86::RSP; in getX86SubSuperRegister()
737 case X86::R8B: case X86::R8W: case X86::R8D: case X86::R8: in getX86SubSuperRegister()
738 return X86::R8; in getX86SubSuperRegister()
739 case X86::R9B: case X86::R9W: case X86::R9D: case X86::R9: in getX86SubSuperRegister()
740 return X86::R9; in getX86SubSuperRegister()
741 case X86::R10B: case X86::R10W: case X86::R10D: case X86::R10: in getX86SubSuperRegister()
742 return X86::R10; in getX86SubSuperRegister()
743 case X86::R11B: case X86::R11W: case X86::R11D: case X86::R11: in getX86SubSuperRegister()
744 return X86::R11; in getX86SubSuperRegister()
745 case X86::R12B: case X86::R12W: case X86::R12D: case X86::R12: in getX86SubSuperRegister()
746 return X86::R12; in getX86SubSuperRegister()
747 case X86::R13B: case X86::R13W: case X86::R13D: case X86::R13: in getX86SubSuperRegister()
748 return X86::R13; in getX86SubSuperRegister()
749 case X86::R14B: case X86::R14W: case X86::R14D: case X86::R14: in getX86SubSuperRegister()
750 return X86::R14; in getX86SubSuperRegister()
751 case X86::R15B: case X86::R15W: case X86::R15D: case X86::R15: in getX86SubSuperRegister()
752 return X86::R15; in getX86SubSuperRegister()
758 if (Reg >= X86::XMM0 && Reg <= X86::XMM31) in get512BitSuperRegister()
759 return X86::ZMM0 + (Reg - X86::XMM0); in get512BitSuperRegister()
760 if (Reg >= X86::YMM0 && Reg <= X86::YMM31) in get512BitSuperRegister()
761 return X86::ZMM0 + (Reg - X86::YMM0); in get512BitSuperRegister()
762 if (Reg >= X86::ZMM0 && Reg <= X86::ZMM31) in get512BitSuperRegister()