Lines Matching refs:block
36 static bool IsSimpleBlock(HBasicBlock* block) { in IsSimpleBlock() argument
37 if (block->GetPredecessors().size() != 1u) { in IsSimpleBlock()
40 DCHECK(block->GetPhis().IsEmpty()); in IsSimpleBlock()
43 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in IsSimpleBlock()
69 static HPhi* GetSingleChangedPhi(HBasicBlock* block, size_t index1, size_t index2) { in GetSingleChangedPhi() argument
73 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in GetSingleChangedPhi()
92 for (HBasicBlock* block : graph_->GetPostOrder()) { in Run()
93 if (!block->EndsWithIf()) continue; in Run()
96 HIf* if_instruction = block->GetLastInstruction()->AsIf(); in Run()
153 block->InsertInstructionBefore(select, if_instruction); in Run()
168 DCHECK_EQ(block->GetSingleSuccessor(), false_block); in Run()
169 block->MergeWith(false_block); in Run()
172 DCHECK_EQ(block->GetSingleSuccessor(), merge_block); in Run()
173 block->MergeWith(merge_block); in Run()