Lines Matching refs:new_block
350 HBasicBlock* new_block = new (allocator_) HBasicBlock(this, successor->GetDexPc()); in SplitEdge() local
351 AddBlock(new_block); in SplitEdge()
354 new_block->InsertBetween(block, successor); in SplitEdge()
355 return new_block; in SplitEdge()
361 HBasicBlock* new_block = SplitEdge(block, successor); in SplitCriticalEdge() local
362 new_block->AddInstruction(new (allocator_) HGoto(successor->GetDexPc())); in SplitCriticalEdge()
368 info->AddBackEdge(new_block); in SplitCriticalEdge()
1841 HBasicBlock* new_block = in SplitBefore() local
1843 new_block->instructions_.first_instruction_ = cursor; in SplitBefore()
1844 new_block->instructions_.last_instruction_ = instructions_.last_instruction_; in SplitBefore()
1853 new_block->instructions_.SetBlockOfInstructions(new_block); in SplitBefore()
1854 AddInstruction(new (GetGraph()->GetAllocator()) HGoto(new_block->GetDexPc())); in SplitBefore()
1857 successor->predecessors_[successor->GetPredecessorIndexOf(this)] = new_block; in SplitBefore()
1859 new_block->successors_.swap(successors_); in SplitBefore()
1861 AddSuccessor(new_block); in SplitBefore()
1863 GetGraph()->AddBlock(new_block); in SplitBefore()
1864 return new_block; in SplitBefore()
1871 HBasicBlock* new_block = new (GetGraph()->GetAllocator()) HBasicBlock(GetGraph(), GetDexPc()); in CreateImmediateDominator() local
1874 predecessor->successors_[predecessor->GetSuccessorIndexOf(this)] = new_block; in CreateImmediateDominator()
1876 new_block->predecessors_.swap(predecessors_); in CreateImmediateDominator()
1878 AddPredecessor(new_block); in CreateImmediateDominator()
1880 GetGraph()->AddBlock(new_block); in CreateImmediateDominator()
1881 return new_block; in CreateImmediateDominator()
1887 HBasicBlock* new_block = in SplitBeforeForInlining() local
1889 new_block->instructions_.first_instruction_ = cursor; in SplitBeforeForInlining()
1890 new_block->instructions_.last_instruction_ = instructions_.last_instruction_; in SplitBeforeForInlining()
1899 new_block->instructions_.SetBlockOfInstructions(new_block); in SplitBeforeForInlining()
1902 successor->predecessors_[successor->GetPredecessorIndexOf(this)] = new_block; in SplitBeforeForInlining()
1904 new_block->successors_.swap(successors_); in SplitBeforeForInlining()
1908 dominated->dominator_ = new_block; in SplitBeforeForInlining()
1910 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitBeforeForInlining()
1912 return new_block; in SplitBeforeForInlining()
1920 HBasicBlock* new_block = new (GetGraph()->GetAllocator()) HBasicBlock(GetGraph(), GetDexPc()); in SplitAfterForInlining() local
1921 new_block->instructions_.first_instruction_ = cursor->GetNext(); in SplitAfterForInlining()
1922 new_block->instructions_.last_instruction_ = instructions_.last_instruction_; in SplitAfterForInlining()
1927 new_block->instructions_.SetBlockOfInstructions(new_block); in SplitAfterForInlining()
1929 successor->predecessors_[successor->GetPredecessorIndexOf(this)] = new_block; in SplitAfterForInlining()
1931 new_block->successors_.swap(successors_); in SplitAfterForInlining()
1935 dominated->dominator_ = new_block; in SplitAfterForInlining()
1937 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitAfterForInlining()
1939 return new_block; in SplitAfterForInlining()