/art/test/117-nopatchoat/ |
D | nopatchoat.cc | 27 static const OatFile::OatDexFile* getOatDexFile(jclass cls) { in getOatDexFile() argument 29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in getOatDexFile() 34 static bool hasExecutableOat(jclass cls) { in hasExecutableOat() argument 35 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in hasExecutableOat() 40 static bool isPic(jclass cls) { in isPic() argument 41 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in isPic() 52 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasExecutableOat(JNIEnv*, jclass cls) { in Java_Main_hasExecutableOat() argument 53 return NoPatchoatTest::hasExecutableOat(cls); in Java_Main_hasExecutableOat() 56 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isPic(JNIEnv*, jclass cls) { in Java_Main_isPic() argument 57 return NoPatchoatTest::isPic(cls); in Java_Main_isPic()
|
/art/test/116-nodex2oat/ |
D | nodex2oat.cc | 27 static bool hasOat(jclass cls) { in hasOat() argument 29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat() 36 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasOat(JNIEnv*, jclass cls) { in Java_Main_hasOat() argument 37 return NoDex2OatTest::hasOat(cls); in Java_Main_hasOat()
|
/art/compiler/optimizing/ |
D | prepare_for_register_allocation.cc | 51 HLoadClass* cls = check->GetLoadClass(); in VisitClinitCheck() local 52 check->ReplaceWith(cls); in VisitClinitCheck() 53 if (check->GetPrevious() == cls) { in VisitClinitCheck() 56 cls->SetMustGenerateClinitCheck(); in VisitClinitCheck()
|
D | code_generator_arm64.cc | 158 LoadClassSlowPathARM64(HLoadClass* cls, in LoadClassSlowPathARM64() argument 162 : cls_(cls), at_(at), dex_pc_(dex_pc), do_clinit_(do_clinit) { in LoadClassSlowPathARM64() 1460 Register cls = InputRegisterAt(instruction, 1);; in VisitCheckCast() local 1473 __ Cmp(obj_cls, cls); in VisitCheckCast() 1866 Register cls = InputRegisterAt(instruction, 1);; in VisitInstanceOf() local 1880 __ Cmp(out, cls); in VisitInstanceOf() 2097 void LocationsBuilderARM64::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 2098 LocationSummary::CallKind call_kind = cls->CanCallRuntime() ? LocationSummary::kCallOnSlowPath in VisitLoadClass() 2100 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(cls, call_kind); in VisitLoadClass() 2104 void InstructionCodeGeneratorARM64::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument [all …]
|
D | builder.cc | 898 Handle<mirror::Class> cls(hs.NewHandle(compiler_driver_->ResolveClass( in IsOutermostCompilingClass() local 902 return outer_class.Get() == cls.Get(); in IsOutermostCompilingClass() 959 HInstruction* cls = constant; in BuildStaticFieldAccess() local 961 cls = new (arena_) HClinitCheck(constant, dex_pc); in BuildStaticFieldAccess() 962 current_block_->AddInstruction(cls); in BuildStaticFieldAccess() 969 temps.Add(cls); in BuildStaticFieldAccess() 973 new (arena_) HStaticFieldSet(cls, value, field_type, resolved_field->GetOffset(), in BuildStaticFieldAccess() 977 new (arena_) HStaticFieldGet(cls, field_type, resolved_field->GetOffset(), in BuildStaticFieldAccess() 1191 HLoadClass* cls = new (arena_) HLoadClass( in BuildTypeCheck() local 1193 current_block_->AddInstruction(cls); in BuildTypeCheck() [all …]
|
D | code_generator_mips64.cc | 166 LoadClassSlowPathMIPS64(HLoadClass* cls, in LoadClassSlowPathMIPS64() argument 170 : cls_(cls), at_(at), dex_pc_(dex_pc), do_clinit_(do_clinit) { in LoadClassSlowPathMIPS64() 1609 GpuRegister cls = locations->InAt(1).AsRegister<GpuRegister>(); in VisitCheckCast() local 1623 __ Bnec(obj_cls, cls, slow_path->GetEntryLabel()); in VisitCheckCast() 2248 GpuRegister cls = locations->InAt(1).AsRegister<GpuRegister>(); in VisitInstanceOf() local 2262 __ Xor(out, out, cls); in VisitInstanceOf() 2273 __ Bnec(out, cls, slow_path->GetEntryLabel()); in VisitInstanceOf() 2476 void LocationsBuilderMIPS64::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 2477 LocationSummary::CallKind call_kind = cls->CanCallRuntime() ? LocationSummary::kCallOnSlowPath in VisitLoadClass() 2479 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(cls, call_kind); in VisitLoadClass() [all …]
|
D | code_generator_x86_64.cc | 187 LoadClassSlowPathX86_64(HLoadClass* cls, in LoadClassSlowPathX86_64() argument 191 : cls_(cls), at_(at), dex_pc_(dex_pc), do_clinit_(do_clinit) { in LoadClassSlowPathX86_64() 4114 void LocationsBuilderX86_64::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 4115 LocationSummary::CallKind call_kind = cls->CanCallRuntime() in VisitLoadClass() 4119 new (GetGraph()->GetArena()) LocationSummary(cls, call_kind); in VisitLoadClass() 4123 void InstructionCodeGeneratorX86_64::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 4124 CpuRegister out = cls->GetLocations()->Out().AsRegister<CpuRegister>(); in VisitLoadClass() 4125 if (cls->IsReferrersClass()) { in VisitLoadClass() 4126 DCHECK(!cls->CanCallRuntime()); in VisitLoadClass() 4127 DCHECK(!cls->MustGenerateClinitCheck()); in VisitLoadClass() [all …]
|
D | code_generator_x86.cc | 198 LoadClassSlowPathX86(HLoadClass* cls, in LoadClassSlowPathX86() argument 202 : cls_(cls), at_(at), dex_pc_(dex_pc), do_clinit_(do_clinit) { in LoadClassSlowPathX86() 4267 void LocationsBuilderX86::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 4268 LocationSummary::CallKind call_kind = cls->CanCallRuntime() in VisitLoadClass() 4272 new (GetGraph()->GetArena()) LocationSummary(cls, call_kind); in VisitLoadClass() 4276 void InstructionCodeGeneratorX86::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 4277 Register out = cls->GetLocations()->Out().AsRegister<Register>(); in VisitLoadClass() 4278 if (cls->IsReferrersClass()) { in VisitLoadClass() 4279 DCHECK(!cls->CanCallRuntime()); in VisitLoadClass() 4280 DCHECK(!cls->MustGenerateClinitCheck()); in VisitLoadClass() [all …]
|
D | code_generator_arm.cc | 166 LoadClassSlowPathARM(HLoadClass* cls, in LoadClassSlowPathARM() argument 170 : cls_(cls), at_(at), dex_pc_(dex_pc), do_clinit_(do_clinit) { in LoadClassSlowPathARM() 3786 void LocationsBuilderARM::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 3787 LocationSummary::CallKind call_kind = cls->CanCallRuntime() in VisitLoadClass() 3791 new (GetGraph()->GetArena()) LocationSummary(cls, call_kind); in VisitLoadClass() 3795 void InstructionCodeGeneratorARM::VisitLoadClass(HLoadClass* cls) { in VisitLoadClass() argument 3796 Register out = cls->GetLocations()->Out().AsRegister<Register>(); in VisitLoadClass() 3797 if (cls->IsReferrersClass()) { in VisitLoadClass() 3798 DCHECK(!cls->CanCallRuntime()); in VisitLoadClass() 3799 DCHECK(!cls->MustGenerateClinitCheck()); in VisitLoadClass() [all …]
|
D | nodes.h | 3564 HStaticFieldGet(HInstruction* cls, in HStaticFieldGet() argument 3570 SetRawInputAt(0, cls); in HStaticFieldGet() 3600 HStaticFieldSet(HInstruction* cls, in HStaticFieldSet() argument 3607 SetRawInputAt(0, cls); in HStaticFieldSet()
|
/art/test/118-noimage-dex2oat/ |
D | noimage-dex2oat.cc | 27 static bool hasOat(jclass cls) { in hasOat() argument 29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat()
|
/art/runtime/ |
D | fault_handler.cc | 344 mirror::Class* cls = method_obj->GetDeclaringClassNoBarrier(); in IsInGeneratedCode() local 345 if (cls == nullptr) { in IsInGeneratedCode() 349 if (!IsAligned<kObjectAlignment>(cls)) { in IsInGeneratedCode() 355 if (!VerifyClassClass(cls)) { in IsInGeneratedCode()
|
D | profiler.cc | 410 mirror::Class* cls = method->GetDeclaringClass(); in ProcessMethod() local 411 if (cls != nullptr) { in ProcessMethod() 412 if (cls->GetClassLoader() == nullptr) { in ProcessMethod()
|
D | check_jni.cc | 1589 static jobject ToReflectedMethod(JNIEnv* env, jclass cls, jmethodID mid, jboolean isStatic) { in ToReflectedMethod() argument 1592 JniValueType args[4] = {{.E = env}, {.c = cls}, {.m = mid}, {.b = isStatic}}; in ToReflectedMethod() 1595 result.L = baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic); in ToReflectedMethod() 1604 static jobject ToReflectedField(JNIEnv* env, jclass cls, jfieldID fid, jboolean isStatic) { in ToReflectedField() argument 1607 JniValueType args[4] = {{.E = env}, {.c = cls}, {.f = fid}, {.b = isStatic}}; in ToReflectedField() 1610 result.L = baseEnv(env)->ToReflectedField(env, cls, fid, isStatic); in ToReflectedField()
|
/art/test/462-checker-inlining-across-dex-files/src/ |
D | Main.java | 195 public static Class<?> cls = AAA.class; field in Main
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 48 mirror::Class* cls = mUnit->GetClassLinker()->ResolveType( in ResolveClass() local 50 DCHECK_EQ(cls == nullptr, soa.Self()->IsExceptionPending()); in ResolveClass() 51 if (UNLIKELY(cls == nullptr)) { in ResolveClass() 55 return cls; in ResolveClass()
|
/art/patchoat/ |
D | patchoat.h | 182 void operator() (mirror::Class* cls, mirror::Reference* ref) const
|
D | patchoat.cc | 557 void PatchOat::PatchVisitor::operator() (mirror::Class* cls ATTRIBUTE_UNUSED, in operator ()()
|