Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 18 of 18) sorted by relevance

/art/test/117-nopatchoat/
Dnopatchoat.cc27 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/
Dnodex2oat.cc27 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/
Dprepare_for_register_allocation.cc51 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()
Dcode_generator_arm64.cc158 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 …]
Dbuilder.cc898 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 …]
Dcode_generator_mips64.cc166 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 …]
Dcode_generator_x86_64.cc187 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 …]
Dcode_generator_x86.cc198 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 …]
Dcode_generator_arm.cc166 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 …]
Dnodes.h3564 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/
Dnoimage-dex2oat.cc27 static bool hasOat(jclass cls) { in hasOat() argument
29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat()
/art/runtime/
Dfault_handler.cc344 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()
Dprofiler.cc410 mirror::Class* cls = method->GetDeclaringClass(); in ProcessMethod() local
411 if (cls != nullptr) { in ProcessMethod()
412 if (cls->GetClassLoader() == nullptr) { in ProcessMethod()
Dcheck_jni.cc1589 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/
DMain.java195 public static Class<?> cls = AAA.class; field in Main
/art/compiler/driver/
Dcompiler_driver-inl.h48 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/
Dpatchoat.h182 void operator() (mirror::Class* cls, mirror::Reference* ref) const
Dpatchoat.cc557 void PatchOat::PatchVisitor::operator() (mirror::Class* cls ATTRIBUTE_UNUSED, in operator ()()