/art/runtime/interpreter/mterp/out/ |
H A D | mterp_arm.S | 34 base of the vreg array within the shadow frame. Access the other fields, 131 * offset into the code_items_[] array. For effiency, we will "export" the 377 VREG_INDEX_TO_ADDR rREFS, r0 @ point to reference array in shadow frame 992 * Return the length of an array. 1000 ldr r3, [r0, #MIRROR_ARRAY_LENGTH_OFFSET] @ r3<- array length 1029 * Allocate an array of objects, specified with the array class 1032 * The verifier guarantees that this is an array class, so we don't 1035 /* new-array vA, vB, class@CCCC */ 1053 * Create a new array wit [all...] |
H A D | mterp_mips.S | 34 base of the vreg array within the shadow frame. Access the other fields, 240 * offset into the code_items_[] array. For effiency, we will "export" the 787 EAS2(rREFS, rFP, a0) # point to reference array in shadow frame 1369 * Return the length of an array. 1371 /* array-length vA, vB */ 1378 LOAD_base_offMirrorArray_length(a3, a0) # a3 <- array length 1405 * Allocate an array of objects, specified with the array class 1408 * The verifier guarantees that this is an array class, so we don't 1411 /* new-array v [all...] |
H A D | mterp_x86.S | 34 base of the vreg array within the shadow frame. Access the other fields, 185 * offset into the code_items_[] array. For effiency, we will "export" the 938 * Return the length of an array. 976 * Allocate an array of objects, specified with the array class 979 * The verifier guarantees that this is an array class, so we don't 982 /* new-array vA, vB, class@CCCC */ 1002 * Create a new array with elements filled from registers. 1004 * for: filled-new-array, filled-new-array/rang [all...] |
H A D | mterp_x86_64.S | 34 base of the vreg array within the shadow frame. Access the other fields, 186 * offset into the code_items_[] array. For effiency, we will "export" the 865 * Return the length of an array. 900 * Allocate an array of objects, specified with the array class 903 * The verifier guarantees that this is an array class, so we don't 906 /* new-array vA, vB, class@CCCC */ 923 * Create a new array with elements filled from registers. 925 * for: filled-new-array, filled-new-array/rang [all...] |
H A D | mterp_mips64.S | 105 * offset into the code_items_[] array. For effiency, we will "export" the 979 * Return the length of an array. 986 lw a3, MIRROR_ARRAY_LENGTH_OFFSET(a0) # a3 <- array length 1015 * Allocate an array of objects, specified with the array class 1018 * The verifier guarantees that this is an array class, so we don't 1021 /* new-array vA, vB, class//CCCC */ 1039 * Create a new array with elements filled from registers. 1041 * for: filled-new-array, filled-new-array/rang [all...] |
/art/runtime/mirror/ |
H A D | object_test.cc | 23 #include "array-inl.h" 552 // All array classes implement Cloneable and Serializable. 553 Object* array = ObjectArray<Object>::Alloc(soa.Self(), Object_array_class, 1); local 558 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable)); 559 EXPECT_TRUE(array->InstanceOf(java_io_Serializable));
|
/art/compiler/ |
H A D | image_writer.cc | 54 #include "mirror/array-inl.h" 424 // Prepare dex cache array starts based on the ordering specified in the CompilerDriver. 477 void ImageWriter::AddDexCacheArrayRelocation(void* array, argument 480 if (array != nullptr) { 481 DCHECK(!IsInBootImage(array)); 483 native_object_relocations_.emplace(array, 556 // Add non-embedded vtable to the pointer array table if there is one. 963 // Prune fields and make the contents of the field array deterministic. 1005 // Prune types and make the contents of the type array deterministic. 1006 // This is done after fields and methods as their lookup can touch the types array 1320 LengthPrefixedArray<ArtMethod>* array = as_klass->GetMethodsPtr(); local [all...] |
H A D | image_writer.h | 193 // Runtime methods (always clean, do not have a length prefix array). 356 void AddDexCacheArrayRelocation(void* array, size_t offset, ObjPtr<mirror::DexCache> dex_cache) 582 // ArtField, ArtMethod relocating map. These are allocated as array of structs but we want to
|
/art/compiler/optimizing/ |
H A D | bounds_check_elimination.cc | 32 * e.g. array.length - 1. 108 // a constant or array length related value. 120 // Try to detect (array.length + c) format. 230 // Favor array length as upper bound. 251 // (array.length + non-positive-constant) won't overflow an int. 265 // Regardless of the value new_constant, (array.length+new_constant) will 266 // never underflow since array.length is no less than 0. 284 * comparisons related to array bounds, array bounds check, add/sub on top 286 * incrementing/decrementing array inde 1546 HInstruction* array = check->InputAt(0); local [all...] |
H A D | code_generator_arm64.cc | 30 #include "mirror/array-inl.h" 86 // Reference load (except object array loads) is using LDR Wt, [Xn, #offset] which can handle 1324 // An additional location containing an index to an array. 2736 // The output overlaps in the case of an object array get with 2738 // array's location, as we need it to emit the read barrier. 2827 // We do not need to compute the intermediate address from the array: the 2890 // Mask out compression flag from String's array length. 2923 Register array = InputRegisterAt(instruction, 0); local 2928 MemOperand destination = HeapOperand(array); 2935 destination = HeapOperand(array, offse [all...] |
H A D | code_generator_arm.cc | 28 #include "mirror/array-inl.h" 1279 // An additional location containing an index to an array. 5749 // The output overlaps in the case of an object array get with 5751 // array's location, as we need it to emit the read barrier. 5823 // We do not need to compute the intermediate address from the array: the 5889 // We do not need to compute the intermediate address from the array: the 5992 Register array = array_loc.AsRegister<Register>(); local 6015 __ StoreToOffset(store_type, value_loc.AsRegister<Register>(), array, full_offset); 6020 // We do not need to compute the intermediate address from the array: the 6027 temp = array; 6212 __ StoreDToOffset(FromLowSToD(value.AsFpuRegisterPairLow<SRegister>()), array, offset); local [all...] |
H A D | code_generator_arm_vixl.cc | 27 #include "mirror/array-inl.h" 1323 // An additional location containing an index to an array. 5759 // The output overlaps in the case of an object array get with 5761 // array's location, as we need it to emit the read barrier. 5834 // We do not need to compute the intermediate address from the array: the 5904 // We do not need to compute the intermediate address from the array: the 6016 vixl32::Register array = InputRegisterAt(instruction, 0); local 6039 GetAssembler()->StoreToOffset(store_type, RegisterFrom(value_loc), array, full_offset); 6045 // We do not need to compute the intermediate address from the array: the 6052 temp = array; 6235 GetAssembler()->StoreSToOffset(SRegisterFrom(value), array, offset); local 6250 GetAssembler()->StoreDToOffset(DRegisterFrom(value), array, offset); local [all...] |
H A D | instruction_builder.cc | 1550 HInstruction* array = LoadNullCheckedLocal(instruction.VRegA_31t(), dex_pc); local 1563 HInstruction* length = new (arena_) HArrayLength(array, dex_pc); 1573 BuildFillArrayData(array, 1580 BuildFillArrayData(array, 1587 BuildFillArrayData(array, 1594 BuildFillWideArrayData(array,
|
H A D | code_generator_x86.cc | 27 #include "mirror/array-inl.h" 137 // Are we using an array length from memory? 142 // Load the array length into our temporary. 864 // An additional location containing an index to an array. 5226 // to overwrite the array's location. Likewise, in the case of an 5227 // object array get with read barriers enabled, we do not want the 5228 // move to overwrite the array's location, as we need it to emit 5283 // Common case for charAt of array of char or when string compression's 5400 Register array = array_loc.AsRegister<Register>(); local 5415 Address address = CodeGeneratorX86::ArrayAddress(array, inde [all...] |
H A D | code_generator_x86_64.cc | 26 #include "mirror/array-inl.h" 188 // Are we using an array length from memory? 193 // Load the array length into our temporary. 887 // An additional location containing an index to an array. 4687 // The output overlaps for an object array get when read barriers 4688 // are enabled: we do not want the move to overwrite the array's 4844 CpuRegister array = array_loc.AsRegister<CpuRegister>(); local 4859 Address address = CodeGeneratorX86_64::ArrayAddress(array, index, TIMES_1, offset); 4872 Address address = CodeGeneratorX86_64::ArrayAddress(array, index, TIMES_2, offset); 4885 Address address = CodeGeneratorX86_64::ArrayAddress(array, inde [all...] |
H A D | nodes.h | 21 #include <array> 1551 * integer field read) and the access type (e.g. a reference array write cannot 1560 * The first line indicates the side effect, and for field/array accesses the 1708 // This is a bit for the array/field analysis. 2463 std::array<HUserRecord<HInstruction*>, N> inputs_; 4141 // Load from resolved methods array in the dex cache using a PC-relative load. 5357 HArrayGet(HInstruction* array, argument 5364 SetRawInputAt(0, array); 5374 // Currently, the array access is always preceded by an ArrayLength or a NullCheck 5405 // We treat a String as an array, creatin 5420 HArraySet(HInstruction* array, HInstruction* index, HInstruction* value, Primitive::Type expected_component_type, uint32_t dex_pc) argument 5520 HArrayLength(HInstruction* array, uint32_t dex_pc, bool is_string_length = false) argument [all...] |
/art/test/626-const-class-linking/src/ |
H A D | Main.java | 353 public static native void nativeDumpClasses(Object[] array); argument
|
/art/test/004-JniTest/ |
H A D | jni_test.cc | 85 jobjectArray array = env->NewObjectArray(0, clazz, nullptr); local 86 CHECK(array != nullptr);
|
/art/runtime/arch/mips64/ |
H A D | quick_entrypoints_mips64.S | 997 * a1 = argument array that must at least contain the this ptr. 998 * a2 = size of argument array in bytes 1027 dsubu $sp, $sp, $t3 # reserve stack space for argument array 1043 lw $t3, 0($t1) # load from argument array 1099 * a1 = argument array that must at least contain the this ptr. 1100 * a2 = size of argument array in bytes 1130 dsubu $sp, $sp, $t3 # reserve stack space for argument array 1147 lw $t3, 0($t1) # load from argument array 1369 bne $t1, $t0, .Lcheck_assignability # value's type == array's component type - trivial assignability 1692 ld $t1, ART_METHOD_DEX_CACHE_METHODS_OFFSET_64($t1) # Load dex cache methods array [all...] |
/art/runtime/interpreter/ |
H A D | interpreter_common.h | 105 void RecordArrayElementsInTransaction(ObjPtr<mirror::Array> array, int32_t count) 401 // Handles filled-new-array and filled-new-array-range instructions. 522 // in the references array even after the original vreg was overwritten to a non-reference.
|
H A D | unstarted_runtime.cc | 44 #include "mirror/array-inl.h" 562 // Create byte array for content. 565 AbortTransactionOrFail(self, "Could not find/create byte array class"); 683 // It's easier to use reflection to make the call, than create the uint32_t array. 761 // Special case array copying without initializing System. 779 self->ThrowNewException("Ljava/lang/ArrayStoreException;", "src or trg is not an array"); 912 // Get the storage array. 1206 mirror::Array* array = obj->AsArray(); local 1210 if (offset < 0 || offset + count > array->GetLength()) { 1212 offset, count, array [all...] |
/art/runtime/ |
H A D | runtime.h | 504 void RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) const
|
/art/runtime/jit/ |
H A D | jit_code_cache.cc | 513 Handle<mirror::ObjectArray<mirror::Class>> array) { 522 array->Set(in_array++, object); 1334 // Could be a proxy class or an array for which we couldn't find the type index. 512 CopyInlineCacheInto(const InlineCache& ic, Handle<mirror::ObjectArray<mirror::Class>> array) argument
|
/art/test/913-heaps/ |
H A D | heaps.cc | 150 // Ignore array elements with an untagged source. These are from the environment. 381 jint index = reference_info->array.index; 387 std::string tmp = StringPrintf("array-element@%d", index); 419 std::string tmp = StringPrintf("array-element@%d", reference_info->array.index);
|
/art/runtime/arch/arm/ |
H A D | quick_entrypoints_arm.S | 498 * r1 = argument array or null for no argument methods 499 * r2 = size of argument array in bytes 503 * [sp + 8] = core register argument array 504 * [sp + 12] = fp register argument array 540 ldr ip, [r11, #48] @ load fp register argument array pointer 543 ldr ip, [r11, #44] @ load core register argument array pointer 868 cmp r3, ip @ value's type == array's component type - trivial assignability 940 // Macro to facilitate adding new array allocation entrypoints. 1291 str r1, [r3, #MIRROR_ARRAY_LENGTH_OFFSET] // Store the array length. 1306 // Fast path array allocatio [all...] |