Home
last modified time | relevance | path

Searched refs:readerCursor (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp198 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor); in consumeByte()
201 ++(insn->readerCursor); in consumeByte()
214 return insn->reader(insn->readerArg, byte, insn->readerCursor); in lookAtByte()
218 insn->readerCursor--; in unconsumeByte()
229 insn->readerCursor + offset); \
235 insn->readerCursor += sizeof(type); \
336 prefixLocation = insn->readerCursor; in readPrefixes()
346 if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0) in readPrefixes()
349 if (insn->readerCursor - 1 == insn->startLocation in readPrefixes()
472 insn->necessaryPrefixLocation = insn->readerCursor - 2; in readPrefixes()
[all …]
DX86DisassemblerDecoder.h531 uint64_t readerCursor; member
DX86Disassembler.cpp231 Size = InternalInstr.readerCursor - Address; in getInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.c171 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor); in consumeByte()
174 ++(insn->readerCursor); in consumeByte()
187 return insn->reader(insn->readerArg, byte, insn->readerCursor); in lookAtByte()
191 insn->readerCursor--; in unconsumeByte()
202 insn->readerCursor + offset); \
208 insn->readerCursor += sizeof(type); \
313 prefixLocation = insn->readerCursor; in readPrefixes()
396 insn->necessaryPrefixLocation = insn->readerCursor - 1; in readPrefixes()
400 insn->necessaryPrefixLocation = insn->readerCursor - 1; in readPrefixes()
477 insn->necessaryPrefixLocation = insn->readerCursor - 2; in readPrefixes()
[all …]
DX86DisassemblerDecoder.h424 uint64_t readerCursor; member
DX86Disassembler.cpp134 size = internalInstr.readerCursor - address; in getInstruction()
/external/capstone/arch/X86/
DX86DisassemblerDecoder.c283 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor); in consumeByte()
286 ++(insn->readerCursor); in consumeByte()
300 return insn->reader(insn->readerArg, byte, insn->readerCursor); in lookAtByte()
305 insn->readerCursor--; in unconsumeByte()
316 insn->readerCursor + offset); \
322 insn->readerCursor += sizeof(type); \
527 prefixLocation = insn->readerCursor; in readPrefixes()
533 if (insn->readerCursor - 1 == insn->startLocation in readPrefixes()
701 insn->necessaryPrefixLocation = insn->readerCursor - 2; in readPrefixes()
746 insn->necessaryPrefixLocation = insn->readerCursor - 1; in readPrefixes()
[all …]
DX86DisassemblerDecoder.h616 uint64_t readerCursor; member
DX86Disassembler.c830 *size = (uint16_t)(insn.readerCursor - address); in X86_getInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp204 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor); in consumeByte()
207 ++(insn->readerCursor); in consumeByte()
220 return insn->reader(insn->readerArg, byte, insn->readerCursor); in lookAtByte()
224 insn->readerCursor--; in unconsumeByte()
235 insn->readerCursor + offset); \
241 insn->readerCursor += sizeof(type); \
354 if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0) // LOCK in readPrefixes()
1275 insn->displacementOffset = insn->readerCursor - insn->startLocation; in readDisplacement()
1664 insn->immediateOffset = insn->readerCursor - insn->startLocation; in readImmediate()
1937 insn->readerCursor = startLoc; in decodeInstruction()
[all …]
DX86DisassemblerDecoder.h531 uint64_t readerCursor; member
DX86Disassembler.cpp232 Size = InternalInstr.readerCursor - Address; in getInstruction()