Searched refs:visited_blocks (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_from_ssa.c | 938 nir_ssa_def *def, nir_block *block, struct set *visited_blocks) in place_phi_read() argument 941 if (_mesa_set_search(visited_blocks, block) == NULL) { in place_phi_read() 958 _mesa_set_add(visited_blocks, block); in place_phi_read() 961 place_phi_read(b, reg, def, (nir_block *)entry->key, visited_blocks); in place_phi_read() 990 struct set *visited_blocks = _mesa_set_create(NULL, _mesa_hash_pointer, in nir_lower_phis_to_regs_block() local 1010 _mesa_set_add(visited_blocks, src->src.ssa->parent_instr->block); in nir_lower_phis_to_regs_block() 1011 place_phi_read(&b, reg, src->src.ssa, src->pred, visited_blocks); in nir_lower_phis_to_regs_block() 1012 _mesa_set_clear(visited_blocks, NULL); in nir_lower_phis_to_regs_block() 1020 _mesa_set_destroy(visited_blocks, NULL); in nir_lower_phis_to_regs_block()
|
/third_party/spirv-tools/source/opt/ |
D | mem_pass.cpp | 418 std::unordered_set<BasicBlock*> visited_blocks; in RemoveUnreachableBlocks() local 425 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 428 if (visited_blocks.count(successor) == 0) { in RemoveUnreachableBlocks() 431 visited_blocks.insert(successor); in RemoveUnreachableBlocks()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | mem_pass.cpp | 417 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/ |
D | mem_pass.cpp | 417 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()
|