Lines Matching refs:GetAllocator
31 iva_(new (GetAllocator()) HInductionVarAnalysis(graph_)), in LoopOptimizationTest()
32 loop_opt_(new (GetAllocator()) HLoopOptimization(graph_, nullptr, iva_, nullptr)) { in LoopOptimizationTest()
41 entry_block_ = new (GetAllocator()) HBasicBlock(graph_); in BuildGraph()
42 return_block_ = new (GetAllocator()) HBasicBlock(graph_); in BuildGraph()
43 exit_block_ = new (GetAllocator()) HBasicBlock(graph_); in BuildGraph()
49 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in BuildGraph()
54 return_block_->AddInstruction(new (GetAllocator()) HReturnVoid()); in BuildGraph()
55 exit_block_->AddInstruction(new (GetAllocator()) HExit()); in BuildGraph()
62 HBasicBlock* header = new (GetAllocator()) HBasicBlock(graph_); in AddLoop()
63 HBasicBlock* body = new (GetAllocator()) HBasicBlock(graph_); in AddLoop()
70 header->AddInstruction(new (GetAllocator()) HIf(parameter_)); in AddLoop()
72 body->AddInstruction(new (GetAllocator()) HGoto()); in AddLoop()
201 HBasicBlock* header = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
202 HBasicBlock* body = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
215 header->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F()
216 body->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
218 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F()
219 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi, parameter_); in TEST_F()
245 new (GetAllocator()) HSuspendCheck(), header->GetLastInstruction()); in TEST_F()
248 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
249 HBasicBlock* preheader0 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
250 HBasicBlock* preheader1 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
263 if_block->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F()
264 preheader0->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
265 preheader1->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
275 HAdd* preheader0_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_0); in TEST_F()
277 HAdd* preheader1_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_1); in TEST_F()
280 HPhi* header_phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F()
283 HAdd* body_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_2); in TEST_F()