Lines Matching full:let
12 let Namespace = "PPC" in {
31 let Namespace = "PPC";
38 let HWEncoding{4-0} = num;
43 let HWEncoding = SubReg.HWEncoding;
44 let SubRegs = [SubReg];
45 let SubRegIndices = [sub_32];
49 let HWEncoding{4-0} = Enc;
50 let SubRegs = subregs;
51 let SubRegIndices = [sub_32, sub_32_hi_phony];
52 let CoveredBySubRegs = 1;
56 let HWEncoding{9-0} = num;
61 let HWEncoding{4-0} = num;
67 let HWEncoding{4-0} = EvenIndex;
68 let SubRegs = [!cast<FPR>("F"#EvenIndex), !cast<FPR>("F"#!add(EvenIndex, 1))];
69 let DwarfNumbers = [-1, -1];
70 let SubRegIndices = [sub_fp0, sub_fp1];
76 let HWEncoding{4-0} = num;
77 let HWEncoding{5} = 1;
82 let HWEncoding{4-0} = SubReg.HWEncoding{4-0};
83 let HWEncoding{5} = 0;
84 let SubRegs = [SubReg, SubRegH];
85 let SubRegIndices = [sub_64, sub_64_hi_phony];
91 let HWEncoding = SubReg.HWEncoding;
92 let SubRegs = [SubReg, SubRegH];
93 let SubRegIndices = [sub_64, sub_64_hi_phony];
99 let HWEncoding{5-0} = num;
104 let HWEncoding{2-0} = num;
105 let SubRegs = subregs;
110 let HWEncoding{4-0} = num;
115 let HWEncoding{4-0} = num;
116 let SubRegs = subregs;
122 let HWEncoding{4-0} = EvenIndex;
123 let SubRegs = [!cast<GP8>("X"#EvenIndex), !cast<GP8>("X"#!add(EvenIndex, 1))];
124 let DwarfNumbers = [-1, -1];
125 let SubRegIndices = [sub_gp8_x0, sub_gp8_x1];
133 let isArtificial = 1 in {
163 let isArtificial = 1 in {
170 let isAllocatable = 0, CopyCost = -1 in {
188 let CoveredBySubRegs = 1 in {
208 let SubRegIndices = [sub_vsx0, sub_vsx1] in {
231 let isConstant = true in {
279 let SubRegIndices = [sub_lt, sub_gt, sub_eq, sub_un] in {
293 let Aliases = [LR];
299 let Aliases = [CTR];
314 let Aliases = [XER];
326 let isAllocatable = 0 in
342 let AltOrders = [(add (sub GPRC, R2), R2),
345 let AltOrderSelect = [{
355 let AltOrders = [(add (sub G8RC, X2), X2),
358 let AltOrderSelect = [{
369 let AltOrders = [(add (sub GPRC_NOR0, R2), R2),
372 let AltOrderSelect = [{
380 let AltOrders = [(add (sub G8RC_NOX0, X2), X2),
383 let AltOrderSelect = [{
415 let Size = 128;
459 let Size = 32;
460 let AltOrders = [(sub CRBITRC, CR2LT, CR2GT, CR2EQ, CR2UN, CR3LT, CR3GT,
462 let AltOrderSelect = [{
471 let AltOrders = [(sub CRRC, CR2, CR3, CR4)];
472 let AltOrderSelect = [{
481 let isAllocatable = 0;
484 let isAllocatable = 0;
488 let isAllocatable = 0;
491 let isAllocatable = 0;
496 let CopyCost = -1;
507 let AltOrders = [(add (sub G8pRC, G8p1), G8p1)];
508 let AltOrderSelect = [{
511 let Size = 128;
532 let Name = "RegGPRC"; let PredicateMethod = "isRegNumber";
535 let ParserMatchClass = PPCRegGPRCAsmOperand;
538 let Name = "RegG8RC"; let PredicateMethod = "isRegNumber";
541 let ParserMatchClass = PPCRegG8RCAsmOperand;
544 let Name = "RegG8pRC"; let PredicateMethod = "isEvenRegNumber";
547 let ParserMatchClass = PPCRegG8pRCAsmOperand;
550 let Name = "RegGPRCNoR0"; let PredicateMethod = "isRegNumber";
553 let ParserMatchClass = PPCRegGPRCNoR0AsmOperand;
556 let Name = "RegG8RCNoX0"; let PredicateMethod = "isRegNumber";
559 let ParserMatchClass = PPCRegG8RCNoX0AsmOperand;
562 let Name = "RegF8RC"; let PredicateMethod = "isRegNumber";
565 let ParserMatchClass = PPCRegF8RCAsmOperand;
568 let Name = "RegF4RC"; let PredicateMethod = "isRegNumber";
571 let ParserMatchClass = PPCRegF4RCAsmOperand;
574 let Name = "RegFpRC"; let PredicateMethod = "isEvenRegNumber";
577 let ParserMatchClass = PPCRegFpRCAsmOperand;
580 let Name = "RegVRRC"; let PredicateMethod = "isRegNumber";
583 let ParserMatchClass = PPCRegVRRCAsmOperand;
586 let Name = "RegVFRC"; let PredicateMethod = "isRegNumber";
589 let ParserMatchClass = PPCRegVFRCAsmOperand;
592 let Name = "RegCRBITRC"; let PredicateMethod = "isCRBitNumber";
595 let ParserMatchClass = PPCRegCRBITRCAsmOperand;
598 let Name = "RegCRRC"; let PredicateMethod = "isCCRegNumber";
601 let ParserMatchClass = PPCRegCRRCAsmOperand;
604 let Name = "RegSPERC"; let PredicateMethod = "isRegNumber";
607 let ParserMatchClass = PPCRegSPERCAsmOperand;
610 let Name = "RegSPE4RC"; let PredicateMethod = "isRegNumber";
613 let ParserMatchClass = PPCRegSPE4RCAsmOperand;
617 let Name = "U1Imm"; let PredicateMethod = "isU1Imm";
618 let RenderMethod = "addImmOperands";
621 let PrintMethod = "printU1ImmOperand";
622 let ParserMatchClass = PPCU1ImmAsmOperand;
623 let DecoderMethod = "decodeUImmOperand<1>";
624 let OperandType = "OPERAND_IMMEDIATE";
628 let Name = "U2Imm"; let PredicateMethod = "isU2Imm";
629 let RenderMethod = "addImmOperands";
632 let PrintMethod = "printU2ImmOperand";
633 let ParserMatchClass = PPCU2ImmAsmOperand;
634 let DecoderMethod = "decodeUImmOperand<2>";
635 let OperandType = "OPERAND_IMMEDIATE";
639 let Name = "ATBitsAsHint"; let PredicateMethod = "isATBitsAsHint";
640 let RenderMethod = "addImmOperands"; // Irrelevant, predicate always fails.
643 let PrintMethod = "printATBitsAsHint";
644 let ParserMatchClass = PPCATBitsAsHintAsmOperand;
645 let OperandType = "OPERAND_IMMEDIATE";
649 let Name = "U3Imm"; let PredicateMethod = "isU3Imm";
650 let RenderMethod = "addImmOperands";
653 let PrintMethod = "printU3ImmOperand";
654 let ParserMatchClass = PPCU3ImmAsmOperand;
655 let DecoderMethod = "decodeUImmOperand<3>";
656 let OperandType = "OPERAND_IMMEDIATE";
660 let Name = "U4Imm"; let PredicateMethod = "isU4Imm";
661 let RenderMethod = "addImmOperands";
664 let PrintMethod = "printU4ImmOperand";
665 let ParserMatchClass = PPCU4ImmAsmOperand;
666 let DecoderMethod = "decodeUImmOperand<4>";
667 let OperandType = "OPERAND_IMMEDIATE";
670 let Name = "S5Imm"; let PredicateMethod = "isS5Imm";
671 let RenderMethod = "addImmOperands";
674 let PrintMethod = "printS5ImmOperand";
675 let ParserMatchClass = PPCS5ImmAsmOperand;
676 let DecoderMethod = "decodeSImmOperand<5>";
677 let OperandType = "OPERAND_IMMEDIATE";
680 let Name = "U5Imm"; let PredicateMethod = "isU5Imm";
681 let RenderMethod = "addImmOperands";
684 let PrintMethod = "printU5ImmOperand";
685 let ParserMatchClass = PPCU5ImmAsmOperand;
686 let DecoderMethod = "decodeUImmOperand<5>";
687 let OperandType = "OPERAND_IMMEDIATE";
690 let Name = "U6Imm"; let PredicateMethod = "isU6Imm";
691 let RenderMethod = "addImmOperands";
694 let PrintMethod = "printU6ImmOperand";
695 let ParserMatchClass = PPCU6ImmAsmOperand;
696 let DecoderMethod = "decodeUImmOperand<6>";
697 let OperandType = "OPERAND_IMMEDIATE";
700 let Name = "U7Imm"; let PredicateMethod = "isU7Imm";
701 let RenderMethod = "addImmOperands";
704 let PrintMethod = "printU7ImmOperand";
705 let ParserMatchClass = PPCU7ImmAsmOperand;
706 let DecoderMethod = "decodeUImmOperand<7>";
707 let OperandType = "OPERAND_IMMEDIATE";
710 let Name = "U8Imm"; let PredicateMethod = "isU8Imm";
711 let RenderMethod = "addImmOperands";
714 let PrintMethod = "printU8ImmOperand";
715 let ParserMatchClass = PPCU8ImmAsmOperand;
716 let DecoderMethod = "decodeUImmOperand<8>";
717 let OperandType = "OPERAND_IMMEDIATE";
720 let Name = "U10Imm"; let PredicateMethod = "isU10Imm";
721 let RenderMethod = "addImmOperands";
724 let PrintMethod = "printU10ImmOperand";
725 let ParserMatchClass = PPCU10ImmAsmOperand;
726 let DecoderMethod = "decodeUImmOperand<10>";
727 let OperandType = "OPERAND_IMMEDIATE";
730 let Name = "U12Imm"; let PredicateMethod = "isU12Imm";
731 let RenderMethod = "addImmOperands";
734 let PrintMethod = "printU12ImmOperand";
735 let ParserMatchClass = PPCU12ImmAsmOperand;
736 let DecoderMethod = "decodeUImmOperand<12>";
737 let OperandType = "OPERAND_IMMEDIATE";
740 let Name = "S16Imm"; let PredicateMethod = "isS16Imm";
741 let RenderMethod = "addS16ImmOperands";
744 let PrintMethod = "printS16ImmOperand";
745 let EncoderMethod = "getImm16Encoding";
746 let ParserMatchClass = PPCS16ImmAsmOperand;
747 let DecoderMethod = "decodeSImmOperand<16>";
748 let OperandType = "OPERAND_IMMEDIATE";
751 let Name = "U16Imm"; let PredicateMethod = "isU16Imm";
752 let RenderMethod = "addU16ImmOperands";
755 let PrintMethod = "printU16ImmOperand";
756 let EncoderMethod = "getImm16Encoding";
757 let ParserMatchClass = PPCU16ImmAsmOperand;
758 let DecoderMethod = "decodeUImmOperand<16>";
759 let OperandType = "OPERAND_IMMEDIATE";
762 let Name = "S17Imm"; let PredicateMethod = "isS17Imm";
763 let RenderMethod = "addS16ImmOperands";
769 let PrintMethod = "printS16ImmOperand";
770 let EncoderMethod = "getImm16Encoding";
771 let ParserMatchClass = PPCS17ImmAsmOperand;
772 let DecoderMethod = "decodeSImmOperand<16>";
773 let OperandType = "OPERAND_IMMEDIATE";
776 let Name = "S34Imm";
777 let PredicateMethod = "isS34Imm";
778 let RenderMethod = "addImmOperands";
781 let PrintMethod = "printS34ImmOperand";
782 let EncoderMethod = "getImm34EncodingNoPCRel";
783 let ParserMatchClass = PPCS34ImmAsmOperand;
784 let DecoderMethod = "decodeSImmOperand<34>";
785 let OperandType = "OPERAND_IMMEDIATE";
788 let PrintMethod = "printS34ImmOperand";
789 let EncoderMethod = "getImm34EncodingPCRel";
790 let ParserMatchClass = PPCS34ImmAsmOperand;
791 let DecoderMethod = "decodeSImmOperand<34>";
792 let OperandType = "OPERAND_IMMEDIATE";
795 let Name = "ImmZero";
796 let PredicateMethod = "isImmZero";
797 let RenderMethod = "addImmOperands";
800 let PrintMethod = "printImmZeroOperand";
801 let ParserMatchClass = PPCImmZeroAsmOperand;
802 let DecoderMethod = "decodeImmZeroOperand";
803 let OperandType = "OPERAND_IMMEDIATE";
810 let Name = "DirectBr"; let PredicateMethod = "isDirectBr";
811 let RenderMethod = "addBranchTargetOperands";
814 let PrintMethod = "printBranchOperand";
815 let EncoderMethod = "getDirectBrEncoding";
816 let DecoderMethod = "decodeDirectBrTarget";
817 let ParserMatchClass = PPCDirectBrAsmOperand;
818 let OperandType = "OPERAND_PCREL";
821 let PrintMethod = "printAbsBranchOperand";
822 let EncoderMethod = "getAbsDirectBrEncoding";
823 let DecoderMethod = "decodeDirectBrTarget";
824 let ParserMatchClass = PPCDirectBrAsmOperand;
827 let Name = "CondBr"; let PredicateMethod = "isCondBr";
828 let RenderMethod = "addBranchTargetOperands";
831 let PrintMethod = "printBranchOperand";
832 let EncoderMethod = "getCondBrEncoding";
833 let DecoderMethod = "decodeCondBrTarget";
834 let ParserMatchClass = PPCCondBrAsmOperand;
835 let OperandType = "OPERAND_PCREL";
838 let PrintMethod = "printAbsBranchOperand";
839 let EncoderMethod = "getAbsCondBrEncoding";
840 let DecoderMethod = "decodeCondBrTarget";
841 let ParserMatchClass = PPCCondBrAsmOperand;
844 let PrintMethod = "printBranchOperand";
845 let EncoderMethod = "getDirectBrEncoding";
846 let DecoderMethod = "decodeDirectBrTarget";
847 let ParserMatchClass = PPCDirectBrAsmOperand;
848 let OperandType = "OPERAND_PCREL";
851 let PrintMethod = "printAbsBranchOperand";
852 let EncoderMethod = "getAbsDirectBrEncoding";
853 let DecoderMethod = "decodeDirectBrTarget";
854 let ParserMatchClass = PPCDirectBrAsmOperand;
857 let Name = "CRBitMask"; let PredicateMethod = "isCRBitMask";
860 let PrintMethod = "printcrbitm";
861 let EncoderMethod = "get_crbitm_encoding";
862 let DecoderMethod = "decodeCRBitMOperand";
863 let ParserMatchClass = PPCCRBitMaskOperand;
868 let Name = "RegGxRCNoR0"; let PredicateMethod = "isRegNumber";
871 let ParserMatchClass = PPCRegGxRCNoR0Operand;
876 let Name = "DispRI34"; let PredicateMethod = "isS34Imm";
877 let RenderMethod = "addImmOperands";
880 let ParserMatchClass = PPCDispRI34Operand;
881 let EncoderMethod = "getDispRI34Encoding";
882 let DecoderMethod = "decodeSImmOperand<34>";
885 let ParserMatchClass = PPCDispRI34Operand;
886 let EncoderMethod = "getDispRI34PCRelEncoding";
887 let DecoderMethod = "decodeSImmOperand<34>";
890 let PrintMethod = "printMemRegImm34";
891 let MIOperandInfo = (ops dispRI34:$imm, ptr_rc_nor0:$reg);
896 let PrintMethod = "printMemRegImm34PCRel";
897 let MIOperandInfo = (ops dispRI34_pcrel:$imm, immZero:$reg);
902 let Name = "RegGxRC"; let PredicateMethod = "isRegNumber";
905 let ParserMatchClass = PPCRegGxRCOperand;
909 let Name = "DispRI"; let PredicateMethod = "isS16Imm";
910 let RenderMethod = "addS16ImmOperands";
913 let ParserMatchClass = PPCDispRIOperand;
914 let EncoderMethod = "getDispRIEncoding";
917 let Name = "DispRIX"; let PredicateMethod = "isS16ImmX4";
918 let RenderMethod = "addS16ImmOperands";
921 let ParserMatchClass = PPCDispRIXOperand;
922 let EncoderMethod = "getDispRIXEncoding";
923 let DecoderMethod = "decodeDispRIXOperand";
926 let Name = "DispRIHash"; let PredicateMethod = "isHashImmX8";
927 let RenderMethod = "addImmOperands";
930 let ParserMatchClass = PPCDispRIHashOperand;
931 let EncoderMethod = "getDispRIHashEncoding";
932 let DecoderMethod = "decodeDispRIHashOperand";
935 let Name = "DispRIX16"; let PredicateMethod = "isS16ImmX16";
936 let RenderMethod = "addS16ImmOperands";
939 let ParserMatchClass = PPCDispRIX16Operand;
940 let EncoderMethod = "getDispRIX16Encoding";
941 let DecoderMethod = "decodeDispRIX16Operand";
945 let Name = "DispSPE8"; let PredicateMethod = "isU8ImmX8";
946 let RenderMethod = "addImmOperands";
949 let ParserMatchClass = PPCDispSPE8Operand;
950 let DecoderMethod = "decodeDispSPE8Operand";
951 let EncoderMethod = "getDispSPE8Encoding";
954 let Name = "DispSPE4"; let PredicateMethod = "isU7ImmX4";
955 let RenderMethod = "addImmOperands";
958 let ParserMatchClass = PPCDispSPE4Operand;
959 let DecoderMethod = "decodeDispSPE4Operand";
960 let EncoderMethod = "getDispSPE4Encoding";
963 let Name = "DispSPE2"; let PredicateMethod = "isU6ImmX2";
964 let RenderMethod = "addImmOperands";
967 let ParserMatchClass = PPCDispSPE2Operand;
968 let DecoderMethod = "decodeDispSPE2Operand";
969 let EncoderMethod = "getDispSPE2Encoding";
973 let PrintMethod = "printMemRegImm";
974 let MIOperandInfo = (ops dispRI:$imm, ptr_rc_nor0:$reg);
975 let OperandType = "OPERAND_MEMORY";
978 let PrintMethod = "printMemRegReg";
979 let MIOperandInfo = (ops ptr_rc_nor0:$ptrreg, ptr_rc_idx:$offreg);
980 let OperandType = "OPERAND_MEMORY";
983 let PrintMethod = "printMemRegImm";
984 let MIOperandInfo = (ops dispRIX:$imm, ptr_rc_nor0:$reg);
985 let OperandType = "OPERAND_MEMORY";
989 let PrintMethod = "printMemRegImmHash";
990 let MIOperandInfo = (ops dispRIHash:$imm, ptr_rc_nor0:$reg);
991 let OperandType = "OPERAND_MEMORY";
994 let PrintMethod = "printMemRegImm";
995 let MIOperandInfo = (ops dispRIX16:$imm, ptr_rc_nor0:$reg);
996 let OperandType = "OPERAND_MEMORY";
999 let PrintMethod = "printMemRegImm";
1000 let MIOperandInfo = (ops dispSPE8:$imm, ptr_rc_nor0:$reg);
1001 let OperandType = "OPERAND_MEMORY";
1004 let PrintMethod = "printMemRegImm";
1005 let MIOperandInfo = (ops dispSPE4:$imm, ptr_rc_nor0:$reg);
1006 let OperandType = "OPERAND_MEMORY";
1009 let PrintMethod = "printMemRegImm";
1010 let MIOperandInfo = (ops dispSPE2:$imm, ptr_rc_nor0:$reg);
1011 let OperandType = "OPERAND_MEMORY";
1018 let MIOperandInfo = (ops ptr_rc_nor0:$ptrreg);
1019 let OperandType = "OPERAND_MEMORY";
1022 let Name = "TLSReg"; let PredicateMethod = "isTLSReg";
1023 let RenderMethod = "addTLSRegOperands";
1026 let EncoderMethod = "getTLSRegEncoding";
1027 let ParserMatchClass = PPCTLSRegOperand;
1031 let PrintMethod = "printTLSCall";
1032 let MIOperandInfo = (ops calltarget:$func, tlsgd32:$sym);
1033 let EncoderMethod = "getTLSCallEncoding";
1038 let PrintMethod = "printPredicateOperand";
1039 let MIOperandInfo = (ops i32imm:$bibo, crrc:$reg);
1043 let Name = "RegVSRC"; let PredicateMethod = "isVSRegNumber";
1046 let ParserMatchClass = PPCRegVSRCAsmOperand;
1050 let Name = "RegVSFRC"; let PredicateMethod = "isVSRegNumber";
1053 let ParserMatchClass = PPCRegVSFRCAsmOperand;
1057 let Name = "RegVSSRC"; let PredicateMethod = "isVSRegNumber";
1060 let ParserMatchClass = PPCRegVSSRCAsmOperand;
1064 let Name = "RegSPILLTOVSRRC"; let PredicateMethod = "isVSRegNumber";
1068 let ParserMatchClass = PPCRegSPILLTOVSRRCAsmOperand;
1072 let Name = "RegVSRpRC"; let PredicateMethod = "isVSRpEvenRegNumber";
1076 let ParserMatchClass = PPCRegVSRpRCAsmOperand;
1080 let Name = "RegVSRpEvenRC"; let PredicateMethod = "isVSRpEvenRegNumber";
1084 let ParserMatchClass = PPCRegVSRpEvenRCAsmOperand;
1085 let EncoderMethod = "getVSRpEvenEncoding";
1086 let DecoderMethod = "decodeVSRpEvenOperands";
1090 let Name = "RegACCRC"; let PredicateMethod = "isACCRegNumber";
1094 let ParserMatchClass = PPCRegACCRCAsmOperand;
1098 let ParserMatchClass = PPCRegACCRCAsmOperand;
1103 let Name = "RegDMRROWRC";
1104 let PredicateMethod = "isDMRROWRegNumber";
1108 let ParserMatchClass = PPCRegDMRROWRCAsmOperand;
1112 let Name = "RegDMRROWpRC";
1113 let PredicateMethod = "isDMRROWpRegNumber";
1117 let ParserMatchClass = PPCRegDMRROWpRCAsmOperand;
1121 let ParserMatchClass = PPCRegACCRCAsmOperand;
1125 let ParserMatchClass = PPCRegACCRCAsmOperand;
1129 let Name = "RegDMRRC";
1130 let PredicateMethod = "isDMRRegNumber";
1134 let ParserMatchClass = PPCRegDMRRCAsmOperand;
1138 let Name = "RegDMRpRC";
1139 let PredicateMethod = "isDMRpRegNumber";
1143 let ParserMatchClass = PPCRegDMRpRCAsmOperand;