Searched refs:true_block (Results 1 – 5 of 5) sorted by relevance
94 HBasicBlock* true_block = if_instruction->IfTrueSuccessor(); in TryGenerateSelectSimpleDiamondPattern() local96 DCHECK_NE(true_block, false_block); in TryGenerateSelectSimpleDiamondPattern()98 if (!IsSimpleBlock(true_block) || in TryGenerateSelectSimpleDiamondPattern()100 !BlocksMergeTogether(true_block, false_block)) { in TryGenerateSelectSimpleDiamondPattern()103 HBasicBlock* merge_block = true_block->GetSingleSuccessor(); in TryGenerateSelectSimpleDiamondPattern()108 while (!true_block->IsSingleGoto() && !true_block->IsSingleReturn()) { in TryGenerateSelectSimpleDiamondPattern()109 HInstruction* instr = true_block->GetFirstInstruction(); in TryGenerateSelectSimpleDiamondPattern()118 DCHECK(true_block->IsSingleGoto() || true_block->IsSingleReturn()); in TryGenerateSelectSimpleDiamondPattern()122 size_t predecessor_index_true = merge_block->GetPredecessorIndexOf(true_block); in TryGenerateSelectSimpleDiamondPattern()126 bool both_successors_return = true_block->IsSingleReturn() && false_block->IsSingleReturn(); in TryGenerateSelectSimpleDiamondPattern()[all …]
136 HBasicBlock* true_block = if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(); in TEST_F() local137 ASSERT_NE(true_block, return_block); in TEST_F()140 ASSERT_EQ(true_block->GetSuccessors()[0], return_block); in TEST_F()
788 HBasicBlock* true_block = if_instr->IfTrueSuccessor(); in RemoveEmptyIfs() local803 HBasicBlock* merge_true = true_block; in RemoveEmptyIfs()834 block->RemoveSuccessor(true_block); in RemoveEmptyIfs()836 true_block->RemovePredecessor(block); in RemoveEmptyIfs()
1914 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded() local1918 true_block->AddInstruction(new (GetGraph()->GetAllocator()) HGoto()); in TransformLoopForDeoptimizationIfNeeded()1931 taken_test_loop_.Put(loop_id, true_block); in TransformLoopForDeoptimizationIfNeeded()1951 HBasicBlock* true_block = entry.second; in InsertPhiNodes() local1952 HBasicBlock* new_preheader = true_block->GetSingleSuccessor(); in InsertPhiNodes()1954 for (HInstructionIterator it(true_block->GetInstructions()); !it.Done(); it.Advance()) { in InsertPhiNodes()1965 if (user->GetBlock() != true_block) { in InsertPhiNodes()1980 if (user->GetHolder()->GetBlock() != true_block) { in InsertPhiNodes()
2972 HBasicBlock* true_block = new (allocator_) HBasicBlock(this, header->GetDexPc()); in TransformLoopHeaderForBCE() local2976 AddBlock(true_block); in TransformLoopHeaderForBCE()2985 if_block->AddSuccessor(true_block); // True successor in TransformLoopHeaderForBCE()2987 true_block->AddSuccessor(new_pre_header); in TransformLoopHeaderForBCE()2992 if_block->dominated_blocks_.push_back(true_block); in TransformLoopHeaderForBCE()2993 true_block->SetDominator(if_block); in TransformLoopHeaderForBCE()3005 reverse_post_order_[index_of_header++] = true_block; in TransformLoopHeaderForBCE()3015 true_block, old_pre_header, /* replace_if_back_edge= */ false); in TransformLoopHeaderForBCE()