Lines Matching refs:TmpInst
753 MCInst TmpInst; in ProcessInstruction() local
754 TmpInst.setOpcode((Opcode == PPC::DCBTx || Opcode == PPC::DCBTT) ? in ProcessInstruction()
756 TmpInst.addOperand(MCOperand::createImm( in ProcessInstruction()
758 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
759 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
760 Inst = TmpInst; in ProcessInstruction()
765 MCInst TmpInst; in ProcessInstruction() local
766 TmpInst.setOpcode(PPC::DCBT); in ProcessInstruction()
767 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
768 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
769 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
770 Inst = TmpInst; in ProcessInstruction()
775 MCInst TmpInst; in ProcessInstruction() local
776 TmpInst.setOpcode(PPC::DCBTST); in ProcessInstruction()
777 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
778 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
779 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
780 Inst = TmpInst; in ProcessInstruction()
798 MCInst TmpInst; in ProcessInstruction() local
799 TmpInst.setOpcode(PPC::DCBF); in ProcessInstruction()
800 TmpInst.addOperand(MCOperand::createImm(L)); in ProcessInstruction()
801 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
802 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
803 Inst = TmpInst; in ProcessInstruction()
807 MCInst TmpInst; in ProcessInstruction() local
808 TmpInst.setOpcode(PPC::LA); in ProcessInstruction()
809 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
810 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
811 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
812 Inst = TmpInst; in ProcessInstruction()
816 MCInst TmpInst; in ProcessInstruction() local
817 TmpInst.setOpcode(PPC::ADDI); in ProcessInstruction()
818 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
819 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
820 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
821 Inst = TmpInst; in ProcessInstruction()
825 MCInst TmpInst; in ProcessInstruction() local
826 TmpInst.setOpcode(PPC::ADDIS); in ProcessInstruction()
827 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
828 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
829 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
830 Inst = TmpInst; in ProcessInstruction()
834 MCInst TmpInst; in ProcessInstruction() local
835 TmpInst.setOpcode(PPC::ADDIC); in ProcessInstruction()
836 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
837 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
838 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
839 Inst = TmpInst; in ProcessInstruction()
843 MCInst TmpInst; in ProcessInstruction() local
844 TmpInst.setOpcode(PPC::ADDIC_rec); in ProcessInstruction()
845 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
846 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
847 addNegOperand(TmpInst, Inst.getOperand(2), getContext()); in ProcessInstruction()
848 Inst = TmpInst; in ProcessInstruction()
853 MCInst TmpInst; in ProcessInstruction() local
856 TmpInst.setOpcode(Opcode == PPC::EXTLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
857 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
858 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
859 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
860 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
861 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
862 Inst = TmpInst; in ProcessInstruction()
867 MCInst TmpInst; in ProcessInstruction() local
870 TmpInst.setOpcode(Opcode == PPC::EXTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
871 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
872 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
873 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
874 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
875 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
876 Inst = TmpInst; in ProcessInstruction()
881 MCInst TmpInst; in ProcessInstruction() local
884 TmpInst.setOpcode(Opcode == PPC::INSLWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
885 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
886 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
887 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
888 TmpInst.addOperand(MCOperand::createImm(32 - B)); in ProcessInstruction()
889 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
890 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
891 Inst = TmpInst; in ProcessInstruction()
896 MCInst TmpInst; in ProcessInstruction() local
899 TmpInst.setOpcode(Opcode == PPC::INSRWI ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
900 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
901 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
902 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
903 TmpInst.addOperand(MCOperand::createImm(32 - (B + N))); in ProcessInstruction()
904 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
905 TmpInst.addOperand(MCOperand::createImm((B + N) - 1)); in ProcessInstruction()
906 Inst = TmpInst; in ProcessInstruction()
911 MCInst TmpInst; in ProcessInstruction() local
913 TmpInst.setOpcode(Opcode == PPC::ROTRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
914 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
915 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
916 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
917 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
918 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
919 Inst = TmpInst; in ProcessInstruction()
924 MCInst TmpInst; in ProcessInstruction() local
926 TmpInst.setOpcode(Opcode == PPC::SLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
927 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
928 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
929 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
930 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
931 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
932 Inst = TmpInst; in ProcessInstruction()
937 MCInst TmpInst; in ProcessInstruction() local
939 TmpInst.setOpcode(Opcode == PPC::SRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
940 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
941 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
942 TmpInst.addOperand(MCOperand::createImm(32 - N)); in ProcessInstruction()
943 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
944 TmpInst.addOperand(MCOperand::createImm(31)); in ProcessInstruction()
945 Inst = TmpInst; in ProcessInstruction()
950 MCInst TmpInst; in ProcessInstruction() local
952 TmpInst.setOpcode(Opcode == PPC::CLRRWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
953 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
954 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
955 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
956 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
957 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
958 Inst = TmpInst; in ProcessInstruction()
963 MCInst TmpInst; in ProcessInstruction() local
966 TmpInst.setOpcode(Opcode == PPC::CLRLSLWI ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
967 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
968 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
969 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
970 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
971 TmpInst.addOperand(MCOperand::createImm(31 - N)); in ProcessInstruction()
972 Inst = TmpInst; in ProcessInstruction()
977 MCInst TmpInst; in ProcessInstruction() local
980 TmpInst.setOpcode(Opcode == PPC::EXTLDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
981 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
982 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
983 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
984 TmpInst.addOperand(MCOperand::createImm(N - 1)); in ProcessInstruction()
985 Inst = TmpInst; in ProcessInstruction()
990 MCInst TmpInst; in ProcessInstruction() local
993 TmpInst.setOpcode(Opcode == PPC::EXTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
994 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
995 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
996 TmpInst.addOperand(MCOperand::createImm(B + N)); in ProcessInstruction()
997 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
998 Inst = TmpInst; in ProcessInstruction()
1003 MCInst TmpInst; in ProcessInstruction() local
1006 TmpInst.setOpcode(Opcode == PPC::INSRDI ? PPC::RLDIMI : PPC::RLDIMI_rec); in ProcessInstruction()
1007 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1008 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1009 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1010 TmpInst.addOperand(MCOperand::createImm(64 - (B + N))); in ProcessInstruction()
1011 TmpInst.addOperand(MCOperand::createImm(B)); in ProcessInstruction()
1012 Inst = TmpInst; in ProcessInstruction()
1017 MCInst TmpInst; in ProcessInstruction() local
1019 TmpInst.setOpcode(Opcode == PPC::ROTRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1020 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1021 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1022 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1023 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1024 Inst = TmpInst; in ProcessInstruction()
1029 MCInst TmpInst; in ProcessInstruction() local
1031 TmpInst.setOpcode(Opcode == PPC::SLDI ? PPC::RLDICR : PPC::RLDICR_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(63 - N)); in ProcessInstruction()
1036 Inst = TmpInst; in ProcessInstruction()
1040 MCInst TmpInst; in ProcessInstruction() local
1042 TmpInst.setOpcode(PPC::ADDPCIS); in ProcessInstruction()
1043 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1044 TmpInst.addOperand(MCOperand::createImm(-N)); in ProcessInstruction()
1045 Inst = TmpInst; in ProcessInstruction()
1050 MCInst TmpInst; in ProcessInstruction() local
1052 TmpInst.setOpcode(Opcode == PPC::SRDI ? PPC::RLDICL : PPC::RLDICL_rec); in ProcessInstruction()
1053 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1054 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1055 TmpInst.addOperand(MCOperand::createImm(64 - N)); in ProcessInstruction()
1056 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1057 Inst = TmpInst; in ProcessInstruction()
1062 MCInst TmpInst; in ProcessInstruction() local
1064 TmpInst.setOpcode(Opcode == PPC::CLRRDI ? PPC::RLDICR : PPC::RLDICR_rec); in ProcessInstruction()
1065 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1066 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1067 TmpInst.addOperand(MCOperand::createImm(0)); in ProcessInstruction()
1068 TmpInst.addOperand(MCOperand::createImm(63 - N)); in ProcessInstruction()
1069 Inst = TmpInst; in ProcessInstruction()
1074 MCInst TmpInst; in ProcessInstruction() local
1077 TmpInst.setOpcode(Opcode == PPC::CLRLSLDI ? PPC::RLDIC : PPC::RLDIC_rec); in ProcessInstruction()
1078 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1079 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1080 TmpInst.addOperand(MCOperand::createImm(N)); in ProcessInstruction()
1081 TmpInst.addOperand(MCOperand::createImm(B - N)); in ProcessInstruction()
1082 Inst = TmpInst; in ProcessInstruction()
1092 MCInst TmpInst; in ProcessInstruction() local
1093 TmpInst.setOpcode(Opcode == PPC::RLWINMbm ? PPC::RLWINM : PPC::RLWINM_rec); in ProcessInstruction()
1094 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1095 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1096 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1097 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1098 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1099 Inst = TmpInst; in ProcessInstruction()
1109 MCInst TmpInst; in ProcessInstruction() local
1110 TmpInst.setOpcode(Opcode == PPC::RLWIMIbm ? PPC::RLWIMI : PPC::RLWIMI_rec); in ProcessInstruction()
1111 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1112 TmpInst.addOperand(Inst.getOperand(0)); // The tied operand. in ProcessInstruction()
1113 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1114 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1115 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1116 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1117 Inst = TmpInst; in ProcessInstruction()
1127 MCInst TmpInst; in ProcessInstruction() local
1128 TmpInst.setOpcode(Opcode == PPC::RLWNMbm ? PPC::RLWNM : PPC::RLWNM_rec); in ProcessInstruction()
1129 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1130 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
1131 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
1132 TmpInst.addOperand(MCOperand::createImm(MB)); in ProcessInstruction()
1133 TmpInst.addOperand(MCOperand::createImm(ME)); in ProcessInstruction()
1134 Inst = TmpInst; in ProcessInstruction()