• Home
  • Raw
  • Download

Lines Matching refs:predecessor

565       HBasicBlock* predecessor = header->GetPredecessors()[pred];  in OrderLoopHeaderPredecessors()  local
566 if (!info->IsBackEdge(*predecessor)) { in OrderLoopHeaderPredecessors()
568 header->predecessors_[0] = predecessor; in OrderLoopHeaderPredecessors()
582 HBasicBlock* predecessor = header->GetPredecessors()[pred]; in FixControlForNewSinglePreheader() local
583 if (!loop_info->IsBackEdge(*predecessor) && predecessor != new_preheader) { in FixControlForNewSinglePreheader()
584 predecessor->ReplaceSuccessor(header, new_preheader); in FixControlForNewSinglePreheader()
637 HBasicBlock* predecessor = header->GetPredecessors()[pred]; in TransformLoopToSinglePreheaderFormat() local
638 if (!loop_info->IsBackEdge(*predecessor)) { in TransformLoopToSinglePreheaderFormat()
932 for (HBasicBlock* predecessor : block->GetPredecessors()) { in PopulateRecursive()
933 PopulateRecursive(predecessor); in PopulateRecursive()
969 for (HBasicBlock* predecessor : block->GetPredecessors()) { in PopulateIrreducibleRecursive()
970 PopulateIrreducibleRecursive(predecessor, finalized); in PopulateIrreducibleRecursive()
971 if (!is_finalized && blocks_.IsBitSet(predecessor->GetBlockId())) { in PopulateIrreducibleRecursive()
1534 HBasicBlock* predecessor = predecessors[index]; in ReplaceUsesDominatedBy() local
1535 if (dominator->GetBlock()->Dominates(predecessor)) { in ReplaceUsesDominatedBy()
2145 for (HBasicBlock* predecessor : GetPredecessors()) { in CreateImmediateDominator()
2146 predecessor->successors_[predecessor->GetSuccessorIndexOf(this)] = new_block; in CreateImmediateDominator()
2468 for (HBasicBlock* predecessor : predecessors_) { in DisconnectAndDelete()
2470 DCHECK(!IsInLoop() || !GetLoopInformation()->IsBackEdge(*predecessor)); in DisconnectAndDelete()
2472 HInstruction* last_instruction = predecessor->GetLastInstruction(); in DisconnectAndDelete()
2480 while (predecessor->GetSuccessors().size() > 1) { in DisconnectAndDelete()
2481 HBasicBlock* handler = predecessor->GetSuccessors()[1]; in DisconnectAndDelete()
2483 predecessor->RemoveSuccessor(handler); in DisconnectAndDelete()
2484 handler->RemovePredecessor(predecessor); in DisconnectAndDelete()
2488 predecessor->RemoveSuccessor(this); in DisconnectAndDelete()
2489 uint32_t num_pred_successors = predecessor->GetSuccessors().size(); in DisconnectAndDelete()
2497 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()
2498 predecessor->AddInstruction(new (graph_->GetAllocator()) HGoto(last_instruction->GetDexPc())); in DisconnectAndDelete()
2503 predecessor->RemoveInstruction(last_instruction); in DisconnectAndDelete()
2625 HBasicBlock* predecessor = GetPredecessors()[0]; in ReplaceWith() local
2626 predecessor->ReplaceSuccessor(this, other); in ReplaceWith()
2827 HBasicBlock* predecessor = to->GetPredecessors()[pred]; in InlineInto() local
2828 HInstruction* last = predecessor->GetLastInstruction(); in InlineInto()
2831 predecessor->ReplaceSuccessor(to, outer_graph->GetExitBlock()); in InlineInto()
2836 if (predecessor->GetLoopInformation() != nullptr) { in InlineInto()
2862 predecessor->AddInstruction(new (allocator) HGoto(last->GetDexPc())); in InlineInto()
2863 predecessor->RemoveInstruction(last); in InlineInto()