Lines Matching refs:ARM_AM

44 static void printRegImmShift(raw_ostream &O, ARM_AM::ShiftOpc ShOpc,  in printRegImmShift()
46 if (ShOpc == ARM_AM::no_shift || (ShOpc == ARM_AM::lsl && !ShImm)) in printRegImmShift()
50 assert(!(ShOpc == ARM_AM::ror && !ShImm) && "Cannot have ror #0"); in printRegImmShift()
53 if (ShOpc != ARM_AM::rrx) { in printRegImmShift()
85 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); in printInst()
96 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
107 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
116 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
122 << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())) << markup(">"); in printInst()
352 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
353 O << ", " << ARM_AM::getShiftOpcStr(ShOpc); in printSORegRegOperand()
354 if (ShOpc == ARM_AM::rrx) in printSORegRegOperand()
359 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
371 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
372 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printSORegImmOperand()
390 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
392 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
393 << ARM_AM::getAM2Offset(MO3.getImm()) << markup(">"); in printAM2PreOrOffsetIndexOp()
400 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
403 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
404 ARM_AM::getAM2Offset(MO3.getImm()), UseMarkup); in printAM2PreOrOffsetIndexOp()
444 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
459 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
461 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) << ImmOffs in printAddrMode2OffsetOperand()
466 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
469 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
470 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup); in printAddrMode2OffsetOperand()
488 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
495 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
496 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
498 if (AlwaysPrintImm0 || ImmOffs || (op == ARM_AM::sub)) { in printAM3PreOrOffsetIndexOp()
499 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs in printAM3PreOrOffsetIndexOp()
515 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
529 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
534 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
536 << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs in printAddrMode3OffsetOperand()
571 ARM_AM::AMSubMode Mode = in printLdStmModeOperand()
572 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
573 O << ARM_AM::getAMSubModeStr(Mode); in printLdStmModeOperand()
591 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
592 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
593 if (AlwaysPrintImm0 || ImmOffs || Op == ARM_AM::sub) { in printAddrMode5Operand()
594 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op) in printAddrMode5Operand()
615 unsigned ImmOffs = ARM_AM::getAM5FP16Offset(MO2.getImm()); in printAddrMode5FP16Operand()
616 unsigned Op = ARM_AM::getAM5FP16Op(MO2.getImm()); in printAddrMode5FP16Operand()
617 if (AlwaysPrintImm0 || ImmOffs || Op == ARM_AM::sub) { in printAddrMode5FP16Operand()
621 << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm())) in printAddrMode5FP16Operand()
1210 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1211 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printT2SOOperand()
1373 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1382 uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits); in printNEONModImmOperand()
1429 int32_t Rotated = ARM_AM::rotr32(Bits, Rot); in printModImmOperand()
1430 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()