Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dsharpening.cc139 HLoadClass::LoadKind HSharpening::ComputeLoadClassKind( in ComputeLoadClassKind()
140 HLoadClass* load_class, in ComputeLoadClassKind()
144 DCHECK(load_class->GetLoadKind() == HLoadClass::LoadKind::kRuntimeCall || in ComputeLoadClassKind()
145 load_class->GetLoadKind() == HLoadClass::LoadKind::kReferrersClass) in ComputeLoadClassKind()
149 HLoadClass::LoadKind load_kind = load_class->GetLoadKind(); in ComputeLoadClassKind()
153 } else if (load_kind == HLoadClass::LoadKind::kReferrersClass) { in ComputeLoadClassKind()
163 HLoadClass::LoadKind desired_load_kind = HLoadClass::LoadKind::kInvalid; in ComputeLoadClassKind()
171 desired_load_kind = HLoadClass::LoadKind::kRuntimeCall; in ComputeLoadClassKind()
175 desired_load_kind = HLoadClass::LoadKind::kBootImageRelRo; in ComputeLoadClassKind()
179 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_64.h417 HLoadClass::LoadKind GetSupportedLoadClassKind(
418 HLoadClass::LoadKind desired_class_load_kind) override;
435 void RecordBootImageTypePatch(HLoadClass* load_class);
436 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dcode_generator_x86.h417 HLoadClass::LoadKind GetSupportedLoadClassKind(
418 HLoadClass::LoadKind desired_class_load_kind) override;
439 void RecordBootImageTypePatch(HLoadClass* load_class);
440 Label* NewTypeBssEntryPatch(HLoadClass* load_class);
Dcode_generator.h591 static void CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls,
594 void GenerateLoadClassRuntimeCall(HLoadClass* cls);
606 uint32_t GetBootImageOffset(HLoadClass* load_class);
627 virtual HLoadClass::LoadKind GetSupportedLoadClassKind(
628 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,
Dpc_relative_fixups_x86.cc83 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
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()
Dcode_generator_arm64.cc306 LoadClassSlowPathARM64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARM64()
357 HLoadClass* const cls_;
4727 HLoadClass::LoadKind CodeGeneratorARM64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
4728 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
4730 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
4733 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
4735 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
4736 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
4737 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
4740 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dcode_generator_x86.cc269 LoadClassSlowPathX86(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86()
317 HLoadClass* const cls_;
5093 void CodeGeneratorX86::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
5101 Label* CodeGeneratorX86::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
6622 HLoadClass::LoadKind CodeGeneratorX86::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
6623 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
6625 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
6628 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
6630 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
6631 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dinstruction_builder.cc1065 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1117 HLoadClass* load_class = new_inst->GetLoadClass(); in BuildConstructorFenceForAllocation()
1391 HLoadClass* cls = BuildLoadClass(klass->GetDexTypeIndex(), in ProcessClinitCheckForInvoke()
1711 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess()
1829 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray()
1964 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass()
1972 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, in BuildLoadClass()
1991 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
2000 HLoadClass::LoadKind load_kind = HSharpening::ComputeLoadClassKind(load_class, in BuildLoadClass()
2004 if (load_kind == HLoadClass::LoadKind::kInvalid) { in BuildLoadClass()
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_x86_64.cc251 LoadClassSlowPathX86_64(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathX86_64()
300 HLoadClass* const cls_;
1105 void CodeGeneratorX86_64::RecordBootImageTypePatch(HLoadClass* load_class) { in RecordBootImageTypePatch()
1111 Label* CodeGeneratorX86_64::NewTypeBssEntryPatch(HLoadClass* load_class) { in NewTypeBssEntryPatch()
5958 HLoadClass::LoadKind CodeGeneratorX86_64::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
5959 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
5961 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
5964 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
5966 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
5967 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
[all …]
Dcode_generator.cc772 void CodeGenerator::CreateLoadClassRuntimeCallLocationSummary(HLoadClass* cls, in CreateLoadClassRuntimeCallLocationSummary()
775 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in CreateLoadClassRuntimeCallLocationSummary()
784 void CodeGenerator::GenerateLoadClassRuntimeCall(HLoadClass* cls) { in GenerateLoadClassRuntimeCall()
785 DCHECK_EQ(cls->GetLoadKind(), HLoadClass::LoadKind::kRuntimeCall); in GenerateLoadClassRuntimeCall()
857 uint32_t CodeGenerator::GetBootImageOffset(HLoadClass* load_class) NO_THREAD_SAFETY_ANALYSIS { in GetBootImageOffset()
858 DCHECK_EQ(load_class->GetLoadKind(), HLoadClass::LoadKind::kBootImageRelRo); in GetBootImageOffset()
Dcode_generator_arm_vixl.cc509 LoadClassSlowPathARMVIXL(HLoadClass* cls, HInstruction* at) in LoadClassSlowPathARMVIXL()
557 HLoadClass* const cls_;
7115 HLoadClass::LoadKind CodeGeneratorARMVIXL::GetSupportedLoadClassKind( in GetSupportedLoadClassKind()
7116 HLoadClass::LoadKind desired_class_load_kind) { in GetSupportedLoadClassKind()
7118 case HLoadClass::LoadKind::kInvalid: in GetSupportedLoadClassKind()
7121 case HLoadClass::LoadKind::kReferrersClass: in GetSupportedLoadClassKind()
7123 case HLoadClass::LoadKind::kBootImageLinkTimePcRelative: in GetSupportedLoadClassKind()
7124 case HLoadClass::LoadKind::kBootImageRelRo: in GetSupportedLoadClassKind()
7125 case HLoadClass::LoadKind::kBssEntry: in GetSupportedLoadClassKind()
7128 case HLoadClass::LoadKind::kJitBootImageAddress: in GetSupportedLoadClassKind()
[all …]
Dinliner.cc960 HLoadClass* load_class = new (graph_->GetAllocator()) HLoadClass(graph_->GetCurrentMethod(), in AddTypeGuard()
967 HLoadClass::LoadKind kind = HSharpening::ComputeLoadClassKind( in AddTypeGuard()
969 DCHECK(kind != HLoadClass::LoadKind::kInvalid) in AddTypeGuard()
Dcode_generator_arm_vixl.h543 HLoadClass::LoadKind GetSupportedLoadClassKind(
544 HLoadClass::LoadKind desired_class_load_kind) override;
Dcode_generator_arm64.h557 HLoadClass::LoadKind GetSupportedLoadClassKind(
558 HLoadClass::LoadKind desired_class_load_kind) override;
Dssa_builder.cc474 HLoadClass* load_class = nullptr; in RemoveRedundantUninitializedStrings()
Dnodes.h4268 HLoadClass* GetLoadClass() const { in GetLoadClass()
4920 HLoadClass* GetLoadClass() const { in GetLoadClass()
6265 class HLoadClass final : public HInstruction {
6301 HLoadClass(HCurrentMethod* current_method, in HLoadClass() function
6474 std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs);
6477 inline void HLoadClass::SetLoadKind(LoadKind load_kind) { in SetLoadKind()
6491 inline void HLoadClass::AddSpecialInput(HInstruction* special_input) { in AddSpecialInput()
6765 HClinitCheck(HLoadClass* constant, uint32_t dex_pc) in HClinitCheck()
6786 HLoadClass* GetLoadClass() const { in GetLoadClass()
7203 HLoadClass* GetTargetClass() const { in GetTargetClass()
Dgraph_visualizer.cc380 void VisitLoadClass(HLoadClass* load_class) override { in VisitLoadClass()
Dinstruction_simplifier.cc636 HLoadClass* load_class = check_cast->GetTargetClass(); in VisitCheckCast()
691 HLoadClass* load_class = instruction->GetTargetClass(); in VisitInstanceOf()
1514 HLoadClass* load_class = input_one->IsLoadClass() in RecognizeAndSimplifyClassCheck()
/art/test/519-bound-load-class/
Dinfo.txt2 used to crash when a `HCheckCast` did not have a `HLoadClass`