• Home
  • Raw
  • Download

Lines Matching refs:TmpInst

745     MCInst TmpInst;  in ProcessInstruction()  local
746 TmpInst.setOpcode((Opcode == PPC::DCBTx || Opcode == PPC::DCBTT) ? in ProcessInstruction()
748 TmpInst.addOperand(MCOperand::createImm( in ProcessInstruction()
750 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
751 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
752 Inst = TmpInst; in ProcessInstruction()
757 MCInst TmpInst; in ProcessInstruction() local
758 TmpInst.setOpcode(PPC::DCBT); in ProcessInstruction()
759 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
760 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
761 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
762 Inst = TmpInst; in ProcessInstruction()
767 MCInst TmpInst; in ProcessInstruction() local
768 TmpInst.setOpcode(PPC::DCBTST); in ProcessInstruction()
769 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
770 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
771 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
772 Inst = TmpInst; in ProcessInstruction()
790 MCInst TmpInst; in ProcessInstruction() local
791 TmpInst.setOpcode(PPC::DCBF); in ProcessInstruction()
792 TmpInst.addOperand(MCOperand::createImm(L)); in ProcessInstruction()
793 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
794 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
795 Inst = TmpInst; in ProcessInstruction()
799 MCInst TmpInst; in ProcessInstruction() local
800 TmpInst.setOpcode(PPC::LA); in ProcessInstruction()
801 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
802 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
803 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
804 Inst = TmpInst; in ProcessInstruction()
808 MCInst TmpInst; in ProcessInstruction() local
809 TmpInst.setOpcode(PPC::ADDI); in ProcessInstruction()
810 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
811 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
812 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
813 Inst = TmpInst; in ProcessInstruction()
817 MCInst TmpInst; in ProcessInstruction() local
818 TmpInst.setOpcode(PPC::ADDIS); in ProcessInstruction()
819 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
820 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
821 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
822 Inst = TmpInst; in ProcessInstruction()
826 MCInst TmpInst; in ProcessInstruction() local
827 TmpInst.setOpcode(PPC::ADDIC); in ProcessInstruction()
828 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
829 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
830 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
831 Inst = TmpInst; in ProcessInstruction()
835 MCInst TmpInst; in ProcessInstruction() local
836 TmpInst.setOpcode(PPC::ADDIC_rec); in ProcessInstruction()
837 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
838 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
839 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
840 Inst = TmpInst; in ProcessInstruction()
845 MCInst TmpInst; in ProcessInstruction() local
848 TmpInst.setOpcode(Opcode == PPC::EXTLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
849 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
850 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
851 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
852 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
853 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
854 Inst = TmpInst; in ProcessInstruction()
859 MCInst TmpInst; in ProcessInstruction() local
862 TmpInst.setOpcode(Opcode == PPC::EXTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
863 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
864 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
865 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
866 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
867 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
868 Inst = TmpInst; in ProcessInstruction()
873 MCInst TmpInst; in ProcessInstruction() local
876 TmpInst.setOpcode(Opcode == PPC::INSLWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
877 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
878 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
879 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
880 TmpInst.addOperand(MCOperand::createImm(32 - B)); in ProcessInstruction()
881 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
882 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
883 Inst = TmpInst; in ProcessInstruction()
888 MCInst TmpInst; in ProcessInstruction() local
891 TmpInst.setOpcode(Opcode == PPC::INSRWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
892 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
893 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
894 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
895 TmpInst.addOperand(MCOperand::createImm(32 - (B + N))); in ProcessInstruction()
896 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
897 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
898 Inst = TmpInst; in ProcessInstruction()
903 MCInst TmpInst; in ProcessInstruction() local
905 TmpInst.setOpcode(Opcode == PPC::ROTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
906 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
907 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
908 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
909 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
910 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
911 Inst = TmpInst; in ProcessInstruction()
916 MCInst TmpInst; in ProcessInstruction() local
918 TmpInst.setOpcode(Opcode == PPC::SLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
919 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
920 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
921 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
922 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
923 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
924 Inst = TmpInst; in ProcessInstruction()
929 MCInst TmpInst; in ProcessInstruction() local
931 TmpInst.setOpcode(Opcode == PPC::SRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
932 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
933 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
934 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
935 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
936 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
937 Inst = TmpInst; in ProcessInstruction()
942 MCInst TmpInst; in ProcessInstruction() local
944 TmpInst.setOpcode(Opcode == PPC::CLRRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
945 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
946 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
947 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
948 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
949 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
950 Inst = TmpInst; in ProcessInstruction()
955 MCInst TmpInst; in ProcessInstruction() local
958 TmpInst.setOpcode(Opcode == PPC::CLRLSLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
959 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
960 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
961 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
962 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
963 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
964 Inst = TmpInst; in ProcessInstruction()
969 MCInst TmpInst; in ProcessInstruction() local
972 TmpInst.setOpcode(Opcode == PPC::EXTLDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
973 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
974 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
975 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
976 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
977 Inst = TmpInst; in ProcessInstruction()
982 MCInst TmpInst; in ProcessInstruction() local
985 TmpInst.setOpcode(Opcode == PPC::EXTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
986 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
987 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
988 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
989 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
990 Inst = TmpInst; in ProcessInstruction()
995 MCInst TmpInst; in ProcessInstruction() local
998 TmpInst.setOpcode(Opcode == PPC::INSRDI ? PPC::RLDIMI : PPC::RLDIMI_rec); in ProcessInstruction()
999 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1000 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1001 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1002 TmpInst.addOperand(MCOperand::createImm(64 - (B + N))); in ProcessInstruction()
1003 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1004 Inst = TmpInst; in ProcessInstruction()
1009 MCInst TmpInst; in ProcessInstruction() local
1011 TmpInst.setOpcode(Opcode == PPC::ROTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1012 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1013 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1014 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1015 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1016 Inst = TmpInst; in ProcessInstruction()
1021 MCInst TmpInst; in ProcessInstruction() local
1023 TmpInst.setOpcode(Opcode == PPC::SLDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1024 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1025 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1026 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1027 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1028 Inst = TmpInst; in ProcessInstruction()
1032 MCInst TmpInst; in ProcessInstruction() local
1034 TmpInst.setOpcode(PPC::ADDPCIS); in ProcessInstruction()
1035 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1036 TmpInst.addOperand(MCOperand::createImm(-N)); in ProcessInstruction()
1037 Inst = TmpInst; in ProcessInstruction()
1042 MCInst TmpInst; in ProcessInstruction() local
1044 TmpInst.setOpcode(Opcode == PPC::SRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1045 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1046 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1047 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1048 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1049 Inst = TmpInst; in ProcessInstruction()
1054 MCInst TmpInst; in ProcessInstruction() local
1056 TmpInst.setOpcode(Opcode == PPC::CLRRDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1057 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1058 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1059 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1060 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1061 Inst = TmpInst; in ProcessInstruction()
1066 MCInst TmpInst; in ProcessInstruction() local
1069 TmpInst.setOpcode(Opcode == PPC::CLRLSLDI ? PPC::RLDIC : PPC::RLDIC_rec); in ProcessInstruction()
1070 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1071 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1072 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1073 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1074 Inst = TmpInst; in ProcessInstruction()
1084 MCInst TmpInst; in ProcessInstruction() local
1085 TmpInst.setOpcode(Opcode == PPC::RLWINMbm ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1086 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1087 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1088 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1089 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1090 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1091 Inst = TmpInst; in ProcessInstruction()
1101 MCInst TmpInst; in ProcessInstruction() local
1102 TmpInst.setOpcode(Opcode == PPC::RLWIMIbm ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
1103 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1104 TmpInst.addOperand(Inst.getOperand(0)); // The tied operand. in ProcessInstruction()
1105 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1106 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1107 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1108 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1109 Inst = TmpInst; in ProcessInstruction()
1119 MCInst TmpInst; in ProcessInstruction() local
1120 TmpInst.setOpcode(Opcode == PPC::RLWNMbm ? PPC::RLWNM : PPC::RLWNM_rec); in ProcessInstruction()
1121 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1122 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1123 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1124 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1125 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1126 Inst = TmpInst; in ProcessInstruction()
1138 MCInst TmpInst; in ProcessInstruction() local
1139 TmpInst.setOpcode(PPC::CP_COPY); in ProcessInstruction()
1140 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1141 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1142 TmpInst.addOperand(MCOperand::createImm(Opcode == PPC::CP_COPYx ? 0 : 1)); in ProcessInstruction()
1144 Inst = TmpInst; in ProcessInstruction()
1149 MCInst TmpInst; in ProcessInstruction() local
1150 TmpInst.setOpcode(Opcode == PPC::CP_PASTEx ? PPC::CP_PASTE in ProcessInstruction()
1152 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1153 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1154 TmpInst.addOperand(MCOperand::createImm(Opcode == PPC::CP_PASTEx ? 0 : 1)); in ProcessInstruction()
1156 Inst = TmpInst; in ProcessInstruction()