Lines Matching refs:instr2
54 const HInstruction* instr2) { in HasReorderingDependency() argument
56 SideEffects instr2_side_effects = instr2->GetSideEffects(); in HasReorderingDependency()
86 HInstruction* instr1, HInstruction* instr2) const { in ArrayAccessMayAlias()
89 size_t instr2_heap_loc = ArrayAccessHeapLocation(instr2); in ArrayAccessMayAlias()
163 const HInstruction* instr1, const HInstruction* instr2) const { in FieldAccessMayAlias()
167 if ((IsInstanceFieldAccess(instr1) && IsStaticFieldAccess(instr2)) || in FieldAccessMayAlias()
168 (IsStaticFieldAccess(instr1) && IsInstanceFieldAccess(instr2))) { in FieldAccessMayAlias()
173 if (IsUnresolvedFieldAccess(instr1) || IsUnresolvedFieldAccess(instr2)) { in FieldAccessMayAlias()
180 size_t instr2_field_access_heap_loc = FieldAccessHeapLocation(instr2); in FieldAccessMayAlias()
195 HInstruction* instr1, HInstruction* instr2) const { in HasMemoryDependency()
196 if (!HasReorderingDependency(instr1, instr2)) { in HasMemoryDependency()
208 if (IsArrayAccess(instr1) && IsArrayAccess(instr2)) { in HasMemoryDependency()
209 return ArrayAccessMayAlias(instr1, instr2); in HasMemoryDependency()
211 if (IsFieldAccess(instr1) && IsFieldAccess(instr2)) { in HasMemoryDependency()
212 return FieldAccessMayAlias(instr1, instr2); in HasMemoryDependency()
216 if (instr1->IsVecMemoryOperation() && instr2->IsVecMemoryOperation()) { in HasMemoryDependency()
219 if (instr1->IsVecMemoryOperation() && IsArrayAccess(instr2)) { in HasMemoryDependency()
222 if (IsArrayAccess(instr1) && instr2->IsVecMemoryOperation()) { in HasMemoryDependency()
227 if (IsArrayAccess(instr1) && IsFieldAccess(instr2)) { in HasMemoryDependency()
230 if (IsFieldAccess(instr1) && IsArrayAccess(instr2)) { in HasMemoryDependency()
233 if (instr1->IsVecMemoryOperation() && IsFieldAccess(instr2)) { in HasMemoryDependency()
236 if (IsFieldAccess(instr1) && instr2->IsVecMemoryOperation()) { in HasMemoryDependency()
246 const HInstruction* instr2) { in HasExceptionDependency() argument
247 if (instr2->CanThrow() && instr1->GetSideEffects().DoesAnyWrite()) { in HasExceptionDependency()
250 if (instr2->GetSideEffects().DoesAnyWrite() && instr1->CanThrow()) { in HasExceptionDependency()
253 if (instr2->CanThrow() && instr1->CanThrow()) { in HasExceptionDependency()