Lines Matching refs:user
565 HInstruction* user = use.GetUser(); in CanEnsureNotNullAt() local
566 if (user->IsNullCheck() && user->StrictlyDominates(at)) { in CanEnsureNotNullAt()
2436 static bool NoEscapeForStringBufferReference(HInstruction* reference, HInstruction* user) { in NoEscapeForStringBufferReference() argument
2437 if (user->IsInvokeStaticOrDirect()) { in NoEscapeForStringBufferReference()
2439 return user->AsInvokeStaticOrDirect()->GetResolvedMethod() != nullptr && in NoEscapeForStringBufferReference()
2440 user->AsInvokeStaticOrDirect()->GetResolvedMethod()->IsConstructor() && in NoEscapeForStringBufferReference()
2441 user->InputAt(0) == reference; in NoEscapeForStringBufferReference()
2442 } else if (user->IsInvokeVirtual()) { in NoEscapeForStringBufferReference()
2443 switch (user->AsInvokeVirtual()->GetIntrinsic()) { in NoEscapeForStringBufferReference()
2446 DCHECK_EQ(user->InputAt(0), reference); in NoEscapeForStringBufferReference()
2450 DCHECK_EQ(user->InputAt(0), reference); in NoEscapeForStringBufferReference()
2451 DCHECK_NE(user->InputAt(1), reference); in NoEscapeForStringBufferReference()
2452 return !user->HasUses(); in NoEscapeForStringBufferReference()
2497 HInstruction* user = iter.Current(); in TryReplaceStringBuilderAppend() local
2499 if (user->InputCount() == 0u || user->InputAt(0u) != sb) { in TryReplaceStringBuilderAppend()
2504 if (user == invoke) { in TryReplaceStringBuilderAppend()
2512 if (user->IsInvokeVirtual()) { in TryReplaceStringBuilderAppend()
2513 HInvokeVirtual* as_invoke_virtual = user->AsInvokeVirtual(); in TryReplaceStringBuilderAppend()
2541 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend()
2576 } else if (user->IsInvokeStaticOrDirect() && in TryReplaceStringBuilderAppend()
2577 user->AsInvokeStaticOrDirect()->GetResolvedMethod() != nullptr && in TryReplaceStringBuilderAppend()
2578 user->AsInvokeStaticOrDirect()->GetResolvedMethod()->IsConstructor() && in TryReplaceStringBuilderAppend()
2579 user->AsInvokeStaticOrDirect()->GetNumberOfArguments() == 1u) { in TryReplaceStringBuilderAppend()
2585 } else if (user->IsConstructorFence()) { in TryReplaceStringBuilderAppend()