Lines Matching refs:inst_sp
54 const lldb::InstructionSP &inst_sp) in InstructionImpl() argument
55 : m_disasm_sp(disasm_sp), m_inst_sp(inst_sp) {} in InstructionImpl()
72 const lldb::InstructionSP &inst_sp) in SBInstruction() argument
73 : m_opaque_sp(new InstructionImpl(disasm_sp, inst_sp)) {} in SBInstruction()
104 lldb::InstructionSP inst_sp(GetOpaque()); in GetAddress() local
105 if (inst_sp && inst_sp->GetAddress().IsValid()) in GetAddress()
106 sb_addr.SetAddress(inst_sp->GetAddress()); in GetAddress()
113 lldb::InstructionSP inst_sp(GetOpaque()); in GetMnemonic() local
114 if (!inst_sp) in GetMnemonic()
126 return ConstString(inst_sp->GetMnemonic(&exe_ctx)).GetCString(); in GetMnemonic()
132 lldb::InstructionSP inst_sp(GetOpaque()); in GetOperands() local
133 if (!inst_sp) in GetOperands()
145 return ConstString(inst_sp->GetOperands(&exe_ctx)).GetCString(); in GetOperands()
151 lldb::InstructionSP inst_sp(GetOpaque()); in GetComment() local
152 if (!inst_sp) in GetComment()
164 return ConstString(inst_sp->GetComment(&exe_ctx)).GetCString(); in GetComment()
170 lldb::InstructionSP inst_sp(GetOpaque()); in GetControlFlowKind() local
171 if (inst_sp) { in GetControlFlowKind()
181 return inst_sp->GetControlFlowKind(&exe_ctx); in GetControlFlowKind()
189 lldb::InstructionSP inst_sp(GetOpaque()); in GetByteSize() local
190 if (inst_sp) in GetByteSize()
191 return inst_sp->GetOpcode().GetByteSize(); in GetByteSize()
199 lldb::InstructionSP inst_sp(GetOpaque()); in GetData() local
200 if (inst_sp) { in GetData()
202 if (inst_sp->GetData(*data_extractor_sp)) { in GetData()
212 lldb::InstructionSP inst_sp(GetOpaque()); in DoesBranch() local
213 if (inst_sp) in DoesBranch()
214 return inst_sp->DoesBranch(); in DoesBranch()
221 lldb::InstructionSP inst_sp(GetOpaque()); in HasDelaySlot() local
222 if (inst_sp) in HasDelaySlot()
223 return inst_sp->HasDelaySlot(); in HasDelaySlot()
230 lldb::InstructionSP inst_sp(GetOpaque()); in CanSetBreakpoint() local
231 if (inst_sp) in CanSetBreakpoint()
232 return inst_sp->CanSetBreakpoint(); in CanSetBreakpoint()
244 const lldb::InstructionSP &inst_sp) { in SetOpaque() argument
245 m_opaque_sp = std::make_shared<InstructionImpl>(disasm_sp, inst_sp); in SetOpaque()
251 lldb::InstructionSP inst_sp(GetOpaque()); in GetDescription() local
252 if (inst_sp) { in GetDescription()
254 const Address &addr = inst_sp->GetAddress(); in GetDescription()
263 inst_sp->Dump(&s.ref(), 0, true, false, /*show_control_flow_kind=*/false, in GetDescription()
287 lldb::InstructionSP inst_sp(GetOpaque()); in Print() local
288 if (inst_sp) { in Print()
290 const Address &addr = inst_sp->GetAddress(); in Print()
298 inst_sp->Dump(&out_stream, 0, true, false, /*show_control_flow_kind=*/false, in Print()
307 lldb::InstructionSP inst_sp(GetOpaque()); in EmulateWithFrame() local
308 if (inst_sp) { in EmulateWithFrame()
317 return inst_sp->Emulate( in EmulateWithFrame()
331 lldb::InstructionSP inst_sp(GetOpaque()); in DumpEmulation() local
332 if (inst_sp && triple) { in DumpEmulation()
333 return inst_sp->DumpEmulation(HostInfo::GetAugmentedArchSpec(triple)); in DumpEmulation()
346 lldb::InstructionSP inst_sp(GetOpaque()); in TestEmulation() local
347 if (inst_sp) in TestEmulation()
348 return inst_sp->TestEmulation(output_stream.ref(), test_file); in TestEmulation()