Lines Matching refs:allocator
31 ArenaAllocator allocator(&pool);
33 HGraph* graph = CreateGraph(&allocator);
34 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
37 HInstruction* parameter = new (&allocator) HParameterValue(
40 entry->AddInstruction(new (&allocator) HGoto());
42 HBasicBlock* first_block = new (&allocator) HBasicBlock(graph);
45 HInstruction* null_check = new (&allocator) HNullCheck(parameter, 0);
47 first_block->AddInstruction(new (&allocator) HReturnVoid());
49 HBasicBlock* exit_block = new (&allocator) HBasicBlock(graph);
52 exit_block->AddInstruction(new (&allocator) HExit());
54 HEnvironment* environment = new (&allocator) HEnvironment(
55 &allocator, 1, graph->GetDexFile(), graph->GetMethodIdx(), 0, kStatic, null_check);
74 ArenaAllocator allocator(&pool);
76 HGraph* graph = CreateGraph(&allocator);
77 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
80 HInstruction* parameter1 = new (&allocator) HParameterValue(
82 HInstruction* parameter2 = new (&allocator) HParameterValue(
86 entry->AddInstruction(new (&allocator) HExit());
90 HInstruction* to_insert = new (&allocator) HNullCheck(parameter1, 0);
102 ArenaAllocator allocator(&pool);
104 HGraph* graph = CreateGraph(&allocator);
105 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
108 HInstruction* parameter = new (&allocator) HParameterValue(
114 HInstruction* to_add = new (&allocator) HNullCheck(parameter, 0);
123 ArenaAllocator allocator(&pool);
125 HGraph* graph = CreateGraph(&allocator);
126 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
129 HInstruction* parameter1 = new (&allocator) HParameterValue(
131 HInstruction* with_environment = new (&allocator) HNullCheck(parameter1, 0);
134 entry->AddInstruction(new (&allocator) HExit());
139 HEnvironment* environment = new (&allocator) HEnvironment(
140 &allocator, 1, graph->GetDexFile(), graph->GetMethodIdx(), 0, kStatic, with_environment);
141 ArenaVector<HInstruction*> array(allocator.Adapter());
150 HEnvironment* parent1 = new (&allocator) HEnvironment(
151 &allocator, 1, graph->GetDexFile(), graph->GetMethodIdx(), 0, kStatic, nullptr);
156 HEnvironment* parent2 = new (&allocator) HEnvironment(
157 &allocator, 1, graph->GetDexFile(), graph->GetMethodIdx(), 0, kStatic, nullptr);
159 parent1->SetAndCopyParentChain(&allocator, parent2);
165 environment->SetAndCopyParentChain(&allocator, parent1);