/art/runtime/ |
D | class_root-inl.h | 31 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, in GetClassRoot() 39 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRoot() 48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() 54 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root) in GetClassRoot() 70 static constexpr ClassRoot value = ClassRoot::name; \
|
D | class_root.cc | 23 const char* GetClassRootDescriptor(ClassRoot class_root) { in GetClassRootDescriptor() 29 static_assert(arraysize(class_roots_descriptors) == static_cast<size_t>(ClassRoot::kMax), in GetClassRootDescriptor() 32 DCHECK_LT(static_cast<uint32_t>(class_root), static_cast<uint32_t>(ClassRoot::kMax)); in GetClassRootDescriptor()
|
D | class_root.h | 120 enum class ClassRoot : uint32_t { enum 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 | 765 static_cast<int32_t>(ClassRoot::kMax))); in InitWithoutImage() 767 SetClassRoot(ClassRoot::kJavaLangClass, java_lang_Class.Get()); in InitWithoutImage() 768 SetClassRoot(ClassRoot::kJavaLangObject, java_lang_Object.Get()); in InitWithoutImage() 769 SetClassRoot(ClassRoot::kClassArrayClass, class_array_class.Get()); in InitWithoutImage() 770 SetClassRoot(ClassRoot::kObjectArrayClass, object_array_class.Get()); in InitWithoutImage() 771 SetClassRoot(ClassRoot::kJavaLangString, java_lang_String.Get()); in InitWithoutImage() 772 SetClassRoot(ClassRoot::kJavaLangRefReference, java_lang_ref_Reference.Get()); in InitWithoutImage() 782 CreatePrimitiveClass(self, Primitive::kPrimBoolean, ClassRoot::kPrimitiveBoolean); in InitWithoutImage() 783 CreatePrimitiveClass(self, Primitive::kPrimByte, ClassRoot::kPrimitiveByte); in InitWithoutImage() 784 CreatePrimitiveClass(self, Primitive::kPrimChar, ClassRoot::kPrimitiveChar); in InitWithoutImage() [all …]
|
D | class_linker.h | 54 enum class ClassRoot : uint32_t; 1070 ClassRoot primitive_root, 1071 ClassRoot array_root) 1082 void FinishCoreArrayClassSetup(ClassRoot array_root) 1099 void CreatePrimitiveClass(Thread* self, Primitive::Type type, ClassRoot primitive_root) 1357 void SetClassRoot(ClassRoot class_root, ObjPtr<mirror::Class> klass)
|
D | class_linker_test.cc | 1418 for (size_t i = 0; i < static_cast<size_t>(ClassRoot::kMax); i++) { in TEST_F() 1419 ObjPtr<mirror::Class> klass = GetClassRoot(ClassRoot(i), class_linker_); in TEST_F() 1421 EXPECT_STREQ(klass->GetDescriptor(&temp), GetClassRootDescriptor(ClassRoot(i))) << " i = " << i; in TEST_F()
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 66 CREATE_PRIMITIVE_TYPE(BooleanType, ClassRoot::kPrimitiveBoolean, "Z", kBooleanCacheId); in FillPrimitiveAndSmallConstantTypes() 67 CREATE_PRIMITIVE_TYPE(ByteType, ClassRoot::kPrimitiveByte, "B", kByteCacheId); in FillPrimitiveAndSmallConstantTypes() 68 CREATE_PRIMITIVE_TYPE(ShortType, ClassRoot::kPrimitiveShort, "S", kShortCacheId); in FillPrimitiveAndSmallConstantTypes() 69 CREATE_PRIMITIVE_TYPE(CharType, ClassRoot::kPrimitiveChar, "C", kCharCacheId); in FillPrimitiveAndSmallConstantTypes() 70 CREATE_PRIMITIVE_TYPE(IntegerType, ClassRoot::kPrimitiveInt, "I", kIntCacheId); in FillPrimitiveAndSmallConstantTypes() 71 CREATE_PRIMITIVE_TYPE(LongLoType, ClassRoot::kPrimitiveLong, "J", kLongLoCacheId); in FillPrimitiveAndSmallConstantTypes() 72 CREATE_PRIMITIVE_TYPE(LongHiType, ClassRoot::kPrimitiveLong, "J", kLongHiCacheId); in FillPrimitiveAndSmallConstantTypes() 73 CREATE_PRIMITIVE_TYPE(FloatType, ClassRoot::kPrimitiveFloat, "F", kFloatCacheId); in FillPrimitiveAndSmallConstantTypes() 74 CREATE_PRIMITIVE_TYPE(DoubleLoType, ClassRoot::kPrimitiveDouble, "D", kDoubleLoCacheId); in FillPrimitiveAndSmallConstantTypes() 75 CREATE_PRIMITIVE_TYPE(DoubleHiType, ClassRoot::kPrimitiveDouble, "D", kDoubleHiCacheId); in FillPrimitiveAndSmallConstantTypes()
|
/art/runtime/mirror/ |
D | class.cc | 81 ClassRoot class_root = ClassRoot::kJavaLangObject; // Invalid. in GetPrimitiveClass() 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()
|
D | var_handle.cc | 194 return GetClassRoot(ClassRoot::kPrimitiveBoolean); in GetReturnType() 200 return GetClassRoot(ClassRoot::kPrimitiveVoid); in GetReturnType()
|
D | object_test.cc | 87 self, GetClassRoot(ClassRoot::kObjectArrayClass, class_linker_), length); in AllocObjectArray()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 616 return GetClassRoot(ClassRoot::kPrimitiveInt, class_roots); in GetClassForBootstrapArgument() 618 return GetClassRoot(ClassRoot::kPrimitiveLong, class_roots); in GetClassForBootstrapArgument() 620 return GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots); in GetClassForBootstrapArgument() 622 return GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots); in GetClassForBootstrapArgument() 837 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod() 839 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod() 841 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots)) { in PackCollectorArrayForBootstrapMethod() 843 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots)) { in PackCollectorArrayForBootstrapMethod()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 124 art::GetClassRoot(art::ClassRoot::kPrimitiveLong)); in Init()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 71 DCHECK(h_receiver->InstanceOf(GetClassRoot(ClassRoot::kJavaLangReflectProxy))); in InvokeProxyInvocationHandler()
|
/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 | nodes.h | 332 return GetRootHandle(ClassRoot::kJavaLangObject, &object_class_handle_); in GetObjectClassHandle() 336 return GetRootHandle(ClassRoot::kJavaLangClass, &class_class_handle_); in GetClassClassHandle() 340 return GetRootHandle(ClassRoot::kJavaLangInvokeMethodHandleImpl, &method_handle_class_handle_); in GetMethodHandleClassHandle() 344 return GetRootHandle(ClassRoot::kJavaLangInvokeMethodType, &method_type_class_handle_); in GetMethodTypeClassHandle() 348 return GetRootHandle(ClassRoot::kJavaLangString, &string_class_handle_); in GetStringClassHandle() 352 return GetRootHandle(ClassRoot::kJavaLangThrowable, &throwable_class_handle_); in GetThrowableClassHandle() 357 inline ReferenceTypeInfo::TypeHandle GetRootHandle(ClassRoot class_root, in GetRootHandle() 366 ClassRoot class_root);
|
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 | code_generator.cc | 864 uint32_t CodeGenerator::GetBootImageOffset(ClassRoot class_root) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset()
|
D | nodes.cc | 55 ClassRoot class_root) { in CreateRootHandle()
|
D | intrinsics_riscv64.cc | 4665 codegen->LoadClassRootForIntrinsic(temp2, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|
D | intrinsics_x86_64.cc | 5094 codegen->LoadClassRootForIntrinsic(temp, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|
D | intrinsics_arm_vixl.cc | 5564 codegen->LoadClassRootForIntrinsic(temp2, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|
D | intrinsics_arm64.cc | 5706 codegen->LoadClassRootForIntrinsic(temp2, ClassRoot::kJavaLangInvokeByteArrayViewVarHandle); in EmitByteArrayViewCode()
|