Lines Matching refs:div_check
104 HInstruction* div_check = new (GetAllocator()) HDivZeroCheck(add2, 0); in TestBuildDependencyGraphAndSchedule() local
105 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule()
115 DCHECK(div_check->CanThrow()); in TestBuildDependencyGraphAndSchedule()
122 div_check, in TestBuildDependencyGraphAndSchedule()
136 div_check); in TestBuildDependencyGraphAndSchedule()
137 div_check->SetRawEnvironment(environment); in TestBuildDependencyGraphAndSchedule()
139 add2->AddEnvUseAt(div_check->GetEnvironment(), 0); in TestBuildDependencyGraphAndSchedule()
141 mul->AddEnvUseAt(div_check->GetEnvironment(), 1); in TestBuildDependencyGraphAndSchedule()
156 ASSERT_TRUE(scheduling_graph.HasImmediateDataDependency(div_check, add2)); in TestBuildDependencyGraphAndSchedule()
157 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(div_check, add1)); in TestBuildDependencyGraphAndSchedule()
158 ASSERT_TRUE(scheduling_graph.HasImmediateDataDependency(div, div_check)); in TestBuildDependencyGraphAndSchedule()
171 ASSERT_TRUE(scheduling_graph.HasImmediateOtherDependency(div_check, mul)); in TestBuildDependencyGraphAndSchedule()
172 ASSERT_FALSE(scheduling_graph.HasImmediateOtherDependency(mul, div_check)); in TestBuildDependencyGraphAndSchedule()
175 ASSERT_TRUE(scheduling_graph.HasImmediateOtherDependency(array_set1, div_check)); in TestBuildDependencyGraphAndSchedule()