/external/llvm-project/lldb/unittests/Expression/ |
D | DWARFExpressionTest.cpp | 38 return result.GetScalar(); 63 static Scalar GetScalar(unsigned bits, uint64_t value, bool sign) { in GetScalar() function 194 llvm::HasValue(GetScalar(64, 0x44332211, not_signed))); in TEST() 199 llvm::HasValue(GetScalar(64, 0x44332211, not_signed))); in TEST() 205 llvm::HasValue(GetScalar(64, 0xffffffffffeeddcc, is_signed))); in TEST() 211 llvm::HasValue(GetScalar(32, 0xffeeddcc, not_signed))); in TEST() 217 llvm::HasValue(GetScalar(32, 0xffeeddcc, not_signed))); in TEST() 222 llvm::HasValue(GetScalar(8, 'A', not_signed))); in TEST() 227 llvm::HasValue(GetScalar(8, 'A', is_signed))); in TEST() 257 llvm::HasValue(GetScalar(32, 0x44332211, true))); in TEST() [all …]
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCTrampolineHandler.cpp | 973 argument_values.GetValueAtIndex(obj_index)->GetScalar().ULongLong(); in GetStepThroughDispatchPlan() 990 argument_values.GetValueAtIndex(sel_index)->GetScalar().ULongLong(); in GetStepThroughDispatchPlan() 1005 super_value.GetScalar() += process->GetAddressByteSize(); in GetStepThroughDispatchPlan() 1008 if (super_value.GetScalar().IsValid()) { in GetStepThroughDispatchPlan() 1012 super_value.GetScalar() += process->GetAddressByteSize(); in GetStepThroughDispatchPlan() 1014 if (super_value.GetScalar().IsValid()) in GetStepThroughDispatchPlan() 1015 isa_addr = super_value.GetScalar().ULongLong(); in GetStepThroughDispatchPlan() 1031 super_value.GetScalar() += process->GetAddressByteSize(); in GetStepThroughDispatchPlan() 1034 if (super_value.GetScalar().IsValid()) { in GetStepThroughDispatchPlan() 1035 isa_addr = super_value.GetScalar().ULongLong(); in GetStepThroughDispatchPlan() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | ValueObjectMemory.cpp | 65 m_value.GetScalar() = load_address; in ValueObjectMemory() 70 m_value.GetScalar() = file_address; in ValueObjectMemory() 72 m_value.GetScalar() = m_address.GetOffset(); in ValueObjectMemory() 96 m_value.GetScalar() = load_address; in ValueObjectMemory() 101 m_value.GetScalar() = file_address; in ValueObjectMemory() 103 m_value.GetScalar() = m_address.GetOffset(); in ValueObjectMemory() 193 m_value.GetScalar() = load_addr; in UpdateValue() 202 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
D | ValueObjectChild.cpp | 113 m_value.GetScalar() = parent->GetValue().GetScalar(); in UpdateValue() 122 m_value.GetScalar() = parent->GetPointerValue(); in UpdateValue() 150 lldb::addr_t addr = m_value.GetScalar().ULongLong(LLDB_INVALID_ADDRESS); in UpdateValue() 181 m_value.GetScalar() += m_byte_offset; in UpdateValue() 188 Scalar scalar(m_value.GetScalar()); in UpdateValue() 190 m_value.GetScalar() = scalar; in UpdateValue()
|
D | ValueObjectCast.cpp | 76 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
D | ValueObjectVariable.cpp | 225 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue() 235 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
D | ValueObjectConstResult.cpp | 75 m_value.GetScalar() = (uintptr_t)m_data.GetDataStart(); in ValueObjectConstResult() 117 m_value.GetScalar() = (uintptr_t)data_sp->GetBytes(); in ValueObjectConstResult() 145 m_value.GetScalar() = address; in ValueObjectConstResult() 147 m_value.GetScalar().GetData(m_data, addr_byte_size); in ValueObjectConstResult()
|
/external/llvm-project/lldb/source/Plugins/ABI/X86/ |
D | ABIMacOSX_i386.cpp | 171 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 174 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues() 299 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl() 301 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl() 305 value.GetScalar() = (int32_t)( in GetReturnValueObjectImpl() 309 value.GetScalar() = (uint32_t)( in GetReturnValueObjectImpl() 315 value.GetScalar() = (int16_t)( in GetReturnValueObjectImpl() 319 value.GetScalar() = (uint16_t)( in GetReturnValueObjectImpl() 325 value.GetScalar() = (int8_t)( in GetReturnValueObjectImpl() 329 value.GetScalar() = (uint8_t)( in GetReturnValueObjectImpl() [all …]
|
D | ABISysV_i386.cpp | 188 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 191 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues() 382 value.GetScalar() = ptr; in GetReturnValueObjectSimple() 417 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple() 419 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple() 425 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 427 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 433 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 435 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 441 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() [all …]
|
D | ABIWindows_x86_64.cpp | 282 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 286 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues() 429 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple() 431 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple() 437 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 439 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 445 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 447 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 453 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() 455 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() [all …]
|
D | ABISysV_x86_64.cpp | 275 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 279 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues() 421 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple() 423 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple() 429 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 431 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 437 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 439 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 445 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() 447 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() [all …]
|
/external/llvm-project/lldb/source/Plugins/ABI/SystemZ/ |
D | ABISysV_s390x.cpp | 364 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 368 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues() 508 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple() 510 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple() 516 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 518 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 524 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 526 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 532 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() 534 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() [all …]
|
/external/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
D | ABISysV_arm64.cpp | 173 if (!reg_value.GetScalarValue(value->GetScalar())) in GetArgumentValues() 192 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 682 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl() 684 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl() 690 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 692 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 698 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 700 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 706 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() 708 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() [all …]
|
D | ABIMacOSX_arm64.cpp | 202 if (!reg_value.GetScalarValue(value->GetScalar())) in GetArgumentValues() 220 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 712 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl() 714 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl() 720 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 722 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 728 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 730 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 736 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() 738 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() [all …]
|
/external/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/ |
D | AppleGetItemInfoHandler.cpp | 297 return_buffer_ptr_value.GetScalar() = m_get_item_info_return_buffer_addr; in GetItemInfo() 300 debug_value.GetScalar() = 0; in GetItemInfo() 303 item_value.GetScalar() = item; in GetItemInfo() 307 page_to_free_value.GetScalar() = page_to_free; in GetItemInfo() 309 page_to_free_value.GetScalar() = 0; in GetItemInfo() 312 page_to_free_size_value.GetScalar() = page_to_free_size; in GetItemInfo()
|
D | AppleGetThreadItemInfoHandler.cpp | 301 return_buffer_ptr_value.GetScalar() = in GetThreadItemInfo() 305 debug_value.GetScalar() = 0; in GetThreadItemInfo() 308 thread_id_value.GetScalar() = thread_id; in GetThreadItemInfo() 312 page_to_free_value.GetScalar() = page_to_free; in GetThreadItemInfo() 314 page_to_free_value.GetScalar() = 0; in GetThreadItemInfo() 317 page_to_free_size_value.GetScalar() = page_to_free_size; in GetThreadItemInfo()
|
D | AppleGetPendingItemsHandler.cpp | 300 return_buffer_ptr_value.GetScalar() = m_get_pending_items_return_buffer_addr; in GetPendingItems() 303 debug_value.GetScalar() = 0; in GetPendingItems() 306 queue_value.GetScalar() = queue; in GetPendingItems() 310 page_to_free_value.GetScalar() = page_to_free; in GetPendingItems() 312 page_to_free_value.GetScalar() = 0; in GetPendingItems() 315 page_to_free_size_value.GetScalar() = page_to_free_size; in GetPendingItems()
|
D | AppleGetQueuesHandler.cpp | 299 return_buffer_ptr_value.GetScalar() = m_get_queues_return_buffer_addr; in GetCurrentQueues() 302 debug_value.GetScalar() = 0; in GetCurrentQueues() 306 page_to_free_value.GetScalar() = page_to_free; in GetCurrentQueues() 308 page_to_free_value.GetScalar() = 0; in GetCurrentQueues() 311 page_to_free_size_value.GetScalar() = page_to_free_size; in GetCurrentQueues()
|
/external/llvm-project/lldb/source/Plugins/ABI/Mips/ |
D | ABISysV_mips.cpp | 823 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl() 825 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl() 829 value.GetScalar() = (int32_t)( in GetReturnValueObjectImpl() 832 value.GetScalar() = (uint32_t)( in GetReturnValueObjectImpl() 837 value.GetScalar() = (int16_t)( in GetReturnValueObjectImpl() 840 value.GetScalar() = (uint16_t)( in GetReturnValueObjectImpl() 845 value.GetScalar() = (int8_t)( in GetReturnValueObjectImpl() 848 value.GetScalar() = (uint8_t)( in GetReturnValueObjectImpl() 856 value.GetScalar() = ptr; in GetReturnValueObjectImpl() 876 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl() [all …]
|
D | ABISysV_mips64.cpp | 783 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl() 785 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl() 791 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 793 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl() 799 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 801 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl() 807 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() 809 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl() 820 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl() 824 value.GetScalar() = *((double *)(&raw_value)); in GetReturnValueObjectImpl() [all …]
|
/external/llvm-project/lldb/source/Expression/ |
D | DWARFExpression.cpp | 176 if (reg_value.GetScalarValue(value.GetScalar())) { in ReadRegisterValueAsScalar() 1038 void *src = (void *)stack.back().GetScalar().ULongLong(); in Evaluate() 1041 stack.back().GetScalar() = ptr; in Evaluate() 1045 auto file_addr = stack.back().GetScalar().ULongLong( in Evaluate() 1066 stack.back().GetScalar() = load_Addr; in Evaluate() 1074 stack.back().GetScalar().ULongLong(LLDB_INVALID_ADDRESS); in Evaluate() 1079 stack.back().GetScalar() = pointer_value; in Evaluate() 1131 void *src = (void *)stack.back().GetScalar().ULongLong(); in Evaluate() 1167 stack.back().GetScalar() = ptr; in Evaluate() 1174 stack.back().GetScalar().ULongLong(LLDB_INVALID_ADDRESS); in Evaluate() [all …]
|
/external/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
D | ABISysV_ppc.cpp | 402 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 406 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues() 542 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple() 544 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple() 550 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 552 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple() 558 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 560 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple() 566 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() 568 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple() [all …]
|
D | ABISysV_ppc64.cpp | 279 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 283 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues() 600 value_sp->GetScalar() = (int64_t)(raw_value); in GetIntegerValue() 602 value_sp->GetScalar() = (uint64_t)(raw_value); in GetIntegerValue() 607 value_sp->GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetIntegerValue() 609 value_sp->GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetIntegerValue() 614 value_sp->GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetIntegerValue() 616 value_sp->GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetIntegerValue() 621 value_sp->GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetIntegerValue() 623 value_sp->GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetIntegerValue() [all …]
|
/external/llvm-project/lldb/source/Plugins/ABI/ARM/ |
D | ABISysV_arm.cpp | 1480 if (!reg_value.GetScalarValue(value->GetScalar())) in GetArgumentValues() 1498 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues() 1586 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl() 1588 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl() 1592 value.GetScalar() = (int32_t)( in GetReturnValueObjectImpl() 1595 value.GetScalar() = (uint32_t)( in GetReturnValueObjectImpl() 1600 value.GetScalar() = (int16_t)( in GetReturnValueObjectImpl() 1603 value.GetScalar() = (uint16_t)( in GetReturnValueObjectImpl() 1608 value.GetScalar() = (int8_t)( in GetReturnValueObjectImpl() 1611 value.GetScalar() = (uint8_t)( in GetReturnValueObjectImpl() [all …]
|
/external/llvm-project/lldb/source/Plugins/ABI/ARC/ |
D | ABISysV_arc.cpp | 466 if (!SetSizedInteger(value.GetScalar(), raw_value, byte_size, is_signed)) in GetReturnValueObjectSimple() 475 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_r0, 0); in GetReturnValueObjectSimple() 489 if (!SetSizedFloat(value.GetScalar(), raw_value, byte_size)) in GetReturnValueObjectSimple() 521 value.GetScalar() = 0; in GetReturnValueObjectImpl() 532 if (!SetSizedInteger(value.GetScalar(), raw_value, byte_size, is_signed)) in GetReturnValueObjectImpl() 539 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_r0, 0); in GetReturnValueObjectImpl() 547 if (!SetSizedFloat(value.GetScalar(), raw_value, byte_size)) in GetReturnValueObjectImpl()
|