Searched refs:true_block (Results 1 – 4 of 4) sorted by relevance
97 HBasicBlock* true_block = if_instruction->IfTrueSuccessor(); in Run() local99 DCHECK_NE(true_block, false_block); in Run()100 if (!IsSimpleBlock(true_block) || in Run()102 !BlocksMergeTogether(true_block, false_block)) { in Run()105 HBasicBlock* merge_block = true_block->GetSingleSuccessor(); in Run()110 if (!true_block->IsSingleGoto() && !true_block->IsSingleReturn()) { in Run()111 true_block->GetFirstInstruction()->MoveBefore(if_instruction); in Run()116 DCHECK(true_block->IsSingleGoto() || true_block->IsSingleReturn()); in Run()120 size_t predecessor_index_true = merge_block->GetPredecessorIndexOf(true_block); in Run()124 bool both_successors_return = true_block->IsSingleReturn() && false_block->IsSingleReturn(); in Run()[all …]
135 HBasicBlock* true_block = if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(); in TEST_F() local136 ASSERT_NE(true_block, return_block); in TEST_F()139 ASSERT_EQ(true_block->GetSuccessors()[0], return_block); in TEST_F()
1788 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded() local1792 true_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); in TransformLoopForDeoptimizationIfNeeded()1805 taken_test_loop_.Put(loop_id, true_block); in TransformLoopForDeoptimizationIfNeeded()1825 HBasicBlock* true_block = entry.second; in InsertPhiNodes() local1826 HBasicBlock* new_preheader = true_block->GetSingleSuccessor(); in InsertPhiNodes()1828 for (HInstructionIterator it(true_block->GetInstructions()); !it.Done(); it.Advance()) { in InsertPhiNodes()1839 if (user->GetBlock() != true_block) { in InsertPhiNodes()1854 if (user->GetHolder()->GetBlock() != true_block) { in InsertPhiNodes()
2629 HBasicBlock* true_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local2633 AddBlock(true_block); in TransformLoopHeaderForBCE()2642 if_block->AddSuccessor(true_block); // True successor in TransformLoopHeaderForBCE()2644 true_block->AddSuccessor(new_pre_header); in TransformLoopHeaderForBCE()2649 if_block->dominated_blocks_.push_back(true_block); in TransformLoopHeaderForBCE()2650 true_block->SetDominator(if_block); in TransformLoopHeaderForBCE()2662 reverse_post_order_[index_of_header++] = true_block; in TransformLoopHeaderForBCE()2672 true_block, old_pre_header, /* replace_if_back_edge */ false); in TransformLoopHeaderForBCE()