Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 25 of 34) sorted by relevance

12

/art/runtime/interpreter/mterp/arm64ng/
Darray.S1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object…
21 ldr x2, [x0, #$data_offset] // x2<- vBB[vCC]
25 $load w2, [x0, #$data_offset] // w2<- vBB[vCC]
35 $load w2, [x0, #$data_offset] // w2<- vBB[vCC]
41 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0")
44 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0")
47 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0")
50 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1")
53 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0")
56 % op_aget(load="ldr", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object=…
[all …]
/art/runtime/interpreter/mterp/x86ng/
Darray.S1 %def op_aget(load="movl", multiplier="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_…
18 movq $data_offset(%eax,%ecx,8), %xmm0
23 $load $data_offset(%eax,%ecx,$multiplier), %eax
35 $load $data_offset(%eax,%ecx,$multiplier), %eax
41 % op_aget(load="movzbl", multiplier="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
44 % op_aget(load="movsbl", multiplier="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
47 % op_aget(load="movzwl", multiplier="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET")
50 % op_aget(load="movl", multiplier="4", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1…
53 % op_aget(load="movswl", multiplier="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET")
56 % op_aget(load="", multiplier="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1")
[all …]
/art/runtime/interpreter/mterp/x86_64ng/
Darray.S1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_objec…
18 movq $data_offset(%rdi,%rsi,8), %rax
23 $load $data_offset(%rdi,%rsi,$shift), %eax
35 $load $data_offset(%rdi,%rsi,$shift), %eax
41 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0")
44 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0")
47 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0")
50 % op_aget(load="movl", shift="4", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1")
53 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0")
56 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object…
[all …]
/art/runtime/interpreter/mterp/armng/
Darray.S1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object…
22 ldrd r2, [r0, #$data_offset] @ r2/r3<- vBB[vCC]
28 $load r2, [r0, #$data_offset] @ w2<- vBB[vCC]
40 $load r2, [r0, #$data_offset] @ r2<- vBB[vCC]
46 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", wide="0", is_obj…
49 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", wide="0", is_objec…
52 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", wide="0", is_object…
55 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", wide="0", is_objec…
58 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", wide="0", is_obje…
61 % op_aget(load="ldrd", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object…
[all …]
/art/runtime/mirror/
Darray.h84 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); in DataOffset() local
85 DCHECK_EQ(RoundUp(data_offset, component_size), data_offset) in DataOffset()
87 return MemberOffset(data_offset); in DataOffset()
92 constexpr size_t data_offset = RoundUp(kFirstElementOffset, kComponentSize); in DataOffset() local
93 static_assert(RoundUp(data_offset, kComponentSize) == data_offset, "RoundUp fail"); in DataOffset()
94 return MemberOffset(data_offset); in DataOffset()
Dvar_handle.cc1847 const int32_t data_offset = getter.Get(); in Access() local
1851 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access()
1867 data_offset, in Access()
1874 data_offset, in Access()
1881 data_offset, in Access()
1890 data_offset, in Access()
1897 data_offset, in Access()
1906 data_offset, in Access()
/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc194 size_t data_offset) { in TryExtractArrayAccessAddress() argument
218 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractArrayAccessAddress()
252 uint32_t data_offset = mirror::Array::DataOffset( in TryExtractVecArrayAccessAddress() local
266 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress()
274 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress()
286 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractVecArrayAccessAddress()
Dinstruction_simplifier_arm.cc199 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
227 data_offset)) { in VisitArrayGet()
234 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local
249 data_offset)) { in VisitArraySet()
Dinstruction_simplifier_arm64.cc203 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
208 data_offset)) { in VisitArrayGet()
215 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local
220 data_offset)) { in VisitArraySet()
Dinstruction_simplifier_shared.h70 size_t data_offset);
Dcode_generator_arm_vixl.cc6610 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
6645 data_offset + const_index); in VisitArrayGet()
6651 data_offset + (const_index << 1)); in VisitArrayGet()
6656 uint32_t full_offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet()
6674 DCHECK_EQ(Uint64ConstantFrom(tmp->GetOffset()), data_offset); in VisitArrayGet()
6678 __ Add(temp, obj, data_offset); in VisitArrayGet()
6723 data_offset += Int32ConstantFrom(index) << DataType::SizeShift(type); in VisitArrayGet()
6727 data_offset, in VisitArrayGet()
6733 out_loc, obj, data_offset, index, temp, /* needs_null_check= */ false); in VisitArrayGet()
6738 size_t offset = (Int32ConstantFrom(index) << TIMES_4) + data_offset; in VisitArrayGet()
[all …]
Dcode_generator_x86_64.h575 uint32_t data_offset,
678 uint32_t data_offset);
Dintrinsics_x86_64.cc75 uint32_t data_offset) { in GenArrayAddress() argument
79 __ leal(dest, Address(base, DataType::Size(type) * constant + data_offset)); in GenArrayAddress()
82 __ leal(dest, Address(base, pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenArrayAddress()
811 const uint32_t data_offset = mirror::Array::DataOffset(data_size).Uint32Value(); in SystemArrayCopyPrimitive() local
813 GenArrayAddress(assembler, src_base, src, src_pos, type, data_offset); in SystemArrayCopyPrimitive()
814 GenArrayAddress(assembler, dest_base, dest, dest_pos, type, data_offset); in SystemArrayCopyPrimitive()
1077 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in VisitSystemArrayCopy() local
1088 GenArrayAddress(assembler, temp1, src, src_pos, type, data_offset); in VisitSystemArrayCopy()
1089 GenArrayAddress(assembler, temp2, dest, dest_pos, type, data_offset); in VisitSystemArrayCopy()
1582 const uint32_t data_offset = mirror::Array::DataOffset(char_component_size).Uint32Value(); in VisitStringGetCharsNoCheck() local
[all …]
Dcode_generator_x86.h636 uint32_t data_offset);
654 uint32_t data_offset,
Dintrinsics_x86.cc79 uint32_t data_offset) { in GenArrayAddress() argument
82 __ leal(dest, Address(base, DataType::Size(type) * constant + data_offset)); in GenArrayAddress()
85 __ leal(dest, Address(base, pos.AsRegister<Register>(), scale_factor, data_offset)); in GenArrayAddress()
942 const uint32_t data_offset = mirror::Array::DataOffset(data_size).Uint32Value(); in SystemArrayCopyPrimitive() local
944 GenArrayAddress(assembler, src_base, src, src_pos, type, data_offset); in SystemArrayCopyPrimitive()
945 GenArrayAddress(assembler, dest_base, dest, dest_pos, type, data_offset); in SystemArrayCopyPrimitive()
1425 const uint32_t data_offset = mirror::Array::DataOffset(char_component_size).Uint32Value(); in VisitStringGetCharsNoCheck() local
1474 __ leal(EDI, Address(dst, dstBegin, ScaleFactor::TIMES_2, data_offset)); in VisitStringGetCharsNoCheck()
1491 __ leal(EDI, Address(dst, dstBegin, ScaleFactor::TIMES_2, data_offset)); in VisitStringGetCharsNoCheck()
3279 const uint32_t data_offset = mirror::Array::DataOffset(data_size).Uint32Value(); in VisitSystemArrayCopy() local
[all …]
Dintrinsics_arm_vixl.cc1201 int32_t data_offset) { in GenArrayAddress() argument
1204 __ Add(dest, base, static_cast<int32_t>(DataType::Size(type)) * constant + data_offset); in GenArrayAddress()
1206 if (data_offset != 0) { in GenArrayAddress()
1207 __ Add(dest, base, data_offset); in GenArrayAddress()
1507 const int32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in VisitSystemArrayCopy() local
1558 GenArrayAddress(GetAssembler(), temp1, src, src_pos, type, data_offset); in VisitSystemArrayCopy()
1560 GenArrayAddress(GetAssembler(), temp2, dest, dest_pos, type, data_offset); in VisitSystemArrayCopy()
2137 const uint32_t data_offset = mirror::Array::DataOffset(char_size).Uint32Value(); in VisitStringGetCharsNoCheck() local
2157 __ Add(dst_ptr, dstObj, data_offset); in VisitStringGetCharsNoCheck()
4439 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget() local
[all …]
Dintrinsics_arm64.cc2618 const uint32_t data_offset = mirror::Array::DataOffset(char_size).Uint32Value(); in VisitStringGetCharsNoCheck() local
2647 __ Add(dst_ptr, dstObj, Operand(data_offset)); in VisitStringGetCharsNoCheck()
2840 int32_t data_offset) { in GenArrayAddress() argument
2843 __ Add(dest, base, DataType::Size(type) * constant + data_offset); in GenArrayAddress()
2845 if (data_offset != 0) { in GenArrayAddress()
2846 __ Add(dest, base, data_offset); in GenArrayAddress()
2870 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyAddresses() local
2872 GenArrayAddress(masm, src_base, src, src_pos, type, data_offset); in GenSystemArrayCopyAddresses()
2873 GenArrayAddress(masm, dst_base, dst, dst_pos, type, data_offset); in GenSystemArrayCopyAddresses()
4718 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget() local
[all …]
Dintrinsics_riscv64.cc1546 int32_t data_offset) { in GenArrayAddress() argument
1550 __ AddConst64(dest, base, DataType::Size(type) * constant + data_offset); in GenArrayAddress()
1553 if (data_offset != 0) { in GenArrayAddress()
1554 __ AddConst64(dest, dest, data_offset); in GenArrayAddress()
1576 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyAddresses() local
1578 GenArrayAddress(codegen, src_base, src, src_pos, type, data_offset); in GenSystemArrayCopyAddresses()
1579 GenArrayAddress(codegen, dst_base, dst, dst_pos, type, data_offset); in GenSystemArrayCopyAddresses()
3435 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget() local
3438 __ Li(target.offset, data_offset.Int32Value()); in GenerateVarHandleTarget()
4649 MemberOffset data_offset = mirror::Array::DataOffset(Primitive::kPrimByte); in EmitByteArrayViewCode() local
[all …]
Dcode_generator_x86.cc6476 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
6489 instruction, out_loc, obj, data_offset, index, /* needs_null_check= */ true); in VisitArrayGet()
6492 __ movl(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet()
6499 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
6503 instruction, out_loc, out_loc, obj_loc, data_offset, index); in VisitArrayGet()
6518 __ movzxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
6521 __ movzxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
6525 Address src = CodeGeneratorX86::ArrayAddress(obj, index, scale, data_offset); in VisitArrayGet()
6755 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Uint32Value(); in VisitArraySet() local
6757 __ movl(CodeGeneratorX86::ArrayAddress(array, index, TIMES_8, data_offset), in VisitArraySet()
[all …]
Dcode_generator_riscv64.cc1882 uint32_t data_offset, in GenerateArrayLoadWithBakerReadBarrier() argument
1887 instruction, ref, obj, data_offset, index, temp, needs_null_check); in GenerateArrayLoadWithBakerReadBarrier()
2801 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
2824 __ Loadbu(out, obj, data_offset + const_index); in VisitArrayGet()
2827 __ Loadbu(out, out, data_offset); in VisitArrayGet()
2847 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << shift) + data_offset; in VisitArrayGet()
2858 data_offset, in VisitArrayGet()
2865 int32_t offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet()
2880 Load(out_loc, tmp, data_offset, type); in VisitArrayGet()
2889 instruction, out_loc, out_loc, obj_loc, data_offset, index); in VisitArrayGet()
[all …]
/art/libdexfile/dex/
Dtest_dex_file_builder.h107 entry.second.data_offset = data_section_size;
129 entry.second.data_offset = RoundUp(data_section_size, 4u);
130 data_section_size = entry.second.data_offset + 4u + num_args * sizeof(dex::TypeItem);
132 entry.second.data_offset = 0u;
169 uint32_t raw_offset = data_section_offset + entry.second.data_offset;
187 (num_args != 0u) ? data_section_offset + entry.second.data_offset : 0u;
193 CHECK_NE(entry.second.data_offset, 0u);
282 uint32_t data_offset; member
/art/runtime/
Dclass_linker_test.cc1100 uintptr_t data_offset = in TEST_F() local
1104 EXPECT_TRUE(IsAligned<4>(data_offset)); // Check 4 byte alignment. in TEST_F()
1106 EXPECT_TRUE(IsAligned<8>(data_offset)); // Check 8 byte alignment. in TEST_F()
1115 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F() local
1116 EXPECT_TRUE(IsAligned<8>(data_offset)); // Longs require 8 byte alignment in TEST_F()
1120 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F()
1121 EXPECT_TRUE(IsAligned<8>(data_offset)); // Doubles require 8 byte alignment in TEST_F()
1125 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F()
1126 EXPECT_TRUE(IsAligned<4>(data_offset)); // Ints require 4 byte alignment in TEST_F()
1130 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F()
[all …]
/art/runtime/oat/
Dimage.h94 uint32_t data_offset, in Block() argument
99 data_offset_(data_offset), in Block()
/art/compiler/debug/
Delf_debug_info_writer.h310 uint32_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in Write() local
318 info_.WriteUdata(DW_AT_data_member_location, data_offset); in Write()
/art/imgdiag/
Dimgdiag.cc674 size_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in DiffEntryContents() local
675 DCHECK_ALIGNED_PARAM(data_offset, component_size); in DiffEntryContents()
676 if (i >= data_offset) { in DiffEntryContents()
677 os_ << tabs << "Dirty array element " << (i - data_offset) / component_size << "\n"; in DiffEntryContents()

12