Lines Matching refs:Imm

84 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm,
87 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm,
90 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm,
92 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm,
94 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm,
96 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm,
148 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm,
150 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
153 static DecodeStatus DecodeVecShiftR32Imm(llvm::MCInst &Inst, unsigned Imm,
155 static DecodeStatus DecodeVecShiftR32ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
158 static DecodeStatus DecodeVecShiftR16Imm(llvm::MCInst &Inst, unsigned Imm,
160 static DecodeStatus DecodeVecShiftR16ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
163 static DecodeStatus DecodeVecShiftR8Imm(llvm::MCInst &Inst, unsigned Imm,
165 static DecodeStatus DecodeVecShiftL64Imm(llvm::MCInst &Inst, unsigned Imm,
167 static DecodeStatus DecodeVecShiftL32Imm(llvm::MCInst &Inst, unsigned Imm,
169 static DecodeStatus DecodeVecShiftL16Imm(llvm::MCInst &Inst, unsigned Imm,
171 static DecodeStatus DecodeVecShiftL8Imm(llvm::MCInst &Inst, unsigned Imm,
591 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm,
595 Imm |= 0x20;
596 Inst.addOperand(MCOperand::CreateImm(64 - Imm));
600 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm,
603 Inst.addOperand(MCOperand::CreateImm(64 - Imm));
607 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm,
609 int64_t ImmVal = Imm;
623 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm,
625 Inst.addOperand(MCOperand::CreateImm((Imm >> 1) & 1));
626 Inst.addOperand(MCOperand::CreateImm(Imm & 1));
630 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm,
637 Imm |= 0x8000;
638 Inst.addOperand(MCOperand::CreateImm(Imm));
642 .toString(Imm, ValidNamed);
647 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm,
654 Imm |= 0x8000;
655 Inst.addOperand(MCOperand::CreateImm(Imm));
659 .toString(Imm, ValidNamed);
687 static DecodeStatus DecodeVecShiftRImm(llvm::MCInst &Inst, unsigned Imm,
689 Inst.addOperand(MCOperand::CreateImm(Add - Imm));
693 static DecodeStatus DecodeVecShiftLImm(llvm::MCInst &Inst, unsigned Imm,
695 Inst.addOperand(MCOperand::CreateImm((Imm + Add) & (Add - 1)));
699 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm,
701 return DecodeVecShiftRImm(Inst, Imm, 64);
704 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
707 return DecodeVecShiftRImm(Inst, Imm | 0x20, 64);
710 static DecodeStatus DecodeVecShiftR32Imm(llvm::MCInst &Inst, unsigned Imm,
712 return DecodeVecShiftRImm(Inst, Imm, 32);
715 static DecodeStatus DecodeVecShiftR32ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
718 return DecodeVecShiftRImm(Inst, Imm | 0x10, 32);
721 static DecodeStatus DecodeVecShiftR16Imm(llvm::MCInst &Inst, unsigned Imm,
723 return DecodeVecShiftRImm(Inst, Imm, 16);
726 static DecodeStatus DecodeVecShiftR16ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
729 return DecodeVecShiftRImm(Inst, Imm | 0x8, 16);
732 static DecodeStatus DecodeVecShiftR8Imm(llvm::MCInst &Inst, unsigned Imm,
734 return DecodeVecShiftRImm(Inst, Imm, 8);
737 static DecodeStatus DecodeVecShiftL64Imm(llvm::MCInst &Inst, unsigned Imm,
739 return DecodeVecShiftLImm(Inst, Imm, 64);
742 static DecodeStatus DecodeVecShiftL32Imm(llvm::MCInst &Inst, unsigned Imm,
744 return DecodeVecShiftLImm(Inst, Imm, 32);
747 static DecodeStatus DecodeVecShiftL16Imm(llvm::MCInst &Inst, unsigned Imm,
749 return DecodeVecShiftLImm(Inst, Imm, 16);
752 static DecodeStatus DecodeVecShiftL8Imm(llvm::MCInst &Inst, unsigned Imm,
754 return DecodeVecShiftLImm(Inst, Imm, 8);
1470 unsigned Imm = fieldFromInstruction(insn, 10, 14);
1474 unsigned ShifterVal = (Imm >> 12) & 3;
1475 unsigned ImmVal = Imm & 0xFFF;
1496 if (!Dis->tryAddingSymbolicOperand(Inst, Imm, Addr, Fail, 0, 4))