Home
last modified time | relevance | path

Searched refs:if_block (Results 1 – 7 of 7) sorted by relevance

/art/compiler/optimizing/
Dgraph_test.cc38 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in CreateIfBlock() local
39 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() local
89 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 …]
Dselect_generator_test.cc39 HBasicBlock* if_block = AddNewBlock(); in ConstructBasicGraphForSelect() local
43 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()
Dloop_optimization_test.cc269 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local
273 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()
Dcodegen_test.cc533 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
534 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()
Dsuperblock_cloner_test.cc424 HBasicBlock* if_block = AddNewBlock(); in TEST_F() local
426 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()
Dnodes.cc2971 HBasicBlock* if_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local
2975 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 …]
Dbounds_check_elimination.cc1913 HBasicBlock* if_block = new_preheader->GetDominator(); in TransformLoopForDeoptimizationIfNeeded() local
1914 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()