Home
last modified time | relevance | path

Searched refs:current (Results 1 – 21 of 21) sorted by relevance

/art/compiler/optimizing/
Dssa_liveness_analysis.cc30 static bool IsLoopExit(HLoopInformation* current, HLoopInformation* to) { in IsLoopExit() argument
32 return to == nullptr || (current != to && current->IsIn(*to)); in IsLoopExit()
109 HInstruction* current = it.Current(); in NumberInstructions() local
110 current->Accept(codegen_->GetLocationBuilder()); in NumberInstructions()
111 LocationSummary* locations = current->GetLocations(); in NumberInstructions()
113 instructions_from_ssa_index_.Add(current); in NumberInstructions()
114 current->SetSsaIndex(ssa_index++); in NumberInstructions()
115 current->SetLiveInterval( in NumberInstructions()
116 new (graph_.GetArena()) LiveInterval(graph_.GetArena(), current->GetType(), current)); in NumberInstructions()
118 current->SetLifetimePosition(lifetime_position); in NumberInstructions()
[all …]
Dregister_allocator.cc56 HInstruction* current = it.Current(); in CanAllocateRegistersFor() local
57 if (current->NeedsEnvironment()) return false; in CanAllocateRegistersFor()
58 if (current->GetType() == Primitive::kPrimLong && instruction_set != kX86_64) return false; in CanAllocateRegistersFor()
59 if (current->GetType() == Primitive::kPrimFloat) return false; in CanAllocateRegistersFor()
60 if (current->GetType() == Primitive::kPrimDouble) return false; in CanAllocateRegistersFor()
117 LiveInterval* current = instruction->GetLiveInterval(); in AllocateRegistersInternal() local
118 if (ShouldProcess(processing_core_registers_, current)) { in AllocateRegistersInternal()
119 DCHECK(unhandled_.IsEmpty() || current->StartsBefore(unhandled_.Peek())); in AllocateRegistersInternal()
139 current->SetFrom(position + 1); in AllocateRegistersInternal()
140 current->SetRegister(output.reg().RegId()); in AllocateRegistersInternal()
[all …]
Dssa_phi_elimination.cc32 HUseListNode<HInstruction>* current = it.Current(); in Run() local
33 HInstruction* user = current->GetUser(); in Run()
60 HInstruction* current = block->GetFirstPhi(); in Run() local
62 while (current != nullptr) { in Run()
63 next = current->GetNext(); in Run()
64 if (current->AsPhi()->IsDead()) { in Run()
65 block->RemovePhi(current->AsPhi()); in Run()
67 current = next; in Run()
114 HUseListNode<HInstruction>* current = it.Current(); in Run() local
115 HInstruction* user = current->GetUser(); in Run()
Dssa_liveness_analysis.h246 LiveRange* current = first_range_; in Covers() local
247 while (current != nullptr) { in Covers()
248 if (position >= current->GetStart() && position < current->GetEnd()) { in Covers()
251 current = current->GetNext(); in Covers()
359 LiveRange* current = first_range_; in SplitAt() local
364 if (position >= current->GetEnd()) { in SplitAt()
366 previous = current; in SplitAt()
367 current = current->next_; in SplitAt()
368 } else if (position <= current->GetStart()) { in SplitAt()
373 DCHECK(current != first_range_); in SplitAt()
[all …]
Dnodes.cc281 HBasicBlock* current = other; in Dominates() local
282 while (current != nullptr) { in Dominates()
283 if (current == this) { in Dominates()
286 current = current->GetDominator(); in Dominates()
352 HUseListNode<HInstruction>* current = uses_; in RemoveUser() local
353 while (current != nullptr) { in RemoveUser()
354 if (current->GetUser() == user && current->GetIndex() == input_index) { in RemoveUser()
356 uses_ = current->GetTail(); in RemoveUser()
358 previous->SetTail(current->GetTail()); in RemoveUser()
361 previous = current; in RemoveUser()
[all …]
Dssa_builder.cc53 HInstruction* current = it.Current(); in BuildSsa() local
54 if (current->AsLocal() != nullptr) { in BuildSsa()
55 current->GetBlock()->RemoveInstruction(current); in BuildSsa()
93 HInstruction* current = ValueOfLocal(block->GetPredecessors().Get(i), local); in VisitBasicBlock() local
94 if (current == nullptr) { in VisitBasicBlock()
97 } else if (current != value) { in VisitBasicBlock()
Dlive_interval_test.cc169 LiveRange* current = interval->GetFirstRange(); in RangesEquals() local
173 i < number_of_expected_ranges && current != nullptr; in RangesEquals()
174 ++i, current = current->GetNext()) { in RangesEquals()
175 if (expected[i][0] != current->GetStart()) { in RangesEquals()
178 if (expected[i][1] != current->GetEnd()) { in RangesEquals()
183 if (current != nullptr || i != number_of_expected_ranges) { in RangesEquals()
Dcode_generator.cc55 HInstruction* current = it.Current(); in CompileBaseline() local
56 current->Accept(location_builder); in CompileBaseline()
57 InitLocations(current); in CompileBaseline()
58 current->Accept(instruction_visitor); in CompileBaseline()
83 HInstruction* current = it.Current(); in CompileOptimized() local
84 current->Accept(instruction_visitor); in CompileOptimized()
245 bool CodeGenerator::GoesToNextBlock(HBasicBlock* current, HBasicBlock* next) const { in GoesToNextBlock() argument
247 return current->GetBlockId() + 1 == next->GetBlockId(); in GoesToNextBlock()
Dcode_generator.h82 bool GoesToNextBlock(HBasicBlock* current, HBasicBlock* next) const;
Dcode_generator_arm.cc186 ArmManagedRegister current = in AllocateFreeRegister() local
188 if (current.AsRegisterPairLow() == pair.AsRegisterPairLow() in AllocateFreeRegister()
189 || current.AsRegisterPairLow() == pair.AsRegisterPairHigh() in AllocateFreeRegister()
190 || current.AsRegisterPairHigh() == pair.AsRegisterPairLow() in AllocateFreeRegister()
191 || current.AsRegisterPairHigh() == pair.AsRegisterPairHigh()) { in AllocateFreeRegister()
208 ArmManagedRegister current = in AllocateFreeRegister() local
210 if (current.AsRegisterPairLow() == reg || current.AsRegisterPairHigh() == reg) { in AllocateFreeRegister()
Dcode_generator_x86.cc168 X86ManagedRegister current = in AllocateFreeRegister() local
170 if (current.AsRegisterPairLow() == pair.AsRegisterPairLow() in AllocateFreeRegister()
171 || current.AsRegisterPairLow() == pair.AsRegisterPairHigh() in AllocateFreeRegister()
172 || current.AsRegisterPairHigh() == pair.AsRegisterPairLow() in AllocateFreeRegister()
173 || current.AsRegisterPairHigh() == pair.AsRegisterPairHigh()) { in AllocateFreeRegister()
191 X86ManagedRegister current = in AllocateFreeRegister() local
193 if (current.AsRegisterPairLow() == reg || current.AsRegisterPairHigh() == reg) { in AllocateFreeRegister()
Dnodes.h537 HUseListNode<HInstruction>* current = uses_; in NumberOfUses() local
538 while (current != nullptr) { in NumberOfUses()
539 current = current->GetTail(); in NumberOfUses()
/art/runtime/
Dprofiler.cc514 StackTrieNode* current = stack_trie_root_; in PutStack() local
516 current->IncreaseCount(); in PutStack()
532 StackTrieNode* child = current->FindChild(method_ref, dex_pc); in PutStack()
534 current = child; in PutStack()
541 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current); in PutStack()
542 current->AppendChild(new_node); in PutStack()
543 current = new_node; in PutStack()
547 if (current != stack_trie_root_ && current->GetCount() == 0) { in PutStack()
552 MethodReference method = current->GetMethod(); in PutStack()
556 node_set->insert(current); in PutStack()
[all …]
Dreference_table.cc225 mirror::Object* current = sorted_entries[idx].Read<kWithoutReadBarrier>(); in Dump() local
227 if (current == prev) { in Dump()
230 … } else if (current->GetClass() == prev->GetClass() && GetElementCount(current) == element_count) { in Dump()
Dinstrumentation.cc284 const InstrumentationStackFrame& current = *it; in InstrumentationInstallStack() local
285 if (instrumentation_frame.frame_id_ >= current.frame_id_) { in InstrumentationInstallStack()
/art/test/081-hot-exceptions/
Dinfo.txt3 cause a control flow change to deviate from the current method.
/art/runtime/gc/space/
Dimage_space.cc612 byte* current = Begin() + RoundUp(sizeof(ImageHeader), kObjectAlignment); in VerifyImageAllocations() local
613 while (current < End()) { in VerifyImageAllocations()
614 DCHECK_ALIGNED(current, kObjectAlignment); in VerifyImageAllocations()
615 mirror::Object* obj = reinterpret_cast<mirror::Object*>(current); in VerifyImageAllocations()
621 current += RoundUp(obj->SizeOf(), kObjectAlignment); in VerifyImageAllocations()
/art/runtime/mirror/
Dclass-inl.h336 Class* current = this; in IsSubClass() local
338 if (current == klass) { in IsSubClass()
341 current = current->GetSuperClass(); in IsSubClass()
342 } while (current != NULL); in IsSubClass()
/art/compiler/dex/
Dmir_graph.cc1106 MIR* current = first_mir_insn; in FindPreviousMIR() local
1108 while (current != nullptr) { in FindPreviousMIR()
1109 MIR* next = current->next; in FindPreviousMIR()
1112 return current; in FindPreviousMIR()
1115 current = next; in FindPreviousMIR()
1198 MIR* BasicBlock::GetNextUnconditionalMir(MIRGraph* mir_graph, MIR* current) { in GetNextUnconditionalMir() argument
1201 if (current != nullptr) { in GetNextUnconditionalMir()
1202 next_mir = current->next; in GetNextUnconditionalMir()
Dmir_graph.h471 MIR* GetNextUnconditionalMir(MIRGraph* mir_graph, MIR* current);
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1117 move $a0, rSELF # pass Thread::current