Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator_x86_64.cc1094 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint8_t)).Uint32Value(); in VisitArrayGet() local
1098 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset)); in VisitArrayGet()
1100 __ movzxb(out, Address(obj, index.AsX86_64().AsCpuRegister(), TIMES_1, data_offset)); in VisitArrayGet()
1106 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int8_t)).Uint32Value(); in VisitArrayGet() local
1110 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset)); in VisitArrayGet()
1112 __ movsxb(out, Address(obj, index.AsX86_64().AsCpuRegister(), TIMES_1, data_offset)); in VisitArrayGet()
1118 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int16_t)).Uint32Value(); in VisitArrayGet() local
1122 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset)); in VisitArrayGet()
1124 __ movsxw(out, Address(obj, index.AsX86_64().AsCpuRegister(), TIMES_2, data_offset)); in VisitArrayGet()
1130 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Uint32Value(); in VisitArrayGet() local
[all …]
Dcode_generator_x86.cc1249 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint8_t)).Uint32Value(); in VisitArrayGet() local
1253 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset)); in VisitArrayGet()
1255 __ movzxb(out, Address(obj, index.AsX86().AsCpuRegister(), TIMES_1, data_offset)); in VisitArrayGet()
1261 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int8_t)).Uint32Value(); in VisitArrayGet() local
1265 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset)); in VisitArrayGet()
1267 __ movsxb(out, Address(obj, index.AsX86().AsCpuRegister(), TIMES_1, data_offset)); in VisitArrayGet()
1273 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int16_t)).Uint32Value(); in VisitArrayGet() local
1277 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset)); in VisitArrayGet()
1279 __ movsxw(out, Address(obj, index.AsX86().AsCpuRegister(), TIMES_2, data_offset)); in VisitArrayGet()
1285 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Uint32Value(); in VisitArrayGet() local
[all …]
Dcode_generator_arm.cc1254 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint8_t)).Uint32Value(); in VisitArrayGet() local
1257 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet()
1261 __ LoadFromOffset(kLoadUnsignedByte, out, IP, data_offset); in VisitArrayGet()
1267 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int8_t)).Uint32Value(); in VisitArrayGet() local
1270 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet()
1274 __ LoadFromOffset(kLoadSignedByte, out, IP, data_offset); in VisitArrayGet()
1280 uint32_t data_offset = mirror::Array::DataOffset(sizeof(int16_t)).Uint32Value(); in VisitArrayGet() local
1283 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet()
1287 __ LoadFromOffset(kLoadSignedHalfword, out, IP, data_offset); in VisitArrayGet()
1293 uint32_t data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Uint32Value(); in VisitArrayGet() local
[all …]
/art/compiler/dex/quick/mips/
Dint_mips.cc489 int data_offset; in GenArrayGet() local
497 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayGet()
499 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayGet()
514 OpRegRegImm(kOpAdd, reg_ptr, rl_array.reg, data_offset); in GenArrayGet()
558 int data_offset; in GenArrayPut() local
561 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayPut()
563 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayPut()
594 OpRegImm(kOpAdd, reg_ptr, data_offset); in GenArrayPut()
/art/compiler/dex/quick/arm64/
Dint_arm64.cc1105 int data_offset; in GenArrayGet() local
1114 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayGet()
1116 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayGet()
1121 data_offset += mir_graph_->ConstantValue(rl_index) << scale; in GenArrayGet()
1159 LoadRefDisp(reg_ptr, data_offset, rl_result.reg, kNotVolatile); in GenArrayGet()
1161 LoadBaseDisp(reg_ptr, data_offset, rl_result.reg, size, kNotVolatile); in GenArrayGet()
1175 OpRegRegImm(kOpAdd, reg_ptr, rl_array.reg, data_offset); in GenArrayGet()
1204 int data_offset; in GenArrayPut() local
1206 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayPut()
1208 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayPut()
[all …]
/art/runtime/
Dclass_linker_test.cc755 uintptr_t data_offset = in TEST_F() local
759 EXPECT_TRUE(IsAligned<4>(data_offset)); // Check 4 byte alignment. in TEST_F()
761 EXPECT_TRUE(IsAligned<8>(data_offset)); // Check 8 byte alignment. in TEST_F()
770 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F() local
771 EXPECT_TRUE(IsAligned<8>(data_offset)); // Longs require 8 byte alignment in TEST_F()
775 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F()
776 EXPECT_TRUE(IsAligned<8>(data_offset)); // Doubles require 8 byte alignment in TEST_F()
780 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F()
781 EXPECT_TRUE(IsAligned<4>(data_offset)); // Ints require 4 byte alignment in TEST_F()
785 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F()
[all …]
/art/compiler/dex/quick/arm/
Dint_arm.cc1297 int data_offset; in GenArrayGet() local
1306 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayGet()
1308 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayGet()
1313 data_offset += mir_graph_->ConstantValue(rl_index) << scale; in GenArrayGet()
1349 LoadBaseDisp(reg_ptr, data_offset, rl_result.reg, size, kNotVolatile); in GenArrayGet()
1362 OpRegRegImm(kOpAdd, reg_ptr, rl_array.reg, data_offset); in GenArrayGet()
1387 int data_offset; in GenArrayPut() local
1389 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayPut()
1391 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayPut()
1396 data_offset += mir_graph_->ConstantValue(rl_index) << scale; in GenArrayPut()
[all …]
/art/compiler/dex/quick/x86/
Dint_x86.cc2068 int data_offset; in GenArrayGet() local
2070 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayGet()
2072 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayGet()
2082 data_offset += constant_index_value << scale; in GenArrayGet()
2098 LoadBaseIndexedDisp(rl_array.reg, rl_index.reg, scale, data_offset, rl_result.reg, size); in GenArrayGet()
2114 int data_offset; in GenArrayPut() local
2117 data_offset = mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in GenArrayPut()
2119 data_offset = mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in GenArrayPut()
2130 data_offset += constant_index_value << scale; in GenArrayPut()
2154 StoreBaseIndexedDisp(rl_array.reg, rl_index.reg, scale, data_offset, temp, size); in GenArrayPut()
[all …]
Dtarget_x86.cc1309 int data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value(); in GenInlinedIndexOf() local
1395 OpRegImm(kOpAdd, rs_rDI, data_offset); in GenInlinedIndexOf()
2836 int data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value(); in GenInlinedCharAt() local
2881 LoadBaseIndexedDisp(reg_ptr, reg_off, 1, data_offset, rl_result.reg, kUnsignedHalf); in GenInlinedCharAt()
/art/compiler/llvm/
Dgbc_expander.cc800 int data_offset; in EmitArrayGEP() local
803 data_offset = art::mirror::Array::DataOffset(sizeof(int64_t)).Int32Value(); in EmitArrayGEP()
805 data_offset = art::mirror::Array::DataOffset(sizeof(int32_t)).Int32Value(); in EmitArrayGEP()
809 irb_.getPtrEquivInt(data_offset); in EmitArrayGEP()
/art/compiler/dex/quick/
Dgen_invoke.cc1243 int data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value(); in GenInlinedCharAt() local
1271 OpRegImm(kOpAdd, reg_ptr, data_offset); in GenInlinedCharAt()