Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dsharpening.cc146 HLoadClass::LoadKind HSharpening::ComputeLoadClassKind( in ComputeLoadClassKind()
147 HLoadClass* load_class, in ComputeLoadClassKind()
151 DCHECK(load_class->GetLoadKind() == HLoadClass::LoadKind::kRuntimeCall || in ComputeLoadClassKind()
152 load_class->GetLoadKind() == HLoadClass::LoadKind::kReferrersClass) in ComputeLoadClassKind()
156 HLoadClass::LoadKind load_kind = load_class->GetLoadKind(); in ComputeLoadClassKind()
160 } else if (load_kind == HLoadClass::LoadKind::kReferrersClass) { in ComputeLoadClassKind()
170 HLoadClass::LoadKind desired_load_kind = HLoadClass::LoadKind::kInvalid; in ComputeLoadClassKind()
178 desired_load_kind = HLoadClass::LoadKind::kRuntimeCall; in ComputeLoadClassKind()
182 desired_load_kind = HLoadClass::LoadKind::kBootImageRelRo; in ComputeLoadClassKind()
186 desired_load_kind = HLoadClass::LoadKind::kBootImageLinkTimePcRelative; in ComputeLoadClassKind()
[all …]
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.h444 HLoadClass::LoadKind GetSupportedLoadClassKind(
445 HLoadClass::LoadKind desired_class_load_kind) override;
466 void RecordBootImageTypePatch(HLoadClass* load_class);
467 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dcode_generator_x86_64.h446 HLoadClass::LoadKind GetSupportedLoadClassKind(
447 HLoadClass::LoadKind desired_class_load_kind) override;
464 void RecordBootImageTypePatch(HLoadClass* load_class);
465 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dinstruction_builder.h219 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc);
221 HLoadClass* BuildLoadClass(dex::TypeIndex type_index,
Dcode_generator.h618 static void CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls,
621 void GenerateLoadClassRuntimeCall(HLoadClass* cls);
633 uint32_t GetBootImageOffset(HLoadClass* load_class);
654 virtual HLoadClass::LoadKind GetSupportedLoadClassKind(
655 HLoadClass::LoadKind desired_class_load_kind) = 0;
Dpc_relative_fixups_x86.cc83 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
Dreference_type_propagation.cc60 void VisitLoadClass(HLoadClass* load_class) override;
141 HLoadClass* cls = instr->AsLoadClass(); in ValidateTypes()
275 HLoadClass* load_class = input_one->IsLoadClass() in BoundTypeForClassCheck()
623 void ReferenceTypePropagation::RTPVisitor::VisitLoadClass(HLoadClass* instr) { in VisitLoadClass()
Dcode_generator_arm64.cc307 LoadClassSlowPathARM64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARM64()
358 HLoadClass* const cls_;
4988 HLoadClass::LoadKind CodeGeneratorARM64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
4989 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
4991 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
4994 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
4996 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
4997 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
4998 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
5001 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dcode_generator_x86.cc270 LoadClassSlowPathX86(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86()
318 HLoadClass* const cls_;
5192 void CodeGeneratorX86::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
5200 Label* CodeGeneratorX86::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
6739 HLoadClass::LoadKind CodeGeneratorX86::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6740 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6742 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6745 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6747 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6748 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dcode_generator_x86_64.cc252 LoadClassSlowPathX86_64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86_64()
301 HLoadClass* const cls_;
1155 void CodeGeneratorX86_64::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
1161 Label* CodeGeneratorX86_64::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
6077 HLoadClass::LoadKind CodeGeneratorX86_64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6078 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6080 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6083 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6085 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6086 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dinstruction_builder.cc1127 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1179 HLoadClass* load_class = new_inst->GetLoadClass(); in BuildConstructorFenceForAllocation()
1455 HLoadClass* cls = BuildLoadClass(h_klass->GetDexTypeIndex(), in ProcessClinitCheckForInvoke()
1984 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess()
2102 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray()
2237 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass()
2245 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, in BuildLoadClass()
2264 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
2273 HLoadClass::LoadKind load_kind = HSharpening::ComputeLoadClassKind(load_class, in BuildLoadClass()
2277 if (load_kind == HLoadClass::LoadKind::kInvalid) { in BuildLoadClass()
Dcode_generator.cc823 void CodeGenerator::CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls, in CreateLoadClassRuntimeCallLocationSummary()
826 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in CreateLoadClassRuntimeCallLocationSummary()
835 void CodeGenerator::GenerateLoadClassRuntimeCall(HLoadClass* cls) { in GenerateLoadClassRuntimeCall()
836 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in GenerateLoadClassRuntimeCall()
908 uint32_t CodeGenerator::GetBootImageOffset(HLoadClass* load_class) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset()
909 DCHECK_EQ(load_class->GetLoadKind(), HLoadClass::LoadKind::kBootImageRelRo); in GetBootImageOffset()
Dcode_generator_arm_vixl.cc510 LoadClassSlowPathARMVIXL(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARMVIXL()
558 HLoadClass* const cls_;
7287 HLoadClass::LoadKind CodeGeneratorARMVIXL::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
7288 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
7290 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
7293 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
7295 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
7296 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
7297 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
7300 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dinliner.cc967 HLoadClass* load_class = new (graph_->GetAllocator()) HLoadClass(graph_->GetCurrentMethod(), in AddTypeGuard()
974 HLoadClass::LoadKind kind = HSharpening::ComputeLoadClassKind( in AddTypeGuard()
976 DCHECK(kind != HLoadClass::LoadKind::kInvalid) in AddTypeGuard()
Dcode_generator_arm_vixl.h574 HLoadClass::LoadKind GetSupportedLoadClassKind(
575 HLoadClass::LoadKind desired_class_load_kind) override;
Dcode_generator_arm64.h682 HLoadClass::LoadKind GetSupportedLoadClassKind(
683 HLoadClass::LoadKind desired_class_load_kind) override;
Dssa_builder.cc474 HLoadClass* load_class = nullptr; in RemoveRedundantUninitializedStrings()
Dnodes.h4322 HLoadClass* GetLoadClass() const { in GetLoadClass()
5006 HLoadClass* GetLoadClass() const { in GetLoadClass()
6349 class HLoadClass final : public HInstruction {
6385 HLoadClass(HCurrentMethod* current_method, in HLoadClass() function
6558 std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs);
6561 inline void HLoadClass::SetLoadKind(LoadKind load_kind) { in SetLoadKind()
6575 inline void HLoadClass::AddSpecialInput(HInstruction* special_input) { in AddSpecialInput()
6849 HClinitCheck(HLoadClass* constant, uint32_t dex_pc) in HClinitCheck()
6870 HLoadClass* GetLoadClass() const { in GetLoadClass()
7287 HLoadClass* GetTargetClass() const { in GetTargetClass()
Dinstruction_simplifier.cc642 HLoadClass* load_class = check_cast->GetTargetClass(); in VisitCheckCast()
697 HLoadClass* load_class = instruction->GetTargetClass(); in VisitInstanceOf()
1520 HLoadClass* load_class = input_one->IsLoadClass() in RecognizeAndSimplifyClassCheck()
Dgraph_visualizer.cc383 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
Dnodes.cc2951 bool HLoadClass::InstructionDataEquals(const HInstruction* other) const { in InstructionDataEquals()
2952 const HLoadClass* other_load_class = other->AsLoadClass(); in InstructionDataEquals()
/art/test/519-bound-load-class/
Dinfo.txt2 used to crash when a `HCheckCast` did not have a `HLoadClass`