/art/runtime/entrypoints/portable/ |
H A D | portable_alloc_entrypoints.cc | 23 extern "C" mirror::Object* art_portable_alloc_object_from_code(uint32_t type_idx, 27 return AllocObjectFromCode(type_idx, referrer, thread, false); 30 extern "C" mirror::Object* art_portable_alloc_object_from_code_with_access_check(uint32_t type_idx, 34 return AllocObjectFromCode(type_idx, referrer, thread, true); 37 extern "C" mirror::Object* art_portable_alloc_array_from_code(uint32_t type_idx, 42 return AllocArrayFromCode(type_idx, referrer, length, self, false); 45 extern "C" mirror::Object* art_portable_alloc_array_from_code_with_access_check(uint32_t type_idx, 50 return AllocArrayFromCode(type_idx, referrer, length, self, true); 53 extern "C" mirror::Object* art_portable_check_and_alloc_array_from_code(uint32_t type_idx, 58 return CheckAndAllocArrayFromCode(type_idx, referre [all...] |
H A D | portable_dexcache_entrypoints.cc | 24 extern "C" mirror::Object* art_portable_initialize_static_storage_from_code(uint32_t type_idx, 28 return ResolveVerifyAndClinit(type_idx, referrer, thread, true, false); 31 extern "C" mirror::Object* art_portable_initialize_type_from_code(uint32_t type_idx, 35 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, false); 38 extern "C" mirror::Object* art_portable_initialize_type_and_verify_access_from_code(uint32_t type_idx, 44 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, true);
|
/art/runtime/entrypoints/quick/ |
H A D | quick_alloc_entrypoints.cc | 26 extern "C" mirror::Object* artAllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, 30 return AllocObjectFromCode(type_idx, method, self, false); 33 extern "C" mirror::Object* artAllocObjectFromCodeWithAccessCheck(uint32_t type_idx, 39 return AllocObjectFromCode(type_idx, method, self, true); 42 extern "C" mirror::Array* artAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, 47 return AllocArrayFromCode(type_idx, method, component_count, self, false); 50 extern "C" mirror::Array* artAllocArrayFromCodeWithAccessCheck(uint32_t type_idx, 57 return AllocArrayFromCode(type_idx, method, component_count, self, true); 60 extern "C" mirror::Array* artCheckAndAllocArrayFromCode(uint32_t type_idx, 66 return CheckAndAllocArrayFromCode(type_idx, metho [all...] |
H A D | quick_dexcache_entrypoints.cc | 28 extern "C" mirror::Class* artInitializeStaticStorageFromCode(uint32_t type_idx, 37 return ResolveVerifyAndClinit(type_idx, referrer, self, true, false); 40 extern "C" mirror::Class* artInitializeTypeFromCode(uint32_t type_idx, 46 return ResolveVerifyAndClinit(type_idx, referrer, self, false, false); 49 extern "C" mirror::Class* artInitializeTypeAndVerifyAccessFromCode(uint32_t type_idx, 57 return ResolveVerifyAndClinit(type_idx, referrer, self, false, true);
|
/art/runtime/mirror/ |
H A D | dex_cache.h | 103 Class* GetResolvedType(uint32_t type_idx) const 105 return GetResolvedTypes()->Get(type_idx); 108 void SetResolvedType(uint32_t type_idx, Class* resolved) 110 GetResolvedTypes()->Set(type_idx, resolved);
|
/art/runtime/ |
H A D | class_linker-inl.h | 41 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, argument 43 mirror::Class* resolved_type = referrer->GetDexCacheResolvedTypes()->Get(type_idx); 49 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 54 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, const mirror::ArtField* referrer) { argument 57 mirror::Class* resolved_type = dex_cache->GetResolvedType(type_idx); 61 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
|
H A D | dex_instruction.cc | 423 uint32_t type_idx = VRegB_21c(); local 424 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyType(type_idx, *file) 425 << " // type@" << type_idx; 510 uint32_t type_idx = VRegC_22c(); local 512 << PrettyType(type_idx, *file) << " // type@" << type_idx; 517 uint32_t type_idx = VRegC_22c(); local 519 << PrettyType(type_idx, *file) << " // type@" << type_idx;
|
H A D | object_utils.h | 174 uint16_t type_idx = GetDirectInterfaceTypeIdx(idx); local 175 mirror::Class* interface = GetDexCache()->GetResolvedType(type_idx); 177 interface = GetClassLinker()->ResolveType(GetDexFile(), type_idx, klass_); 589 bool IsResolvedTypeIdx(uint16_t type_idx) const 591 return method_->GetDexCacheResolvedTypes()->Get(type_idx) != NULL; 594 mirror::Class* GetClassFromTypeIdx(uint16_t type_idx) 596 mirror::Class* type = method_->GetDexCacheResolvedTypes()->Get(type_idx); 598 type = GetClassLinker()->ResolveType(type_idx, method_); 604 const char* GetTypeDescriptorFromTypeIdx(uint16_t type_idx) 607 return dex_file.GetTypeDescriptor(dex_file.GetTypeId(type_idx)); [all...] |
H A D | dex_file.cc | 347 uint16_t type_idx = GetIndexForTypeId(*type_id); local 350 if (class_def.class_idx_ == type_idx) { 357 const DexFile::ClassDef* DexFile::FindClassDef(uint16_t type_idx) const { 361 if (class_def.class_idx_ == type_idx) { 374 const uint16_t type_idx = GetIndexForTypeId(type); local 390 if (type_idx > field.type_idx_) { 392 } else if (type_idx < field.type_idx_) { 574 uint16_t type_idx = GetIndexForTypeId(*type_id); local 576 param_type_idxs->push_back(type_idx); 578 *return_type_idx = type_idx; 598 uint32_t type_idx = type_item.type_idx_; local [all...] |
H A D | dex_file_verifier.cc | 301 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local 302 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { 535 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_annotation type_idx")) { 820 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local 821 if (type_idx != 0) { 822 type_idx--; 823 if (!CheckIndex(type_idx, header_->string_ids_size_, "DBG_START_LOCAL type_idx")) { 851 uint32_t type_idx local [all...] |
H A D | class_linker.h | 126 mirror::Class* ResolveType(const DexFile& dex_file, uint16_t type_idx, 130 type_idx, 138 mirror::Class* ResolveType(uint16_t type_idx, const mirror::ArtMethod* referrer) 141 mirror::Class* ResolveType(uint16_t type_idx, const mirror::ArtField* referrer) 149 uint16_t type_idx,
|
H A D | utils.cc | 318 std::string PrettyType(uint32_t type_idx, const DexFile& dex_file) { argument 319 if (type_idx >= dex_file.NumTypeIds()) { 320 return StringPrintf("<<invalid-type-idx-%d>>", type_idx); 322 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx);
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.h | 45 static inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, 49 mirror::Class* klass = method->GetDexCacheResolvedTypes()->Get(type_idx); 52 klass = runtime->GetClassLinker()->ResolveType(type_idx, method); 83 static inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, 91 mirror::Class* klass = method->GetDexCacheResolvedTypes()->Get(type_idx); 93 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 110 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, 236 static inline mirror::Class* ResolveVerifyAndClinit(uint32_t type_idx, 242 mirror::Class* klass = class_linker->ResolveType(type_idx, referrer); 268 referrer->GetDexCacheInitializedStaticStorage()->Set(type_idx, klas [all...] |
H A D | entrypoint_utils.cc | 37 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* referrer, argument 44 mirror::Class* klass = referrer->GetDexCacheResolvedTypes()->Get(type_idx); 46 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, referrer);
|
/art/compiler/dex/quick/ |
H A D | gen_common.cc | 206 * Array::AllocFromCode(type_idx, method, count); 209 void Mir2Lir::GenNewArray(uint32_t type_idx, RegLocation rl_dest, argument 214 type_idx)) { 219 CallRuntimeHelperImmMethodRegLocation(func_offset, type_idx, rl_src, true); 232 int type_idx = info->index; local 236 type_idx)) { 241 CallRuntimeHelperImmMethodImm(func_offset, type_idx, elems, true); 755 void Mir2Lir::GenConstClass(uint32_t type_idx, RegLocation rl_dest) { argument 761 type_idx)) { 765 type_idx, rl_metho local 793 CallRuntimeHelperImmReg(QUICK_ENTRYPOINT_OFFSET(pInitializeType), type_idx, local 870 GenNewInstance(uint32_t type_idx, RegLocation rl_dest) argument 893 GenInstanceofFinal(bool use_declaring_class, uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 945 GenInstanceofCallingHelper(bool needs_access_check, bool type_known_final, bool type_known_abstract, bool use_declaring_class, bool can_assume_type_is_in_dex_cache, uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 959 type_idx, true); local 980 CallRuntimeHelperImm(QUICK_ENTRYPOINT_OFFSET(pInitializeType), type_idx, true); local 1053 GenInstanceof(uint32_t type_idx, RegLocation rl_dest, RegLocation rl_src) argument 1073 GenCheckCast(uint32_t insn_idx, uint32_t type_idx, RegLocation rl_src) argument 1099 type_idx, TargetReg(kArg1), true); local 1118 CallRuntimeHelperImmReg(QUICK_ENTRYPOINT_OFFSET(pInitializeType), type_idx, local [all...] |
H A D | mir_to_lir.h | 399 void GenNewArray(uint32_t type_idx, RegLocation rl_dest, 410 void GenConstClass(uint32_t type_idx, RegLocation rl_dest); 412 void GenNewInstance(uint32_t type_idx, RegLocation rl_dest); 414 void GenInstanceof(uint32_t type_idx, RegLocation rl_dest, 416 void GenCheckCast(uint32_t insn_idx, uint32_t type_idx, 702 void GenInstanceofFinal(bool use_declaring_class, uint32_t type_idx, RegLocation rl_dest, 707 uint32_t type_idx, RegLocation rl_dest,
|
/art/compiler/dex/portable/ |
H A D | mir_to_gbc.h | 132 void ConvertCheckCast(uint32_t type_idx, RegLocation rl_src); 133 void ConvertNewInstance(uint32_t type_idx, RegLocation rl_dest); 134 void ConvertNewArray(uint32_t type_idx, RegLocation rl_dest, 144 void ConvertInstanceOf(uint32_t type_idx, RegLocation rl_dest,
|
/art/compiler/llvm/ |
H A D | gbc_expander.cc | 202 llvm::Value* EmitLoadDexCacheStaticStorageFieldAddr(uint32_t type_idx); 204 llvm::Value* EmitLoadDexCacheResolvedTypeFieldAddr(uint32_t type_idx); 324 llvm::Value* EmitLoadConstantClass(uint32_t dex_pc, uint32_t type_idx); 325 llvm::Value* EmitLoadStaticStorage(uint32_t dex_pc, uint32_t type_idx); 356 uint32_t type_idx, 723 GBCExpanderPass::EmitLoadDexCacheStaticStorageFieldAddr(uint32_t type_idx) { argument 727 llvm::Value* type_idx_value = irb_.getPtrEquivInt(type_idx); 733 GBCExpanderPass::EmitLoadDexCacheResolvedTypeFieldAddr(uint32_t type_idx) { argument 737 llvm::Value* type_idx_value = irb_.getPtrEquivInt(type_idx); 1029 uint32_t type_idx local 1217 uint32_t type_idx = local 1755 EmitLoadConstantClass(uint32_t dex_pc, uint32_t type_idx) argument 1835 EmitLoadStaticStorage(uint32_t dex_pc, uint32_t type_idx) argument 2125 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2164 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2218 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2289 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2351 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2359 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(1)); local 2452 EmitAllocNewArray(uint32_t dex_pc, llvm::Value* array_length_value, uint32_t type_idx, bool is_filled_new_array) argument [all...] |
/art/runtime/arch/arm/ |
H A D | entrypoints_init_arm.cc | 40 extern "C" void* art_quick_alloc_object(uint32_t type_idx, void* method); 41 extern "C" void* art_quick_alloc_object_with_access_check(uint32_t type_idx, void* method);
|
H A D | quick_entrypoints_arm.S | 385 @ artInitializeStaticStorageFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 393 * Entry from managed code when dex cache misses for a type_idx 400 @ artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 408 * Entry from managed code when type_idx needs to be checked for access and dex cache may also 416 @ artInitializeTypeAndVerifyAccessFromCode(uint32_t type_idx, Method* referrer, Thread*, SP) 703 bl artAllocObjectFromCode @ (uint32_t type_idx, Method* method, Thread*, SP) 718 bl artAllocObjectFromCodeWithAccessCheck @ (uint32_t type_idx, Method* method, Thread*, SP) 735 @ artAllocArrayFromCode(uint32_t type_idx, Method* method, int32_t component_count, Thread*, SP) 756 @ artAllocArrayFromCodeWithAccessCheck(type_idx, method, component_count, Thread*, SP) 776 @ artCheckAndAllocArrayFromCode(uint32_t type_idx, Metho [all...] |
/art/runtime/arch/mips/ |
H A D | entrypoints_init_mips.cc | 39 extern "C" void* art_quick_alloc_object(uint32_t type_idx, void* method); 40 extern "C" void* art_quick_alloc_object_with_access_check(uint32_t type_idx, void* method);
|
H A D | quick_entrypoints_mips.S | 541 # artInitializeStaticStorageFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 548 * Entry from managed code when dex cache misses for a type_idx. 555 # artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 562 * Entry from managed code when type_idx needs to be checked for access and dex cache may also 570 # artInitializeTypeFromCode(uint32_t type_idx, Method* referrer, Thread*, $sp) 768 jal artAllocObjectFromCode # (uint32_t type_idx, Method* method, Thread*, $sp) 782 jal artAllocObjectFromCodeWithAccessCheck # (uint32_t type_idx, Method* method, Thread*, $sp) 795 # artAllocArrayFromCode(uint32_t type_idx, Method* method, int32_t component_count, Thread*, $sp) 810 # artAllocArrayFromCodeWithAccessCheck(type_idx, method, component_count, Thread*, $sp) 824 # artCheckAndAllocArrayFromCode(uint32_t type_idx, Metho [all...] |
/art/runtime/arch/x86/ |
H A D | entrypoints_init_x86.cc | 38 extern "C" void* art_quick_alloc_object(uint32_t type_idx, void* method); 39 extern "C" void* art_quick_alloc_object_with_access_check(uint32_t type_idx, void* method);
|
/art/compiler/driver/ |
H A D | compiler_driver.h | 154 bool CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx) 162 uint32_t type_idx, bool* type_known_final = NULL, 169 uint32_t type_idx) 310 // Checks if class specified by type_idx is one of the image_classes_
|
H A D | compiler_driver.cc | 778 uint32_t type_idx) { 779 if (IsImage() && IsImageClass(dex_file.GetTypeDescriptor(dex_file.GetTypeId(type_idx)))) { 783 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 815 uint32_t type_idx, 830 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 837 *equals_referrers_class = (method_id.class_idx_ == type_idx); 863 uint32_t type_idx) { 867 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 1583 static void ResolveType(const ParallelCompilationManager* manager, size_t type_idx) 1591 mirror::Class* klass = class_linker->ResolveType(dex_file, type_idx, dex_cach 777 CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx) argument 814 CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, uint32_t type_idx, bool* type_known_final, bool* type_known_abstract, bool* equals_referrers_class) argument 861 CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, uint32_t type_idx) argument [all...] |