Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dselect_generator.cc109 HBasicBlock* true_block = if_instruction->IfTrueSuccessor(); in Run() local
111 DCHECK_NE(true_block, false_block); in Run()
113 if (!IsSimpleBlock(true_block) || in Run()
115 !BlocksMergeTogether(true_block, false_block)) { in Run()
118 HBasicBlock* merge_block = true_block->GetSingleSuccessor(); in Run()
123 while (!true_block->IsSingleGoto() && !true_block->IsSingleReturn()) { in Run()
124 HInstruction* instr = true_block->GetFirstInstruction(); in Run()
133 DCHECK(true_block->IsSingleGoto() || true_block->IsSingleReturn()); in Run()
137 size_t predecessor_index_true = merge_block->GetPredecessorIndexOf(true_block); in Run()
141 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.cc1790 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded() local
1794 true_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); in TransformLoopForDeoptimizationIfNeeded()
1807 taken_test_loop_.Put(loop_id, true_block); in TransformLoopForDeoptimizationIfNeeded()
1827 HBasicBlock* true_block = entry.second; in InsertPhiNodes() local
1828 HBasicBlock* new_preheader = true_block->GetSingleSuccessor(); in InsertPhiNodes()
1830 for (HInstructionIterator it(true_block->GetInstructions()); !it.Done(); it.Advance()) { in InsertPhiNodes()
1841 if (user->GetBlock() != true_block) { in InsertPhiNodes()
1856 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()