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]
34 $load w2, [x0, #$data_offset] // w2<- vBB[vCC]
40 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0")
43 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0")
46 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0")
49 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1")
52 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0")
55 % op_aget(load="ldr", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object=…
[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
33 $load $data_offset(%rdi,%rsi,$shift), %eax
39 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0")
42 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0")
45 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0")
48 % op_aget(load="movl", shift="4", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1")
51 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0")
54 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object…
[all …]
/art/runtime/interpreter/mterp/x86_64/
Darray.S1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0"):
18 movq $data_offset(%rax,%rcx,8), %rax
21 $load $data_offset(%rax,%rcx,$shift), %eax
27 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
30 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
33 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET")
55 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET")
58 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1")
60 %def op_aput(reg="rINST", store="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide…
81 $store $reg, $data_offset(%rax,%rcx,$shift)
[all …]
/art/runtime/interpreter/mterp/arm64/
Darray.S1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
25 $load w2, [x0, #$data_offset] // w2<- vBB[vCC]
31 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
34 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
37 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET")
62 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET")
87 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
113 $store w2, [x0, #$data_offset] // vBB[vCC]<- w2
117 % op_aput(store="strb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
120 % op_aput(store="strb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
[all …]
/art/runtime/interpreter/mterp/x86/
Darray.S1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
17 $load $data_offset(%eax,%ecx,$shift), %eax
22 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
25 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
28 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET")
53 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET")
73 %def op_aput(reg="rINST", store="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
89 leal $data_offset(%eax,%ecx,$shift), %eax
95 % op_aput(reg="rINSTbl", store="movb", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
98 % op_aput(reg="rINSTbl", store="movb", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
[all …]
/art/runtime/interpreter/mterp/arm/
Darray.S1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
26 $load r2, [r0, #$data_offset] @ r2<- vBB[vCC]
32 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
35 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
38 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET")
64 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET")
93 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"):
120 $store r2, [r0, #$data_offset] @ vBB[vCC]<- r2
124 % op_aput(store="strb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET")
127 % op_aput(store="strb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET")
[all …]
/art/runtime/mirror/
Darray.h81 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); in DataOffset() local
82 DCHECK_EQ(RoundUp(data_offset, component_size), data_offset) in DataOffset()
84 return MemberOffset(data_offset); in DataOffset()
89 constexpr size_t data_offset = RoundUp(kFirstElementOffset, kComponentSize); in DataOffset() local
90 static_assert(RoundUp(data_offset, kComponentSize) == data_offset, "RoundUp fail"); in DataOffset()
91 return MemberOffset(data_offset); in DataOffset()
Dvar_handle.cc1848 const int32_t data_offset = getter.Get(); in Access() local
1852 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access()
1868 data_offset, in Access()
1875 data_offset, in Access()
1882 data_offset, in Access()
1891 data_offset, in Access()
1898 data_offset, in Access()
1907 data_offset, in Access()
/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc235 size_t data_offset) { in TryExtractArrayAccessAddress() argument
260 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractArrayAccessAddress()
294 uint32_t data_offset = mirror::Array::DataOffset( in TryExtractVecArrayAccessAddress() local
308 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress()
316 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress()
328 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractVecArrayAccessAddress()
Dinstruction_simplifier_arm.cc196 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
223 data_offset)) { in VisitArrayGet()
230 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local
244 data_offset)) { in VisitArraySet()
Dinstruction_simplifier_arm64.cc200 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
204 data_offset)) { in VisitArrayGet()
211 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local
215 data_offset)) { in VisitArraySet()
Dinstruction_simplifier_shared.h69 size_t data_offset);
Dintrinsics_x86_64.cc728 const uint32_t data_offset = mirror::Array::DataOffset(char_size).Uint32Value(); in VisitSystemArrayCopyChar() local
732 __ leal(src_base, Address(src, char_size * src_pos_const + data_offset)); in VisitSystemArrayCopyChar()
735 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar()
739 __ leal(dest_base, Address(dest, char_size * dest_pos_const + data_offset)); in VisitSystemArrayCopyChar()
742 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar()
779 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyAddresses() local
783 __ leal(src_base, Address(src, element_size * constant + data_offset)); in GenSystemArrayCopyAddresses()
785 __ leal(src_base, Address(src, src_pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenSystemArrayCopyAddresses()
790 __ leal(dst_base, Address(dst, element_size * constant + data_offset)); in GenSystemArrayCopyAddresses()
792 __ leal(dst_base, Address(dst, dst_pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenSystemArrayCopyAddresses()
[all …]
Dcode_generator_arm_vixl.cc6305 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
6340 data_offset + const_index); in VisitArrayGet()
6346 data_offset + (const_index << 1)); in VisitArrayGet()
6351 uint32_t full_offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet()
6369 DCHECK_EQ(Uint64ConstantFrom(tmp->GetOffset()), data_offset); in VisitArrayGet()
6373 __ Add(temp, obj, data_offset); in VisitArrayGet()
6418 data_offset += Int32ConstantFrom(index) << DataType::SizeShift(type); in VisitArrayGet()
6422 data_offset, in VisitArrayGet()
6428 out_loc, obj, data_offset, index, temp, /* needs_null_check= */ false); in VisitArrayGet()
6433 size_t offset = (Int32ConstantFrom(index) << TIMES_4) + data_offset; in VisitArrayGet()
[all …]
Dcode_generator_x86.h550 uint32_t data_offset);
568 uint32_t data_offset,
Dcode_generator_x86_64.h499 uint32_t data_offset,
602 uint32_t data_offset);
Dintrinsics_x86.cc933 const uint32_t data_offset = mirror::Array::DataOffset(char_size).Uint32Value(); in VisitSystemArrayCopyChar() local
937 __ leal(src_base, Address(src, char_size * srcPos_const + data_offset)); in VisitSystemArrayCopyChar()
940 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar()
945 __ leal(dest_base, Address(dest, char_size * destPos_const + data_offset)); in VisitSystemArrayCopyChar()
948 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar()
1391 const uint32_t data_offset = mirror::Array::DataOffset(char_component_size).Uint32Value(); in VisitStringGetCharsNoCheck() local
1440 __ leal(EDI, Address(dst, dstBegin, ScaleFactor::TIMES_2, data_offset)); in VisitStringGetCharsNoCheck()
1457 __ leal(EDI, Address(dst, dstBegin, ScaleFactor::TIMES_2, data_offset)); in VisitStringGetCharsNoCheck()
2459 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyBaseAddress() local
2463 __ leal(base, Address(array, element_size * constant + data_offset)); in GenSystemArrayCopyBaseAddress()
[all …]
Dcode_generator_x86.cc5891 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
5898 __ movzxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5904 __ movsxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5919 __ movzxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5922 __ movzxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5927 __ movzxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5934 __ movsxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5940 __ movl(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet()
5954 instruction, out_loc, obj, data_offset, index, /* needs_null_check= */ true); in VisitArrayGet()
5957 __ movl(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet()
[all …]
Dcode_generator_x86_64.cc5249 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local
5256 __ movzxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5262 __ movsxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5277 __ movzxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet()
5280 __ movzxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5283 __ movzxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5290 __ movsxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet()
5296 __ movl(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet()
5310 instruction, out_loc, obj, data_offset, index, /* needs_null_check= */ true); in VisitArrayGet()
5313 __ movl(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet()
[all …]
/art/libdexfile/dex/
Dtest_dex_file_builder.h109 entry.second.data_offset = data_section_size; in Build()
131 entry.second.data_offset = RoundUp(data_section_size, 4u); in Build()
132 data_section_size = entry.second.data_offset + 4u + num_args * sizeof(dex::TypeItem); in Build()
134 entry.second.data_offset = 0u; in Build()
172 uint32_t raw_offset = data_section_offset + entry.second.data_offset; in Build()
186 (num_args != 0u) ? data_section_offset + entry.second.data_offset : 0u; in Build()
192 CHECK_NE(entry.second.data_offset, 0u); in Build()
282 uint32_t data_offset; member
/art/runtime/
Dclass_linker_test.cc1084 uintptr_t data_offset = in TEST_F() local
1088 EXPECT_TRUE(IsAligned<4>(data_offset)); // Check 4 byte alignment. in TEST_F()
1090 EXPECT_TRUE(IsAligned<8>(data_offset)); // Check 8 byte alignment. in TEST_F()
1099 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F() local
1100 EXPECT_TRUE(IsAligned<8>(data_offset)); // Longs require 8 byte alignment in TEST_F()
1104 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F()
1105 EXPECT_TRUE(IsAligned<8>(data_offset)); // Doubles require 8 byte alignment in TEST_F()
1109 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F()
1110 EXPECT_TRUE(IsAligned<4>(data_offset)); // Ints require 4 byte alignment in TEST_F()
1114 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F()
[all …]
Dimage.h89 uint32_t data_offset, in Block() argument
94 data_offset_(data_offset), in Block()
/art/dexlayout/
Ddex_ir.h361 uint32_t data_offset, in Header() argument
373 data_offset); in Header()
385 uint32_t data_offset, in Header() argument
410 data_offset); in Header()
536 uint32_t data_offset) { in ConstructorHelper() argument
544 data_offset_ = data_offset; in ConstructorHelper()
/art/compiler/debug/
Delf_debug_info_writer.h309 uint32_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in Write() local
317 info_.WriteUdata(DW_AT_data_member_location, data_offset); in Write()
/art/imgdiag/
Dimgdiag.cc477 size_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in DiffEntryContents() local
478 DCHECK_ALIGNED_PARAM(data_offset, component_size); in DiffEntryContents()
479 if (i >= data_offset) { in DiffEntryContents()
480 os_ << tabs << "Dirty array element " << (i - data_offset) / component_size << "\n"; in DiffEntryContents()

12