Searched refs:if_block (Results 1 – 7 of 7) sorted by relevance
37 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in CreateIfBlock() local38 graph->AddBlock(if_block); in CreateIfBlock()41 if_block->AddInstruction(equal); in CreateIfBlock()43 if_block->AddInstruction(instr); in CreateIfBlock()44 return if_block; in CreateIfBlock()83 HBasicBlock* if_block = CreateIfBlock(graph); in TEST_F() local88 entry_block->AddSuccessor(if_block); in TEST_F()89 if_block->AddSuccessor(if_true); in TEST_F()91 if_block->AddSuccessor(return_block); in TEST_F()94 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST_F()[all …]
30 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in ConstructBasicGraphForSelect() local34 graph_->AddBlock(if_block); in ConstructBasicGraphForSelect()38 entry_block_->ReplaceSuccessor(return_block_, if_block); in ConstructBasicGraphForSelect()40 if_block->AddSuccessor(then_block); in ConstructBasicGraphForSelect()41 if_block->AddSuccessor(else_block); in ConstructBasicGraphForSelect()52 if_block->AddInstruction(new (GetAllocator()) HIf(bool_param)); in ConstructBasicGraphForSelect()
252 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local256 graph_->AddBlock(if_block); in TEST_F()261 entry_block_->ReplaceSuccessor(header, if_block); in TEST_F()262 if_block->AddSuccessor(preheader0); in TEST_F()263 if_block->AddSuccessor(preheader1); in TEST_F()267 if_block->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F()
537 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local538 graph->AddBlock(if_block); in TEST_F()548 entry_block->AddSuccessor(if_block); in TEST_F()549 if_block->AddSuccessor(if_true_block); in TEST_F()550 if_block->AddSuccessor(if_false_block); in TEST_F()558 if_block->AddInstruction(&cmp_lt); in TEST_F()562 if_block->AddInstruction(&force_materialization); in TEST_F()564 if_block->AddInstruction(&if_lt); in TEST_F()
415 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local417 graph_->AddBlock(if_block); in TEST_F()419 header->ReplaceSuccessor(latch, if_block); in TEST_F()420 if_block->AddSuccessor(latch); in TEST_F()421 if_block->AddSuccessor(temp1); in TEST_F()424 if_block->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F()
2674 HBasicBlock* if_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local2678 AddBlock(if_block); in TransformLoopHeaderForBCE()2687 old_pre_header->AddSuccessor(if_block); in TransformLoopHeaderForBCE()2688 if_block->AddSuccessor(true_block); // True successor in TransformLoopHeaderForBCE()2689 if_block->AddSuccessor(false_block); // False successor in TransformLoopHeaderForBCE()2693 old_pre_header->dominated_blocks_.push_back(if_block); in TransformLoopHeaderForBCE()2694 if_block->SetDominator(old_pre_header); in TransformLoopHeaderForBCE()2695 if_block->dominated_blocks_.push_back(true_block); in TransformLoopHeaderForBCE()2696 true_block->SetDominator(if_block); in TransformLoopHeaderForBCE()2697 if_block->dominated_blocks_.push_back(false_block); in TransformLoopHeaderForBCE()[all …]
1789 HBasicBlock* if_block = new_preheader->GetDominator(); in TransformLoopForDeoptimizationIfNeeded() local1790 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded()1791 HBasicBlock* false_block = if_block->GetSuccessors()[1]; // False successor. in TransformLoopForDeoptimizationIfNeeded()1800 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); // placeholder in TransformLoopForDeoptimizationIfNeeded()1802 header->GetLastInstruction(), GetGraph(), if_block); in TransformLoopForDeoptimizationIfNeeded()1804 if_block->RemoveInstruction(if_block->GetLastInstruction()); in TransformLoopForDeoptimizationIfNeeded()1805 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HIf(condition)); in TransformLoopForDeoptimizationIfNeeded()