Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Descape.cc42 HInstruction* user = use.GetUser(); in CalculateEscape() local
43 if (no_escape != nullptr && (*no_escape)(reference, user)) { in CalculateEscape()
46 } else if (user->IsBoundType() || user->IsNullCheck()) { in CalculateEscape()
54 } else if (user->IsPhi() || user->IsSelect() || user->IsInvoke() || in CalculateEscape()
55 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
56 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
57 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
58 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in CalculateEscape()
59 (user->IsArraySet() && (reference == user->InputAt(2)))) { in CalculateEscape()
66 } else if ((user->IsUnresolvedInstanceFieldGet() && (reference == user->InputAt(0))) || in CalculateEscape()
[all …]
Dprepare_for_register_allocation.cc89 HInstruction* user = use.GetUser(); in VisitClinitCheck() local
90 if ((user->IsInvokeStaticOrDirect() || user->IsNewInstance()) && in VisitClinitCheck()
91 CanMoveClinitCheck(check, user)) { in VisitClinitCheck()
92 implicit_clinit = user; in VisitClinitCheck()
93 if (user->IsInvokeStaticOrDirect()) { in VisitClinitCheck()
94 DCHECK(user->AsInvokeStaticOrDirect()->IsStaticWithExplicitClinitCheck()); in VisitClinitCheck()
95 user->AsInvokeStaticOrDirect()->RemoveExplicitClinitCheck( in VisitClinitCheck()
98 DCHECK(user->IsNewInstance()); in VisitClinitCheck()
100 if (user->AsNewInstance()->GetEntrypoint() == kQuickAllocObjectInitialized) { in VisitClinitCheck()
101 user->AsNewInstance()->SetEntrypoint(kQuickAllocObjectResolved); in VisitClinitCheck()
[all …]
Dcode_sinking.cc134 HInstruction* user, in ShouldFilterUse() argument
137 return user->IsInstanceFieldSet() && in ShouldFilterUse()
138 (user->InputAt(0) == instruction) && in ShouldFilterUse()
139 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
141 return user->IsArraySet() && in ShouldFilterUse()
142 (user->InputAt(0) == instruction) && in ShouldFilterUse()
143 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
162 HInstruction* user = use.GetUser(); in FindIdealPosition() local
163 if (!(filter && ShouldFilterUse(instruction, user, post_dominated))) { in FindIdealPosition()
164 HBasicBlock* block = user->GetBlock(); in FindIdealPosition()
[all …]
Dssa_phi_elimination.cc97 HInstruction* user = use.GetUser(); in EliminateDeadPhis() local
98 DCHECK(user->IsLoopHeaderPhi()); in EliminateDeadPhis()
99 DCHECK(user->AsPhi()->IsDead()); in EliminateDeadPhis()
106 HEnvironment* user = use.GetUser(); in EliminateDeadPhis() local
107 user->SetRawEnvAt(use.GetIndex(), nullptr); in EliminateDeadPhis()
232 HInstruction* user = use.GetUser(); in Run() local
233 if (user->IsPhi() && !visited_phis_in_cycle.IsBitSet(user->GetId())) { in Run()
234 worklist_.push_back(user->AsPhi()); in Run()
Dinstruction_simplifier_arm64.cc115 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
116 if (!HasShifterOperand(user, kArm64)) { in TryMergeIntoUsersShifterOperand()
119 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
126 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
129 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dinstruction_simplifier_arm.cc118 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
119 if (!HasShifterOperand(user, kArm)) { in TryMergeIntoUsersShifterOperand()
122 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
129 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
132 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dprepare_for_register_allocation.h49 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
50 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
Dgraph_checker.cc355 HInstruction* user = use.GetUser(); in VisitInstruction() local
356 const HInstructionList& list = user->IsPhi() in VisitInstruction()
357 ? user->GetBlock()->GetPhis() in VisitInstruction()
358 : user->GetBlock()->GetInstructions(); in VisitInstruction()
359 if (!list.Contains(user)) { in VisitInstruction()
362 user->DebugName(), in VisitInstruction()
363 user->GetId(), in VisitInstruction()
367 HConstInputsRef user_inputs = user->GetInputs(); in VisitInstruction()
371 user->DebugName(), in VisitInstruction()
372 user->GetId(), in VisitInstruction()
[all …]
Dreference_type_propagation.cc188 HInstruction* user = use.GetUser(); in ShouldCreateBoundType() local
190 DCHECK(!dominator_instr->StrictlyDominates(user) in ShouldCreateBoundType()
191 || user == existing_bound_type in ShouldCreateBoundType()
192 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
194 DCHECK(!dominator_block->Dominates(user->GetBlock()) in ShouldCreateBoundType()
195 || user == existing_bound_type in ShouldCreateBoundType()
196 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
221 HInstruction* user = it->GetUser(); in BoundTypeIn() local
226 ? start_instruction->StrictlyDominates(user) in BoundTypeIn()
227 : start_block->Dominates(user->GetBlock()); in BoundTypeIn()
[all …]
Dssa_liveness_analysis.cc215 HInstruction* user = use.GetUser(); in ComputeLiveRanges() local
217 DCHECK(!user->GetLocations()->InAt(index).IsValid()); in ComputeLiveRanges()
365 HInstruction* user = use->GetUser(); in FindFirstRegisterHint() local
367 if (user->IsPhi()) { in FindFirstRegisterHint()
369 Location phi_location = user->GetLiveInterval()->ToLocation(); in FindFirstRegisterHint()
379 if (end == user->GetBlock()->GetPredecessors()[input_index]->GetLifetimeEnd()) { in FindFirstRegisterHint()
380 HInputsRef inputs = user->GetInputs(); in FindFirstRegisterHint()
386 user->GetBlock()->GetPredecessors()[i]->GetLifetimeEnd() - 1); in FindFirstRegisterHint()
397 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint()
401 size_t position = user->GetLifetimePosition() - 1; in FindFirstRegisterHint()
Dbounds_check_elimination.cc1238 HInstruction* user = use.GetUser(); in AddComparesWithDeoptimization() local
1239 HBasicBlock* other_block = user->GetBlock(); in AddComparesWithDeoptimization()
1240 if (user->IsBoundsCheck() && block->Dominates(other_block)) { in AddComparesWithDeoptimization()
1241 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in AddComparesWithDeoptimization()
1257 if (block == user->GetBlock() || in AddComparesWithDeoptimization()
1356 HInstruction* user = use.GetUser(); in TransformLoopForDynamicBCE() local
1357 if (user->IsBoundsCheck() && loop == user->GetBlock()->GetLoopInformation()) { in TransformLoopForDynamicBCE()
1358 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in TransformLoopForDynamicBCE()
1371 if (!loop->DominatesAllBackEdges(user->GetBlock())) { in TransformLoopForDynamicBCE()
1748 HInstruction* user = it2->GetUser(); in InsertPhiNodes() local
[all …]
Dregister_allocator_test.cc904 HPhi* user = new (&allocator) HPhi(&allocator, 0, 1, Primitive::kPrimInt); in TEST_F() local
905 user->AddInput(one); in TEST_F()
906 user->SetBlock(block); in TEST_F()
907 LocationSummary* locations = new (&allocator) LocationSummary(user, LocationSummary::kNoCall); in TEST_F()
910 BuildInterval(phi_ranges, arraysize(phi_ranges), &allocator, -1, user); in TEST_F()
915 first->first_use_ = new(&allocator) UsePosition(user, false, 8, first->first_use_); in TEST_F()
916 first->first_use_ = new(&allocator) UsePosition(user, false, 7, first->first_use_); in TEST_F()
917 first->first_use_ = new(&allocator) UsePosition(user, false, 6, first->first_use_); in TEST_F()
937 third->first_use_ = new(&allocator) UsePosition(user, false, 8, third->first_use_); in TEST_F()
938 third->first_use_ = new(&allocator) UsePosition(user, false, 4, third->first_use_); in TEST_F()
[all …]
Dregister_allocation_resolver.cc522 HInstruction* user, in AddInputMoveFor() argument
527 DCHECK(!user->IsPhi()); in AddInputMoveFor()
529 HInstruction* previous = user->GetPrevious(); in AddInputMoveFor()
533 || previous->GetLifetimePosition() < user->GetLifetimePosition()) { in AddInputMoveFor()
535 move->SetLifetimePosition(user->GetLifetimePosition()); in AddInputMoveFor()
536 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
540 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition()); in AddInputMoveFor()
Dloop_optimization.cc1357 HInstruction* user = use.GetUser(); in IsOnlyUsedAfterLoop() local
1358 if (iset_->find(user) == iset_->end()) { // not excluded? in IsOnlyUsedAfterLoop()
1359 HLoopInformation* other_loop_info = user->GetBlock()->GetLoopInformation(); in IsOnlyUsedAfterLoop()
1364 iset_->insert(user); in IsOnlyUsedAfterLoop()
1383 HInstruction* user = it->GetUser(); in TryReplaceWithLastValue() local
1386 if (iset_->find(user) == iset_->end()) { // not excluded? in TryReplaceWithLastValue()
1389 HLoopInformation* other_loop_info = user->GetBlock()->GetLoopInformation(); in TryReplaceWithLastValue()
1392 user->ReplaceInput(replacement, index); in TryReplaceWithLastValue()
1393 induction_range_.Replace(user, instruction, replacement); // update induction in TryReplaceWithLastValue()
1398 HEnvironment* user = it->GetUser(); in TryReplaceWithLastValue() local
[all …]
Dssa_builder.cc113 HInstruction* user = use.GetUser(); in AddDependentInstructionsToWorklist() local
114 if (user->IsPhi() && user->AsPhi()->IsLive()) { in AddDependentInstructionsToWorklist()
115 if (add_all_live_phis || user->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist()
116 worklist->push_back(user->AsPhi()); in AddDependentInstructionsToWorklist()
Dinstruction_simplifier.cc447 HInstruction* user = use.GetUser(); in CanEnsureNotNullAt() local
448 if (user->IsNullCheck() && user->StrictlyDominates(at)) { in CanEnsureNotNullAt()
627 HInstruction* user = cmp->GetUses().front().GetUser(); in CmpHasBoolType() local
628 return user->IsPhi() && user->HasInput(input) && user->HasInput(cmp); in CmpHasBoolType()
2012 static bool NoEscapeForStringBufferReference(HInstruction* reference, HInstruction* user) { in NoEscapeForStringBufferReference() argument
2013 if (user->IsInvokeStaticOrDirect()) { in NoEscapeForStringBufferReference()
2015 return user->AsInvokeStaticOrDirect()->GetResolvedMethod() != nullptr && in NoEscapeForStringBufferReference()
2016 user->AsInvokeStaticOrDirect()->GetResolvedMethod()->IsConstructor() && in NoEscapeForStringBufferReference()
2017 user->InputAt(0) == reference; in NoEscapeForStringBufferReference()
2018 } else if (user->IsInvokeVirtual()) { in NoEscapeForStringBufferReference()
[all …]
Dregister_allocation_resolver.h80 HInstruction* user,
Dssa_liveness_analysis.h107 UsePosition(HInstruction* user, size_t input_index, size_t position, UsePosition* next) in UsePosition() argument
108 : user_(user), in UsePosition()
1204 HInstruction* user = GetInstructionFromPosition(temp->GetStart() / 2); in GetTempUser() local
1205 DCHECK_EQ(user, temp->GetFirstUse()->GetUser()); in GetTempUser()
1206 return user; in GetTempUser()
Dnodes.cc930 HInstruction* user = env_use.GetInstruction(); in RemoveAsUserOfInput() local
932 user->env_uses_.erase_after(before_env_use_node); in RemoveAsUserOfInput()
933 user->FixUpUserRecordsAfterEnvUseRemoval(before_env_use_node); in RemoveAsUserOfInput()
1096 HInstruction* user = it->GetUser(); in ReplaceUsesDominatedBy() local
1100 if (dominator->StrictlyDominates(user)) { in ReplaceUsesDominatedBy()
1101 user->ReplaceInput(replacement, index); in ReplaceUsesDominatedBy()
2683 HEnvironment* user = use.GetUser(); in RemoveEnvironmentUsers() local
2684 user->SetRawEnvAt(use.GetIndex(), nullptr); in RemoveEnvironmentUsers()
Dregister_allocator_graph_color.cc1406 HInstruction* user = use->GetUser(); in FindCoalesceOpportunities() local
1407 if (user == nullptr) { in FindCoalesceOpportunities()
1411 LocationSummary* locations = user->GetLocations(); in FindCoalesceOpportunities()
1422 user->GetLifetimePosition()); in FindCoalesceOpportunities()
/art/test/134-nodex2oat-nofallback/
Dexpected.txt3 …dException: Didn't find class "Main" on path: DexPathList[[zip file "/tmp/user/test-12345/134-node…
21 …Caused by: java.io.IOException: Failed to open oat file from dex location '/tmp/user/test-12345/13…
23 …Caused by: java.io.IOException: Failed to open oat file from /tmp/user/test-12345/x86/134-nodex2oa…
34 …dException: Didn't find class "Main" on path: DexPathList[[zip file "/tmp/user/test-12345/134-node…
52 …Caused by: java.io.IOException: Failed to open oat file from dex location '/tmp/user/test-12345/13…
54 …Caused by: java.io.IOException: Failed to open oat file from /tmp/user/test-12345/x86/134-nodex2oa…
/art/test/048-reflect-v8/src/
DAnnotationTestFixture.java27 public static void user() { in user() method in AnnotationTestFixture
/art/test/048-reflect-v8/
Dexpected.txt71 Annotations by type, defined by method user with annotation Calendar: @Calendar(dayOfMonth=last, da…
72 Annotations by type, defined by method user with annotation Calendars: @Calendars(value=[@Calendar(…
84 Annotations declared by method user with annotation Calendar: <null>
85 Annotations declared by method user with annotation Calendars: @Calendars(value=[@Calendar(dayOfMon…
97 Annotations by type, defined by method user with annotation Calendar: @Calendar(dayOfMonth=last, da…
98 Annotations by type, defined by method user with annotation Calendars: @Calendars(value=[@Calendar(…
/art/tools/ahat/
DREADME.txt18 * Add a user guide.
20 * Let user re-sort sites objects info by clicking column headers.
21 * Let user re-sort "Objects" list.
/art/cmdline/
DREADME.md16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently,
24 For example, to save the values into a user-defined variant map:
136 By default, the argument is assumed to appear exactly once, and if the user specifies it more than
176 with invalid values, only user-arguments for which it could not find a matching argument definition.
208 // note: Name() is just here for more user-friendly errors,

12