Lines Matching refs:MCInst_getOperand
88 unsigned char SH = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
89 unsigned char MB = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 3)); in PPC_printInst()
90 unsigned char ME = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 4)); in PPC_printInst()
128 MCOperand_getReg(MCInst_getOperand(MI, 1)) == MCOperand_getReg(MCInst_getOperand(MI, 2))) { in PPC_printInst()
138 unsigned char SH = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
139 unsigned char ME = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 3)); in PPC_printInst()
158 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 2)); in PPC_printInst()
160 MCOperand_setImm(MCInst_getOperand(MI, 2),bd); in PPC_printInst()
164 if (MCOperand_isImm(MCInst_getOperand(MI,0))) in PPC_printInst()
166 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 0)); in PPC_printInst()
168 MCOperand_setImm(MCInst_getOperand(MI, 0),bd); in PPC_printInst()
174 int64_t bd = MCOperand_getImm(MCInst_getOperand(MI, 0)); in PPC_printInst()
176 MCOperand_setImm(MCInst_getOperand(MI, 0),bd); in PPC_printInst()
250 unsigned Code = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printPredicateOperand()
354 unsigned int Value = (int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU2ImmOperand()
371 unsigned int Value = (int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU4ImmOperand()
388 int Value = (int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printS5ImmOperand()
412 unsigned int Value = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU5ImmOperand()
428 unsigned int Value = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU6ImmOperand()
444 if (MCOperand_isImm(MCInst_getOperand(MI, OpNo))) { in printS16ImmOperand()
445 short Imm = (short)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printS16ImmOperand()
469 if (MCOperand_isImm(MCInst_getOperand(MI, OpNo))) { in printS16ImmOperand_Mem()
470 short Imm = (short)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printS16ImmOperand_Mem()
499 if (MCOperand_isImm(MCInst_getOperand(MI, OpNo))) { in printU16ImmOperand()
500 unsigned short Imm = (unsigned short)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); in printU16ImmOperand()
517 if (!MCOperand_isImm(MCInst_getOperand(MI, OpNo))) { in printBranchOperand()
531 if (!MCOperand_isImm(MCInst_getOperand(MI, OpNo))) { in printAbsBranchOperand()
536 imm = ((int)MCOperand_getImm(MCInst_getOperand(MI, OpNo)) << 2); in printAbsBranchOperand()
558 unsigned CCReg = MCOperand_getReg(MCInst_getOperand(MI, OpNo)); in printcrbitm()
587 if (MCOperand_getReg(MCInst_getOperand(MI, OpNo + 1)) == PPC_R0) in printMemRegImm()
601 if (MCOperand_getReg(MCInst_getOperand(MI, OpNo)) == PPC_R0) in printMemRegReg()
647 MCOperand *Op = MCInst_getOperand(MI, OpNo); in printOperand()
744 …ss_contains(MCRegisterInfo_getRegClass(MRI, _class), MCOperand_getReg(MCInst_getOperand(MI, _reg))) in printAliasInstrEx()
782 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
783 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 0) && in printAliasInstrEx()
784 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 1)) { in printAliasInstrEx()
790 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
791 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 2) && in printAliasInstrEx()
792 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 3)) { in printAliasInstrEx()
798 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
799 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 4) && in printAliasInstrEx()
800 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 7) && in printAliasInstrEx()
801 MCOperand_isReg(MCInst_getOperand(MI, 1)) && in printAliasInstrEx()
803 int cr = getBICRCond(MCOperand_getReg(MCInst_getOperand(MI, 1))); in printAliasInstrEx()
819 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 6) in printAliasInstrEx()
822 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 7) in printAliasInstrEx()
829 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
830 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 8) && in printAliasInstrEx()
831 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 9)) { in printAliasInstrEx()
837 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
838 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 10) && in printAliasInstrEx()
839 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 11)) { in printAliasInstrEx()
845 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
846 (MCOperand_getImm(MCInst_getOperand(MI, 0)) >= 12) && in printAliasInstrEx()
847 (MCOperand_getImm(MCInst_getOperand(MI, 0)) <= 15) && in printAliasInstrEx()
848 MCOperand_isReg(MCInst_getOperand(MI, 1)) && in printAliasInstrEx()
850 int cr = getBICRCond(MCOperand_getReg(MCInst_getOperand(MI, 1))); in printAliasInstrEx()
866 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 14) in printAliasInstrEx()
869 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 15) in printAliasInstrEx()
876 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
877 ((MCOperand_getImm(MCInst_getOperand(MI, 0)) & 0x12)== 16)) { in printAliasInstrEx()
880 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 24) in printAliasInstrEx()
883 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 25) in printAliasInstrEx()
890 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
891 ((MCOperand_getImm(MCInst_getOperand(MI, 0)) & 0x12)== 18)) { in printAliasInstrEx()
894 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 26) in printAliasInstrEx()
897 if (MCOperand_getImm(MCInst_getOperand(MI, 0)) == 27) in printAliasInstrEx()
903 if (MCOperand_isReg(MCInst_getOperand(MI, 1)) && in printAliasInstrEx()
905 MCOperand_isImm(MCInst_getOperand(MI, 0)) && in printAliasInstrEx()
906 (MCOperand_getImm(MCInst_getOperand(MI, 0)) < 16)) { in printAliasInstrEx()
907 int cr = getBICR(MCOperand_getReg(MCInst_getOperand(MI, 1))); in printAliasInstrEx()
917 cr = getBICRCond(MCOperand_getReg(MCInst_getOperand(MI, 1))); in printAliasInstrEx()
937 cr = getBICR(MCOperand_getReg(MCInst_getOperand(MI, 1))); in printAliasInstrEx()
956 if (MCOperand_isImm(MCInst_getOperand(MI, 2)) && in printAliasInstrEx()
957 MCOperand_getImm(MCInst_getOperand(MI, 2)) != 0) { in printAliasInstrEx()