Searched refs:if_block (Results 1 – 7 of 7) sorted by relevance
38 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in CreateIfBlock() local39 graph->AddBlock(if_block); in CreateIfBlock()42 if_block->AddInstruction(equal); in CreateIfBlock()44 if_block->AddInstruction(instr); in CreateIfBlock()45 return if_block; in CreateIfBlock()84 HBasicBlock* if_block = CreateIfBlock(graph); in TEST_F() local89 entry_block->AddSuccessor(if_block); in TEST_F()90 if_block->AddSuccessor(if_true); in TEST_F()92 if_block->AddSuccessor(return_block); in TEST_F()95 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST_F()[all …]
39 HBasicBlock* if_block = AddNewBlock(); in ConstructBasicGraphForSelect() local43 entry_block_->ReplaceSuccessor(return_block_, if_block); in ConstructBasicGraphForSelect()45 if_block->AddSuccessor(then_block); in ConstructBasicGraphForSelect()46 if_block->AddSuccessor(else_block); in ConstructBasicGraphForSelect()57 if_block->AddInstruction(new (GetAllocator()) HIf(bool_param)); in ConstructBasicGraphForSelect()
269 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local273 graph_->AddBlock(if_block); in TEST_F()278 entry_block_->ReplaceSuccessor(header, if_block); in TEST_F()279 if_block->AddSuccessor(preheader0); in TEST_F()280 if_block->AddSuccessor(preheader1); in TEST_F()284 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()
424 HBasicBlock* if_block = AddNewBlock(); in TEST_F() local426 header->ReplaceSuccessor(latch, if_block); in TEST_F()427 if_block->AddSuccessor(latch); in TEST_F()428 if_block->AddSuccessor(temp1); in TEST_F()431 if_block->AddInstruction(new (GetAllocator()) HIf(parameters_[0])); in TEST_F()
2971 HBasicBlock* if_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local2975 AddBlock(if_block); in TransformLoopHeaderForBCE()2984 old_pre_header->AddSuccessor(if_block); in TransformLoopHeaderForBCE()2985 if_block->AddSuccessor(true_block); // True successor in TransformLoopHeaderForBCE()2986 if_block->AddSuccessor(false_block); // False successor in TransformLoopHeaderForBCE()2990 old_pre_header->dominated_blocks_.push_back(if_block); in TransformLoopHeaderForBCE()2991 if_block->SetDominator(old_pre_header); in TransformLoopHeaderForBCE()2992 if_block->dominated_blocks_.push_back(true_block); in TransformLoopHeaderForBCE()2993 true_block->SetDominator(if_block); in TransformLoopHeaderForBCE()2994 if_block->dominated_blocks_.push_back(false_block); in TransformLoopHeaderForBCE()[all …]
1913 HBasicBlock* if_block = new_preheader->GetDominator(); in TransformLoopForDeoptimizationIfNeeded() local1914 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded()1915 HBasicBlock* false_block = if_block->GetSuccessors()[1]; // False successor. in TransformLoopForDeoptimizationIfNeeded()1924 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); // placeholder in TransformLoopForDeoptimizationIfNeeded()1926 header->GetLastInstruction(), GetGraph(), if_block); in TransformLoopForDeoptimizationIfNeeded()1928 if_block->RemoveInstruction(if_block->GetLastInstruction()); in TransformLoopForDeoptimizationIfNeeded()1929 if_block->AddInstruction(new (GetGraph()->GetAllocator()) HIf(condition)); in TransformLoopForDeoptimizationIfNeeded()