Lines Matching refs:HInstruction

95     HInstruction* array = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),  in TestBuildDependencyGraphAndSchedule()
99 HInstruction* c1 = graph_->GetIntConstant(1); in TestBuildDependencyGraphAndSchedule()
100 HInstruction* c2 = graph_->GetIntConstant(10); in TestBuildDependencyGraphAndSchedule()
101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
102 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule()
103 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule()
104 HInstruction* div_check = new (GetAllocator()) HDivZeroCheck(add2, 0); in TestBuildDependencyGraphAndSchedule()
105 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule()
106 HInstruction* array_get1 = in TestBuildDependencyGraphAndSchedule()
108 HInstruction* array_set1 = in TestBuildDependencyGraphAndSchedule()
110 HInstruction* array_get2 = in TestBuildDependencyGraphAndSchedule()
112 HInstruction* array_set2 = in TestBuildDependencyGraphAndSchedule()
119 HInstruction* block_instructions[] = {add1, in TestBuildDependencyGraphAndSchedule()
128 for (HInstruction* instr : block_instructions) { in TestBuildDependencyGraphAndSchedule()
145 for (HInstruction* instr : ReverseRange(block_instructions)) { in TestBuildDependencyGraphAndSchedule()
207 HInstruction* arr = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
211 HInstruction* i = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
215 HInstruction* j = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
219 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in TestDependencyGraphOnAliasingArrayAccesses()
223 HInstruction* c0 = graph_->GetIntConstant(0); in TestDependencyGraphOnAliasingArrayAccesses()
224 HInstruction* c1 = graph_->GetIntConstant(1); in TestDependencyGraphOnAliasingArrayAccesses()
225 HInstruction* add0 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c0); in TestDependencyGraphOnAliasingArrayAccesses()
226 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
227 HInstruction* sub0 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c0); in TestDependencyGraphOnAliasingArrayAccesses()
228 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
229 HInstruction* arr_set_0 = in TestDependencyGraphOnAliasingArrayAccesses()
231 HInstruction* arr_set_1 = in TestDependencyGraphOnAliasingArrayAccesses()
233 HInstruction* arr_set_i = new (GetAllocator()) HArraySet(arr, i, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
234 HInstruction* arr_set_add0 = in TestDependencyGraphOnAliasingArrayAccesses()
236 HInstruction* arr_set_add1 = in TestDependencyGraphOnAliasingArrayAccesses()
238 HInstruction* arr_set_sub0 = in TestDependencyGraphOnAliasingArrayAccesses()
240 HInstruction* arr_set_sub1 = in TestDependencyGraphOnAliasingArrayAccesses()
242 HInstruction* arr_set_j = new (GetAllocator()) HArraySet(arr, j, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
254 HInstruction* block_instructions[] = {arr, in TestDependencyGraphOnAliasingArrayAccesses()
272 for (HInstruction* instr : block_instructions) { in TestDependencyGraphOnAliasingArrayAccesses()
281 for (HInstruction* instr : ReverseRange(block_instructions)) { in TestDependencyGraphOnAliasingArrayAccesses()
359 bool HasImmediateDataDependency(const HInstruction* instruction, in HasImmediateDataDependency()
360 const HInstruction* other_instruction) const { in HasImmediateDataDependency()
373 bool HasImmediateOtherDependency(const HInstruction* instruction, in HasImmediateOtherDependency()
374 const HInstruction* other_instruction) const { in HasImmediateOtherDependency()