Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dselect_generator.cc107 HBasicBlock* true_block = if_instruction->IfTrueSuccessor(); in Run() local
109 DCHECK_NE(true_block, false_block); in Run()
111 if (!IsSimpleBlock(true_block) || in Run()
113 !BlocksMergeTogether(true_block, false_block)) { in Run()
116 HBasicBlock* merge_block = true_block->GetSingleSuccessor(); in Run()
121 while (!true_block->IsSingleGoto() && !true_block->IsSingleReturn()) { in Run()
122 HInstruction* instr = true_block->GetFirstInstruction(); in Run()
131 DCHECK(true_block->IsSingleGoto() || true_block->IsSingleReturn()); in Run()
135 size_t predecessor_index_true = merge_block->GetPredecessorIndexOf(true_block); in Run()
139 bool both_successors_return = true_block->IsSingleReturn() && false_block->IsSingleReturn(); in Run()
[all …]
Dgraph_test.cc135 HBasicBlock* true_block = if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(); in TEST_F() local
136 ASSERT_NE(true_block, return_block); in TEST_F()
139 ASSERT_EQ(true_block->GetSuccessors()[0], return_block); in TEST_F()
Dbounds_check_elimination.cc1891 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded() local
1895 true_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); in TransformLoopForDeoptimizationIfNeeded()
1908 taken_test_loop_.Put(loop_id, true_block); in TransformLoopForDeoptimizationIfNeeded()
1928 HBasicBlock* true_block = entry.second; in InsertPhiNodes() local
1929 HBasicBlock* new_preheader = true_block->GetSingleSuccessor(); in InsertPhiNodes()
1931 for (HInstructionIterator it(true_block->GetInstructions()); !it.Done(); it.Advance()) { in InsertPhiNodes()
1942 if (user->GetBlock() != true_block) { in InsertPhiNodes()
1957 if (user->GetHolder()->GetBlock() != true_block) { in InsertPhiNodes()
Dnodes.cc2675 HBasicBlock* true_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local
2679 AddBlock(true_block); in TransformLoopHeaderForBCE()
2688 if_block->AddSuccessor(true_block); // True successor in TransformLoopHeaderForBCE()
2690 true_block->AddSuccessor(new_pre_header); in TransformLoopHeaderForBCE()
2695 if_block->dominated_blocks_.push_back(true_block); in TransformLoopHeaderForBCE()
2696 true_block->SetDominator(if_block); in TransformLoopHeaderForBCE()
2708 reverse_post_order_[index_of_header++] = true_block; in TransformLoopHeaderForBCE()
2718 true_block, old_pre_header, /* replace_if_back_edge= */ false); in TransformLoopHeaderForBCE()