Lines Matching refs:allocator
30 HGraph* CreateSimpleCFG(ArenaAllocator* allocator) {
31 HGraph* graph = CreateGraph(allocator);
32 HBasicBlock* entry_block = new (allocator) HBasicBlock(graph);
33 entry_block->AddInstruction(new (allocator) HReturnVoid());
36 HBasicBlock* exit_block = new (allocator) HBasicBlock(graph);
37 exit_block->AddInstruction(new (allocator) HExit());
47 ArenaAllocator allocator(&pool);
48 HGraph* graph = CreateCFG(&allocator, data);
97 ArenaAllocator allocator(&pool);
99 HGraph* graph = CreateSimpleCFG(&allocator);
115 ArenaAllocator allocator(&pool);
117 HGraph* graph = CreateSimpleCFG(&allocator);