Lines Matching refs:HInstruction

96     HInstruction* array = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),  in TestBuildDependencyGraphAndSchedule()
100 HInstruction* c1 = graph_->GetIntConstant(1); in TestBuildDependencyGraphAndSchedule()
101 HInstruction* c2 = graph_->GetIntConstant(10); in TestBuildDependencyGraphAndSchedule()
102 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
103 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule()
104 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule()
105 HInstruction* div_check = new (GetAllocator()) HDivZeroCheck(add2, 0); in TestBuildDependencyGraphAndSchedule()
106 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule()
107 HInstruction* array_get1 = in TestBuildDependencyGraphAndSchedule()
109 HInstruction* array_set1 = in TestBuildDependencyGraphAndSchedule()
111 HInstruction* array_get2 = in TestBuildDependencyGraphAndSchedule()
113 HInstruction* array_set2 = in TestBuildDependencyGraphAndSchedule()
120 HInstruction* block_instructions[] = {add1, in TestBuildDependencyGraphAndSchedule()
129 for (HInstruction* instr : block_instructions) { in TestBuildDependencyGraphAndSchedule()
146 for (HInstruction* instr : ReverseRange(block_instructions)) { in TestBuildDependencyGraphAndSchedule()
208 HInstruction* arr = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
212 HInstruction* i = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
216 HInstruction* j = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
220 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
224 HInstruction* c0 = graph_->GetIntConstant(0); in TestDependencyGraphOnAliasingArrayAccesses()
225 HInstruction* c1 = graph_->GetIntConstant(1); in TestDependencyGraphOnAliasingArrayAccesses()
226 HInstruction* add0 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c0); in TestDependencyGraphOnAliasingArrayAccesses()
227 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
228 HInstruction* sub0 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c0); in TestDependencyGraphOnAliasingArrayAccesses()
229 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
230 HInstruction* arr_set_0 = in TestDependencyGraphOnAliasingArrayAccesses()
232 HInstruction* arr_set_1 = in TestDependencyGraphOnAliasingArrayAccesses()
234 HInstruction* arr_set_i = new (GetAllocator()) HArraySet(arr, i, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
235 HInstruction* arr_set_add0 = in TestDependencyGraphOnAliasingArrayAccesses()
237 HInstruction* arr_set_add1 = in TestDependencyGraphOnAliasingArrayAccesses()
239 HInstruction* arr_set_sub0 = in TestDependencyGraphOnAliasingArrayAccesses()
241 HInstruction* arr_set_sub1 = in TestDependencyGraphOnAliasingArrayAccesses()
243 HInstruction* arr_set_j = new (GetAllocator()) HArraySet(arr, j, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
255 HInstruction* block_instructions[] = {arr, in TestDependencyGraphOnAliasingArrayAccesses()
273 for (HInstruction* instr : block_instructions) { in TestDependencyGraphOnAliasingArrayAccesses()
282 for (HInstruction* instr : ReverseRange(block_instructions)) { in TestDependencyGraphOnAliasingArrayAccesses()
360 bool HasImmediateDataDependency(const HInstruction* instruction, in HasImmediateDataDependency()
361 const HInstruction* other_instruction) const { in HasImmediateDataDependency()
374 bool HasImmediateOtherDependency(const HInstruction* instruction, in HasImmediateOtherDependency()
375 const HInstruction* other_instruction) const { in HasImmediateOtherDependency()