Lines Matching refs:Bytes
147 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) { in DECODE_SDWA()
148 assert(Bytes.size() >= sizeof(T)); in DECODE_SDWA()
149 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); in DECODE_SDWA()
150 Bytes = Bytes.slice(sizeof(T)); in DECODE_SDWA()
162 const auto SavedBytes = Bytes; in tryDecodeInst()
167 Bytes = SavedBytes; in tryDecodeInst()
184 Bytes = Bytes_.slice(0, MaxInstBytesNum); in getInstruction()
193 if (Bytes.size() >= 8) { in getInstruction()
194 const uint64_t QW = eatBytes<uint64_t>(Bytes); in getInstruction()
221 Bytes = Bytes_.slice(0, MaxInstBytesNum); in getInstruction()
224 if (Bytes.size() < 4) break; in getInstruction()
225 const uint32_t DW = eatBytes<uint32_t>(Bytes); in getInstruction()
235 if (Bytes.size() < 4) break; in getInstruction()
236 const uint64_t QW = ((uint64_t)eatBytes<uint32_t>(Bytes) << 32) | DW; in getInstruction()
264 Size = Res ? (MaxInstBytesNum - Bytes.size()) in getInstruction()
529 if (Bytes.size() < 4) { in decodeLiteralConstant()
531 Twine(Bytes.size())); in decodeLiteralConstant()
534 Literal = eatBytes<uint32_t>(Bytes); in decodeLiteralConstant()