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 …]
38 HBasicBlock* if_block = AddNewBlock(); in ConstructBasicGraphForSelect() local42 entry_block_->ReplaceSuccessor(return_block_, if_block); in ConstructBasicGraphForSelect()44 if_block->AddSuccessor(then_block); in ConstructBasicGraphForSelect()45 if_block->AddSuccessor(else_block); in ConstructBasicGraphForSelect()56 if_block->AddInstruction(new (GetAllocator()) HIf(bool_param)); in ConstructBasicGraphForSelect()
271 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local275 graph_->AddBlock(if_block); in TEST_F()280 entry_block_->ReplaceSuccessor(header, if_block); in TEST_F()281 if_block->AddSuccessor(preheader0); in TEST_F()282 if_block->AddSuccessor(preheader1); in TEST_F()286 if_block->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F()
533 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local534 graph->AddBlock(if_block); in TEST_F()544 entry_block->AddSuccessor(if_block); in TEST_F()545 if_block->AddSuccessor(if_true_block); in TEST_F()546 if_block->AddSuccessor(if_false_block); in TEST_F()554 if_block->AddInstruction(&cmp_lt); in TEST_F()558 if_block->AddInstruction(&force_materialization); in TEST_F()560 if_block->AddInstruction(&if_lt); in TEST_F()
423 HBasicBlock* if_block = AddNewBlock(); in TEST_F() local425 header->ReplaceSuccessor(latch, if_block); in TEST_F()426 if_block->AddSuccessor(latch); in TEST_F()427 if_block->AddSuccessor(temp1); in TEST_F()430 if_block->AddInstruction(new (GetAllocator()) HIf(parameters_[0])); 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 …]
1890 HBasicBlock* if_block = new_preheader->GetDominator(); in TransformLoopForDeoptimizationIfNeeded() local1891 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded()1892 HBasicBlock* false_block = if_block->GetSuccessors()[1]; // False successor. in TransformLoopForDeoptimizationIfNeeded()1901 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); // placeholder in TransformLoopForDeoptimizationIfNeeded()1903 header->GetLastInstruction(), GetGraph(), if_block); in TransformLoopForDeoptimizationIfNeeded()1905 if_block->RemoveInstruction(if_block->GetLastInstruction()); in TransformLoopForDeoptimizationIfNeeded()1906 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HIf(condition)); in TransformLoopForDeoptimizationIfNeeded()