Lines Matching refs:current
86 HBasicBlock* current = worklist.back(); in FindBackEdges() local
87 uint32_t current_id = current->GetBlockId(); in FindBackEdges()
88 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
92 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
96 successor->AddBackEdge(current); in FindBackEdges()
460 HBasicBlock* current = worklist.back(); in ComputeDominanceInformation() local
461 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation()
462 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
465 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
466 UpdateDominatorOfSuccessor(current, successor); in ComputeDominanceInformation()
1115 HBasicBlock* current = other; in Dominates() local
1116 while (current != nullptr) { in Dominates()
1117 if (current == this) { in Dominates()
1120 current = current->GetDominator(); in Dominates()
2325 HInstruction* current = first_instruction_; in CountSize() local
2326 for (; current != nullptr; current = current->GetNext()) { in CountSize()
2333 for (HInstruction* current = first_instruction_; in SetBlockOfInstructions() local
2334 current != nullptr; in SetBlockOfInstructions()
2335 current = current->GetNext()) { in SetBlockOfInstructions()
2336 current->SetBlock(block); in SetBlockOfInstructions()
2705 HInstruction* current = instr_it.Current(); in InlineInto() local
2706 if (current->NeedsEnvironment()) { in InlineInto()
2707 DCHECK(current->HasEnvironment()); in InlineInto()
2708 current->GetEnvironment()->SetAndCopyParentChain( in InlineInto()
2800 for (HBasicBlock* current : GetReversePostOrder()) { in InlineInto()
2801 if (current != exit_block_ && current != entry_block_ && current != first) { in InlineInto()
2802 DCHECK(current->GetTryCatchInformation() == nullptr); in InlineInto()
2803 DCHECK(current->GetGraph() == this); in InlineInto()
2804 current->SetGraph(outer_graph); in InlineInto()
2805 outer_graph->AddBlock(current); in InlineInto()
2806 outer_graph->reverse_post_order_[++index_of_at] = current; in InlineInto()
2807 UpdateLoopAndTryInformationOfNewBlock(current, at, /* replace_if_back_edge= */ false); in InlineInto()
2887 HInstruction* current = it.Current(); in InlineInto() local
2889 if (current->IsNullConstant()) { in InlineInto()
2890 replacement = outer_graph->GetNullConstant(current->GetDexPc()); in InlineInto()
2891 } else if (current->IsIntConstant()) { in InlineInto()
2893 current->AsIntConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2894 } else if (current->IsLongConstant()) { in InlineInto()
2896 current->AsLongConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2897 } else if (current->IsFloatConstant()) { in InlineInto()
2899 current->AsFloatConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2900 } else if (current->IsDoubleConstant()) { in InlineInto()
2902 current->AsDoubleConstant()->GetValue(), current->GetDexPc()); in InlineInto()
2903 } else if (current->IsParameterValue()) { in InlineInto()
2913 } else if (current->IsCurrentMethod()) { in InlineInto()
2916 DCHECK(current->IsGoto() || current->IsSuspendCheck()); in InlineInto()
2917 entry_block_->RemoveInstruction(current); in InlineInto()
2920 current->ReplaceWith(replacement); in InlineInto()
2922 if (current == return_value) { in InlineInto()
3140 HInstruction* current = this; in HasAnyEnvironmentUseBefore() local
3141 for (; current != other && current != nullptr; current = current->GetNext()) { in HasAnyEnvironmentUseBefore()
3144 if (current->HasEnvironment()) { in HasAnyEnvironmentUseBefore()
3151 DCHECK(current != nullptr); in HasAnyEnvironmentUseBefore()