Lines Matching refs:OpNo
215 void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, in printPredicateOperand() argument
218 unsigned Code = MI->getOperand(OpNo).getImm(); in printPredicateOperand()
309 printOperand(MI, OpNo+1, O); in printPredicateOperand()
312 void PPCInstPrinter::printATBitsAsHint(const MCInst *MI, unsigned OpNo, in printATBitsAsHint() argument
314 unsigned Code = MI->getOperand(OpNo).getImm(); in printATBitsAsHint()
321 void PPCInstPrinter::printU1ImmOperand(const MCInst *MI, unsigned OpNo, in printU1ImmOperand() argument
323 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU1ImmOperand()
328 void PPCInstPrinter::printU2ImmOperand(const MCInst *MI, unsigned OpNo, in printU2ImmOperand() argument
330 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU2ImmOperand()
335 void PPCInstPrinter::printU3ImmOperand(const MCInst *MI, unsigned OpNo, in printU3ImmOperand() argument
337 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU3ImmOperand()
342 void PPCInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo, in printU4ImmOperand() argument
344 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU4ImmOperand()
349 void PPCInstPrinter::printS5ImmOperand(const MCInst *MI, unsigned OpNo, in printS5ImmOperand() argument
351 int Value = MI->getOperand(OpNo).getImm(); in printS5ImmOperand()
356 void PPCInstPrinter::printImmZeroOperand(const MCInst *MI, unsigned OpNo, in printImmZeroOperand() argument
358 unsigned int Value = MI->getOperand(OpNo).getImm(); in printImmZeroOperand()
363 void PPCInstPrinter::printU5ImmOperand(const MCInst *MI, unsigned OpNo, in printU5ImmOperand() argument
365 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU5ImmOperand()
370 void PPCInstPrinter::printU6ImmOperand(const MCInst *MI, unsigned OpNo, in printU6ImmOperand() argument
372 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU6ImmOperand()
377 void PPCInstPrinter::printU7ImmOperand(const MCInst *MI, unsigned OpNo, in printU7ImmOperand() argument
379 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU7ImmOperand()
387 void PPCInstPrinter::printU8ImmOperand(const MCInst *MI, unsigned OpNo, in printU8ImmOperand() argument
389 unsigned char Value = MI->getOperand(OpNo).getImm(); in printU8ImmOperand()
393 void PPCInstPrinter::printU10ImmOperand(const MCInst *MI, unsigned OpNo, in printU10ImmOperand() argument
395 unsigned short Value = MI->getOperand(OpNo).getImm(); in printU10ImmOperand()
400 void PPCInstPrinter::printU12ImmOperand(const MCInst *MI, unsigned OpNo, in printU12ImmOperand() argument
402 unsigned short Value = MI->getOperand(OpNo).getImm(); in printU12ImmOperand()
407 void PPCInstPrinter::printS16ImmOperand(const MCInst *MI, unsigned OpNo, in printS16ImmOperand() argument
409 if (MI->getOperand(OpNo).isImm()) in printS16ImmOperand()
410 O << (short)MI->getOperand(OpNo).getImm(); in printS16ImmOperand()
412 printOperand(MI, OpNo, O); in printS16ImmOperand()
415 void PPCInstPrinter::printS34ImmOperand(const MCInst *MI, unsigned OpNo, in printS34ImmOperand() argument
417 if (MI->getOperand(OpNo).isImm()) { in printS34ImmOperand()
418 long long Value = MI->getOperand(OpNo).getImm(); in printS34ImmOperand()
423 printOperand(MI, OpNo, O); in printS34ImmOperand()
426 void PPCInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo, in printU16ImmOperand() argument
428 if (MI->getOperand(OpNo).isImm()) in printU16ImmOperand()
429 O << (unsigned short)MI->getOperand(OpNo).getImm(); in printU16ImmOperand()
431 printOperand(MI, OpNo, O); in printU16ImmOperand()
435 unsigned OpNo, raw_ostream &O) { in printBranchOperand() argument
436 if (!MI->getOperand(OpNo).isImm()) in printBranchOperand()
437 return printOperand(MI, OpNo, O); in printBranchOperand()
438 int32_t Imm = SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printBranchOperand()
459 void PPCInstPrinter::printAbsBranchOperand(const MCInst *MI, unsigned OpNo, in printAbsBranchOperand() argument
461 if (!MI->getOperand(OpNo).isImm()) in printAbsBranchOperand()
462 return printOperand(MI, OpNo, O); in printAbsBranchOperand()
464 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printAbsBranchOperand()
468 void PPCInstPrinter::printcrbitm(const MCInst *MI, unsigned OpNo, in printcrbitm() argument
470 unsigned CCReg = MI->getOperand(OpNo).getReg(); in printcrbitm()
486 void PPCInstPrinter::printMemRegImm(const MCInst *MI, unsigned OpNo, in printMemRegImm() argument
488 printS16ImmOperand(MI, OpNo, O); in printMemRegImm()
490 if (MI->getOperand(OpNo+1).getReg() == PPC::R0) in printMemRegImm()
493 printOperand(MI, OpNo+1, O); in printMemRegImm()
497 void PPCInstPrinter::printMemRegImm34PCRel(const MCInst *MI, unsigned OpNo, in printMemRegImm34PCRel() argument
499 printS34ImmOperand(MI, OpNo, O); in printMemRegImm34PCRel()
501 printImmZeroOperand(MI, OpNo + 1, O); in printMemRegImm34PCRel()
505 void PPCInstPrinter::printMemRegImm34(const MCInst *MI, unsigned OpNo, in printMemRegImm34() argument
507 printS34ImmOperand(MI, OpNo, O); in printMemRegImm34()
509 printOperand(MI, OpNo + 1, O); in printMemRegImm34()
513 void PPCInstPrinter::printMemRegReg(const MCInst *MI, unsigned OpNo, in printMemRegReg() argument
518 if (MI->getOperand(OpNo).getReg() == PPC::R0) in printMemRegReg()
521 printOperand(MI, OpNo, O); in printMemRegReg()
523 printOperand(MI, OpNo+1, O); in printMemRegReg()
526 void PPCInstPrinter::printTLSCall(const MCInst *MI, unsigned OpNo, in printTLSCall() argument
530 const MCOperand &Op = MI->getOperand(OpNo); in printTLSCall()
547 printOperand(MI, OpNo+1, O); in printTLSCall()
604 void PPCInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
606 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
611 Reg, OpNo); in printOperand()