Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Descape.cc48 HInstruction* user = use.GetUser(); in CalculateEscape() local
49 if (no_escape != nullptr && (*no_escape)(reference, user)) { in CalculateEscape()
52 } else if (user->IsBoundType() || user->IsNullCheck()) { in CalculateEscape()
60 } else if (user->IsPhi() || in CalculateEscape()
61 user->IsSelect() || in CalculateEscape()
62 (user->IsInvoke() && user->GetSideEffects().DoesAnyWrite()) || in CalculateEscape()
63 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
64 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
65 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
66 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in CalculateEscape()
[all …]
Dprepare_for_register_allocation.cc121 HInstruction* user = use.GetUser(); in VisitClinitCheck() local
122 if ((user->IsInvokeStaticOrDirect() || user->IsNewInstance()) && in VisitClinitCheck()
123 CanMoveClinitCheck(check, user)) { in VisitClinitCheck()
124 implicit_clinit = user; in VisitClinitCheck()
125 if (user->IsInvokeStaticOrDirect()) { in VisitClinitCheck()
126 DCHECK(user->AsInvokeStaticOrDirect()->IsStaticWithExplicitClinitCheck()); in VisitClinitCheck()
127 user->AsInvokeStaticOrDirect()->RemoveExplicitClinitCheck( in VisitClinitCheck()
130 DCHECK(user->IsNewInstance()); in VisitClinitCheck()
132 if (user->AsNewInstance()->GetEntrypoint() == kQuickAllocObjectInitialized) { in VisitClinitCheck()
133 user->AsNewInstance()->SetEntrypoint(kQuickAllocObjectResolved); in VisitClinitCheck()
[all …]
Dcode_sinking.cc157 HInstruction* user, in ShouldFilterUse() argument
160 return (user->IsInstanceFieldSet() || user->IsConstructorFence()) && in ShouldFilterUse()
161 (user->InputAt(0) == instruction) && in ShouldFilterUse()
162 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
164 return (user->IsArraySet() || user->IsConstructorFence()) && in ShouldFilterUse()
165 (user->InputAt(0) == instruction) && in ShouldFilterUse()
166 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
185 HInstruction* user = use.GetUser(); in FindIdealPosition() local
186 if (!(filter && ShouldFilterUse(instruction, user, post_dominated))) { in FindIdealPosition()
187 HBasicBlock* block = user->GetBlock(); in FindIdealPosition()
[all …]
Dinstruction_simplifier_mips.cc81 HInstruction* user = use.GetUser(); in TryExtractArrayAccessIndex() local
82 if (user->IsArrayGet() && user != access && !user->AsArrayGet()->IsStringCharAt()) { in TryExtractArrayAccessIndex()
83 HArrayGet* another_access = user->AsArrayGet(); in TryExtractArrayAccessIndex()
90 } else if (user->IsArraySet() && user != access) { in TryExtractArrayAccessIndex()
91 HArraySet* another_access = user->AsArraySet(); in TryExtractArrayAccessIndex()
98 } else if (user->IsIntermediateArrayAddressIndex()) { in TryExtractArrayAccessIndex()
99 HIntermediateArrayAddressIndex* another_access = user->AsIntermediateArrayAddressIndex(); in TryExtractArrayAccessIndex()
Dssa_phi_elimination.cc106 HInstruction* user = use.GetUser(); in EliminateDeadPhis() local
107 DCHECK(user->IsLoopHeaderPhi()); in EliminateDeadPhis()
108 DCHECK(user->AsPhi()->IsDead()); in EliminateDeadPhis()
115 HEnvironment* user = use.GetUser(); in EliminateDeadPhis() local
116 user->SetRawEnvAt(use.GetIndex(), nullptr); in EliminateDeadPhis()
249 HInstruction* user = use.GetUser(); in Run() local
250 if (user->IsPhi() && !visited_phis_in_cycle.IsBitSet(user->GetId())) { in Run()
251 worklist.push_back(user->AsPhi()); in Run()
Dprepare_for_register_allocation.h60 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
61 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
Dssa_liveness_analysis.cc223 HInstruction* user = use.GetUser(); in ComputeLiveRanges() local
225 DCHECK(!user->GetLocations()->InAt(index).IsValid()); in ComputeLiveRanges()
385 HInstruction* user = use.GetUser(); in FindFirstRegisterHint() local
387 if (user->IsPhi()) { in FindFirstRegisterHint()
389 Location phi_location = user->GetLiveInterval()->ToLocation(); in FindFirstRegisterHint()
399 if (end == user->GetBlock()->GetPredecessors()[input_index]->GetLifetimeEnd()) { in FindFirstRegisterHint()
400 HInputsRef inputs = user->GetInputs(); in FindFirstRegisterHint()
406 user->GetBlock()->GetPredecessors()[i]->GetLifetimeEnd() - 1); in FindFirstRegisterHint()
417 LocationSummary* locations = user->GetLocations(); in FindFirstRegisterHint()
421 size_t position = user->GetLifetimePosition() - 1; in FindFirstRegisterHint()
Dinstruction_simplifier_shared.cc301 HInstruction* user = use.GetUser(); in TryExtractVecArrayAccessAddress() local
302 if (user->IsVecMemoryOperation() && user != access) { in TryExtractVecArrayAccessAddress()
303 HVecMemoryOperation* another_access = user->AsVecMemoryOperation(); in TryExtractVecArrayAccessAddress()
312 } else if (user->IsIntermediateAddressIndex()) { in TryExtractVecArrayAccessAddress()
313 HIntermediateAddressIndex* another_access = user->AsIntermediateAddressIndex(); in TryExtractVecArrayAccessAddress()
Dreference_type_propagation.cc230 HInstruction* user = use.GetUser(); in ShouldCreateBoundType() local
232 DCHECK(!dominator_instr->StrictlyDominates(user) in ShouldCreateBoundType()
233 || user == existing_bound_type in ShouldCreateBoundType()
234 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
236 DCHECK(!dominator_block->Dominates(user->GetBlock()) in ShouldCreateBoundType()
237 || user == existing_bound_type in ShouldCreateBoundType()
238 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
263 HInstruction* user = it->GetUser(); in BoundTypeIn() local
268 ? start_instruction->StrictlyDominates(user) in BoundTypeIn()
269 : start_block->Dominates(user->GetBlock()); in BoundTypeIn()
[all …]
Dgraph_checker.cc403 HInstruction* user = use.GetUser(); in VisitInstruction() local
404 const HInstructionList& list = user->IsPhi() in VisitInstruction()
405 ? user->GetBlock()->GetPhis() in VisitInstruction()
406 : user->GetBlock()->GetInstructions(); in VisitInstruction()
407 if (!list.Contains(user)) { in VisitInstruction()
410 user->DebugName(), in VisitInstruction()
411 user->GetId(), in VisitInstruction()
415 HConstInputsRef user_inputs = user->GetInputs(); in VisitInstruction()
419 user->DebugName(), in VisitInstruction()
420 user->GetId(), in VisitInstruction()
[all …]
Dinstruction_simplifier_arm.cc166 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
167 if (!HasShifterOperand(user, InstructionSet::kArm)) { in TryMergeIntoUsersShifterOperand()
170 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
177 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
180 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dinstruction_simplifier_arm64.cc170 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
171 if (!HasShifterOperand(user, InstructionSet::kArm64)) { in TryMergeIntoUsersShifterOperand()
174 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
181 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
184 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dregister_allocator_test.cc864 HPhi* user = new (GetAllocator()) HPhi(GetAllocator(), 0, 1, DataType::Type::kInt32); in TEST_F() local
865 user->AddInput(one); in TEST_F()
866 user->SetBlock(block); in TEST_F()
867 LocationSummary* locations = new (GetAllocator()) LocationSummary(user, LocationSummary::kNoCall); in TEST_F()
870 BuildInterval(phi_ranges, arraysize(phi_ranges), GetScopedAllocator(), -1, user); in TEST_F()
875 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 8)); in TEST_F()
876 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 7)); in TEST_F()
877 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 6)); in TEST_F()
898 third->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 8)); in TEST_F()
899 third->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 4)); in TEST_F()
[all …]
Ddead_code_elimination.cc185 HInstruction* user = it->GetUser(); in RemoveNonNullControlDependences() local
187 if (user->IsNullCheck()) { in RemoveNonNullControlDependences()
188 HBasicBlock* user_block = user->GetBlock(); in RemoveNonNullControlDependences()
200 user->ReplaceWith(bound); in RemoveNonNullControlDependences()
201 user_block->RemoveInstruction(user); in RemoveNonNullControlDependences()
Dbounds_check_elimination.cc1321 HInstruction* user = use.GetUser(); in AddComparesWithDeoptimization() local
1322 HBasicBlock* other_block = user->GetBlock(); in AddComparesWithDeoptimization()
1323 if (user->IsBoundsCheck() && block->Dominates(other_block)) { in AddComparesWithDeoptimization()
1324 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in AddComparesWithDeoptimization()
1340 if (block == user->GetBlock() || in AddComparesWithDeoptimization()
1439 HInstruction* user = use.GetUser(); in TransformLoopForDynamicBCE() local
1440 if (user->IsBoundsCheck() && loop == user->GetBlock()->GetLoopInformation()) { in TransformLoopForDynamicBCE()
1441 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in TransformLoopForDynamicBCE()
1454 if (!loop->DominatesAllBackEdges(user->GetBlock())) { in TransformLoopForDynamicBCE()
1837 HInstruction* user = it2->GetUser(); in InsertPhiNodes() local
[all …]
Dregister_allocation_resolver.cc526 HInstruction* user, in AddInputMoveFor() argument
531 DCHECK(!user->IsPhi()); in AddInputMoveFor()
533 HInstruction* previous = user->GetPrevious(); in AddInputMoveFor()
537 || previous->GetLifetimePosition() < user->GetLifetimePosition()) { in AddInputMoveFor()
539 move->SetLifetimePosition(user->GetLifetimePosition()); in AddInputMoveFor()
540 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
544 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition()); in AddInputMoveFor()
Dsuperblock_cloner.cc45 HInstruction* user = use_node->GetUser(); in IsUsedOutsideRegion() local
46 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion()
53 HInstruction* user = use_node->GetUser()->GetHolder(); in IsUsedOutsideRegion() local
54 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion()
561 HInstruction* user, HInstruction* old_instruction, HInstruction* replacement) { in UpdateInductionRangeInfoOf() argument
563 induction_range_->Replace(user, old_instruction, replacement); in UpdateInductionRangeInfoOf()
604 HInstruction* user = it->GetUser(); in ConstructSubgraphClosedSSA() local
608 if (!IsInOrigBBSet(user->GetBlock())) { in ConstructSubgraphClosedSSA()
609 user->ReplaceInput(phi, index); in ConstructSubgraphClosedSSA()
610 UpdateInductionRangeInfoOf(user, value, phi); in ConstructSubgraphClosedSSA()
Dssa_builder.cc118 HInstruction* user = use.GetUser(); in AddDependentInstructionsToWorklist() local
119 if (user->IsPhi() && user->AsPhi()->IsLive()) { in AddDependentInstructionsToWorklist()
120 if (add_all_live_phis || user->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist()
121 worklist->push_back(user->AsPhi()); in AddDependentInstructionsToWorklist()
Dregister_allocation_resolver.h77 HInstruction* user,
Dloop_optimization.cc414 HInstruction* user = it->GetUser(); in TryToEvaluateIfCondition() local
416 HBasicBlock* user_block = user->GetBlock(); in TryToEvaluateIfCondition()
420 user->ReplaceInput(graph->GetIntConstant(1), index); in TryToEvaluateIfCondition()
422 user->ReplaceInput(graph->GetIntConstant(0), index); in TryToEvaluateIfCondition()
2427 HInstruction* user = use.GetUser(); in IsOnlyUsedAfterLoop() local
2428 if (iset_->find(user) == iset_->end()) { // not excluded? in IsOnlyUsedAfterLoop()
2429 HLoopInformation* other_loop_info = user->GetBlock()->GetLoopInformation(); in IsOnlyUsedAfterLoop()
2434 iset_->insert(user); in IsOnlyUsedAfterLoop()
2454 HInstruction* user = it->GetUser(); in TryReplaceWithLastValue() local
2457 if (iset_->find(user) == iset_->end()) { // not excluded? in TryReplaceWithLastValue()
[all …]
/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/162-method-resolution/src/
DMain.java408 Class<?> user = Class.forName(userName); in invokeUserTest() local
409 Method utest = user.getDeclaredMethod("test"); in invokeUserTest()
/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.txt21 * Add a user guide.
23 * Let user re-sort sites objects info by clicking column headers.
24 * Let user re-sort "Objects" list.

12