/external/arm-trusted-firmware/drivers/arm/gic/v3/ |
D | gicv3_private.h | 380 unsigned int reg_num) in gicr_read_icenabler() argument 382 return mmio_read_32(base + GICR_ICENABLER + (reg_num << 2)); in gicr_read_icenabler() 385 static inline void gicr_write_icenabler(uintptr_t base, unsigned int reg_num, in gicr_write_icenabler() argument 388 mmio_write_32(base + GICR_ICENABLER + (reg_num << 2), val); in gicr_write_icenabler() 418 static inline unsigned int gicr_read_icfgr(uintptr_t base, unsigned int reg_num) in gicr_read_icfgr() argument 420 return mmio_read_32(base + GICR_ICFGR + (reg_num << 2)); in gicr_read_icfgr() 423 static inline void gicr_write_icfgr(uintptr_t base, unsigned int reg_num, in gicr_write_icfgr() argument 426 mmio_write_32(base + GICR_ICFGR + (reg_num << 2), val); in gicr_write_icfgr() 441 static inline void gicr_write_icpendr(uintptr_t base, unsigned int reg_num, in gicr_write_icpendr() argument 444 mmio_write_32(base + GICR_ICPENDR + (reg_num << 2), val); in gicr_write_icpendr() [all …]
|
/external/llvm-project/lldb/source/Symbol/ |
D | UnwindPlan.cpp | 39 return m_location.reg_num == rhs.m_location.reg_num; in operator ==() 136 other_reg_info = unwind_plan->GetRegisterInfo(thread, m_location.reg_num); in Dump() 140 s.Printf("=reg(%u)", m_location.reg_num); in Dump() 158 Thread *thread, uint32_t reg_num) { in DumpRegisterName() argument 159 const RegisterInfo *reg_info = unwind_plan->GetRegisterInfo(thread, reg_num); in DumpRegisterName() 163 s.Printf("reg(%u)", reg_num); in DumpRegisterName() 178 return m_value.reg.reg_num == rhs.m_value.reg.reg_num; in operator ==() 194 DumpRegisterName(s, unwind_plan, thread, m_value.reg.reg_num); in Dump() 199 DumpRegisterName(s, unwind_plan, thread, m_value.reg.reg_num); in Dump() 252 uint32_t reg_num, in GetRegisterInfo() argument [all …]
|
D | DWARFCallFrameInfo.cpp | 667 uint32_t reg_num = extended_opcode; in FDEToUnwindPlan() local 674 unwind_plan.GetRowAtIndex(0)->GetRegisterInfo(reg_num, in FDEToUnwindPlan() 676 row->SetRegisterInfo(reg_num, reg_location); in FDEToUnwindPlan() 742 uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); in FDEToUnwindPlan() local 744 unwind_plan.GetRowAtIndex(0)->GetRegisterInfo(reg_num, in FDEToUnwindPlan() 746 row->SetRegisterInfo(reg_num, reg_location); in FDEToUnwindPlan() 832 uint8_t reg_num = extended_opcode; in HandleCommonDwarfOpcode() local 835 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() 849 uint32_t reg_num = (uint32_t)m_cfi_data.GetULEB128(&offset); in HandleCommonDwarfOpcode() local 853 row.SetRegisterInfo(reg_num, reg_location); in HandleCommonDwarfOpcode() [all …]
|
D | PostfixExpression.cpp | 216 uint32_t reg_num = reg.GetRegNum(); in Visit() local 217 assert(reg_num != LLDB_INVALID_REGNUM); in Visit() 219 if (reg_num > 31) { in Visit() 221 m_out_stream.PutULEB128(reg_num); in Visit() 223 m_out_stream.PutHex8(DW_OP_breg0 + reg_num); in Visit()
|
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
D | EmulationStateARM.cpp | 32 uint32_t reg_num; in LoadPseudoRegistersFromFrame() local 35 reg_num = in LoadPseudoRegistersFromFrame() 37 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in LoadPseudoRegistersFromFrame() 46 reg_num = in LoadPseudoRegistersFromFrame() 49 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in LoadPseudoRegistersFromFrame() 66 bool EmulationStateARM::StorePseudoRegisterValue(uint32_t reg_num, in StorePseudoRegisterValue() argument 68 if (reg_num <= dwarf_cpsr) in StorePseudoRegisterValue() 69 m_gpr[reg_num - dwarf_r0] = (uint32_t)value; in StorePseudoRegisterValue() 70 else if ((dwarf_s0 <= reg_num) && (reg_num <= dwarf_s31)) { in StorePseudoRegisterValue() 71 uint32_t idx = reg_num - dwarf_s0; in StorePseudoRegisterValue() [all …]
|
/external/llvm-project/lldb/include/lldb/Symbol/ |
D | UnwindPlan.h | 128 void SetInRegister(uint32_t reg_num) { in SetInRegister() argument 130 m_location.reg_num = reg_num; in SetInRegister() 135 return m_location.reg_num; in GetRegisterNumber() 189 uint32_t reg_num; // The register number member 227 void SetIsRegisterPlusOffset(uint32_t reg_num, int32_t offset) { in SetIsRegisterPlusOffset() argument 229 m_value.reg.reg_num = reg_num; in SetIsRegisterPlusOffset() 237 void SetIsRegisterDereferenced(uint32_t reg_num) { in SetIsRegisterDereferenced() argument 239 m_value.reg.reg_num = reg_num; in SetIsRegisterDereferenced() 252 return m_value.reg.reg_num; in GetRegisterNumber() 309 uint32_t reg_num; // The register number member [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
D | PDBLocationToDWARFExpression.cpp | 108 uint32_t reg_num; in ConvertPDBLocationToDWARFExpression() local 127 reg_num = LLDB_REGNUM_GENERIC_FP; in ConvertPDBLocationToDWARFExpression() 130 reg_num = GetLLDBRegisterNumber(arch_type, reg_id); in ConvertPDBLocationToDWARFExpression() 131 if (reg_num == LLDB_INVALID_REGNUM) in ConvertPDBLocationToDWARFExpression() 135 if (reg_num > 31) { in ConvertPDBLocationToDWARFExpression() 137 stream.PutULEB128(reg_num); in ConvertPDBLocationToDWARFExpression() 139 stream.PutHex8(DW_OP_breg0 + reg_num); in ConvertPDBLocationToDWARFExpression() 150 uint32_t reg_num = GetLLDBRegisterNumber(arch_type, symbol.getRegisterId()); in ConvertPDBLocationToDWARFExpression() local 151 if (reg_num == LLDB_INVALID_REGNUM) in ConvertPDBLocationToDWARFExpression() 154 if (reg_num > 31) { in ConvertPDBLocationToDWARFExpression() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | EmulateInstruction.cpp | 84 uint32_t reg_num, in ReadRegister() argument 87 if (GetRegisterInfo(reg_kind, reg_num, reg_info)) in ReadRegister() 93 uint32_t reg_num, in ReadRegisterUnsigned() argument 97 if (ReadRegister(reg_kind, reg_num, reg_value)) in ReadRegisterUnsigned() 125 uint32_t reg_num, in WriteRegister() argument 128 if (GetRegisterInfo(reg_kind, reg_num, reg_info)) in WriteRegister() 135 uint32_t reg_num, in WriteRegisterUnsigned() argument 138 if (GetRegisterInfo(reg_kind, reg_num, reg_info)) { in WriteRegisterUnsigned() 341 uint32_t reg_num; in ReadRegisterDefault() local 342 if (GetBestRegisterKindAndNumber(reg_info, reg_kind, reg_num)) in ReadRegisterDefault() [all …]
|
D | ValueObjectRegister.cpp | 158 void ValueObjectRegister::ConstructObject(uint32_t reg_num) { in ConstructObject() argument 159 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoAtIndex(reg_num); in ConstructObject() 171 uint32_t reg_num) in ValueObjectRegister() argument 175 ConstructObject(reg_num); in ValueObjectRegister() 180 uint32_t reg_num) { in Create() argument 182 return (new ValueObjectRegister(exe_scope, *manager_sp, reg_ctx_sp, reg_num)) in Create() 189 uint32_t reg_num) in ValueObjectRegister() argument 193 ConstructObject(reg_num); in ValueObjectRegister()
|
/external/llvm-project/lldb/examples/python/ |
D | armv7_cortex_m_target_defintion.py | 122 reg_num = get_reg_num(name_to_dwarf_regnum, reg_name) 123 if reg_num != LLDB_INVALID_REGNUM: 124 reg_info['gcc'] = reg_num 125 reg_info['ehframe'] = reg_num 128 reg_num = get_reg_num(name_to_generic_regnum, reg_name) 129 if reg_num != LLDB_INVALID_REGNUM: 130 reg_info['generic'] = reg_num
|
D | x86_64_target_definition.py | 750 reg_num = get_reg_num(name_to_gcc_dwarf_regnum, reg_name) 751 if reg_num != LLDB_INVALID_REGNUM: 752 reg_info['gcc'] = reg_num 753 reg_info['dwarf'] = reg_num 756 reg_num = get_reg_num(name_to_generic_regnum, reg_name) 757 if reg_num != LLDB_INVALID_REGNUM: 758 reg_info['generic'] = reg_num 761 reg_num = get_reg_num(name_to_gdb_regnum, reg_name) 762 if reg_num != LLDB_INVALID_REGNUM: 763 reg_info['gdb'] = reg_num
|
D | x86_64_qemu_target_definition.py | 744 reg_num = get_reg_num(name_to_gcc_dwarf_regnum, reg_name) 745 if reg_num != LLDB_INVALID_REGNUM: 746 reg_info['gcc'] = reg_num 747 reg_info['dwarf'] = reg_num 750 reg_num = get_reg_num(name_to_generic_regnum, reg_name) 751 if reg_num != LLDB_INVALID_REGNUM: 752 reg_info['generic'] = reg_num 755 reg_num = get_reg_num(name_to_gdb_regnum, reg_name) 756 if reg_num != LLDB_INVALID_REGNUM: 757 reg_info['gdb'] = reg_num
|
D | x86_64_linux_target_definition.py | 746 reg_num = get_reg_num(name_to_gcc_dwarf_regnum, reg_name) 747 if reg_num != LLDB_INVALID_REGNUM: 748 reg_info['gcc'] = reg_num 749 reg_info['dwarf'] = reg_num 752 reg_num = get_reg_num(name_to_generic_regnum, reg_name) 753 if reg_num != LLDB_INVALID_REGNUM: 754 reg_info['generic'] = reg_num 757 reg_num = get_reg_num(name_to_gdb_regnum, reg_name) 758 if reg_num != LLDB_INVALID_REGNUM: 759 reg_info['gdb'] = reg_num
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/ |
D | NativeRegisterContextFreeBSD_x86_64.cpp | 313 NativeRegisterContextFreeBSD_x86_64::GetSetForNativeRegNum(int reg_num) const { in GetSetForNativeRegNum() 316 if (reg_num >= k_first_gpr_i386 && reg_num <= k_last_gpr_i386) in GetSetForNativeRegNum() 318 if (reg_num >= k_first_fpr_i386 && reg_num <= k_last_fpr_i386) in GetSetForNativeRegNum() 320 if (reg_num >= k_first_avx_i386 && reg_num <= k_last_avx_i386) in GetSetForNativeRegNum() 322 if (reg_num >= k_first_mpxr_i386 && reg_num <= k_last_mpxr_i386) in GetSetForNativeRegNum() 324 if (reg_num >= k_first_mpxc_i386 && reg_num <= k_last_mpxc_i386) in GetSetForNativeRegNum() 326 if (reg_num >= k_first_dbr_i386 && reg_num <= k_last_dbr_i386) in GetSetForNativeRegNum() 330 if (reg_num >= k_first_gpr_x86_64 && reg_num <= k_last_gpr_x86_64) in GetSetForNativeRegNum() 332 if (reg_num >= k_first_fpr_x86_64 && reg_num <= k_last_fpr_x86_64) in GetSetForNativeRegNum() 334 if (reg_num >= k_first_avx_x86_64 && reg_num <= k_last_avx_x86_64) in GetSetForNativeRegNum() [all …]
|
/external/llvm-project/lldb/source/Target/ |
D | ThreadPlanTracer.cpp | 217 for (uint32_t reg_num = 0, num_registers = reg_ctx->GetRegisterCount(); in Log() local 218 reg_num < num_registers; ++reg_num) { in Log() 219 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in Log() 221 assert(reg_num < m_register_values.size()); in Log() 222 if (m_register_values[reg_num].GetType() == RegisterValue::eTypeInvalid || in Log() 223 reg_value != m_register_values[reg_num]) { in Log() 230 m_register_values[reg_num] = reg_value; in Log()
|
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
D | NativeRegisterContextNetBSD_x86_64.cpp | 372 int reg_num) const { in GetSetForNativeRegNum() 375 if (reg_num >= k_first_gpr_i386 && reg_num <= k_last_gpr_i386) in GetSetForNativeRegNum() 377 if (reg_num >= k_first_fpr_i386 && reg_num <= k_last_fpr_i386) in GetSetForNativeRegNum() 379 if (reg_num >= k_first_avx_i386 && reg_num <= k_last_avx_i386) in GetSetForNativeRegNum() 381 if (reg_num >= k_first_mpxr_i386 && reg_num <= k_last_mpxr_i386) in GetSetForNativeRegNum() 383 if (reg_num >= k_first_mpxc_i386 && reg_num <= k_last_mpxc_i386) in GetSetForNativeRegNum() 385 if (reg_num >= k_first_dbr_i386 && reg_num <= k_last_dbr_i386) in GetSetForNativeRegNum() 389 if (reg_num >= k_first_gpr_x86_64 && reg_num <= k_last_gpr_x86_64) in GetSetForNativeRegNum() 391 if (reg_num >= k_first_fpr_x86_64 && reg_num <= k_last_fpr_x86_64) in GetSetForNativeRegNum() 393 if (reg_num >= k_first_avx_x86_64 && reg_num <= k_last_avx_x86_64) in GetSetForNativeRegNum() [all …]
|
/external/arm-trusted-firmware/plat/xilinx/versal/pm_service/ |
D | pm_client.c | 120 uint32_t reg_num; in pm_client_set_wakeup_sources() local 127 for (reg_num = 0; reg_num < NUM_GICD_ISENABLER; reg_num++) { in pm_client_set_wakeup_sources() 128 uint32_t base_irq = reg_num << ISENABLER_SHIFT; in pm_client_set_wakeup_sources() 129 uint32_t reg = mmio_read_32(isenabler1 + (reg_num << 2)); in pm_client_set_wakeup_sources()
|
/external/llvm-project/lldb/source/Plugins/Instruction/PPC64/ |
D | EmulateInstructionPPC64.cpp | 71 static bool LLDBTableGetRegisterInfo(uint32_t reg_num, RegisterInfo ®_info) { in LLDBTableGetRegisterInfo() argument 72 if (reg_num >= llvm::array_lengthof(g_register_infos_ppc64le)) in LLDBTableGetRegisterInfo() 74 reg_info = g_register_infos_ppc64le[reg_num]; in LLDBTableGetRegisterInfo() 79 uint32_t reg_num, in GetRegisterInfo() argument 82 switch (reg_num) { in GetRegisterInfo() 85 reg_num = gpr_pc_ppc64le; in GetRegisterInfo() 89 reg_num = gpr_r1_ppc64le; in GetRegisterInfo() 93 reg_num = gpr_lr_ppc64le; in GetRegisterInfo() 97 reg_num = gpr_cr_ppc64le; in GetRegisterInfo() 106 return LLDBTableGetRegisterInfo(reg_num, reg_info); in GetRegisterInfo()
|
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
D | UnwindAssemblyInstEmulation.cpp | 364 uint32_t reg_num; in MakeRegisterKindValuePair() local 366 reg_num)) in MakeRegisterKindValuePair() 367 return (uint64_t)reg_kind << 24 | reg_num; in MakeRegisterKindValuePair() 465 uint32_t reg_num = LLDB_INVALID_REGNUM; in WriteMemory() local 471 reg_num = context.info.RegisterToRegisterPlusOffset.data_reg in WriteMemory() 476 if (reg_num != LLDB_INVALID_REGNUM && in WriteMemory() 478 if (m_pushed_regs.find(reg_num) == m_pushed_regs.end()) { in WriteMemory() 479 m_pushed_regs[reg_num] = addr; in WriteMemory() 481 m_curr_row->SetRegisterLocationToAtCFAPlusOffset(reg_num, offset, in WriteMemory() 616 const uint32_t reg_num = in WriteRegister() local [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | DWARFLocationExpression.cpp | 45 uint32_t reg_num = GetLLDBRegisterNumber(arch_type, register_id); in GetRegisterNumber() local 46 if (reg_num != LLDB_INVALID_REGNUM) in GetRegisterNumber() 47 return reg_num; in GetRegisterNumber() 136 uint32_t reg_num = GetRegisterNumber( in MakeRegisterBasedLocationExpressionInternal() local 138 if (reg_num == LLDB_INVALID_REGNUM) in MakeRegisterBasedLocationExpressionInternal() 141 if (reg_num > 31) { in MakeRegisterBasedLocationExpressionInternal() 146 stream.PutULEB128(reg_num); in MakeRegisterBasedLocationExpressionInternal() 151 stream.PutHex8(base + reg_num); in MakeRegisterBasedLocationExpressionInternal()
|
/external/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/ |
D | pm_client.c | 178 uint32_t reg_num; in pm_client_set_wakeup_sources() local 197 for (reg_num = 0; reg_num < NUM_GICD_ISENABLER; reg_num++) { in pm_client_set_wakeup_sources() 198 uint32_t base_irq = reg_num << ISENABLER_SHIFT; in pm_client_set_wakeup_sources() 199 uint32_t reg = mmio_read_32(isenabler1 + (reg_num << 2)); in pm_client_set_wakeup_sources()
|
/external/bcc/src/cc/usdt/ |
D | usdt_args.cc | 135 optional<int> *reg_num) { in parse_register() argument 136 new_pos = parse_number(pos, reg_num); in parse_register() 137 if (new_pos == pos || *reg_num < 0 || *reg_num > 31) in parse_register() 158 optional<int> *reg_num, in parse_mem() argument 162 if (parse_register(pos + 1, new_pos, reg_num) == false) in parse_mem() 199 optional<int> reg_num; in parse() local 200 if (parse_register(cur_pos + 1, new_pos, ®_num) == false) in parse() 203 dest->base_register_name_ = "regs[" + std::to_string(reg_num.value()) + "]"; in parse() 206 optional<int> reg_num, offset = 0; in parse() local 207 if (parse_mem(cur_pos + 1, new_pos, ®_num, &offset) == false) in parse() [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | RegisterContextMemory.cpp | 78 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB]; in ReadRegister() local 79 if (!m_reg_valid[reg_num]) { in ReadRegister() 93 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB]; in WriteRegister() local 97 m_reg_valid[reg_num] = false; in WriteRegister()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | ValueObjectRegister.h | 87 uint32_t reg_num); 122 void ConstructObject(uint32_t reg_num); 127 uint32_t reg_num); 130 lldb::RegisterContextSP ®_ctx_sp, uint32_t reg_num);
|
/external/llvm-project/lldb/source/Host/common/ |
D | NativeRegisterContext.cpp | 72 const uint32_t reg_num = ConvertRegisterKindToRegisterNumber(kind, num); in GetRegisterInfo() local 73 if (reg_num == LLDB_INVALID_REGNUM) in GetRegisterInfo() 75 return GetRegisterInfoAtIndex(reg_num); in GetRegisterInfo() 98 const uint32_t reg_num = reg_set->registers[reg_num_index]; in GetRegisterSetNameForRegisterAtIndex() local 100 if (reg_info->kinds[RegisterKind::eRegisterKindLLDB] == reg_num) { in GetRegisterSetNameForRegisterAtIndex() 438 uint32_t reg_num = in GetExpeditedRegisters() local 440 if (reg_num == LLDB_INVALID_REGNUM) in GetExpeditedRegisters() 443 expedited_reg_nums.push_back(reg_num); in GetExpeditedRegisters()
|