Lines Matching refs:user
720 HInstruction* user = use.GetUser(); in CanEnsureNotNullAt() local
721 if (user->IsNullCheck() && user->StrictlyDominates(at)) { in CanEnsureNotNullAt()
1945 HInstruction* user = use.GetUser(); in FindDivWithInputsInBasicBlock() local
1946 if (user->GetBlock() == basic_block && in FindDivWithInputsInBasicBlock()
1947 user->IsDiv() && in FindDivWithInputsInBasicBlock()
1948 user->InputAt(0) == dividend && in FindDivWithInputsInBasicBlock()
1949 user->InputAt(1) == divisor) { in FindDivWithInputsInBasicBlock()
1950 return user->AsDiv(); in FindDivWithInputsInBasicBlock()
2481 HInstruction* user = it->GetUser(); in SimplifyBoxUnbox() local
2483 if (user->IsInstanceFieldGet() && in SimplifyBoxUnbox()
2484 user->AsInstanceFieldGet()->GetFieldInfo().GetField() == field && in SimplifyBoxUnbox()
2488 user->GetType() == type) { in SimplifyBoxUnbox()
2489 user->ReplaceWith(instruction->InputAt(0)); in SimplifyBoxUnbox()
2768 static bool NoEscapeForStringBufferReference(HInstruction* reference, HInstruction* user) { in NoEscapeForStringBufferReference() argument
2769 if (user->IsInvokeStaticOrDirect()) { in NoEscapeForStringBufferReference()
2771 return user->AsInvokeStaticOrDirect()->GetResolvedMethod() != nullptr && in NoEscapeForStringBufferReference()
2772 user->AsInvokeStaticOrDirect()->GetResolvedMethod()->IsConstructor() && in NoEscapeForStringBufferReference()
2773 user->InputAt(0) == reference; in NoEscapeForStringBufferReference()
2774 } else if (user->IsInvokeVirtual()) { in NoEscapeForStringBufferReference()
2775 switch (user->AsInvokeVirtual()->GetIntrinsic()) { in NoEscapeForStringBufferReference()
2778 DCHECK_EQ(user->InputAt(0), reference); in NoEscapeForStringBufferReference()
2782 DCHECK_EQ(user->InputAt(0), reference); in NoEscapeForStringBufferReference()
2783 DCHECK_NE(user->InputAt(1), reference); in NoEscapeForStringBufferReference()
2784 return !user->HasUses(); in NoEscapeForStringBufferReference()
2830 HInstruction* user = iter.Current(); in TryReplaceStringBuilderAppend() local
2832 if (user->InputCount() == 0u || user->InputAt(0u) != sb) { in TryReplaceStringBuilderAppend()
2837 if (user == invoke) { in TryReplaceStringBuilderAppend()
2845 if (user->IsInvokeVirtual()) { in TryReplaceStringBuilderAppend()
2846 HInvokeVirtual* as_invoke_virtual = user->AsInvokeVirtual(); in TryReplaceStringBuilderAppend()
2882 ReferenceTypeInfo rti = user->AsInvokeVirtual()->InputAt(1)->GetReferenceTypeInfo(); in TryReplaceStringBuilderAppend()
2913 } else if (user->IsInvokeStaticOrDirect() && in TryReplaceStringBuilderAppend()
2914 user->AsInvokeStaticOrDirect()->GetResolvedMethod() != nullptr && in TryReplaceStringBuilderAppend()
2915 user->AsInvokeStaticOrDirect()->GetResolvedMethod()->IsConstructor() && in TryReplaceStringBuilderAppend()
2916 user->AsInvokeStaticOrDirect()->GetNumberOfArguments() == 1u) { in TryReplaceStringBuilderAppend()
2922 } else if (user->IsConstructorFence()) { in TryReplaceStringBuilderAppend()