Lines Matching refs:block

40   HBasicBlock* block = new (allocator) HBasicBlock(graph);  in createGotoBlock()  local
41 graph->AddBlock(block); in createGotoBlock()
43 block->AddInstruction(got); in createGotoBlock()
44 return block; in createGotoBlock()
48 HBasicBlock* block = createGotoBlock(graph, allocator); in createEntryBlock() local
49 graph->SetEntryBlock(block); in createEntryBlock()
50 return block; in createEntryBlock()
54 HBasicBlock* block = new (allocator) HBasicBlock(graph); in createReturnBlock() local
55 graph->AddBlock(block); in createReturnBlock()
57 block->AddInstruction(return_instr); in createReturnBlock()
58 return block; in createReturnBlock()
62 HBasicBlock* block = new (allocator) HBasicBlock(graph); in createExitBlock() local
63 graph->AddBlock(block); in createExitBlock()
65 block->AddInstruction(exit_instr); in createExitBlock()
66 return block; in createExitBlock()
292 HBasicBlock* block = createGotoBlock(graph, &allocator); in TEST() local
293 HInstruction* got = block->GetLastInstruction(); in TEST()
298 block->InsertInstructionBefore(first_instruction, got); in TEST()
301 ASSERT_EQ(first_instruction->GetBlock(), block); in TEST()
302 ASSERT_EQ(block->GetFirstInstruction(), first_instruction); in TEST()
303 ASSERT_EQ(block->GetLastInstruction(), got); in TEST()
311 block->InsertInstructionBefore(second_instruction, got); in TEST()
314 ASSERT_EQ(second_instruction->GetBlock(), block); in TEST()
315 ASSERT_EQ(block->GetFirstInstruction(), first_instruction); in TEST()
316 ASSERT_EQ(block->GetLastInstruction(), got); in TEST()