Lines Matching refs:TmpInst

834     MCInst TmpInst;  in ProcessInstruction()  local
835 TmpInst.setOpcode((Opcode == PPC::DCBTx || Opcode == PPC::DCBTT) ? in ProcessInstruction()
837 TmpInst.addOperand(MCOperand::createImm( in ProcessInstruction()
839 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
840 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
841 Inst = TmpInst; in ProcessInstruction()
846 MCInst TmpInst; in ProcessInstruction() local
847 TmpInst.setOpcode(PPC::DCBT); in ProcessInstruction()
848 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
849 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
850 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
851 Inst = TmpInst; in ProcessInstruction()
856 MCInst TmpInst; in ProcessInstruction() local
857 TmpInst.setOpcode(PPC::DCBTST); in ProcessInstruction()
858 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
859 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
860 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
861 Inst = TmpInst; in ProcessInstruction()
865 MCInst TmpInst; in ProcessInstruction() local
866 TmpInst.setOpcode(PPC::LA); in ProcessInstruction()
867 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
868 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
869 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
870 Inst = TmpInst; in ProcessInstruction()
874 MCInst TmpInst; in ProcessInstruction() local
875 TmpInst.setOpcode(PPC::ADDI); in ProcessInstruction()
876 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
877 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
878 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
879 Inst = TmpInst; in ProcessInstruction()
883 MCInst TmpInst; in ProcessInstruction() local
884 TmpInst.setOpcode(PPC::ADDIS); in ProcessInstruction()
885 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
886 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
887 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
888 Inst = TmpInst; in ProcessInstruction()
892 MCInst TmpInst; in ProcessInstruction() local
893 TmpInst.setOpcode(PPC::ADDIC); in ProcessInstruction()
894 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
895 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
896 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
897 Inst = TmpInst; in ProcessInstruction()
901 MCInst TmpInst; in ProcessInstruction() local
902 TmpInst.setOpcode(PPC::ADDICo); in ProcessInstruction()
903 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
904 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
905 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
906 Inst = TmpInst; in ProcessInstruction()
911 MCInst TmpInst; in ProcessInstruction() local
914 TmpInst.setOpcode(Opcode == PPC::EXTLWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
915 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
916 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
917 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
918 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
919 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
920 Inst = TmpInst; in ProcessInstruction()
925 MCInst TmpInst; in ProcessInstruction() local
928 TmpInst.setOpcode(Opcode == PPC::EXTRWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
929 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
930 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
931 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
932 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
933 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
934 Inst = TmpInst; in ProcessInstruction()
939 MCInst TmpInst; in ProcessInstruction() local
942 TmpInst.setOpcode(Opcode == PPC::INSLWI? PPC::RLWIMI : PPC::RLWIMIo); in ProcessInstruction()
943 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
944 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
945 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
946 TmpInst.addOperand(MCOperand::createImm(32 - B)); in ProcessInstruction()
947 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
948 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
949 Inst = TmpInst; in ProcessInstruction()
954 MCInst TmpInst; in ProcessInstruction() local
957 TmpInst.setOpcode(Opcode == PPC::INSRWI? PPC::RLWIMI : PPC::RLWIMIo); in ProcessInstruction()
958 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
959 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
960 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
961 TmpInst.addOperand(MCOperand::createImm(32 - (B + N))); in ProcessInstruction()
962 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
963 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
964 Inst = TmpInst; in ProcessInstruction()
969 MCInst TmpInst; in ProcessInstruction() local
971 TmpInst.setOpcode(Opcode == PPC::ROTRWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
972 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
973 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
974 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
975 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
976 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
977 Inst = TmpInst; in ProcessInstruction()
982 MCInst TmpInst; in ProcessInstruction() local
984 TmpInst.setOpcode(Opcode == PPC::SLWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
985 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
986 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
987 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
988 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
989 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
990 Inst = TmpInst; in ProcessInstruction()
995 MCInst TmpInst; in ProcessInstruction() local
997 TmpInst.setOpcode(Opcode == PPC::SRWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
998 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
999 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1000 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
1001 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1002 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
1003 Inst = TmpInst; in ProcessInstruction()
1008 MCInst TmpInst; in ProcessInstruction() local
1010 TmpInst.setOpcode(Opcode == PPC::CLRRWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
1011 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1012 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1013 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1014 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1015 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
1016 Inst = TmpInst; in ProcessInstruction()
1021 MCInst TmpInst; in ProcessInstruction() local
1024 TmpInst.setOpcode(Opcode == PPC::CLRLSLWI? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
1025 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1026 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1027 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1028 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1029 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
1030 Inst = TmpInst; in ProcessInstruction()
1035 MCInst TmpInst; in ProcessInstruction() local
1038 TmpInst.setOpcode(Opcode == PPC::EXTLDI? PPC::RLDICR : PPC::RLDICRo); in ProcessInstruction()
1039 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1040 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1041 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1042 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
1043 Inst = TmpInst; in ProcessInstruction()
1048 MCInst TmpInst; in ProcessInstruction() local
1051 TmpInst.setOpcode(Opcode == PPC::EXTRDI? PPC::RLDICL : PPC::RLDICLo); in ProcessInstruction()
1052 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1053 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1054 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
1055 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1056 Inst = TmpInst; in ProcessInstruction()
1061 MCInst TmpInst; in ProcessInstruction() local
1064 TmpInst.setOpcode(Opcode == PPC::INSRDI? PPC::RLDIMI : PPC::RLDIMIo); in ProcessInstruction()
1065 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1066 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1067 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1068 TmpInst.addOperand(MCOperand::createImm(64 - (B + N))); in ProcessInstruction()
1069 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1070 Inst = TmpInst; in ProcessInstruction()
1075 MCInst TmpInst; in ProcessInstruction() local
1077 TmpInst.setOpcode(Opcode == PPC::ROTRDI? PPC::RLDICL : PPC::RLDICLo); in ProcessInstruction()
1078 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1079 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1080 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1081 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1082 Inst = TmpInst; in ProcessInstruction()
1087 MCInst TmpInst; in ProcessInstruction() local
1089 TmpInst.setOpcode(Opcode == PPC::SLDI? PPC::RLDICR : PPC::RLDICRo); in ProcessInstruction()
1090 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1091 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1092 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1093 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1094 Inst = TmpInst; in ProcessInstruction()
1099 MCInst TmpInst; in ProcessInstruction() local
1101 TmpInst.setOpcode(Opcode == PPC::SRDI? PPC::RLDICL : PPC::RLDICLo); in ProcessInstruction()
1102 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1103 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1104 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1105 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1106 Inst = TmpInst; in ProcessInstruction()
1111 MCInst TmpInst; in ProcessInstruction() local
1113 TmpInst.setOpcode(Opcode == PPC::CLRRDI? PPC::RLDICR : PPC::RLDICRo); in ProcessInstruction()
1114 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1115 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1116 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1117 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1118 Inst = TmpInst; in ProcessInstruction()
1123 MCInst TmpInst; in ProcessInstruction() local
1126 TmpInst.setOpcode(Opcode == PPC::CLRLSLDI? PPC::RLDIC : PPC::RLDICo); in ProcessInstruction()
1127 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1128 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1129 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1130 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1131 Inst = TmpInst; in ProcessInstruction()
1141 MCInst TmpInst; in ProcessInstruction() local
1142 TmpInst.setOpcode(Opcode == PPC::RLWINMbm ? PPC::RLWINM : PPC::RLWINMo); in ProcessInstruction()
1143 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1144 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1145 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1146 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1147 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1148 Inst = TmpInst; in ProcessInstruction()
1158 MCInst TmpInst; in ProcessInstruction() local
1159 TmpInst.setOpcode(Opcode == PPC::RLWIMIbm ? PPC::RLWIMI : PPC::RLWIMIo); in ProcessInstruction()
1160 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1161 TmpInst.addOperand(Inst.getOperand(0)); // The tied operand. in ProcessInstruction()
1162 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1163 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1164 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1165 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1166 Inst = TmpInst; in ProcessInstruction()
1176 MCInst TmpInst; in ProcessInstruction() local
1177 TmpInst.setOpcode(Opcode == PPC::RLWNMbm ? PPC::RLWNM : PPC::RLWNMo); in ProcessInstruction()
1178 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1179 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1180 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1181 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1182 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1183 Inst = TmpInst; in ProcessInstruction()