Lines Matching refs:current
78 HBasicBlock* current = worklist.back(); in FindBackEdges() local
79 uint32_t current_id = current->GetBlockId(); in FindBackEdges()
80 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
84 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
88 successor->AddBackEdge(current); in FindBackEdges()
287 HBasicBlock* current = worklist.back(); in ComputeDominanceInformation() local
288 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation()
289 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
292 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
293 UpdateDominatorOfSuccessor(current, successor); in ComputeDominanceInformation()
942 HBasicBlock* current = other; in Dominates() local
943 while (current != nullptr) { in Dominates()
944 if (current == this) { in Dominates()
947 current = current->GetDominator(); in Dominates()
2053 HInstruction* current = first_instruction_; in CountSize() local
2054 for (; current != nullptr; current = current->GetNext()) { in CountSize()
2061 for (HInstruction* current = first_instruction_; in SetBlockOfInstructions() local
2062 current != nullptr; in SetBlockOfInstructions()
2063 current = current->GetNext()) { in SetBlockOfInstructions()
2064 current->SetBlock(block); in SetBlockOfInstructions()
2433 HInstruction* current = instr_it.Current(); in InlineInto() local
2434 if (current->NeedsEnvironment()) { in InlineInto()
2435 DCHECK(current->HasEnvironment()); in InlineInto()
2436 current->GetEnvironment()->SetAndCopyParentChain( in InlineInto()
2525 for (HBasicBlock* current : GetReversePostOrder()) { in InlineInto()
2526 if (current != exit_block_ && current != entry_block_ && current != first) { in InlineInto()
2527 DCHECK(current->GetTryCatchInformation() == nullptr); in InlineInto()
2528 DCHECK(current->GetGraph() == this); in InlineInto()
2529 current->SetGraph(outer_graph); in InlineInto()
2530 outer_graph->AddBlock(current); in InlineInto()
2531 outer_graph->reverse_post_order_[++index_of_at] = current; in InlineInto()
2532 UpdateLoopAndTryInformationOfNewBlock(current, at, /* replace_if_back_edge= */ false); in InlineInto()
2612 HInstruction* current = it.Current(); in InlineInto() local
2614 if (current->IsNullConstant()) { in InlineInto()
2615 replacement = outer_graph->GetNullConstant(current->GetDexPc()); in InlineInto()
2616 } else if (current->IsIntConstant()) { in InlineInto()
2618 current->AsIntConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2619 } else if (current->IsLongConstant()) { in InlineInto()
2621 current->AsLongConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2622 } else if (current->IsFloatConstant()) { in InlineInto()
2624 current->AsFloatConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2625 } else if (current->IsDoubleConstant()) { in InlineInto()
2627 current->AsDoubleConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2628 } else if (current->IsParameterValue()) { in InlineInto()
2638 } else if (current->IsCurrentMethod()) { in InlineInto()
2641 DCHECK(current->IsGoto() || current->IsSuspendCheck()); in InlineInto()
2642 entry_block_->RemoveInstruction(current); in InlineInto()
2645 current->ReplaceWith(replacement); in InlineInto()
2647 if (current == return_value) { in InlineInto()
2865 HInstruction* current = this; in HasAnyEnvironmentUseBefore() local
2866 for (; current != other && current != nullptr; current = current->GetNext()) { in HasAnyEnvironmentUseBefore()
2869 if (current->HasEnvironment()) { in HasAnyEnvironmentUseBefore()
2876 DCHECK(current != nullptr); in HasAnyEnvironmentUseBefore()