Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_from_ssa.c944 nir_ssa_def *def, nir_block *block, struct set *visited_blocks) in place_phi_read() argument
947 if (_mesa_set_search(visited_blocks, block) == NULL) { in place_phi_read()
964 _mesa_set_add(visited_blocks, block); in place_phi_read()
967 place_phi_read(b, reg, def, (nir_block *)entry->key, visited_blocks); in place_phi_read()
1011 struct set *visited_blocks = _mesa_set_create(NULL, _mesa_hash_pointer, in nir_lower_phis_to_regs_block() local
1031 _mesa_set_add(visited_blocks, src->src.ssa->parent_instr->block); in nir_lower_phis_to_regs_block()
1032 place_phi_read(&b, reg, src->src.ssa, src->pred, visited_blocks); in nir_lower_phis_to_regs_block()
1033 _mesa_set_clear(visited_blocks, NULL); in nir_lower_phis_to_regs_block()
1047 _mesa_set_destroy(visited_blocks, NULL); in nir_lower_phis_to_regs_block()
/third_party/spirv-tools/source/opt/
Dmem_pass.cpp417 std::unordered_set<BasicBlock*> visited_blocks; in RemoveUnreachableBlocks() local
424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks()
427 if (visited_blocks.count(successor) == 0) { in RemoveUnreachableBlocks()
430 visited_blocks.insert(successor); in RemoveUnreachableBlocks()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dmem_pass.cpp417 std::unordered_set<BasicBlock*> visited_blocks; in RemoveUnreachableBlocks() local
424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks()
427 if (visited_blocks.count(successor) == 0) { in RemoveUnreachableBlocks()
430 visited_blocks.insert(successor); in RemoveUnreachableBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmem_pass.cpp417 std::unordered_set<BasicBlock*> visited_blocks; in RemoveUnreachableBlocks() local
424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks()
427 if (visited_blocks.count(successor) == 0) { in RemoveUnreachableBlocks()
430 visited_blocks.insert(successor); in RemoveUnreachableBlocks()