Searched refs:new_instance (Results 1 – 5 of 5) sorted by relevance
231 for (HInstruction* new_instance : singleton_new_instances_) { in RemoveInstructions()232 size_t removed = HConstructorFence::RemoveConstructorFences(new_instance); in RemoveInstructions()237 if (!new_instance->HasNonEnvironmentUses()) { in RemoveInstructions()238 new_instance->RemoveEnvironmentUsers(); in RemoveInstructions()239 new_instance->GetBlock()->RemoveInstruction(new_instance); in RemoveInstructions()841 void VisitNewInstance(HNewInstance* new_instance) override { in VisitNewInstance() argument842 ReferenceInfo* ref_info = heap_location_collector_.FindReferenceInfoOf(new_instance); in VisitNewInstance()847 if (ref_info->IsSingletonAndRemovable() && !new_instance->NeedsChecks()) { in VisitNewInstance()848 DCHECK(!new_instance->IsFinalizable()); in VisitNewInstance()850 singleton_new_instances_.push_back(new_instance); in VisitNewInstance()[all …]
460 for (HNewInstance* new_instance : uninitialized_strings_) { in RemoveRedundantUninitializedStrings()461 DCHECK(new_instance->IsInBlock()); in RemoveRedundantUninitializedStrings()462 DCHECK(new_instance->IsStringAlloc()); in RemoveRedundantUninitializedStrings()468 if (!new_instance->HasNonEnvironmentUses() && !HasAliasInEnvironments(new_instance)) { in RemoveRedundantUninitializedStrings()469 new_instance->ReplaceWith(graph_->GetNullConstant()); in RemoveRedundantUninitializedStrings()470 new_instance->GetBlock()->RemoveInstruction(new_instance); in RemoveRedundantUninitializedStrings()473 HInstruction* input = new_instance->InputAt(0); in RemoveRedundantUninitializedStrings()486 DCHECK(new_instance->IsStringAlloc()); in RemoveRedundantUninitializedStrings()
1152 HNewInstance* new_instance = new (allocator_) HNewInstance( in BuildNewInstance() local1159 AppendInstruction(new_instance); in BuildNewInstance()1161 return new_instance; in BuildNewInstance()3151 HNewInstance* new_instance = in ProcessDexInstruction() local3153 DCHECK(new_instance != nullptr); in ProcessDexInstruction()3156 BuildConstructorFenceForAllocation(new_instance); in ProcessDexInstruction()
59 void VisitNewInstance(HNewInstance* new_instance) override;
1789 art::ObjPtr<art::mirror::Object> new_instance( in CollectAndCreateNewInstances() local1794 if (new_instance.IsNull()) { in CollectAndCreateNewInstances()1802 new_instances_arr->Set(i, new_instance); in CollectAndCreateNewInstances()2792 for (auto [new_instance, old_instance] : in UpdateClassStructurally()2795 new_instance, in UpdateClassStructurally()2796 new_instance->GetClass(), in UpdateClassStructurally()2933 for (auto [new_instance, old_instance] : in UpdateClassStructurally()2935 map.emplace(old_instance, new_instance); in UpdateClassStructurally()2937 CHECK(new_instance->GetClass() == map[old_instance->GetClass()]->AsClass()) in UpdateClassStructurally()2938 << new_instance->GetClass()->PrettyClass() << " vs " in UpdateClassStructurally()