Lines Matching refs:OpNo
156 void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo,
159 unsigned Code = MI->getOperand(OpNo).getImm();
250 printOperand(MI, OpNo+1, O);
253 void PPCInstPrinter::printU1ImmOperand(const MCInst *MI, unsigned OpNo,
255 unsigned int Value = MI->getOperand(OpNo).getImm();
260 void PPCInstPrinter::printU2ImmOperand(const MCInst *MI, unsigned OpNo,
262 unsigned int Value = MI->getOperand(OpNo).getImm();
267 void PPCInstPrinter::printU3ImmOperand(const MCInst *MI, unsigned OpNo,
269 unsigned int Value = MI->getOperand(OpNo).getImm();
274 void PPCInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo,
276 unsigned int Value = MI->getOperand(OpNo).getImm();
281 void PPCInstPrinter::printS5ImmOperand(const MCInst *MI, unsigned OpNo,
283 int Value = MI->getOperand(OpNo).getImm();
288 void PPCInstPrinter::printU5ImmOperand(const MCInst *MI, unsigned OpNo,
290 unsigned int Value = MI->getOperand(OpNo).getImm();
295 void PPCInstPrinter::printU6ImmOperand(const MCInst *MI, unsigned OpNo,
297 unsigned int Value = MI->getOperand(OpNo).getImm();
302 void PPCInstPrinter::printU10ImmOperand(const MCInst *MI, unsigned OpNo,
304 unsigned short Value = MI->getOperand(OpNo).getImm();
309 void PPCInstPrinter::printU12ImmOperand(const MCInst *MI, unsigned OpNo,
311 unsigned short Value = MI->getOperand(OpNo).getImm();
316 void PPCInstPrinter::printS16ImmOperand(const MCInst *MI, unsigned OpNo,
318 if (MI->getOperand(OpNo).isImm())
319 O << (short)MI->getOperand(OpNo).getImm();
321 printOperand(MI, OpNo, O);
324 void PPCInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo,
326 if (MI->getOperand(OpNo).isImm())
327 O << (unsigned short)MI->getOperand(OpNo).getImm();
329 printOperand(MI, OpNo, O);
332 void PPCInstPrinter::printBranchOperand(const MCInst *MI, unsigned OpNo,
334 if (!MI->getOperand(OpNo).isImm())
335 return printOperand(MI, OpNo, O);
340 printAbsBranchOperand(MI, OpNo, O);
343 void PPCInstPrinter::printAbsBranchOperand(const MCInst *MI, unsigned OpNo,
345 if (!MI->getOperand(OpNo).isImm())
346 return printOperand(MI, OpNo, O);
348 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2);
352 void PPCInstPrinter::printcrbitm(const MCInst *MI, unsigned OpNo,
354 unsigned CCReg = MI->getOperand(OpNo).getReg();
370 void PPCInstPrinter::printMemRegImm(const MCInst *MI, unsigned OpNo,
372 printS16ImmOperand(MI, OpNo, O);
374 if (MI->getOperand(OpNo+1).getReg() == PPC::R0)
377 printOperand(MI, OpNo+1, O);
381 void PPCInstPrinter::printMemRegReg(const MCInst *MI, unsigned OpNo,
386 if (MI->getOperand(OpNo).getReg() == PPC::R0)
389 printOperand(MI, OpNo, O);
391 printOperand(MI, OpNo+1, O);
394 void PPCInstPrinter::printTLSCall(const MCInst *MI, unsigned OpNo,
398 const MCOperand &Op = MI->getOperand(OpNo);
402 printOperand(MI, OpNo+1, O);
429 void PPCInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
431 const MCOperand &Op = MI->getOperand(OpNo);