Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgraph_test.cc214 HBasicBlock* loop_block = CreateGotoBlock(graph); in TEST_F() local
219 first_if_block->AddSuccessor(loop_block); in TEST_F()
220 loop_block->AddSuccessor(loop_block); in TEST_F()
221 if_block->AddSuccessor(loop_block); in TEST_F()
225 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), loop_block); in TEST_F()
235 ASSERT_EQ(loop_block->GetPredecessors().size(), 2u); in TEST_F()
240 loop_block->GetLoopInformation()->GetPreHeader()); in TEST_F()
250 HBasicBlock* loop_block = CreateGotoBlock(graph); in TEST_F() local
255 first_if_block->AddSuccessor(loop_block); in TEST_F()
256 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.cc255 HBasicBlock* loop_block = it_loop.Current(); in VisitLoop() local
256 DCHECK(loop_block->IsInLoop()); in VisitLoop()
257 if (loop_block->GetLoopInformation() != loop) { in VisitLoop()
261 for (HInstructionIterator it(loop_block->GetPhis()); !it.Done(); it.Advance()) { in VisitLoop()
264 for (HInstructionIterator it(loop_block->GetInstructions()); !it.Done(); it.Advance()) { in VisitLoop()
Dgraph_checker.cc925 HBasicBlock* loop_block = GetGraph()->GetBlocks()[i]; in HandleLoop() local
926 if (loop_block == nullptr) { in HandleLoop()
930 } else if (!loop_information->IsIrreducible() && !loop_header->Dominates(loop_block)) { in HandleLoop()