Home
last modified time | relevance | path

Searched refs:HLoadClass (Results 1 – 25 of 29) sorted by relevance

12

/art/compiler/optimizing/
Dsharpening.cc128 HLoadClass::LoadKind HSharpening::ComputeLoadClassKind( in ComputeLoadClassKind()
129 HLoadClass* load_class, in ComputeLoadClassKind()
133 DCHECK(load_class->GetLoadKind() == HLoadClass::LoadKind::kRuntimeCall || in ComputeLoadClassKind()
134 load_class->GetLoadKind() == HLoadClass::LoadKind::kReferrersClass) in ComputeLoadClassKind()
138 HLoadClass::LoadKind load_kind = load_class->GetLoadKind(); in ComputeLoadClassKind()
142 } else if (load_kind == HLoadClass::LoadKind::kReferrersClass) { in ComputeLoadClassKind()
152 HLoadClass::LoadKind desired_load_kind = HLoadClass::LoadKind::kInvalid; in ComputeLoadClassKind()
160 desired_load_kind = HLoadClass::LoadKind::kRuntimeCall; in ComputeLoadClassKind()
164 desired_load_kind = HLoadClass::LoadKind::kBootImageLinkTimePcRelative; in ComputeLoadClassKind()
168 desired_load_kind = HLoadClass::LoadKind::kBssEntry; in ComputeLoadClassKind()
[all …]
Dpc_relative_fixups_mips.cc73 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
74 HLoadClass::LoadKind load_kind = load_class->GetLoadKind(); in VisitLoadClass()
76 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in VisitLoadClass()
77 case HLoadClass::LoadKind::kBootImageRelRo: in VisitLoadClass()
78 case HLoadClass::LoadKind::kBssEntry: in VisitLoadClass()
79 case HLoadClass::LoadKind::kJitBootImageAddress: in VisitLoadClass()
Dsharpening.h37 static HLoadClass::LoadKind ComputeLoadClassKind(HLoadClass* load_class,
Dprepare_for_register_allocation.cc155 HLoadClass* load_class = check->GetLoadClass(); in VisitClinitCheck()
168 load_class->GetLoadKind() != HLoadClass::LoadKind::kRuntimeCall) { in VisitClinitCheck()
Dcode_generator_x86_64.h408 HLoadClass::LoadKind GetSupportedLoadClassKind(
409 HLoadClass::LoadKind desired_class_load_kind) override;
426 void RecordBootImageTypePatch(HLoadClass* load_class);
427 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dcode_generator_x86.h409 HLoadClass::LoadKind GetSupportedLoadClassKind(
410 HLoadClass::LoadKind desired_class_load_kind) override;
431 void RecordBootImageTypePatch(HLoadClass* load_class);
432 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dcode_generator.h561 static void CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls,
564 void GenerateLoadClassRuntimeCall(HLoadClass* cls);
576 uint32_t GetBootImageOffset(HLoadClass* load_class);
597 virtual HLoadClass::LoadKind GetSupportedLoadClassKind(
598 HLoadClass::LoadKind desired_class_load_kind) = 0;
Dinstruction_builder.h221 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc);
223 HLoadClass* BuildLoadClass(dex::TypeIndex type_index,
Dcode_generator_arm64.cc305 LoadClassSlowPathARM64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARM64()
356 HLoadClass* const cls_;
4549 HLoadClass::LoadKind CodeGeneratorARM64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
4550 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
4552 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
4555 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
4557 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
4558 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
4559 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
4562 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dpc_relative_fixups_x86.cc83 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
Dcode_generator_mips64.cc186 LoadClassSlowPathMIPS64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathMIPS64()
240 HLoadClass* const cls_;
6033 HLoadClass::LoadKind CodeGeneratorMIPS64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6034 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6037 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6040 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6042 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6043 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
6044 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
6047 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dreference_type_propagation.cc99 void VisitLoadClass(HLoadClass* load_class) override;
179 HLoadClass* cls = instr->AsLoadClass(); in ValidateTypes()
314 HLoadClass* load_class = input_one->IsLoadClass() in BoundTypeForClassCheck()
662 void ReferenceTypePropagation::RTPVisitor::VisitLoadClass(HLoadClass* instr) { in VisitLoadClass()
Dinstruction_builder.cc1051 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1103 HLoadClass* load_class = new_inst->GetLoadClass(); in BuildConstructorFenceForAllocation()
1369 HLoadClass* cls = BuildLoadClass(klass->GetDexTypeIndex(), in ProcessClinitCheckForInvoke()
1689 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess()
1807 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray()
1942 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass()
1950 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, in BuildLoadClass()
1969 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
1978 HLoadClass::LoadKind load_kind = HSharpening::ComputeLoadClassKind(load_class, in BuildLoadClass()
1982 if (load_kind == HLoadClass::LoadKind::kInvalid) { in BuildLoadClass()
Dcode_generator_x86.cc267 LoadClassSlowPathX86(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86()
315 HLoadClass* const cls_;
4969 void CodeGeneratorX86::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
4977 Label* CodeGeneratorX86::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
6484 HLoadClass::LoadKind CodeGeneratorX86::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6485 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6487 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6490 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6492 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6493 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dnodes.cc2973 bool HLoadClass::InstructionDataEquals(const HInstruction* other) const { in InstructionDataEquals()
2974 const HLoadClass* other_load_class = other->AsLoadClass(); in InstructionDataEquals()
2994 std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs) { in operator <<()
2996 case HLoadClass::LoadKind::kReferrersClass: in operator <<()
2998 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in operator <<()
3000 case HLoadClass::LoadKind::kBootImageRelRo: in operator <<()
3002 case HLoadClass::LoadKind::kBssEntry: in operator <<()
3004 case HLoadClass::LoadKind::kJitBootImageAddress: in operator <<()
3006 case HLoadClass::LoadKind::kJitTableAddress: in operator <<()
3008 case HLoadClass::LoadKind::kRuntimeCall: in operator <<()
Dcode_generator.cc727 void CodeGenerator::CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls, in CreateLoadClassRuntimeCallLocationSummary()
730 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in CreateLoadClassRuntimeCallLocationSummary()
739 void CodeGenerator::GenerateLoadClassRuntimeCall(HLoadClass* cls) { in GenerateLoadClassRuntimeCall()
740 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in GenerateLoadClassRuntimeCall()
812 uint32_t CodeGenerator::GetBootImageOffset(HLoadClass* load_class) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset()
813 DCHECK_EQ(load_class->GetLoadKind(), HLoadClass::LoadKind::kBootImageRelRo); in GetBootImageOffset()
Dcode_generator_mips.cc233 LoadClassSlowPathMIPS(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathMIPS()
287 HLoadClass* const cls_;
7914 HLoadClass::LoadKind CodeGeneratorMIPS::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
7915 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
7917 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
7920 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
7922 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
7923 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
7924 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
7927 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dcode_generator_x86_64.cc249 LoadClassSlowPathX86_64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86_64()
298 HLoadClass* const cls_;
1099 void CodeGeneratorX86_64::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
1105 Label* CodeGeneratorX86_64::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
5854 HLoadClass::LoadKind CodeGeneratorX86_64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
5855 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
5857 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
5860 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
5862 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
5863 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dcode_generator_mips64.h537 HLoadClass::LoadKind GetSupportedLoadClassKind(
538 HLoadClass::LoadKind desired_class_load_kind) override;
Dcode_generator_mips.h559 HLoadClass::LoadKind GetSupportedLoadClassKind(
560 HLoadClass::LoadKind desired_class_load_kind) override;
Dcode_generator_arm_vixl.cc508 LoadClassSlowPathARMVIXL(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARMVIXL()
556 HLoadClass* const cls_;
6918 HLoadClass::LoadKind CodeGeneratorARMVIXL::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6919 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6921 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6924 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6926 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6927 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
6928 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
6931 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dinliner.cc953 HLoadClass* load_class = new (graph_->GetAllocator()) HLoadClass(graph_->GetCurrentMethod(), in AddTypeGuard()
960 HLoadClass::LoadKind kind = HSharpening::ComputeLoadClassKind( in AddTypeGuard()
962 DCHECK(kind != HLoadClass::LoadKind::kInvalid) in AddTypeGuard()
Dcode_generator_arm64.h553 HLoadClass::LoadKind GetSupportedLoadClassKind(
554 HLoadClass::LoadKind desired_class_load_kind) override;
Dcode_generator_arm_vixl.h543 HLoadClass::LoadKind GetSupportedLoadClassKind(
544 HLoadClass::LoadKind desired_class_load_kind) override;
/art/test/519-bound-load-class/
Dinfo.txt2 used to crash when a `HCheckCast` did not have a `HLoadClass`

12