Home
last modified time | relevance | path

Searched refs:div_check (Results 1 – 1 of 1) sorted by relevance

/art/compiler/optimizing/
Dscheduler_test.cc104 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()
[all …]