| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | UnwindPlan.cpp | 37 return m_location.reg_num == rhs.m_location.reg_num; in operator ==() 137 s.Printf("reg(%u)", reg_num); in DumpRegisterName() 151 return m_value.reg.reg_num == rhs.m_value.reg.reg_num; in operator ==() 220 uint32_t reg_num, in GetRegisterInfo() argument 238 uint32_t reg_num, in SetRegisterInfo() argument 251 m_register_locations[reg_num] = reg_loc; in SetRegisterLocationToAtCFAPlusOffset() 263 m_register_locations[reg_num] = reg_loc; in SetRegisterLocationToIsCFAPlusOffset() 280 m_register_locations[reg_num] = reg_loc; in SetRegisterLocationToUndefined() 291 m_register_locations[reg_num] = reg_loc; in SetRegisterLocationToUnspecified() 303 m_register_locations[reg_num] = reg_loc; in SetRegisterLocationToRegister() [all …]
|
| H A D | DWARFCallFrameInfo.cpp | 663 uint32_t reg_num = extended_opcode; in FDEToUnwindPlan() local 672 row->SetRegisterInfo(reg_num, reg_location); in FDEToUnwindPlan() 829 uint8_t reg_num = extended_opcode; in HandleCommonDwarfOpcode() local 832 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 850 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 862 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 874 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 887 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 948 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 962 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.cpp | 33 uint32_t reg_num; in LoadPseudoRegistersFromFrame() local 36 reg_num = in LoadPseudoRegistersFromFrame() 47 reg_num = in LoadPseudoRegistersFromFrame() 69 if (reg_num <= dwarf_cpsr) in StorePseudoRegisterValue() 71 else if ((dwarf_s0 <= reg_num) && (reg_num <= dwarf_s31)) { in StorePseudoRegisterValue() 72 uint32_t idx = reg_num - dwarf_s0; in StorePseudoRegisterValue() 74 } else if ((dwarf_d0 <= reg_num) && (reg_num <= dwarf_d31)) { in StorePseudoRegisterValue() 75 uint32_t idx = reg_num - dwarf_d0; in StorePseudoRegisterValue() 92 if (reg_num <= dwarf_cpsr) in ReadPseudoRegisterValue() 94 else if ((dwarf_s0 <= reg_num) && (reg_num <= dwarf_s31)) { in ReadPseudoRegisterValue() [all …]
|
| H A D | EmulationStateARM.h | 24 bool StorePseudoRegisterValue(uint32_t reg_num, uint64_t value); 26 uint64_t ReadPseudoRegisterValue(uint32_t reg_num, bool &success);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
| H A D | UnwindPlan.h | 129 void SetInRegister(uint32_t reg_num) { in SetInRegister() argument 131 m_location.reg_num = reg_num; in SetInRegister() 136 return m_location.reg_num; in GetRegisterNumber() 190 uint32_t reg_num; // The register number member 224 m_value.reg.reg_num = reg_num; in SetIsRegisterPlusOffset() 234 m_value.reg.reg_num = reg_num; in SetIsRegisterDereferenced() 247 return m_value.reg.reg_num; in GetRegisterNumber() 299 uint32_t reg_num; // The register number member 318 bool GetRegisterInfo(uint32_t reg_num, 321 void SetRegisterInfo(uint32_t reg_num, [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 95 if (GetRegisterInfo(reg_kind, reg_num, reg_info)) in ReadRegister() 105 if (ReadRegister(reg_kind, reg_num, reg_value)) in ReadRegisterUnsigned() 349 uint32_t reg_num; in ReadRegisterDefault() local 545 uint32_t ®_num) { in GetBestRegisterKindAndNumber() argument 549 if (reg_num != LLDB_INVALID_REGNUM) { in GetBestRegisterKindAndNumber() 555 if (reg_num != LLDB_INVALID_REGNUM) { in GetBestRegisterKindAndNumber() 560 reg_num = reg_info->kinds[eRegisterKindLLDB]; in GetBestRegisterKindAndNumber() 561 if (reg_num != LLDB_INVALID_REGNUM) { in GetBestRegisterKindAndNumber() 567 if (reg_num != LLDB_INVALID_REGNUM) { in GetBestRegisterKindAndNumber() 573 if (reg_num != LLDB_INVALID_REGNUM) { in GetBestRegisterKindAndNumber() [all …]
|
| H A D | ValueObjectRegister.cpp | 220 void ValueObjectRegister::ConstructObject(uint32_t reg_num) { in ConstructObject() argument 221 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoAtIndex(reg_num); in ConstructObject() 233 uint32_t reg_num) in ValueObjectRegister() argument 237 ConstructObject(reg_num); in ValueObjectRegister() 242 uint32_t reg_num) { in Create() argument 243 return (new ValueObjectRegister(exe_scope, reg_ctx_sp, reg_num))->GetSP(); in Create() 248 uint32_t reg_num) in ValueObjectRegister() argument 252 ConstructObject(reg_num); in ValueObjectRegister()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | ThreadPlanTracer.cpp | 210 for (uint32_t reg_num = 0, num_registers = reg_ctx->GetRegisterCount(); in Log() local 211 reg_num < num_registers; ++reg_num) { in Log() 212 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in Log() 214 assert(reg_num < m_register_values.size()); in Log() 215 if (m_register_values[reg_num].GetType() == RegisterValue::eTypeInvalid || in Log() 216 reg_value != m_register_values[reg_num]) { in Log() 223 m_register_values[reg_num] = reg_value; in Log()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBLocationToDWARFExpression.cpp | 482 if (reg_num != LLDB_INVALID_REGNUM) in GetRegisterNumber() 483 return reg_num; in GetRegisterNumber() 534 uint32_t reg_num = in ConvertPDBLocationToDWARFExpression() local 536 if (reg_num == LLDB_INVALID_REGNUM) in ConvertPDBLocationToDWARFExpression() 539 if (reg_num > 31) { in ConvertPDBLocationToDWARFExpression() 541 stream.PutULEB128(reg_num); in ConvertPDBLocationToDWARFExpression() 553 uint32_t reg_num = in ConvertPDBLocationToDWARFExpression() local 555 if (reg_num == LLDB_INVALID_REGNUM) in ConvertPDBLocationToDWARFExpression() 558 if (reg_num > 31) { in ConvertPDBLocationToDWARFExpression() 560 stream.PutULEB128(reg_num); in ConvertPDBLocationToDWARFExpression() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/PPC64/ |
| H A D | EmulateInstructionPPC64.cpp | 78 static bool LLDBTableGetRegisterInfo(uint32_t reg_num, RegisterInfo ®_info) { in LLDBTableGetRegisterInfo() argument 79 if (reg_num >= llvm::array_lengthof(g_register_infos_ppc64le)) in LLDBTableGetRegisterInfo() 81 reg_info = g_register_infos_ppc64le[reg_num]; in LLDBTableGetRegisterInfo() 86 uint32_t reg_num, in GetRegisterInfo() argument 89 switch (reg_num) { in GetRegisterInfo() 92 reg_num = gpr_pc_ppc64le; in GetRegisterInfo() 96 reg_num = gpr_r1_ppc64le; in GetRegisterInfo() 100 reg_num = gpr_lr_ppc64le; in GetRegisterInfo() 104 reg_num = gpr_cr_ppc64le; in GetRegisterInfo() 113 return LLDBTableGetRegisterInfo(reg_num, reg_info); in GetRegisterInfo()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 339 uint32_t reg_num; in MakeRegisterKindValuePair() local 342 return (uint64_t)reg_kind << 24 | reg_num; in MakeRegisterKindValuePair() 440 uint32_t reg_num = LLDB_INVALID_REGNUM; in WriteMemory() local 451 if (reg_num != LLDB_INVALID_REGNUM && in WriteMemory() 453 if (m_pushed_regs.find(reg_num) == m_pushed_regs.end()) { in WriteMemory() 454 m_pushed_regs[reg_num] = addr; in WriteMemory() 591 const uint32_t reg_num = in WriteRegister() local 594 if (reg_num != LLDB_INVALID_REGNUM && in WriteRegister() 599 context.info.address == m_pushed_regs[reg_num]) { in WriteRegister() 600 m_curr_row->SetRegisterLocationToSame(reg_num, in WriteRegister() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextMemory.cpp | 83 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB]; in ReadRegister() local 84 if (!m_reg_valid[reg_num]) { in ReadRegister() 98 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB]; in WriteRegister() local 102 m_reg_valid[reg_num] = false; in WriteRegister()
|
| H A D | DynamicRegisterInfo.cpp | 415 const uint32_t reg_num = m_regs.size(); in AddRegister() local 422 m_value_regs_map[reg_num].push_back(reg_info.value_regs[i]); in AddRegister() 426 m_invalidate_regs_map[reg_num].push_back(reg_info.invalidate_regs[i]); in AddRegister() 430 m_dynamic_reg_size_map[reg_num].push_back( in AddRegister() 434 m_dynamic_reg_size_map[reg_num].data(); in AddRegister() 442 m_set_reg_nums[set].push_back(reg_num); in AddRegister() 491 const uint32_t reg_num = pos->first; in Finalize() local 493 if (m_regs[reg_num].value_regs) { in Finalize() 501 if (concrete_invalidate_reg_num != reg_num) in Finalize()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/ |
| H A D | ValueObjectRegister.h | 139 uint32_t reg_num); 174 void ConstructObject(uint32_t reg_num); 179 uint32_t reg_num); 181 lldb::RegisterContextSP ®_ctx_sp, uint32_t reg_num);
|
| H A D | EmulateInstruction.h | 390 virtual bool GetRegisterInfo(lldb::RegisterKind reg_kind, uint32_t reg_num, 402 uint32_t reg_num, std::string ®_name); 421 bool ReadRegister(lldb::RegisterKind reg_kind, uint32_t reg_num, 425 uint32_t reg_num, const RegisterValue ®_value); 427 uint64_t ReadRegisterUnsigned(lldb::RegisterKind reg_kind, uint32_t reg_num, 431 lldb::RegisterKind reg_kind, uint32_t reg_num, 508 uint32_t ®_num);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.cpp | 217 switch (reg_num) { in GetRegisterName() 364 switch (reg_num) { in GetRegisterName() 587 switch (reg_num) { in GetRegisterInfo() 590 reg_num = dwarf_pc_mips64; in GetRegisterInfo() 594 reg_num = dwarf_sp_mips64; in GetRegisterInfo() 602 reg_num = dwarf_ra_mips64; in GetRegisterInfo() 606 reg_num = dwarf_sr_mips64; in GetRegisterInfo() 617 if (reg_num == dwarf_sr_mips64 || reg_num == dwarf_fcsr_mips64 || in GetRegisterInfo() 618 reg_num == dwarf_fir_mips64 || reg_num == dwarf_mcsr_mips64 || in GetRegisterInfo() 619 reg_num == dwarf_mir_mips64 || reg_num == dwarf_config5_mips64) { in GetRegisterInfo() [all …]
|
| H A D | EmulateInstructionMIPS64.h | 78 bool GetRegisterInfo(lldb::RegisterKind reg_kind, uint32_t reg_num, 172 const char *GetRegisterName(unsigned reg_num, bool altnernate_name);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 364 uint32_t reg_num = op - DW_OP_reg0; in DumpLocation() local 377 s->Printf("DW_OP_reg%u", reg_num); in DumpLocation() 413 uint32_t reg_num = op - DW_OP_breg0; in DumpLocation() local 432 uint32_t reg_num = m_data.GetULEB128(&offset); in DumpLocation() local 445 s->Printf("DW_OP_regx(%" PRIu32 ")", reg_num); in DumpLocation() 453 uint32_t reg_num = m_data.GetULEB128(&offset); in DumpLocation() local 1345 uint32_t reg_num; in Evaluate() local 2423 reg_num = op - DW_OP_reg0; in Evaluate() 2437 reg_num = opcodes.GetULEB128(&offset); in Evaluate() 2483 reg_num = op - DW_OP_breg0; in Evaluate() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | DWARFLocationExpression.cpp | 487 uint32_t reg_num = GetLLDBRegisterNumber(arch_type, register_id); in GetRegisterNumber() local 488 if (reg_num != LLDB_INVALID_REGNUM) in GetRegisterNumber() 489 return reg_num; in GetRegisterNumber() 578 uint32_t reg_num = GetRegisterNumber( in MakeRegisterBasedLocationExpressionInternal() local 580 if (reg_num == LLDB_INVALID_REGNUM) in MakeRegisterBasedLocationExpressionInternal() 583 if (reg_num > 31) { in MakeRegisterBasedLocationExpressionInternal() 588 stream.PutULEB128(reg_num); in MakeRegisterBasedLocationExpressionInternal() 593 stream.PutHex8(base + reg_num); in MakeRegisterBasedLocationExpressionInternal()
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-power-throttle.c | 206 uint64_t csr_addr, reg_num, reg_reg, reg_sel; in cvmx_power_throttle_csr_addr() local 215 reg_num = (ppid << 8) + (reg_reg << 3) + reg_sel; in cvmx_power_throttle_csr_addr() 216 csr_addr = CVMX_L2C_COP0_MAPX(0) + ((reg_num) << 3); in cvmx_power_throttle_csr_addr()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/ |
| H A D | NativeRegisterContext.cpp | 75 const uint32_t reg_num = ConvertRegisterKindToRegisterNumber(kind, num); in GetRegisterInfo() local 76 if (reg_num == LLDB_INVALID_REGNUM) in GetRegisterInfo() 78 return GetRegisterInfoAtIndex(reg_num); in GetRegisterInfo() 101 const uint32_t reg_num = reg_set->registers[reg_num_index]; in GetRegisterSetNameForRegisterAtIndex() local 103 if (reg_info->kinds[RegisterKind::eRegisterKindLLDB] == reg_num) { in GetRegisterSetNameForRegisterAtIndex()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 51 static bool LLDBTableGetRegisterInfo(uint32_t reg_num, RegisterInfo ®_info) { in LLDBTableGetRegisterInfo() argument 52 if (reg_num >= llvm::array_lengthof(g_register_infos_arm64_le)) in LLDBTableGetRegisterInfo() 54 reg_info = g_register_infos_arm64_le[reg_num]; in LLDBTableGetRegisterInfo() 173 uint32_t reg_num, in GetRegisterInfo() argument 176 switch (reg_num) { in GetRegisterInfo() 179 reg_num = gpr_pc_arm64; in GetRegisterInfo() 183 reg_num = gpr_sp_arm64; in GetRegisterInfo() 187 reg_num = gpr_fp_arm64; in GetRegisterInfo() 191 reg_num = gpr_lr_arm64; in GetRegisterInfo() 195 reg_num = gpr_cpsr_arm64; in GetRegisterInfo() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.cpp | 230 switch (reg_num) { in GetRegisterName() 377 switch (reg_num) { in GetRegisterName() 600 switch (reg_num) { in GetRegisterInfo() 603 reg_num = dwarf_pc_mips; in GetRegisterInfo() 607 reg_num = dwarf_sp_mips; in GetRegisterInfo() 615 reg_num = dwarf_ra_mips; in GetRegisterInfo() 619 reg_num = dwarf_sr_mips; in GetRegisterInfo() 630 if (reg_num == dwarf_sr_mips || reg_num == dwarf_fcsr_mips || in GetRegisterInfo() 631 reg_num == dwarf_fir_mips || reg_num == dwarf_mcsr_mips || in GetRegisterInfo() 632 reg_num == dwarf_mir_mips || reg_num == dwarf_config5_mips) { in GetRegisterInfo() [all …]
|
| /freebsd-12.1/contrib/binutils/opcodes/ |
| H A D | i386-gen.c | 256 char *reg_name, *reg_type, *reg_flags, *reg_num; in process_i386_registers() local 311 reg_num = next_field (str, &str); in process_i386_registers() 314 reg_name, reg_type, reg_flags, reg_num); in process_i386_registers()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeRegisterContextNetBSD_x86_64.cpp | 201 int reg_num) const { in GetSetForNativeRegNum() 202 if (reg_num <= k_last_gpr_x86_64) in GetSetForNativeRegNum() 204 else if (reg_num <= k_last_fpr_x86_64) in GetSetForNativeRegNum() 206 else if (reg_num <= k_last_avx_x86_64) in GetSetForNativeRegNum() 208 else if (reg_num <= k_last_mpxr_x86_64) in GetSetForNativeRegNum() 210 else if (reg_num <= k_last_mpxc_x86_64) in GetSetForNativeRegNum() 212 else if (reg_num <= lldb_dr7_x86_64) in GetSetForNativeRegNum()
|