Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dnodes.cc394 HBasicBlock* new_block = new (allocator_) HBasicBlock(this, successor->GetDexPc()); in SplitEdge() local
395 AddBlock(new_block); in SplitEdge()
398 new_block->InsertBetween(block, successor); in SplitEdge()
399 return new_block; in SplitEdge()
405 HBasicBlock* new_block = SplitEdge(block, successor); in SplitCriticalEdge() local
406 new_block->AddInstruction(new (allocator_) HGoto(successor->GetDexPc())); in SplitCriticalEdge()
412 info->AddBackEdge(new_block); in SplitCriticalEdge()
418 HBasicBlock* new_block = SplitEdge(block, successor); in SplitEdgeAndUpdateRPO() local
422 reverse_post_order_.begin() + IndexOfElement(reverse_post_order_, block) + 1, new_block); in SplitEdgeAndUpdateRPO()
423 return new_block; in SplitEdgeAndUpdateRPO()
[all …]
Dcode_sinking.cc603 HBasicBlock* new_block = new (graph_->GetAllocator()) HBasicBlock(graph_, exit->GetDexPc()); in ReturnSinking() local
621 new_block->AddPhi(new_phi); in ReturnSinking()
626 pred->ReplaceSuccessor(exit, new_block); in ReturnSinking()
629 new_block->AddInstruction(new (graph_->GetAllocator()) HReturn(new_phi, exit->GetDexPc())); in ReturnSinking()
641 pred->ReplaceSuccessor(exit, new_block); in ReturnSinking()
644 new_block->AddInstruction(new (graph_->GetAllocator()) HReturnVoid(exit->GetDexPc())); in ReturnSinking()
647 new_block->AddSuccessor(exit); in ReturnSinking()
648 graph_->AddBlock(new_block); in ReturnSinking()
Ddead_code_elimination.cc296 HBasicBlock* new_block = block->SplitBefore(throwing_invoke->GetNext(), in SimplifyAlwaysThrows() local
298 DCHECK_EQ(block->GetSingleSuccessor(), new_block); in SimplifyAlwaysThrows()
299 block->ReplaceSuccessor(new_block, exit); in SimplifyAlwaysThrows()
Dnodes.h1203 void ReplaceDominatedBlock(HBasicBlock* existing, HBasicBlock* new_block) { in ReplaceDominatedBlock() argument
1204 ReplaceElement(dominated_blocks_, existing, new_block); in ReplaceDominatedBlock()
1227 void ReplaceSuccessor(HBasicBlock* existing, HBasicBlock* new_block) { in ReplaceSuccessor() argument
1230 new_block->predecessors_.push_back(this); in ReplaceSuccessor()
1231 successors_[successor_index] = new_block; in ReplaceSuccessor()
1234 void ReplacePredecessor(HBasicBlock* existing, HBasicBlock* new_block) { in ReplacePredecessor() argument
1237 new_block->successors_.push_back(this); in ReplacePredecessor()
1238 predecessors_[predecessor_index] = new_block; in ReplacePredecessor()