Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgraph_test.cc213 HBasicBlock* loop_block = CreateGotoBlock(graph); in TEST_F() local
218 first_if_block->AddSuccessor(loop_block); in TEST_F()
219 loop_block->AddSuccessor(loop_block); in TEST_F()
220 if_block->AddSuccessor(loop_block); in TEST_F()
224 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), loop_block); in TEST_F()
234 ASSERT_EQ(loop_block->GetPredecessors().size(), 2u); in TEST_F()
239 loop_block->GetLoopInformation()->GetPreHeader()); in TEST_F()
249 HBasicBlock* loop_block = CreateGotoBlock(graph); in TEST_F() local
254 first_if_block->AddSuccessor(loop_block); in TEST_F()
255 loop_block->AddSuccessor(loop_block); in TEST_F()
[all …]
Dblock_builder.cc430 HBasicBlock* loop_block = new (allocator_) HBasicBlock(graph_, block->GetDexPc()); in InsertSynthesizedLoopsForOsr() local
431 graph_->AddBlock(loop_block); in InsertSynthesizedLoopsForOsr()
433 block->GetPredecessors()[0]->ReplaceSuccessor(block, loop_block); in InsertSynthesizedLoopsForOsr()
435 loop_block->AddSuccessor(loop_block); in InsertSynthesizedLoopsForOsr()
436 loop_block->AddSuccessor(block); in InsertSynthesizedLoopsForOsr()
439 loop_block->AddInstruction(new (allocator_) HIf(graph_->GetIntConstant(0), kNoDexPc)); in InsertSynthesizedLoopsForOsr()
Dinduction_var_analysis.cc267 HBasicBlock* loop_block = it_loop.Current(); in VisitLoop() local
268 DCHECK(loop_block->IsInLoop()); in VisitLoop()
269 if (loop_block->GetLoopInformation() != loop) { in VisitLoop()
273 for (HInstructionIterator it(loop_block->GetPhis()); !it.Done(); it.Advance()) { in VisitLoop()
279 for (HInstructionIterator it(loop_block->GetInstructions()); !it.Done(); it.Advance()) { in VisitLoop()
Dgraph_checker.cc758 HBasicBlock* loop_block = GetGraph()->GetBlocks()[i]; in HandleLoop() local
759 if (loop_block == nullptr) { in HandleLoop()
763 } else if (!loop_information->IsIrreducible() && !loop_header->Dominates(loop_block)) { in HandleLoop()