Lines Matching refs:HInstruction

78 static HInstruction* const kUnknownHeapValue =
79 reinterpret_cast<HInstruction*>(static_cast<uintptr_t>(-1));
83 static HInstruction* const kDefaultHeapValue =
84 reinterpret_cast<HInstruction*>(static_cast<uintptr_t>(-2));
98 ScopedArenaVector<HInstruction*>(heap_locations_collector. in LSEVisitor()
120 HTypeConversion* FindOrAddTypeConversionIfNecessary(HInstruction* instruction, in FindOrAddTypeConversionIfNecessary()
121 HInstruction* value, in FindOrAddTypeConversionIfNecessary()
133 for (const HUseListNode<HInstruction*>& use : value->GetUses()) { in FindOrAddTypeConversionIfNecessary()
162 HInstruction* FindSubstitute(HInstruction* instruction) { in FindSubstitute()
169 HInstruction* substitute = substitute_instructions_for_loads_[i]; in FindSubstitute()
178 void AddRemovedLoad(HInstruction* load, HInstruction* heap_value) { in AddRemovedLoad()
208 HInstruction* load = removed_loads_[i]; in RemoveInstructions()
211 HInstruction* substitute = substitute_instructions_for_loads_[i]; in RemoveInstructions()
223 for (HInstruction* store : possibly_removed_stores_) { in RemoveInstructions()
231 for (HInstruction* new_instance : singleton_new_instances_) { in RemoveInstructions()
245 static bool IsLoad(const HInstruction* instruction) { in IsLoad()
256 static bool IsStore(const HInstruction* instruction) { in IsStore()
268 static bool IsDefaultAllowedForLoad(const HInstruction* load) { in IsDefaultAllowedForLoad()
278 HInstruction* GetRealHeapValue(HInstruction* heap_value) { in GetRealHeapValue()
306 void KeepIfIsStore(HInstruction* heap_value) { in KeepIfIsStore()
322 void KeepStoresIfAliasedToLocation(ScopedArenaVector<HInstruction*>& heap_values, in KeepStoresIfAliasedToLocation()
334 ScopedArenaVector<HInstruction*>& heap_values = heap_values_for_[block_id]; in HandleLoopSideEffects()
336 ScopedArenaVector<HInstruction*>& pre_header_heap_values = in HandleLoopSideEffects()
390 ScopedArenaVector<HInstruction*>& heap_values = heap_values_for_[block->GetBlockId()]; in MergePredecessorValues()
392 HInstruction* merged_value = nullptr; in MergePredecessorValues()
396 HInstruction* merged_store_value = nullptr; in MergePredecessorValues()
400 HInstruction* ref = ref_info->GetReference(); in MergePredecessorValues()
401 HInstruction* singleton_ref = nullptr; in MergePredecessorValues()
409 HInstruction* pred_value = heap_values_for_[predecessor->GetBlockId()][i]; in MergePredecessorValues()
414 HInstruction* pred_store_value = GetRealHeapValue(pred_value); in MergePredecessorValues()
466 ScopedArenaVector<HInstruction*>& pred_values = in MergePredecessorValues()
513 void TryRemovingNullCheck(HInstruction* instruction) { in TryRemovingNullCheck()
514 HInstruction* prev = instruction->GetPrevious(); in TryRemovingNullCheck()
522 HInstruction* GetDefaultValue(DataType::Type type) { in GetDefaultValue()
544 void VisitGetLocation(HInstruction* instruction, size_t idx) { in VisitGetLocation()
546 ScopedArenaVector<HInstruction*>& heap_values = in VisitGetLocation()
548 HInstruction* heap_value = heap_values[idx]; in VisitGetLocation()
551 HInstruction* constant = GetDefaultValue(instruction->GetType()); in VisitGetLocation()
573 bool Equal(HInstruction* heap_value, HInstruction* value) { in Equal()
585 HInstruction* real_heap_value = GetRealHeapValue(heap_value); in Equal()
592 bool CanValueBeKeptIfSameAsNew(HInstruction* value, in CanValueBeKeptIfSameAsNew()
593 HInstruction* new_value, in CanValueBeKeptIfSameAsNew()
594 HInstruction* new_value_set_instr) { in CanValueBeKeptIfSameAsNew()
621 void VisitSetLocation(HInstruction* instruction, size_t idx, HInstruction* value) { in VisitSetLocation()
626 ScopedArenaVector<HInstruction*>& heap_values = in VisitSetLocation()
628 HInstruction* heap_value = heap_values[idx]; in VisitSetLocation()
684 HInstruction* object = instruction->InputAt(0); in VisitInstanceFieldGet()
690 HInstruction* object = instruction->InputAt(0); in VisitInstanceFieldSet()
692 HInstruction* value = instruction->InputAt(1); in VisitInstanceFieldSet()
698 HInstruction* cls = instruction->InputAt(0); in VisitStaticFieldGet()
704 HInstruction* cls = instruction->InputAt(0); in VisitStaticFieldSet()
729 const ScopedArenaVector<HInstruction*>& heap_values = in VisitDeoptimize()
731 for (HInstruction* heap_value : heap_values) { in VisitDeoptimize()
740 HInstruction* reference = heap_value->InputAt(0); in VisitDeoptimize()
768 const ScopedArenaVector<HInstruction*>& heap_values = in HandleExit()
771 HInstruction* heap_value = heap_values[i]; in HandleExit()
791 void HandleInvoke(HInstruction* instruction) { in HandleInvoke()
793 ScopedArenaVector<HInstruction*>& heap_values = in HandleInvoke()
852 ScopedArenaVector<HInstruction*>& heap_values = in VisitNewInstance()
855 HInstruction* ref = in VisitNewInstance()
880 ScopedArenaVector<HInstruction*>& heap_values = in VisitNewArray()
884 HInstruction* ref = location->GetReferenceInfo()->GetReference(); in VisitNewArray()
899 ScopedArenaVector<ScopedArenaVector<HInstruction*>> heap_values_for_;
903 ScopedArenaVector<HInstruction*> removed_loads_;
904 ScopedArenaVector<HInstruction*> substitute_instructions_for_loads_;
908 ScopedArenaVector<HInstruction*> possibly_removed_stores_;
910 ScopedArenaVector<HInstruction*> singleton_new_instances_;