/art/runtime/ |
D | class_root-inl.h | 31 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, in GetClassRoot() argument 39 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRoot() 40 int32_t index = static_cast<int32_t>(class_root); in GetClassRoot() 48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() argument 50 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot() 54 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() argument 56 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot()
|
D | class_root.cc | 23 const char* GetClassRootDescriptor(ClassRoot class_root) { in GetClassRootDescriptor() argument 32 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRootDescriptor() 33 const char* descriptor = class_roots_descriptors[static_cast<size_t>(class_root)]; in GetClassRootDescriptor()
|
D | class_root.h | 127 const char* GetClassRootDescriptor(ClassRoot class_root); 130 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, 135 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) 139 ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | class_linker.cc | 936 ObjPtr<mirror::Class> class_root = FindSystemClass(self, "Ljava/lang/reflect/Field;"); in InitWithoutImage() local 937 CHECK(class_root != nullptr); in InitWithoutImage() 938 SetClassRoot(ClassRoot::kJavaLangReflectField, class_root); in InitWithoutImage() 941 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Field;"); in InitWithoutImage() 942 CHECK(class_root != nullptr); in InitWithoutImage() 943 SetClassRoot(ClassRoot::kJavaLangReflectFieldArrayClass, class_root); in InitWithoutImage() 946 class_root = FindSystemClass(self, "Ljava/lang/reflect/Constructor;"); in InitWithoutImage() 947 CHECK(class_root != nullptr); in InitWithoutImage() 948 SetClassRoot(ClassRoot::kJavaLangReflectConstructor, class_root); in InitWithoutImage() 949 class_root = FindSystemClass(self, "[Ljava/lang/reflect/Constructor;"); in InitWithoutImage() [all …]
|
D | Android.bp | 250 "class_root.cc",
|
D | class_linker.h | 1357 void SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass)
|
/art/runtime/mirror/ |
D | class.cc | 81 ClassRoot class_root = ClassRoot::kJavaLangObject; // Invalid. in GetPrimitiveClass() local 87 case 'b': expected_name = "boolean"; class_root = ClassRoot::kPrimitiveBoolean; break; in GetPrimitiveClass() 88 case 'B': expected_name = "byte"; class_root = ClassRoot::kPrimitiveByte; break; in GetPrimitiveClass() 89 case 'c': expected_name = "char"; class_root = ClassRoot::kPrimitiveChar; break; in GetPrimitiveClass() 90 case 'd': expected_name = "double"; class_root = ClassRoot::kPrimitiveDouble; break; in GetPrimitiveClass() 91 case 'f': expected_name = "float"; class_root = ClassRoot::kPrimitiveFloat; break; in GetPrimitiveClass() 92 case 'i': expected_name = "int"; class_root = ClassRoot::kPrimitiveInt; break; in GetPrimitiveClass() 93 case 'l': expected_name = "long"; class_root = ClassRoot::kPrimitiveLong; break; in GetPrimitiveClass() 94 case 's': expected_name = "short"; class_root = ClassRoot::kPrimitiveShort; break; in GetPrimitiveClass() 95 case 'v': expected_name = "void"; class_root = ClassRoot::kPrimitiveVoid; break; in GetPrimitiveClass() [all …]
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 60 #define CREATE_PRIMITIVE_TYPE(type, class_root, descriptor, id) \ in FillPrimitiveAndSmallConstantTypes() argument 62 handles_.NewHandle(GetClassRoot(class_root, class_linker_)), \ in FillPrimitiveAndSmallConstantTypes()
|
/art/compiler/optimizing/ |
D | code_generator_x86_64.h | 552 void LoadClassRootForIntrinsic(CpuRegister reg, ClassRoot class_root);
|
D | code_generator_riscv64.h | 628 void LoadClassRootForIntrinsic(XRegister dest, ClassRoot class_root);
|
D | code_generator.cc | 864 uint32_t CodeGenerator::GetBootImageOffset(ClassRoot class_root) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset() argument 865 ObjPtr<mirror::Class> klass = GetClassRoot<kWithoutReadBarrier>(class_root); in GetBootImageOffset()
|
D | code_generator.h | 664 static uint32_t GetBootImageOffset(ClassRoot class_root);
|
D | code_generator_arm_vixl.h | 740 void LoadClassRootForIntrinsic(vixl::aarch32::Register reg, ClassRoot class_root);
|
D | code_generator_arm64.h | 895 void LoadClassRootForIntrinsic(vixl::aarch64::Register reg, ClassRoot class_root);
|
D | nodes.cc | 55 ClassRoot class_root) { in CreateRootHandle() argument 58 return handles->NewHandle(GetClassRoot(class_root)); in CreateRootHandle()
|
D | nodes.h | 357 inline ReferenceTypeInfo::TypeHandle GetRootHandle(ClassRoot class_root, in GetRootHandle() argument 360 *cache = CreateRootHandle(handles_, class_root); in GetRootHandle() 366 ClassRoot class_root);
|
D | code_generator_arm64.cc | 5337 ClassRoot class_root) { in LoadClassRootForIntrinsic() argument 5340 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic() 5344 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
|
D | code_generator_riscv64.cc | 6793 void CodeGeneratorRISCV64::LoadClassRootForIntrinsic(XRegister dest, ClassRoot class_root) { in LoadClassRootForIntrinsic() argument 6796 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic() 6800 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
|
D | code_generator_x86_64.cc | 1415 void CodeGeneratorX86_64::LoadClassRootForIntrinsic(CpuRegister reg, ClassRoot class_root) { in LoadClassRootForIntrinsic() argument 1418 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic() 1422 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
|
D | code_generator_arm_vixl.cc | 9849 ClassRoot class_root) { in LoadClassRootForIntrinsic() argument 9852 ObjPtr<mirror::Class> klass = GetClassRoot(class_root); in LoadClassRootForIntrinsic() 9856 uint32_t boot_image_offset = GetBootImageOffset(class_root); in LoadClassRootForIntrinsic()
|