• Home
  • Raw
  • Download

Lines Matching refs:addOperand

439     Inst.addOperand(MCOperand::createReg(RRegs[getReg()]));  in addRegGPRCOperands()
444 Inst.addOperand(MCOperand::createReg(RRegsNoR0[getReg()])); in addRegGPRCNoR0Operands()
449 Inst.addOperand(MCOperand::createReg(XRegs[getReg()])); in addRegG8RCOperands()
454 Inst.addOperand(MCOperand::createReg(XRegsNoX0[getReg()])); in addRegG8RCNoX0Operands()
473 Inst.addOperand(MCOperand::createReg(FRegs[getReg()])); in addRegF4RCOperands()
478 Inst.addOperand(MCOperand::createReg(FRegs[getReg()])); in addRegF8RCOperands()
483 Inst.addOperand(MCOperand::createReg(VFRegs[getReg()])); in addRegVFRCOperands()
488 Inst.addOperand(MCOperand::createReg(VRegs[getReg()])); in addRegVRRCOperands()
493 Inst.addOperand(MCOperand::createReg(VSRegs[getVSReg()])); in addRegVSRCOperands()
498 Inst.addOperand(MCOperand::createReg(VSFRegs[getVSReg()])); in addRegVSFRCOperands()
503 Inst.addOperand(MCOperand::createReg(VSSRegs[getVSReg()])); in addRegVSSRCOperands()
508 Inst.addOperand(MCOperand::createReg(RRegs[getReg()])); in addRegSPE4RCOperands()
513 Inst.addOperand(MCOperand::createReg(SPERegs[getReg()])); in addRegSPERCOperands()
518 Inst.addOperand(MCOperand::createReg(ACCRegs[getACCReg()])); in addRegACCRCOperands()
523 Inst.addOperand(MCOperand::createReg(VSRpRegs[getVSRpEvenReg()])); in addRegVSRpRCOperands()
528 Inst.addOperand(MCOperand::createReg(VSRpRegs[getVSRpEvenReg()])); in addRegVSRpEvenRCOperands()
533 Inst.addOperand(MCOperand::createReg(CRBITRegs[getCRBit()])); in addRegCRBITRCOperands()
538 Inst.addOperand(MCOperand::createReg(CRRegs[getCCReg()])); in addRegCRRCOperands()
543 Inst.addOperand(MCOperand::createReg(CRRegs[getCRBitMask()])); in addCRBitMaskOperands()
549 Inst.addOperand(MCOperand::createImm(getImm())); in addImmOperands()
551 Inst.addOperand(MCOperand::createExpr(getExpr())); in addImmOperands()
558 Inst.addOperand(MCOperand::createImm(getImm())); in addS16ImmOperands()
561 Inst.addOperand(MCOperand::createImm(getImmS16Context())); in addS16ImmOperands()
564 Inst.addOperand(MCOperand::createExpr(getExpr())); in addS16ImmOperands()
573 Inst.addOperand(MCOperand::createImm(getImm())); in addU16ImmOperands()
576 Inst.addOperand(MCOperand::createImm(getImmU16Context())); in addU16ImmOperands()
579 Inst.addOperand(MCOperand::createExpr(getExpr())); in addU16ImmOperands()
587 Inst.addOperand(MCOperand::createImm(getImm() / 4)); in addBranchTargetOperands()
589 Inst.addOperand(MCOperand::createExpr(getExpr())); in addBranchTargetOperands()
594 Inst.addOperand(MCOperand::createExpr(getTLSReg())); in addTLSRegOperands()
717 Inst.addOperand(MCOperand::createImm(-Op.getImm())); in addNegOperand()
723 Inst.addOperand(MCOperand::createExpr(UnExpr->getSubExpr())); in addNegOperand()
730 Inst.addOperand(MCOperand::createExpr(NE)); in addNegOperand()
734 Inst.addOperand(MCOperand::createExpr(MCUnaryExpr::createMinus(Expr, Ctx))); in addNegOperand()
748 TmpInst.addOperand(MCOperand::createImm( in ProcessInstruction()
750 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
751 TmpInst.addOperand(Inst.getOperand(1)); 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()
769 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
770 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
771 TmpInst.addOperand(Inst.getOperand(1)); 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()
801 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
802 TmpInst.addOperand(Inst.getOperand(2)); in ProcessInstruction()
803 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
810 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
811 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
819 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
820 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
828 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
829 TmpInst.addOperand(Inst.getOperand(1)); in ProcessInstruction()
837 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
838 TmpInst.addOperand(Inst.getOperand(1)); 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
1035 TmpInst.addOperand(Inst.getOperand(0)); in ProcessInstruction()
1036 TmpInst.addOperand(MCOperand::createImm(-N)); 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()
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()
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()
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()
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()
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()
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()
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()