Lines Matching refs:Insn
50 static DecodeStatus decodeRiMemoryValue(MCInst &Inst, unsigned Insn,
54 static DecodeStatus decodeRrMemoryValue(MCInst &Inst, unsigned Insn,
58 static DecodeStatus decodeSplsValue(MCInst &Inst, unsigned Insn,
62 static DecodeStatus decodeBranch(MCInst &Inst, unsigned Insn, uint64_t Address,
69 static DecodeStatus decodeShiftImm(MCInst &Inst, unsigned Insn,
76 uint32_t &Insn) { in readInstruction32() argument
84 Insn = in readInstruction32()
90 static void PostOperandDecodeAdjust(MCInst &Instr, uint32_t Insn) { in PostOperandDecodeAdjust() argument
101 AluOp = (Insn >> 8) & 0x7; in PostOperandDecodeAdjust()
105 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1); in PostOperandDecodeAdjust()
109 unsigned PQ = (Insn >> PqShift) & 0x3; in PostOperandDecodeAdjust()
135 uint32_t Insn; in getInstruction() local
137 DecodeStatus Result = readInstruction32(Bytes, Size, Insn); in getInstruction()
144 decodeInstruction(DecoderTableLanai32, Instr, Insn, Address, this, STI); in getInstruction()
147 PostOperandDecodeAdjust(Instr, Insn); in getInstruction()
174 static DecodeStatus decodeRiMemoryValue(MCInst &Inst, unsigned Insn, in decodeRiMemoryValue() argument
179 unsigned Register = (Insn >> 18) & 0x1f; in decodeRiMemoryValue()
181 unsigned Offset = (Insn & 0xffff); in decodeRiMemoryValue()
187 static DecodeStatus decodeRrMemoryValue(MCInst &Inst, unsigned Insn, in decodeRrMemoryValue() argument
192 unsigned Register = (Insn >> 15) & 0x1f; in decodeRrMemoryValue()
194 Register = (Insn >> 10) & 0x1f; in decodeRrMemoryValue()
200 static DecodeStatus decodeSplsValue(MCInst &Inst, unsigned Insn, in decodeSplsValue() argument
205 unsigned Register = (Insn >> 12) & 0x1f; in decodeSplsValue()
207 unsigned Offset = (Insn & 0x3ff); in decodeSplsValue()
221 static DecodeStatus decodeBranch(MCInst &MI, unsigned Insn, uint64_t Address, in decodeBranch() argument
223 if (!tryAddingSymbolicOperand(Insn + Address, false, Address, 2, 23, MI, in decodeBranch()
225 MI.addOperand(MCOperand::createImm(Insn)); in decodeBranch()
229 static DecodeStatus decodeShiftImm(MCInst &Inst, unsigned Insn, in decodeShiftImm() argument
232 unsigned Offset = (Insn & 0xffff); in decodeShiftImm()