/art/compiler/optimizing/ |
D | code_generator_x86_64.cc | 1094 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 …]
|
D | code_generator_x86.cc | 1249 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 …]
|
D | code_generator_arm.cc | 1254 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/ |
D | int_mips.cc | 489 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/ |
D | int_arm64.cc | 1105 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/ |
D | class_linker_test.cc | 755 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/ |
D | int_arm.cc | 1297 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/ |
D | int_x86.cc | 2068 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 …]
|
D | target_x86.cc | 1309 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/ |
D | gbc_expander.cc | 800 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/ |
D | gen_invoke.cc | 1243 int data_offset = mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value(); in GenInlinedCharAt() local 1271 OpRegImm(kOpAdd, reg_ptr, data_offset); in GenInlinedCharAt()
|