Lines Matching refs:block

48   HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph);  in CreateGotoBlock()  local
49 graph->AddBlock(block); in CreateGotoBlock()
51 block->AddInstruction(got); in CreateGotoBlock()
52 return block; in CreateGotoBlock()
56 HBasicBlock* block = CreateGotoBlock(graph); in CreateEntryBlock() local
57 graph->SetEntryBlock(block); in CreateEntryBlock()
58 return block; in CreateEntryBlock()
62 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in CreateReturnBlock() local
63 graph->AddBlock(block); in CreateReturnBlock()
65 block->AddInstruction(return_instr); in CreateReturnBlock()
66 return block; in CreateReturnBlock()
70 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in CreateExitBlock() local
71 graph->AddBlock(block); in CreateExitBlock()
73 block->AddInstruction(exit_instr); in CreateExitBlock()
74 return block; in CreateExitBlock()
279 HBasicBlock* block = CreateGotoBlock(graph); in TEST_F() local
280 HInstruction* got = block->GetLastInstruction(); in TEST_F()
285 block->InsertInstructionBefore(first_instruction, got); in TEST_F()
288 ASSERT_EQ(first_instruction->GetBlock(), block); in TEST_F()
289 ASSERT_EQ(block->GetFirstInstruction(), first_instruction); in TEST_F()
290 ASSERT_EQ(block->GetLastInstruction(), got); in TEST_F()
298 block->InsertInstructionBefore(second_instruction, got); in TEST_F()
301 ASSERT_EQ(second_instruction->GetBlock(), block); in TEST_F()
302 ASSERT_EQ(block->GetFirstInstruction(), first_instruction); in TEST_F()
303 ASSERT_EQ(block->GetLastInstruction(), got); in TEST_F()