Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dload_store_elimination.cc168 HInstruction* load2 = removed_loads_[j]; in TryToReuseTypeConversion() local
170 if (load2 == nullptr) { in TryToReuseTypeConversion()
174 DCHECK(IsLoad(load2)); in TryToReuseTypeConversion()
177 load2->GetType() == load->GetType() && in TryToReuseTypeConversion()
178 type_conversion->GetBlock()->Dominates(load2->GetBlock()) && in TryToReuseTypeConversion()
181 (load2->GetBlock() == type_conversion->GetBlock() || in TryToReuseTypeConversion()
184 DCHECK(type_conversion->StrictlyDominates(load2)); in TryToReuseTypeConversion()
185 load2->ReplaceWith(type_conversion); in TryToReuseTypeConversion()
186 load2->GetBlock()->RemoveInstruction(load2); in TryToReuseTypeConversion()
Dload_store_elimination_test.cc282 HInstruction* load2 = AddArrayGet(entry_block_, array_, c2); in TEST_F() local
290 ASSERT_FALSE(IsRemoved(load2)); in TEST_F()
366 HInstruction* load2 = AddArrayGet(entry_block_, array_, i_); in TEST_F() local
395 ASSERT_FALSE(IsRemoved(load2)); in TEST_F()