Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Descape.cc36 HInstruction* user = use.GetUser(); in VisitEscapes() local
37 if (user->IsBoundType() || user->IsNullCheck()) { in VisitEscapes()
41 if (!escape_visitor(user)) { in VisitEscapes()
44 } else if (user->IsCheckCast() || user->IsInstanceOf()) { in VisitEscapes()
48 if (!escape_visitor(user)) { in VisitEscapes()
51 } else if (user->IsPhi() || in VisitEscapes()
52 user->IsSelect() || in VisitEscapes()
53 (user->IsInvoke() && user->GetSideEffects().DoesAnyWrite()) || in VisitEscapes()
54 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in VisitEscapes()
55 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in VisitEscapes()
[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.cc187 HInstruction* user, in ShouldFilterUse() argument
190 return (user->IsInstanceFieldSet() || user->IsConstructorFence()) && in ShouldFilterUse()
191 (user->InputAt(0) == instruction) && in ShouldFilterUse()
192 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
194 return (user->IsArraySet() || user->IsConstructorFence()) && in ShouldFilterUse()
195 (user->InputAt(0) == instruction) && in ShouldFilterUse()
196 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse()
214 HInstruction* user = use.GetUser(); in FindIdealPosition() local
215 if (!(filter && ShouldFilterUse(instruction, user, post_dominated))) { in FindIdealPosition()
216 HBasicBlock* block = user->GetBlock(); in FindIdealPosition()
[all …]
Descape.h38 bool operator()(HInstruction* user) { in operator()
39 return Visit(user); in operator()
65 virtual bool NoEscape(HInstruction* reference, HInstruction* user) = 0;
66 bool operator()(HInstruction* ref, HInstruction* user) { in operator()
67 return NoEscape(ref, user); in operator()
76 bool NoEscape(HInstruction* ref, HInstruction* user) override { in NoEscape() argument
77 return func_(ref, user); in NoEscape()
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()
248 HInstruction* user = use.GetUser(); in Run() local
249 if (user->IsPhi() && !visited_phis_in_cycle.IsBitSet(user->GetId())) { in Run()
250 worklist.push_back(user->AsPhi()); in Run()
Dcode_generator_utils.cc215 HInstruction* user = use.GetUser(); in IsNonNegativeUse() local
216 if (user == target_user) { in IsNonNegativeUse()
226 if (user->IsCondition()) { in IsNonNegativeUse()
229 if (user->GetBlock()->Dominates(target_user->GetBlock()) && in IsNonNegativeUse()
230 IsComparedValueNonNegativeInBlock(value, user->AsCondition(), target_user->GetBlock())) { in IsNonNegativeUse()
Dreference_type_propagation.cc170 HInstruction* user = use.GetUser(); in ShouldCreateBoundType() local
172 DCHECK(!dominator_instr->StrictlyDominates(user) in ShouldCreateBoundType()
173 || user == existing_bound_type in ShouldCreateBoundType()
174 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
176 DCHECK(!dominator_block->Dominates(user->GetBlock()) in ShouldCreateBoundType()
177 || user == existing_bound_type in ShouldCreateBoundType()
178 || existing_bound_type->StrictlyDominates(user)); in ShouldCreateBoundType()
203 HInstruction* user = it->GetUser(); in BoundTypeIn() local
208 ? start_instruction->StrictlyDominates(user) in BoundTypeIn()
209 : start_block->Dominates(user->GetBlock()); in BoundTypeIn()
[all …]
Dinstruction_simplifier_shared.cc259 HInstruction* user = use.GetUser(); in TryExtractVecArrayAccessAddress() local
260 if (user->IsVecMemoryOperation() && user != access) { in TryExtractVecArrayAccessAddress()
261 HVecMemoryOperation* another_access = user->AsVecMemoryOperation(); in TryExtractVecArrayAccessAddress()
270 } else if (user->IsIntermediateAddressIndex()) { in TryExtractVecArrayAccessAddress()
271 HIntermediateAddressIndex* another_access = user->AsIntermediateAddressIndex(); in TryExtractVecArrayAccessAddress()
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()
Dgraph_checker.cc590 HInstruction* user = use.GetUser(); in VisitInstruction() local
591 if (!ContainedInItsBlockList(user)) { in VisitInstruction()
594 user->DebugName(), in VisitInstruction()
595 user->GetId(), in VisitInstruction()
599 HConstInputsRef user_inputs = user->GetInputs(); in VisitInstruction()
603 user->DebugName(), in VisitInstruction()
604 user->GetId(), in VisitInstruction()
612 HEnvironment* user = use.GetUser(); in VisitInstruction() local
614 if ((use_index >= user->Size()) || (user->GetInstructionAt(use_index) != instruction)) { in VisitInstruction()
660 HInstruction* user = use.GetUser(); in VisitInstruction() local
[all …]
Dprepare_for_register_allocation.h61 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
62 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
Dload_store_analysis.cc103 [&](const HUseListNode<HInstruction*>& user) { in InstructionEligibleForLSERemoval() argument
104 if (user.GetUser()->IsArrayGet() || user.GetUser()->IsArraySet()) { in InstructionEligibleForLSERemoval()
105 return user.GetUser()->InputAt(1)->IsIntConstant(); in InstructionEligibleForLSERemoval()
Dinstruction_simplifier_arm.cc171 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
172 if (!HasShifterOperand(user, InstructionSet::kArm)) { in TryMergeIntoUsersShifterOperand()
175 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
182 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
185 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dinstruction_simplifier_arm64.cc175 HInstruction* user = use.GetUser(); in TryMergeIntoUsersShifterOperand() local
176 if (!HasShifterOperand(user, InstructionSet::kArm64)) { in TryMergeIntoUsersShifterOperand()
179 if (!CanMergeIntoShifterOperand(user, bitfield_op)) { in TryMergeIntoUsersShifterOperand()
186 HInstruction* user = it->GetUser(); in TryMergeIntoUsersShifterOperand() local
189 bool merged = MergeIntoShifterOperand(user, bitfield_op); in TryMergeIntoUsersShifterOperand()
Dregister_allocator_test.cc811 HPhi* user = new (GetAllocator()) HPhi(GetAllocator(), 0, 1, DataType::Type::kInt32); in TEST_F() local
812 user->SetBlock(block); in TEST_F()
813 user->AddInput(one); in TEST_F()
814 LocationSummary* locations = new (GetAllocator()) LocationSummary(user, LocationSummary::kNoCall); in TEST_F()
817 BuildInterval(phi_ranges, arraysize(phi_ranges), GetScopedAllocator(), -1, user); in TEST_F()
822 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 8)); in TEST_F()
823 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 7)); in TEST_F()
824 first->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 6)); in TEST_F()
845 third->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 8)); in TEST_F()
846 third->uses_.push_front(*new (GetScopedAllocator()) UsePosition(user, 0u, 4)); in TEST_F()
[all …]
Dinstruction_simplifier.cc720 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()
[all …]
Dregister_allocation_resolver.cc525 HInstruction* user, in AddInputMoveFor() argument
530 DCHECK(!user->IsPhi()); in AddInputMoveFor()
532 HInstruction* previous = user->GetPrevious(); in AddInputMoveFor()
536 previous->GetLifetimePosition() < user->GetLifetimePosition()) { in AddInputMoveFor()
538 move->SetLifetimePosition(user->GetLifetimePosition()); in AddInputMoveFor()
539 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
543 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition()); in AddInputMoveFor()
Dbounds_check_elimination.cc1434 HInstruction* user = use.GetUser(); in AddComparesWithDeoptimization() local
1435 HBasicBlock* other_block = user->GetBlock(); in AddComparesWithDeoptimization()
1436 if (user->IsBoundsCheck() && block->Dominates(other_block)) { in AddComparesWithDeoptimization()
1437 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in AddComparesWithDeoptimization()
1453 if (block == user->GetBlock() || in AddComparesWithDeoptimization()
1553 HInstruction* user = use.GetUser(); in TransformLoopForDynamicBCE() local
1554 if (user->IsBoundsCheck() && loop == user->GetBlock()->GetLoopInformation()) { in TransformLoopForDynamicBCE()
1555 HBoundsCheck* other_bounds_check = user->AsBoundsCheck(); in TransformLoopForDynamicBCE()
1569 if (!loop->DominatesAllBackEdges(user->GetBlock())) { in TransformLoopForDynamicBCE()
1961 HInstruction* user = it2->GetUser(); in InsertPhiNodes() local
[all …]
/art/tools/
Dbuildbot-vm.sh78 cat >user-data <<EOF
98 genisoimage -output user-data.img -volid cidata -joliet -rock user-data meta-data
99 mv user-data.img "$(dirname $0)/user-data.img"
100 rm user-data meta-data
116 -drive file=user-data.img,format=raw,if=virtio \
118 -netdev user,id=usernet,hostfwd=tcp::$ART_TEST_SSH_PORT-:22 > $SCRIPT_DIR/boot.out &)
144 -drive file=user-data.img,format=raw,id=cloud \
147 -netdev user,id=usernet,hostfwd=tcp::$ART_TEST_SSH_PORT-:22 > $SCRIPT_DIR/boot.out &)
/art/build/apex/
Dart.rc22 user artd
39 user artd
51 user artd
60 user root
/art/test/162-method-resolution/src/
DMain.java475 Class<?> user = Class.forName(userName); in invokeUserTest() local
476 Method utest = user.getDeclaredMethod("test"); in invokeUserTest()
/art/test/testrunner/
Dssh_config7 ControlPath /run/user/%i/ssh-%C
/art/test/048-reflect-v8/src/
DAnnotationTestFixture.java27 public static void user() { in user() method in AnnotationTestFixture
/art/test/833-background-verification/
Dinfo.txt2 run on user-defined class loaders, which can provoke races between the other
/art/test/048-reflect-v8/
Dexpected-stdout.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(…

12