Lines Matching refs:klass

53   ObjPtr<mirror::Class> klass = method->GetDeclaringClass();  in BootImageAOTCanEmbedMethod()  local
54 DCHECK(klass != nullptr); in BootImageAOTCanEmbedMethod()
55 const DexFile& dex_file = klass->GetDexFile(); in BootImageAOTCanEmbedMethod()
56 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
132 Handle<mirror::Class> klass = load_class->GetClass(); in ComputeLoadClassKind() local
161 } else if ((klass != nullptr) && in ComputeLoadClassKind()
171 is_in_boot_image = (klass != nullptr) && in ComputeLoadClassKind()
172 runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get()); in ComputeLoadClassKind()
177 } else if (klass != nullptr) { in ComputeLoadClassKind()
214 static inline bool CanUseTypeCheckBitstring(ObjPtr<mirror::Class> klass, CodeGenerator* codegen) in CanUseTypeCheckBitstring() argument
216 DCHECK(!klass->IsProxyClass()); in CanUseTypeCheckBitstring()
217 DCHECK(!klass->IsArrayClass()); in CanUseTypeCheckBitstring()
222 const char* descriptor = klass->GetDexFile().StringByTypeIdx(klass->GetDexTypeIndex()); in CanUseTypeCheckBitstring()
241 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring()
243 << klass->PrettyDescriptor() << "/" << old_state in CanUseTypeCheckBitstring()
246 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::EnsureAssigned(klass); in CanUseTypeCheckBitstring()
250 TypeCheckKind HSharpening::ComputeTypeCheckKind(ObjPtr<mirror::Class> klass, in ComputeTypeCheckKind() argument
253 if (klass == nullptr) { in ComputeTypeCheckKind()
255 } else if (klass->IsInterface()) { in ComputeTypeCheckKind()
257 } else if (klass->IsArrayClass()) { in ComputeTypeCheckKind()
258 if (klass->GetComponentType()->IsObjectClass()) { in ComputeTypeCheckKind()
260 } else if (klass->CannotBeAssignedFromOtherTypes()) { in ComputeTypeCheckKind()
265 } else if (klass->IsFinal()) { // TODO: Consider using bitstring for final classes. in ComputeTypeCheckKind()
269 CanUseTypeCheckBitstring(klass, codegen)) { in ComputeTypeCheckKind()
273 } else if (klass->IsAbstract()) { in ComputeTypeCheckKind()