Lines Matching refs:os

296 ArmStaticInst::printIntReg(std::ostream &os, RegIndex reg_idx,
303 ccprintf(os, "ureg0");
305 ccprintf(os, "%s%s", (opWidth == 32) ? "w" : "", "sp");
307 ccprintf(os, "%szr", (opWidth == 32) ? "w" : "x");
309 ccprintf(os, "%s%d", (opWidth == 32) ? "w" : "x", reg_idx);
313 ccprintf(os, "pc");
316 ccprintf(os, "sp");
319 ccprintf(os, "fp");
322 ccprintf(os, "lr");
325 ccprintf(os, "r%d", reg_idx);
331 void ArmStaticInst::printPFflags(std::ostream &os, int flag) const
337 ccprintf(os, "%s%s%s", flagtoprfop[(flag>>3)&3],
342 ArmStaticInst::printFloatReg(std::ostream &os, RegIndex reg_idx) const
344 ccprintf(os, "f%d", reg_idx);
348 ArmStaticInst::printVecReg(std::ostream &os, RegIndex reg_idx,
351 ccprintf(os, "%s%d", isSveVecReg ? "z" : "v", reg_idx);
355 ArmStaticInst::printVecPredReg(std::ostream &os, RegIndex reg_idx) const
357 ccprintf(os, "p%d", reg_idx);
361 ArmStaticInst::printCCReg(std::ostream &os, RegIndex reg_idx) const
363 ccprintf(os, "cc_%s", ArmISA::ccRegName[reg_idx]);
367 ArmStaticInst::printMiscReg(std::ostream &os, RegIndex reg_idx) const
370 ccprintf(os, "%s", ArmISA::miscRegName[reg_idx]);
374 ArmStaticInst::printMnemonic(std::ostream &os,
380 os << " " << mnemonic;
382 printCondition(os, machInst.condCode);
383 os << suffix;
385 os << ".";
386 printCondition(os, cond64);
387 os << suffix;
390 os << ".w";
391 os << " ";
395 ArmStaticInst::printTarget(std::ostream &os, Addr target,
402 ccprintf(os, "<%s", symbol);
404 ccprintf(os, "+%d>", target - symbolAddr);
406 ccprintf(os, ">");
408 ccprintf(os, "%#x", target);
413 ArmStaticInst::printCondition(std::ostream &os,
419 os << "eq";
422 os << "ne";
425 os << "cs";
428 os << "cc";
431 os << "mi";
434 os << "pl";
437 os << "vs";
440 os << "vc";
443 os << "hi";
446 os << "ls";
449 os << "ge";
452 os << "lt";
455 os << "gt";
458 os << "le";
463 os << "al";
468 os << "uc";
476 ArmStaticInst::printMemSymbol(std::ostream &os,
485 ccprintf(os, "%s%s", prefix, symbol);
487 ccprintf(os, "+%d", addr - symbolAddr);
488 ccprintf(os, suffix);
493 ArmStaticInst::printShiftOperand(std::ostream &os,
503 printIntReg(os, rm);
518 os << ", ";
519 os << "LSL";
523 os << ", ";
524 os << "LSR";
528 os << ", ";
529 os << "ASR";
534 os << ", ";
535 os << "RRX";
540 os << ", ";
541 os << "ROR";
548 os << " ";
550 os << "#" << shiftAmt;
552 printIntReg(os, rs);
557 ArmStaticInst::printExtendOperand(bool firstOperand, std::ostream &os,
562 ccprintf(os, ", ");
563 printIntReg(os, rm);
567 case UXTB: ccprintf(os, ", UXTB");
569 case UXTH: ccprintf(os, ", UXTH");
571 case UXTW: ccprintf(os, ", UXTW");
573 case UXTX: ccprintf(os, ", LSL");
575 case SXTB: ccprintf(os, ", SXTB");
577 case SXTH: ccprintf(os, ", SXTH");
579 case SXTW: ccprintf(os, ", SXTW");
581 case SXTX: ccprintf(os, ", SXTW");
585 ccprintf(os, " #%d", shiftAmt);
589 ArmStaticInst::printDataInst(std::ostream &os, bool withImm,
594 printMnemonic(os, s ? "s" : "");
600 printIntReg(os, rd);
606 os << ", ";
608 printIntReg(os, rn);
612 os << ", ";
614 ccprintf(os, "#%ld", imm);
616 printShiftOperand(os, rm, immShift, shiftAmt, rs, type);