Searched refs:user (Results 1 - 18 of 18) sorted by relevance

/art/compiler/optimizing/
H A Dprepare_for_register_allocation.cc67 HInstruction* user = use.GetUser(); local
68 if ((user->IsInvokeStaticOrDirect() || user->IsNewInstance()) &&
69 CanMoveClinitCheck(check, user)) {
70 implicit_clinit = user;
71 if (user->IsInvokeStaticOrDirect()) {
72 DCHECK(user->AsInvokeStaticOrDirect()->IsStaticWithExplicitClinitCheck());
73 user->AsInvokeStaticOrDirect()->RemoveExplicitClinitCheck(
76 DCHECK(user->IsNewInstance());
78 if (user
90 HInstruction* user = it->GetUser(); local
167 HInstruction* user = condition->GetUses().front().GetUser(); local
[all...]
H A Dprepare_for_register_allocation.h49 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
50 bool CanEmitConditionAt(HCondition* condition, HInstruction* user) const;
H A Dssa_phi_elimination.cc99 HInstruction* user = use.GetUser(); local
100 DCHECK(user->IsLoopHeaderPhi());
101 DCHECK(user->AsPhi()->IsDead());
110 HEnvironment* user = use.GetUser(); local
111 user->SetRawEnvAt(use.GetIndex(), nullptr);
239 HInstruction* user = use.GetUser(); local
240 if (user->IsPhi() && !visited_phis_in_cycle.IsBitSet(user->GetId())) {
241 worklist_.push_back(user->AsPhi());
H A Dload_store_elimination.cc47 HInstruction* user = use.GetUser(); local
48 DCHECK(!user->IsNullCheck()) << "NullCheck should have been eliminated";
49 if (user->IsBoundType()) {
56 if (user->IsPhi() || user->IsSelect() || user->IsInvoke() ||
57 (user->IsInstanceFieldSet() && (reference_ == user->InputAt(1))) ||
58 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user
[all...]
H A Dreference_type_propagation.cc215 HInstruction* user = use.GetUser(); local
217 DCHECK(!dominator_instr->StrictlyDominates(user)
218 || user == existing_bound_type
219 || existing_bound_type->StrictlyDominates(user));
221 DCHECK(!dominator_block->Dominates(user->GetBlock())
222 || user == existing_bound_type
223 || existing_bound_type->StrictlyDominates(user));
271 HInstruction* user = it->GetUser(); local
273 // Increment `it` now because `*it` may disappear thanks to user->ReplaceInput().
275 if (notNullBlock->Dominates(user
411 HInstruction* user = it->GetUser(); local
916 HInstruction* user = use.GetUser(); local
[all...]
H A Dgraph_checker.cc355 HInstruction* user = use.GetUser(); local
356 const HInstructionList& list = user->IsPhi()
357 ? user->GetBlock()->GetPhis()
358 : user->GetBlock()->GetInstructions();
359 if (!list.Contains(user)) {
362 user->DebugName(),
363 user->GetId(),
367 if ((use_index >= user->InputCount()) || (user->InputAt(use_index) != instruction)) {
370 user
379 HEnvironment* user = use.GetUser(); local
409 HInstruction* user = use.GetUser(); local
[all...]
H A Dinstruction_simplifier_arm64.cc164 HInstruction* user = use.GetUser(); local
165 if (!HasShifterOperand(user)) {
168 if (!CanMergeIntoShifterOperand(user, bitfield_op)) {
175 HInstruction* user = it->GetUser(); local
178 bool merged = MergeIntoShifterOperand(user, bitfield_op);
H A Dssa_liveness_analysis.cc237 // A phi input whose last user is the phi dies at the end of the predecessor block,
287 HInstruction* user = use.GetUser(); local
289 DCHECK(!user->GetLocations()->InAt(index).IsValid());
418 HInstruction* user = use->GetUser(); local
420 if (user->IsPhi()) {
422 Location phi_location = user->GetLiveInterval()->ToLocation();
432 if (end == user->GetBlock()->GetPredecessors()[input_index]->GetLifetimeEnd()) {
433 for (size_t i = 0, e = user->InputCount(); i < e; ++i) {
437 HInstruction* input = user->InputAt(i);
439 user
[all...]
H A Dregister_allocator_test.cc345 // The user of the split is the last add.
837 // We create a synthesized user requesting a register, to avoid just spilling the
839 HPhi* user = new (&allocator) HPhi(&allocator, 0, 1, Primitive::kPrimInt); local
840 user->AddInput(one);
841 user->SetBlock(block);
842 LocationSummary* locations = new (&allocator) LocationSummary(user, LocationSummary::kNoCall);
845 BuildInterval(phi_ranges, arraysize(phi_ranges), &allocator, -1, user);
850 first->first_use_ = new(&allocator) UsePosition(user, 0, false, 8, first->first_use_);
851 first->first_use_ = new(&allocator) UsePosition(user, 0, false, 7, first->first_use_);
852 first->first_use_ = new(&allocator) UsePosition(user,
[all...]
H A Dssa_builder.cc112 HInstruction* user = use.GetUser(); local
113 if (user->IsPhi() && user->AsPhi()->IsLive()) {
114 if (add_all_live_phis || user->GetType() != instruction->GetType()) {
115 worklist->push_back(user->AsPhi());
H A Dbounds_check_elimination.cc1219 HInstruction* user = use.GetUser(); local
1220 HBasicBlock* other_block = user->GetBlock();
1221 if (user->IsBoundsCheck() && block->Dominates(other_block)) {
1222 HBoundsCheck* other_bounds_check = user->AsBoundsCheck();
1238 if (block == user->GetBlock() ||
1647 HInstruction* user = it2->GetUser(); local
1649 // Increment `it2` now because `*it2` may disappear thanks to user->ReplaceInput().
1651 if (user->GetBlock() != true_block) {
1655 user->ReplaceInput(phi, index); // Removes the use node from the list.
1661 HEnvironment* user local
[all...]
H A Dregister_allocator.h132 HInstruction* user,
H A Dssa_liveness_analysis.h106 UsePosition(HInstruction* user, argument
111 : user_(user),
116 DCHECK(environment == nullptr || user == nullptr);
234 DCHECK(first_use_ == nullptr) << "A temporary can only have one user";
235 DCHECK(first_env_use_ == nullptr) << "A temporary cannot have environment user";
278 // The user uses the instruction multiple times, and one use dies before the other.
1047 /* user */ nullptr,
1198 HInstruction* user = GetInstructionFromPosition(temp->GetStart() / 2); local
1199 DCHECK_EQ(user, temp->GetFirstUse()->GetUser());
1200 return user;
[all...]
H A Dregister_allocator.cc1424 HInstruction* user,
1429 DCHECK(!user->IsPhi());
1431 HInstruction* previous = user->GetPrevious();
1435 || previous->GetLifetimePosition() < user->GetLifetimePosition()) {
1437 move->SetLifetimePosition(user->GetLifetimePosition());
1438 user->GetBlock()->InsertInstructionBefore(move, user);
1442 DCHECK_EQ(move->GetLifetimePosition(), user->GetLifetimePosition());
1423 AddInputMoveFor(HInstruction* input, HInstruction* user, Location source, Location destination) const argument
H A Dnodes.cc936 HInstruction* user = env_use.GetInstruction(); local
938 user->env_uses_.erase_after(before_env_use_node);
939 user->FixUpUserRecordsAfterEnvUseRemoval(before_env_use_node);
1416 // No user in `target_block`, insert before the control flow instruction.
2499 HEnvironment* user = use.GetUser(); local
2500 user->SetRawEnvAt(use.GetIndex(), nullptr);
H A Dinstruction_simplifier.cc413 HInstruction* user = use.GetUser(); local
414 if (user->IsNullCheck() && user->StrictlyDominates(at)) {
666 // NaNs forces the compares to be done as written by the user.
H A Dnodes.h1361 HUseListNode(T user, size_t index) argument
1362 : user_(user), index_(index) {}
1396 // Instruction used by the user.
1848 void AddUseAt(HInstruction* user, size_t index) { argument
1849 DCHECK(user != nullptr);
1853 new (GetBlock()->GetGraph()->GetArena()) HUseListNode<HInstruction*>(user, index);
1858 void AddEnvUseAt(HEnvironment* user, size_t index) { argument
1859 DCHECK(user != nullptr);
1863 new (GetBlock()->GetGraph()->GetArena()) HUseListNode<HEnvironment*>(user, index);
1952 // Move `this` before its first user an
2087 HInstruction* user = use_node->GetUser(); local
2107 HEnvironment* user = env_use_node->GetUser(); local
[all...]
/art/test/048-reflect-v8/src/
H A DAnnotationTestFixture.java27 public static void user() { method in class:AnnotationTestFixture

Completed in 445 milliseconds