Lines Matching refs:Words
205 static const uint8_t *getDecoderTable(AddrMode SrcAM, unsigned Words) { in getDecoderTable() argument
206 assert(0 < Words && Words < 4 && "Incorrect number of words"); in getDecoderTable()
211 assert(Words < 3 && "Incorrect number of words"); in getDecoderTable()
212 return Words == 2 ? DecoderTableAlpha32 : DecoderTableAlpha16; in getDecoderTable()
214 assert(Words < 3 && "Incorrect number of words"); in getDecoderTable()
215 return Words == 2 ? DecoderTableBeta32 : DecoderTableBeta16; in getDecoderTable()
220 assert(Words > 1 && "Incorrect number of words"); in getDecoderTable()
221 return Words == 2 ? DecoderTableGamma32 : DecoderTableGamma48; in getDecoderTable()
224 assert(Words < 3 && "Incorrect number of words"); in getDecoderTable()
225 return Words == 2 ? DecoderTableDelta32 : DecoderTableDelta16; in getDecoderTable()
241 unsigned Words = 1; in getInstructionI() local
247 if (Bytes.size() < (Words + 1) * 2) { in getInstructionI()
252 ++Words; in getInstructionI()
261 if (Bytes.size() < (Words + 1) * 2) { in getInstructionI()
265 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + Words * 2) in getInstructionI()
266 << (Words * 16); in getInstructionI()
267 ++Words; in getInstructionI()
273 DecodeStatus Result = decodeInstruction(getDecoderTable(SrcAM, Words), MI, in getInstructionI()
276 Size = Words * 2; in getInstructionI()
295 unsigned Words = 1; in getInstructionII() local
301 if (Bytes.size() < (Words + 1) * 2) { in getInstructionII()
306 ++Words; in getInstructionII()
312 const uint8_t *DecoderTable = Words == 2 ? DecoderTable32 : DecoderTable16; in getInstructionII()
316 Size = Words * 2; in getInstructionII()