/art/compiler/optimizing/ |
D | ssa_liveness_analysis.cc | 50 HBasicBlock* current = *insert_pos; in AddToListForLinearization() local 51 HLoopInformation* current_loop = current->GetLoopInformation(); in AddToListForLinearization() 91 HBasicBlock* current = worklist.back(); in LinearizeGraph() local 93 graph_->linear_order_.push_back(current); in LinearizeGraph() 94 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraph() 122 HInstruction* current = inst_it.Current(); in NumberInstructions() local 123 codegen_->AllocateLocations(current); in NumberInstructions() 124 LocationSummary* locations = current->GetLocations(); in NumberInstructions() 126 instructions_from_ssa_index_.push_back(current); in NumberInstructions() 127 current->SetSsaIndex(ssa_index++); in NumberInstructions() [all …]
|
D | register_allocator.cc | 318 LiveInterval* current = instruction->GetLiveInterval(); in ProcessInstruction() local 319 if (current == nullptr) return; in ProcessInstruction() 325 DCHECK(unhandled.empty() || current->StartsBeforeOrAt(unhandled.back())); in ProcessInstruction() 327 if (codegen_->NeedsTwoRegisters(current->GetType())) { in ProcessInstruction() 328 current->AddHighInterval(); in ProcessInstruction() 339 if (safepoint_position == current->GetStart()) { in ProcessInstruction() 345 } else if (current->IsDeadAt(safepoint_position)) { in ProcessInstruction() 347 } else if (!current->Covers(safepoint_position)) { in ProcessInstruction() 351 current->AddSafepoint(safepoint); in ProcessInstruction() 353 current->ResetSearchCache(); in ProcessInstruction() [all …]
|
D | ssa_phi_elimination.cc | 89 HInstruction* current = block->GetFirstPhi(); in EliminateDeadPhis() local 92 while (current != nullptr) { in EliminateDeadPhis() 93 phi = current->AsPhi(); in EliminateDeadPhis() 94 next = current->GetNext(); in EliminateDeadPhis() 116 current = next; in EliminateDeadPhis() 180 HPhi* current = cycle_worklist[i]; in Run() local 181 DCHECK(!current->IsLoopHeaderPhi() || in Run() 182 current->GetBlock()->IsLoopPreHeaderFirstPredecessor()); in Run() 184 for (size_t j = 0; j < current->InputCount(); ++j) { in Run() 185 HInstruction* input = current->InputAt(j); in Run() [all …]
|
D | gvn.cc | 483 HInstruction* current = block->GetFirstInstruction(); in VisitBasicBlock() local 484 while (current != nullptr) { in VisitBasicBlock() 486 HInstruction* next = current->GetNext(); in VisitBasicBlock() 489 if (current->CanBeMoved()) { in VisitBasicBlock() 490 if (current->IsBinaryOperation() && current->AsBinaryOperation()->IsCommutative()) { in VisitBasicBlock() 493 current->AsBinaryOperation()->OrderInputs(); in VisitBasicBlock() 495 HInstruction* existing = set->Lookup(current); in VisitBasicBlock() 501 current->ReplaceWith(existing); in VisitBasicBlock() 502 current->GetBlock()->RemoveInstruction(current); in VisitBasicBlock() 504 set->Kill(current->GetSideEffects()); in VisitBasicBlock() [all …]
|
D | ssa_liveness_analysis.h | 446 size_t FirstIntersectionWith(LiveInterval* current) const { in FirstIntersectionWith() argument 449 DCHECK(GetStart() <= current->GetStart() || IsFixed()); in FirstIntersectionWith() 450 LiveRange* other_range = current->first_range_; in FirstIntersectionWith() 604 LiveRange* current = first_range_; in SplitAt() local 609 if (position >= current->GetEnd()) { in SplitAt() 611 previous = current; in SplitAt() 612 current = current->next_; in SplitAt() 613 } else if (position <= current->GetStart()) { in SplitAt() 618 DCHECK(current != first_range_); in SplitAt() 622 new_interval->first_range_ = current; in SplitAt() [all …]
|
D | nodes.cc | 71 HBasicBlock* current = worklist.back(); in FindBackEdges() local 72 uint32_t current_id = current->GetBlockId(); in FindBackEdges() 73 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges() 77 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges() 81 successor->AddBackEdge(current); in FindBackEdges() 245 HBasicBlock* current = worklist.back(); in ComputeDominanceInformation() local 246 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation() 247 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation() 250 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation() 251 UpdateDominatorOfSuccessor(current, successor); in ComputeDominanceInformation() [all …]
|
D | optimizing_unit_test.h | 68 HInstruction* current = it.Current(); in RemoveSuspendChecks() local 69 if (current->IsSuspendCheck()) { in RemoveSuspendChecks() 70 current->GetBlock()->RemoveInstruction(current); in RemoveSuspendChecks()
|
D | code_generator.cc | 142 bool CodeGenerator::GoesToNextBlock(HBasicBlock* current, HBasicBlock* next) const { in GoesToNextBlock() argument 143 DCHECK_EQ((*block_order_)[current_block_index_], current); in GoesToNextBlock() 234 HInstruction* current = it.Current(); in Compile() local 235 if (current->HasEnvironment()) { in Compile() 239 MaybeRecordNativeDebugInfo(current, block->GetDexPc()); in Compile() 241 DisassemblyScope disassembly_scope(current, *this); in Compile() 242 DCHECK(CheckTypeConsistency(current)); in Compile() 243 current->Accept(instruction_visitor); in Compile() 913 HInstruction* current = environment->GetInstructionAt(i); in EmitEnvironment() local 914 if (current == nullptr) { in EmitEnvironment() [all …]
|
D | inliner.cc | 1122 HInstruction* current = instructions.Current(); in TryBuildAndInlineHelper() local 1123 if (current->IsParameterValue()) { in TryBuildAndInlineHelper() 1126 current->ReplaceWith(callee_graph->GetNullConstant()); in TryBuildAndInlineHelper() 1128 current->ReplaceWith(callee_graph->GetIntConstant(argument->AsIntConstant()->GetValue())); in TryBuildAndInlineHelper() 1130 current->ReplaceWith(callee_graph->GetLongConstant(argument->AsLongConstant()->GetValue())); in TryBuildAndInlineHelper() 1132 current->ReplaceWith( in TryBuildAndInlineHelper() 1135 current->ReplaceWith( in TryBuildAndInlineHelper() 1138 current->SetReferenceTypeInfo(argument->GetReferenceTypeInfo()); in TryBuildAndInlineHelper() 1139 current->AsParameterValue()->SetCanBeNull(argument->CanBeNull()); in TryBuildAndInlineHelper() 1199 HInstruction* current = instr_it.Current(); in TryBuildAndInlineHelper() local [all …]
|
D | live_interval_test.cc | 169 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()
|
D | graph_checker.cc | 120 HInstruction* current = it.Current(); in VisitBasicBlock() local 122 if (!current->IsPhi()) { in VisitBasicBlock() 126 if (current->GetNext() == nullptr && current != block->GetLastPhi()) { in VisitBasicBlock() 130 current->GetId())); in VisitBasicBlock() 132 current->Accept(this); in VisitBasicBlock() 137 HInstruction* current = it.Current(); in VisitBasicBlock() local 139 if (current->IsPhi()) { in VisitBasicBlock() 143 if (current->GetNext() == nullptr && current != block->GetLastInstruction()) { in VisitBasicBlock() 147 current->GetId())); in VisitBasicBlock() 149 current->Accept(this); in VisitBasicBlock()
|
D | ssa_builder.cc | 426 for (auto current = env_uses.begin(), end = env_uses.end(); current != end; ++current) { in HasAliasInEnvironments() local 427 auto next = current; in HasAliasInEnvironments() 429 DCHECK(next->GetUser() != current->GetUser()); in HasAliasInEnvironments()
|
D | graph_visualizer.cc | 65 for (T* current = first_entry; current != nullptr; current = current->GetNext()) { in StringList() local 66 current->Dump(NewEntryStream()); in StringList()
|
D | register_allocator.h | 153 int FindAvailableRegister(size_t* next_use, LiveInterval* current) const;
|
/art/compiler/utils/ |
D | intrusive_forward_list.h | 281 for (iterator current = begin(); current != end(); ++current) { in remove_if() local 282 if (pred(*current)) { in remove_if() 284 current = prev; in remove_if() 286 prev = current; in remove_if() 297 iterator current = prev; in unique() local 298 ++current; in unique() 299 for (; current != end(); ++current) { in unique() 300 if (pred(*prev, *current)) { in unique() 302 current = prev; in unique() 304 prev = current; in unique() [all …]
|
/art/runtime/ |
D | profiler.cc | 520 StackTrieNode* current = stack_trie_root_; in PutStack() local 522 current->IncreaseCount(); in PutStack() 538 StackTrieNode* child = current->FindChild(method_ref, dex_pc); in PutStack() 540 current = child; in PutStack() 547 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current); in PutStack() 548 current->AppendChild(new_node); in PutStack() 549 current = new_node; in PutStack() 553 if (current != stack_trie_root_ && current->GetCount() == 0) { in PutStack() 558 MethodReference method = current->GetMethod(); in PutStack() 562 node_set->insert(current); in PutStack() [all …]
|
D | reference_table.cc | 217 mirror::Object* current = root.Read<kWithoutReadBarrier>(); in Dump() local 220 if (current == prev) { in Dump() 223 } else if (current->GetClass() == prev->GetClass() && in Dump() 224 GetElementCount(current) == element_count) { in Dump() 234 prev = current; in Dump()
|
D | compiler_filter.h | 73 static bool IsAsGoodAs(Filter current, Filter target);
|
D | compiler_filter.cc | 133 bool CompilerFilter::IsAsGoodAs(Filter current, Filter target) { in IsAsGoodAs() argument 134 return current >= target; in IsAsGoodAs()
|
D | oat_file_assistant.cc | 140 CompilerFilter::Filter current = oat_file->GetCompilerFilter(); in OatFileCompilerFilterIsOkay() local 141 return CompilerFilter::IsAsGoodAs(current, target); in OatFileCompilerFilterIsOkay() 149 CompilerFilter::Filter current = odex_file->GetCompilerFilter(); in OdexFileCompilerFilterIsOkay() local 150 return CompilerFilter::IsAsGoodAs(current, target); in OdexFileCompilerFilterIsOkay()
|
/art/test/081-hot-exceptions/ |
D | info.txt | 3 cause a control flow change to deviate from the current method.
|
/art/imgdiag/ |
D | imgdiag.cc | 512 const uint8_t* current = begin_image_ptr + RoundUp(sizeof(ImageHeader), kObjectAlignment); in DumpImageDiffMap() local 513 while (reinterpret_cast<uintptr_t>(current) < reinterpret_cast<uintptr_t>(end_image_ptr)) { in DumpImageDiffMap() 514 CHECK_ALIGNED(current, kObjectAlignment); in DumpImageDiffMap() 515 mirror::Object* obj = reinterpret_cast<mirror::Object*>(const_cast<uint8_t*>(current)); in DumpImageDiffMap() 529 object_address = reinterpret_cast<uintptr_t>(current); in DumpImageDiffMap() 544 ptrdiff_t offset = current - begin_image_ptr; in DumpImageDiffMap() 549 bool different_image_object = memcmp(current, current_remote, obj->SizeOf()) != 0; in DumpImageDiffMap() 554 different_zygote_object = memcmp(current, zygote_ptr, obj->SizeOf()) != 0; in DumpImageDiffMap() 572 if (current[i] != current_remote[i]) { in DumpImageDiffMap() 591 if (current[i] != current_remote[i]) { in DumpImageDiffMap() [all …]
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 598 lw $\reg, -4($\next_arg) # next_arg points to argument after the current one (offset is 4) 604 lw $\reg1, -8($\next_arg) # next_arg points to argument after the current one (offset is 8) 611 lwc1 $\reg, -4($\next_arg) # next_arg points to argument after the current one (offset is 4) 617 LDu $\reg1, $\reg2, -8, $\next_arg, $\tmp # next_arg points to argument after the current one 664 addiu $t0, $sp, 8 # t0 = pointer to the current argument (skip ArtMethod* and this*) 687 LOAD_WORD_TO_REG a2, t0, t3, loop # a2 = current argument, gpr_index++ 690 LOAD_WORD_TO_REG a3, t0, t3, loop # a3 = current argument, gpr_index++ 789 addiu $t0, $sp, 4 # t0 = pointer to the current argument (skip ArtMethod*) 812 LOAD_WORD_TO_REG a1, t0, t3, loopS # a1 = current argument, gpr_index++ 815 LOAD_WORD_TO_REG a2, t0, t3, loopS # a2 = current argument, gpr_index++ [all …]
|
/art/runtime/mirror/ |
D | class-inl.h | 457 Class* current = this; in IsSubClass() local 459 if (current == klass) { in IsSubClass() 462 current = current->GetSuperClass(); in IsSubClass() 463 } while (current != nullptr); in IsSubClass()
|
/art/runtime/gc/space/ |
D | image_space.cc | 599 uint8_t* current = Begin() + RoundUp(sizeof(ImageHeader), kObjectAlignment); in VerifyImageAllocations() local 600 while (current < End()) { in VerifyImageAllocations() 601 CHECK_ALIGNED(current, kObjectAlignment); in VerifyImageAllocations() 602 auto* obj = reinterpret_cast<mirror::Object*>(current); in VerifyImageAllocations() 608 current += RoundUp(obj->SizeOf(), kObjectAlignment); in VerifyImageAllocations()
|