Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp724 std::unordered_map<Loop*, Loop*> dead_loops; in CleanLoopNest() local
725 auto get_parent = [&dead_loops](Loop* l) -> Loop* { in CleanLoopNest()
726 std::unordered_map<Loop*, Loop*>::iterator it = dead_loops.find(l); in CleanLoopNest()
727 if (it != dead_loops.end()) return it->second; in CleanLoopNest()
737 dead_loops[loop] = loop->GetParent(); in CleanLoopNest()
739 dead_loops[loop] = loop; in CleanLoopNest()
752 dead_loops[&sub_loop] = get_parent(&sub_loop); in CleanLoopNest()
764 if (!is_main_loop_dead) dead_loops.erase(loop); in CleanLoopNest()
776 dead_loops.begin(), dead_loops.end(), in CleanLoopNest()