Lines Matching refs:block

40   HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph);  in TEST_F()  local
41 graph->AddBlock(block); in TEST_F()
42 entry->AddSuccessor(block); in TEST_F()
44 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
53 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
62 HInstruction* to_remove = block->GetLastInstruction(); in TEST_F()
63 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
72 HInstruction* different_offset = block->GetLastInstruction(); in TEST_F()
74 block->AddInstruction(new (GetAllocator()) HInstanceFieldSet(parameter, in TEST_F()
84 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
93 HInstruction* use_after_kill = block->GetLastInstruction(); in TEST_F()
94 block->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
96 ASSERT_EQ(to_remove->GetBlock(), block); in TEST_F()
97 ASSERT_EQ(different_offset->GetBlock(), block); in TEST_F()
98 ASSERT_EQ(use_after_kill->GetBlock(), block); in TEST_F()
106 ASSERT_EQ(different_offset->GetBlock(), block); in TEST_F()
107 ASSERT_EQ(use_after_kill->GetBlock(), block); in TEST_F()
121 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
122 graph->AddBlock(block); in TEST_F()
123 entry->AddSuccessor(block); in TEST_F()
124 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
134 block->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()
142 block->AddSuccessor(then); in TEST_F()
143 block->AddSuccessor(else_); in TEST_F()
201 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
202 graph->AddBlock(block); in TEST_F()
203 entry->AddSuccessor(block); in TEST_F()
204 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter, in TEST_F()
213 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
222 block->AddSuccessor(loop_header); in TEST_F()
237 loop_header->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()