Lines Matching refs:Insn
181 static AddrMode DecodeSrcAddrModeI(unsigned Insn) { in DecodeSrcAddrModeI() argument
182 unsigned Rs = fieldFromInstruction(Insn, 8, 4); in DecodeSrcAddrModeI()
183 unsigned As = fieldFromInstruction(Insn, 4, 2); in DecodeSrcAddrModeI()
187 static AddrMode DecodeSrcAddrModeII(unsigned Insn) { in DecodeSrcAddrModeII() argument
188 unsigned Rs = fieldFromInstruction(Insn, 0, 4); in DecodeSrcAddrModeII()
189 unsigned As = fieldFromInstruction(Insn, 4, 2); in DecodeSrcAddrModeII()
193 static AddrMode DecodeDstAddrMode(unsigned Insn) { in DecodeDstAddrMode() argument
194 unsigned Rd = fieldFromInstruction(Insn, 0, 4); in DecodeDstAddrMode()
195 unsigned Ad = fieldFromInstruction(Insn, 7, 1); in DecodeDstAddrMode()
233 uint64_t Insn = support::endian::read16le(Bytes.data()); in getInstructionI() local
234 AddrMode SrcAM = DecodeSrcAddrModeI(Insn); in getInstructionI()
235 AddrMode DstAM = DecodeDstAddrMode(Insn); in getInstructionI()
251 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; in getInstructionI()
265 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + Words * 2) in getInstructionI()
274 Insn, Address, this, STI); in getInstructionI()
288 uint64_t Insn = support::endian::read16le(Bytes.data()); in getInstructionII() local
289 AddrMode SrcAM = DecodeSrcAddrModeII(Insn); in getInstructionII()
305 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; in getInstructionII()
313 DecodeStatus Result = decodeInstruction(DecoderTable, MI, Insn, Address, in getInstructionII()
343 uint64_t Insn = support::endian::read16le(Bytes.data()); in getInstructionCJ() local
344 unsigned Cond = fieldFromInstruction(Insn, 10, 3); in getInstructionCJ()
345 unsigned Offset = fieldFromInstruction(Insn, 0, 10); in getInstructionCJ()
369 uint64_t Insn = support::endian::read16le(Bytes.data()); in getInstruction() local
370 unsigned Opc = fieldFromInstruction(Insn, 13, 3); in getInstruction()