Lines Matching refs:TmpInst
829 MCInst TmpInst; in ProcessInstruction() local
830 TmpInst.setOpcode((Opcode == PPC::DCBTx || Opcode == PPC::DCBTT) ? in ProcessInstruction()
832 TmpInst.addOperand(MCOperand::createImm( in ProcessInstruction()
834 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
835 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
836 Inst = TmpInst; in ProcessInstruction()
841 MCInst TmpInst; in ProcessInstruction() local
842 TmpInst.setOpcode(PPC::DCBT); in ProcessInstruction()
843 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
844 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
845 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
846 Inst = TmpInst; in ProcessInstruction()
851 MCInst TmpInst; in ProcessInstruction() local
852 TmpInst.setOpcode(PPC::DCBTST); in ProcessInstruction()
853 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
854 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
855 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
856 Inst = TmpInst; in ProcessInstruction()
874 MCInst TmpInst; in ProcessInstruction() local
875 TmpInst.setOpcode(PPC::DCBF); in ProcessInstruction()
876 TmpInst.addOperand(MCOperand::createImm(L)); in ProcessInstruction()
877 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
878 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
879 Inst = TmpInst; in ProcessInstruction()
883 MCInst TmpInst; in ProcessInstruction() local
884 TmpInst.setOpcode(PPC::LA); in ProcessInstruction()
885 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
886 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
887 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
888 Inst = TmpInst; in ProcessInstruction()
893 MCInst TmpInst; in ProcessInstruction() local
894 TmpInst.setOpcode(Opcode == PPC::PLA ? PPC::PADDI : PPC::PADDI8); in ProcessInstruction()
895 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
896 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
897 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
898 Inst = TmpInst; in ProcessInstruction()
903 MCInst TmpInst; in ProcessInstruction() local
904 TmpInst.setOpcode(Opcode == PPC::PLApc ? PPC::PADDIpc : PPC::PADDI8pc); in ProcessInstruction()
905 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
906 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
907 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
908 Inst = TmpInst; in ProcessInstruction()
912 MCInst TmpInst; in ProcessInstruction() local
913 TmpInst.setOpcode(PPC::ADDI); in ProcessInstruction()
914 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
915 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
916 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
917 Inst = TmpInst; in ProcessInstruction()
921 MCInst TmpInst; in ProcessInstruction() local
922 TmpInst.setOpcode(PPC::PADDI); in ProcessInstruction()
923 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
924 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
925 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
926 Inst = TmpInst; in ProcessInstruction()
930 MCInst TmpInst; in ProcessInstruction() local
931 TmpInst.setOpcode(PPC::ADDIS); in ProcessInstruction()
932 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
933 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
934 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
935 Inst = TmpInst; in ProcessInstruction()
939 MCInst TmpInst; in ProcessInstruction() local
940 TmpInst.setOpcode(PPC::ADDIC); in ProcessInstruction()
941 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
942 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
943 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
944 Inst = TmpInst; in ProcessInstruction()
948 MCInst TmpInst; in ProcessInstruction() local
949 TmpInst.setOpcode(PPC::ADDIC_rec); in ProcessInstruction()
950 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
951 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
952 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
953 Inst = TmpInst; in ProcessInstruction()
958 MCInst TmpInst; in ProcessInstruction() local
961 TmpInst.setOpcode(Opcode == PPC::EXTLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
962 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
963 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
964 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
965 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
966 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
967 Inst = TmpInst; in ProcessInstruction()
972 MCInst TmpInst; in ProcessInstruction() local
975 TmpInst.setOpcode(Opcode == PPC::EXTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
976 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
977 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
978 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
979 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
980 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
981 Inst = TmpInst; in ProcessInstruction()
986 MCInst TmpInst; in ProcessInstruction() local
989 TmpInst.setOpcode(Opcode == PPC::INSLWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
990 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
991 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
992 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
993 TmpInst.addOperand(MCOperand::createImm(32 - B)); in ProcessInstruction()
994 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
995 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
996 Inst = TmpInst; in ProcessInstruction()
1001 MCInst TmpInst; in ProcessInstruction() local
1004 TmpInst.setOpcode(Opcode == PPC::INSRWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
1005 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1006 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1007 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1008 TmpInst.addOperand(MCOperand::createImm(32 - (B + N))); in ProcessInstruction()
1009 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1010 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
1011 Inst = TmpInst; in ProcessInstruction()
1016 MCInst TmpInst; in ProcessInstruction() local
1018 TmpInst.setOpcode(Opcode == PPC::ROTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1019 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1020 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1021 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
1022 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1023 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
1024 Inst = TmpInst; in ProcessInstruction()
1029 MCInst TmpInst; in ProcessInstruction() local
1031 TmpInst.setOpcode(Opcode == PPC::SLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1032 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1033 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1034 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1035 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1036 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
1037 Inst = TmpInst; in ProcessInstruction()
1042 MCInst TmpInst; in ProcessInstruction() local
1044 TmpInst.setOpcode(Opcode == PPC::SRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1045 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1046 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1047 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
1048 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1049 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
1050 Inst = TmpInst; in ProcessInstruction()
1055 MCInst TmpInst; in ProcessInstruction() local
1057 TmpInst.setOpcode(Opcode == PPC::CLRRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1058 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1059 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1060 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1061 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1062 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
1063 Inst = TmpInst; in ProcessInstruction()
1068 MCInst TmpInst; in ProcessInstruction() local
1071 TmpInst.setOpcode(Opcode == PPC::CLRLSLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1072 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1073 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1074 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1075 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1076 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
1077 Inst = TmpInst; in ProcessInstruction()
1082 MCInst TmpInst; in ProcessInstruction() local
1085 TmpInst.setOpcode(Opcode == PPC::EXTLDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1086 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1087 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1088 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1089 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
1090 Inst = TmpInst; in ProcessInstruction()
1095 MCInst TmpInst; in ProcessInstruction() local
1098 TmpInst.setOpcode(Opcode == PPC::EXTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1099 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1100 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1101 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
1102 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1103 Inst = TmpInst; in ProcessInstruction()
1108 MCInst TmpInst; in ProcessInstruction() local
1111 TmpInst.setOpcode(Opcode == PPC::INSRDI ? PPC::RLDIMI : PPC::RLDIMI_rec); in ProcessInstruction()
1112 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1113 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1114 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1115 TmpInst.addOperand(MCOperand::createImm(64 - (B + N))); in ProcessInstruction()
1116 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1117 Inst = TmpInst; in ProcessInstruction()
1122 MCInst TmpInst; in ProcessInstruction() local
1124 TmpInst.setOpcode(Opcode == PPC::ROTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1125 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1126 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1127 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1128 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1129 Inst = TmpInst; in ProcessInstruction()
1134 MCInst TmpInst; in ProcessInstruction() local
1136 TmpInst.setOpcode(Opcode == PPC::SLDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1137 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1138 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1139 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1140 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1141 Inst = TmpInst; in ProcessInstruction()
1145 MCInst TmpInst; in ProcessInstruction() local
1147 TmpInst.setOpcode(PPC::ADDPCIS); in ProcessInstruction()
1148 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1149 TmpInst.addOperand(MCOperand::createImm(-N)); in ProcessInstruction()
1150 Inst = TmpInst; in ProcessInstruction()
1155 MCInst TmpInst; in ProcessInstruction() local
1157 TmpInst.setOpcode(Opcode == PPC::SRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1158 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1159 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1160 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1161 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1162 Inst = TmpInst; in ProcessInstruction()
1167 MCInst TmpInst; in ProcessInstruction() local
1169 TmpInst.setOpcode(Opcode == PPC::CLRRDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1170 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1171 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1172 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1173 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1174 Inst = TmpInst; in ProcessInstruction()
1179 MCInst TmpInst; in ProcessInstruction() local
1182 TmpInst.setOpcode(Opcode == PPC::CLRLSLDI ? PPC::RLDIC : PPC::RLDIC_rec); in ProcessInstruction()
1183 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1184 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1185 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1186 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1187 Inst = TmpInst; in ProcessInstruction()
1197 MCInst TmpInst; in ProcessInstruction() local
1198 TmpInst.setOpcode(Opcode == PPC::RLWINMbm ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1199 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1200 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1201 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1202 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1203 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1204 Inst = TmpInst; in ProcessInstruction()
1214 MCInst TmpInst; in ProcessInstruction() local
1215 TmpInst.setOpcode(Opcode == PPC::RLWIMIbm ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
1216 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1217 TmpInst.addOperand(Inst.getOperand(0)); // The tied operand. in ProcessInstruction()
1218 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1219 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1220 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1221 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1222 Inst = TmpInst; in ProcessInstruction()
1232 MCInst TmpInst; in ProcessInstruction() local
1233 TmpInst.setOpcode(Opcode == PPC::RLWNMbm ? PPC::RLWNM : PPC::RLWNM_rec); in ProcessInstruction()
1234 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1235 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1236 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1237 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1238 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1239 Inst = TmpInst; in ProcessInstruction()