Lines Matching refs:allocator

30   ArenaAllocator allocator(&pool);
33 HGraph* graph = CreateGraph(&allocator);
34 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
37 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(),
43 HBasicBlock* block = new (&allocator) HBasicBlock(graph);
47 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
56 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
66 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
77 block->AddInstruction(new (&allocator) HInstanceFieldSet(parameter,
87 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
97 block->AddInstruction(new (&allocator) HExit());
115 ArenaAllocator allocator(&pool);
118 HGraph* graph = CreateGraph(&allocator);
119 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
122 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(),
128 HBasicBlock* block = new (&allocator) HBasicBlock(graph);
131 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
141 block->AddInstruction(new (&allocator) HIf(block->GetLastInstruction()));
142 HBasicBlock* then = new (&allocator) HBasicBlock(graph);
143 HBasicBlock* else_ = new (&allocator) HBasicBlock(graph);
144 HBasicBlock* join = new (&allocator) HBasicBlock(graph);
154 then->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
163 then->AddInstruction(new (&allocator) HGoto());
164 else_->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
173 else_->AddInstruction(new (&allocator) HGoto());
174 join->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
183 join->AddInstruction(new (&allocator) HExit());
198 ArenaAllocator allocator(&pool);
201 HGraph* graph = CreateGraph(&allocator);
202 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
206 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(),
212 HBasicBlock* block = new (&allocator) HBasicBlock(graph);
215 block->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
224 block->AddInstruction(new (&allocator) HGoto());
226 HBasicBlock* loop_header = new (&allocator) HBasicBlock(graph);
227 HBasicBlock* loop_body = new (&allocator) HBasicBlock(graph);
228 HBasicBlock* exit = new (&allocator) HBasicBlock(graph);
238 loop_header->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
248 loop_header->AddInstruction(new (&allocator) HIf(block->GetLastInstruction()));
252 loop_body->AddInstruction(new (&allocator) HInstanceFieldSet(parameter,
263 loop_body->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
273 loop_body->AddInstruction(new (&allocator) HGoto());
275 exit->AddInstruction(new (&allocator) HInstanceFieldGet(parameter,
285 exit->AddInstruction(new (&allocator) HExit());
321 ArenaAllocator allocator(&pool);
326 HGraph* graph = CreateGraph(&allocator);
327 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
331 HBasicBlock* outer_loop_header = new (&allocator) HBasicBlock(graph);
332 HBasicBlock* outer_loop_body = new (&allocator) HBasicBlock(graph);
333 HBasicBlock* outer_loop_exit = new (&allocator) HBasicBlock(graph);
334 HBasicBlock* inner_loop_header = new (&allocator) HBasicBlock(graph);
335 HBasicBlock* inner_loop_body = new (&allocator) HBasicBlock(graph);
336 HBasicBlock* inner_loop_exit = new (&allocator) HBasicBlock(graph);
354 HInstruction* parameter = new (&allocator) HParameterValue(graph->GetDexFile(),
359 entry->AddInstruction(new (&allocator) HGoto());
360 outer_loop_header->AddInstruction(new (&allocator) HSuspendCheck());
361 outer_loop_header->AddInstruction(new (&allocator) HIf(parameter));
362 outer_loop_body->AddInstruction(new (&allocator) HGoto());
363 inner_loop_header->AddInstruction(new (&allocator) HSuspendCheck());
364 inner_loop_header->AddInstruction(new (&allocator) HIf(parameter));
365 inner_loop_body->AddInstruction(new (&allocator) HGoto());
366 inner_loop_exit->AddInstruction(new (&allocator) HGoto());
367 outer_loop_exit->AddInstruction(new (&allocator) HExit());
377 entry->AddInstruction(new (&allocator) HInstanceFieldSet(parameter,
402 new (&allocator) HInstanceFieldSet(parameter,
428 new (&allocator) HInstanceFieldSet(parameter,