Home
last modified time | relevance | path

Searched refs:m_opcode (Results 1 – 14 of 14) sorted by relevance

/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp392 Opcode m_opcode) { in GetControlFlowKind() argument
395 if (m_opcode.GetOpcodeBytes() == nullptr || m_opcode.GetByteSize() <= 0) { in GetControlFlowKind()
402 ret = InstructionLengthDecode((const uint8_t *)m_opcode.GetOpcodeBytes(), in GetControlFlowKind()
403 m_opcode.GetByteSize(), is_exec_mode_64b); in GetControlFlowKind()
468 m_opcode.SetOpcode8(data.GetU8(&data_offset), byte_order); in Decode()
473 m_opcode.SetOpcode16(data.GetU16(&data_offset), byte_order); in Decode()
478 m_opcode.SetOpcode32(data.GetU32(&data_offset), byte_order); in Decode()
483 m_opcode.SetOpcode64(data.GetU64(&data_offset), byte_order); in Decode()
488 m_opcode in Decode()
[all...]
/llvm-project/lldb/tools/debugserver/source/
H A DDNBBreakpoint.h31 uint8_t *SavedOpcodeBytes() { return &m_opcode[0]; } in SavedOpcodeBytes()
32 const uint8_t *SavedOpcodeBytes() const { return &m_opcode[0]; } in SavedOpcodeBytes()
105 uint8_t m_opcode[8]; // Saved opcode bytes variable
H A DDNBBreakpoint.cpp24 m_opcode(), m_addr(addr), m_enabled(0), m_hw_preferred(hardware), in DNBBreakpoint()
/llvm-project/lldb/source/Core/
H A DDisassembler.cpp580 : m_address(address), m_address_class(addr_class), m_opcode(), in GetNameForInstructionControlFlowKind()
638 if (m_opcode.GetType() == Opcode::eTypeBytes) { in Dump()
643 m_opcode.Dump(&ss, max_opcode_byte_size * 3 + 1); in Dump()
645 m_opcode.Dump(&ss, 15 * 3 + 1); in Dump()
650 m_opcode.Dump(&ss, max_opcode_byte_size * 3 + 1); in Dump()
652 m_opcode.Dump(&ss, 12); in Dump()
978 return m_opcode.GetData(data); in GetMaxOpcocdeByteSize()
1185 return m_opcode.GetByteSize(); in SetOpcode()
1195 m_opcode.SetOpcode8(value8, eByteOrderInvalid); in SetOpcode()
1200 m_opcode in SetOpcode()
[all...]
H A DEmulateInstruction.cpp533 m_opcode = opcode; in SetInstruction()
/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.cpp86 uint32_t inst_size = m_opcode.GetByteSize(); in EvaluateInstruction()
87 uint32_t inst = m_opcode.GetOpcode32(); in EvaluateInstruction()
129 m_opcode.SetOpcode32(inst, GetByteOrder()); in ReadInstruction()
/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp108 m_opcode.SetOpcode32(ReadMemoryUnsigned(ctx, m_addr, 4, 0, &success), in ReadInstruction()
160 const uint32_t opcode = m_opcode.GetOpcode32(); in EvaluateInstruction()
/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h438 const Opcode &GetOpcode() const { return m_opcode; } in GetAddress()
508 Opcode m_opcode;
506 Opcode m_opcode; global() variable
H A DDisassembler.h196 const Opcode &GetOpcode() const { return m_opcode; } in GetOpcode()
247 Opcode m_opcode; // The opcode for this instruction
/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp380 m_opcode.SetOpcode32( in ReadInstruction()
390 const uint32_t opcode = m_opcode.GetOpcode32(); in EvaluateInstruction()
/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.cpp939 m_opcode.SetOpcode32( in ReadInstruction()
956 if (m_opcode.GetData(data)) { in EvaluateInstruction()
/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.cpp13811 m_opcode.SetOpcode16(thumb_opcode, GetByteOrder()); in ReadInstruction()
13813 m_opcode.SetOpcode32( in ReadInstruction()
13821 m_opcode.SetOpcode32(MemARead(read_inst_context, pc, 4, 0, &success), in ReadInstruction()
13929 const uint32_t byte_size = m_opcode.GetByteSize(); in CurrentCond()
14278 GetThumbOpcodeForInstruction(m_opcode.GetOpcode32(), m_arm_isa); in EvaluateInstruction()
14280 opcode_data = GetARMOpcodeForInstruction(m_opcode.GetOpcode32(), m_arm_isa); in EvaluateInstruction()
14308 success = (this->*opcode_data->callback)(m_opcode.GetOpcode32(), in EvaluateInstruction()
14328 after_pc_value += m_opcode.GetByteSize(); in EvaluateInstruction()
14343 const uint32_t cond = CurrentCond(m_opcode.GetOpcode32()); in GetInstructionCondition()
14374 m_opcode.SetOpcode16(test_opcode, endian::InlHostByteOrder()); in TestEmulation()
[all …]
/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.cpp1646 m_opcode.SetOpcode16(inst->inst, GetByteOrder()); in WritePC()
1648 m_opcode.SetOpcode32(inst->inst, GetByteOrder()); in WritePC()
/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.cpp1042 m_opcode.SetOpcode32( in ReadInstruction()
1059 if (m_opcode.GetData(data)) { in EvaluateInstruction()