Home
last modified time | relevance | path

Searched refs:GetUser (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/art/compiler/optimizing/
H A Dcode_sinking.cc186 HInstruction* user = use.GetUser(); in FindIdealPosition()
200 DCHECK(!use.GetUser()->GetHolder()->IsPhi()); in FindIdealPosition()
202 finder.Update(use.GetUser()->GetHolder()->GetBlock()); in FindIdealPosition()
228 if (use.GetUser()->GetBlock() == target_block && in FindIdealPosition()
229 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()
230 insert_pos = use.GetUser(); in FindIdealPosition()
234 HInstruction* user = use.GetUser()->GetHolder(); in FindIdealPosition()
327 HInstruction* user = use.GetUser(); in SinkCodeToUncommonBranch()
349 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch()
379 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch()
[all …]
H A Dssa_phi_elimination.cc56 if (!use.GetUser()->IsPhi()) { in MarkDeadPhis()
106 HInstruction* user = use.GetUser(); in EliminateDeadPhis()
115 HEnvironment* user = use.GetUser(); in EliminateDeadPhis()
249 HInstruction* user = use.GetUser(); in Run()
H A Dload_store_analysis.cc106 const HInstruction* user = use.GetUser(); in PrunePartialEscapeWrites()
142 if (user.GetUser()->IsArrayGet() || user.GetUser()->IsArraySet()) { in InstructionEligibleForLSERemoval()
143 return user.GetUser()->InputAt(1)->IsIntConstant(); in InstructionEligibleForLSERemoval()
H A Descape.cc36 HInstruction* user = use.GetUser(); in VisitEscapes()
82 HEnvironment* user = use.GetUser(); in VisitEscapes()
H A Dload_store_elimination.cc719 if (use.GetUser()->IsTypeConversion() && in FindOrAddTypeConversionIfNecessary()
720 use.GetUser()->GetType() == expected_type && in FindOrAddTypeConversionIfNecessary()
729 use.GetUser()->GetBlock()->GetInstructions().FoundBefore(instruction, use.GetUser())) { in FindOrAddTypeConversionIfNecessary()
731 use.GetUser()->MoveBefore(instruction); in FindOrAddTypeConversionIfNecessary()
734 return use.GetUser()->AsTypeConversion(); in FindOrAddTypeConversionIfNecessary()
3321 if (use.GetUser()->IsPhi()) { in CollectReplacements()
3324 DCHECK(use.GetUser()->IsFieldAccess() || in CollectReplacements()
3325 use.GetUser()->IsEqual() || in CollectReplacements()
3326 use.GetUser()->IsNotEqual()) in CollectReplacements()
3330 } else if (use.GetUser()->IsConstructorFence()) { in CollectReplacements()
[all …]
H A Dprepare_for_register_allocation.cc121 HInstruction* user = use.GetUser(); in VisitClinitCheck()
144 HInstruction* user = it->GetUser(); in VisitClinitCheck()
196 HInstruction* user = condition->GetUses().front().GetUser(); in VisitCondition()
H A Dinstruction_simplifier_arm.cc168 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand()
179 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand()
H A Dinstruction_simplifier_arm64.cc172 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand()
183 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand()
H A Dnodes.cc1523 HInstruction* user = it->GetUser(); in ReplaceUsesDominatedBy()
1545 HEnvironment* user = it->GetUser(); in ReplaceEnvUsesDominatedBy()
1628 HInstruction* const use_instruction = use_node.GetUser(); in RemoveConstructorFences()
1675 CHECK(!use_node.GetUser()->IsConstructorFence()); in RemoveConstructorFences()
1995 os << hi.GetUser()->DebugName() << "[id: " << hi.GetUser()->GetId() in operator <<()
2010 os << *hi.GetUser()->GetHolder() << "@" << hi.GetIndex(); in operator <<()
2075 finder.Update(uses_it->GetUser()->GetBlock()); in MoveBeforeFirstUserAndOutOfLoops()
2089 if (use.GetUser()->GetBlock() == target_block && in MoveBeforeFirstUserAndOutOfLoops()
2091 insert_pos = use.GetUser(); in MoveBeforeFirstUserAndOutOfLoops()
2387 HBasicBlock* user_block = use.GetUser()->GetBlock(); in RemoveUsesOfDeadInstruction()
[all …]
H A Dinstruction_simplifier_shared.cc111 HInstruction* use = mul->GetUses().front().GetUser(); in TryCombineMultiplyAccumulate()
301 HInstruction* user = use.GetUser(); in TryExtractVecArrayAccessAddress()
H A Dregister_allocation_resolver.cc341 LocationSummary* locations = use.GetUser()->GetLocations(); in ConnectSiblings()
350 interval->GetDefinedBy(), use.GetUser(), source, expected_location); in ConnectSiblings()
353 DCHECK(use.GetUser()->IsInvoke()); in ConnectSiblings()
354 DCHECK(use.GetUser()->AsInvoke()->GetIntrinsic() != Intrinsics::kNone); in ConnectSiblings()
H A Dssa_builder.cc118 HInstruction* user = use.GetUser(); in AddDependentInstructionsToWorklist()
425 DCHECK(use.GetUser() != nullptr); in HasAliasInEnvironments()
426 size_t id = use.GetUser()->GetHolder()->GetId(); in HasAliasInEnvironments()
H A Dpretty_printer.h66 PrintInt(use.GetUser()->GetId()); in PrintPostInstruction()
H A Dcode_generator_utils.cc215 HInstruction* user = use.GetUser(); in IsNonNegativeUse()
H A Dinduction_var_analysis.cc148 if (use.GetUser()->GetBlock() == loop->GetHeader() && in FindFirstLoopHeaderPhiUse()
149 use.GetUser()->IsPhi() && in FindFirstLoopHeaderPhiUse()
150 use.GetUser()->InputAt(1) == instruction) { in FindFirstLoopHeaderPhiUse()
151 return use.GetUser(); in FindFirstLoopHeaderPhiUse()
167 HInstruction* user = it->GetUser(); in FixOutsideUse()
181 HEnvironment* user = it->GetUser(); in FixOutsideUse()
H A Dssa_liveness_analysis.h126 HInstruction* GetUser() const { return user_; } in GetUser() function
146 Location location = GetUser()->GetLocations()->InAt(GetInputIndex()); in RequiresRegister()
343 (uses_.front().GetUser() == actual_user) &&
1226 DCHECK_EQ(user, temp->GetUses().front().GetUser()); in GetTempUser()
H A Dsuperblock_cloner.cc45 HInstruction* user = use_node->GetUser(); in IsUsedOutsideRegion()
53 HInstruction* user = use_node->GetUser()->GetHolder(); in IsUsedOutsideRegion()
644 HInstruction* user = it->GetUser(); in ConstructSubgraphClosedSSA()
656 HEnvironment* env = it->GetUser(); in ConstructSubgraphClosedSSA()
H A Dssa_liveness_analysis.cc223 HInstruction* user = use.GetUser(); in ComputeLiveRanges()
385 HInstruction* user = use.GetUser(); in FindFirstRegisterHint()
H A Dloop_optimization.cc414 HInstruction* user = it->GetUser(); in TryToEvaluateIfCondition()
1196 induction_range_.Replace(use.GetUser(), phi, repl); // update induction use in Vectorize()
2377 if (set->find(use.GetUser()) == set->end()) { in TrySetPhiInduction()
2485 if (use.GetUser()->GetBlock()->GetLoopInformation() != loop_info) { in IsUsedOutsideLoop()
2498 HInstruction* user = use.GetUser(); in IsOnlyUsedAfterLoop()
2525 HInstruction* user = it->GetUser(); in TryReplaceWithLastValue()
2541 HEnvironment* user = it->GetUser(); in TryReplaceWithLastValue()
2591 if (use.GetUser()->GetHolder()->IsDeoptimize()) { in CanRemoveCycle()
H A Dscheduler.cc315 AddDataDependency(GetNode(use.GetUser()), instruction_node); in AddDependencies()
400 AddOtherDependency(GetNode(use.GetUser()->GetHolder()), instruction_node); in AddDependencies()
H A Dreference_type_propagation.cc220 HInstruction* user = use.GetUser(); in ShouldCreateBoundType()
253 HInstruction* user = it->GetUser(); in BoundTypeIn()
1047 HInstruction* user = use.GetUser(); in AddDependentInstructionsToWorklist()
H A Dinstruction_simplifier.cc295 HInstruction* binop = mul->GetUses().front().GetUser(); in TryCombineVecMultiplyAccumulate()
589 HInstruction* user = use.GetUser(); in CanEnsureNotNullAt()
1230 HInstruction* instruction = use.GetUser(); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1806 HInstruction* user = use.GetUser(); in FindDivWithInputsInBasicBlock()
2577 if (use.GetUser()->GetBlock() != block) { in TryReplaceStringBuilderAppend()
2700 HInstruction* holder = use.GetUser()->GetHolder(); in TryReplaceStringBuilderAppend()
2738 block->RemoveInstruction(sb->GetUses().front().GetUser()); in TryReplaceStringBuilderAppend()
H A Dgraph_checker.cc404 HInstruction* user = use.GetUser(); in VisitInstruction()
429 HEnvironment* user = use.GetUser(); in VisitInstruction()
460 HInstruction* user = use.GetUser(); in VisitInstruction()
H A Dbounds_check_elimination.cc1422 HInstruction* user = use.GetUser(); in AddComparesWithDeoptimization()
1540 HInstruction* user = use.GetUser(); in TransformLoopForDynamicBCE()
1938 HInstruction* user = it2->GetUser(); in InsertPhiNodes()
1953 HEnvironment* user = it2->GetUser(); in InsertPhiNodes()
H A Ddead_code_elimination.cc185 HInstruction* user = it->GetUser(); in RemoveNonNullControlDependences()

12