/third_party/spirv-tools/source/opt/ |
D | mem_pass.cpp | 331 Instruction* phi, const std::unordered_set<BasicBlock*>& reachable_blocks) { in RemovePhiOperands() argument 353 if (reachable_blocks.find(in_block) == reachable_blocks.end()) { in RemovePhiOperands() 365 reachable_blocks.find(def_block) == reachable_blocks.end()) { in RemovePhiOperands() 416 std::unordered_set<BasicBlock*> reachable_blocks; in RemoveUnreachableBlocks() local 419 reachable_blocks.insert(func->entry().get()); in RemoveUnreachableBlocks() 424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 428 reachable_blocks.insert(successor); in RemoveUnreachableBlocks() 451 if (reachable_blocks.count(&block) == 0) { in RemoveUnreachableBlocks() 458 block.ForEachPhiInst([&reachable_blocks, this](Instruction* phi) { in RemoveUnreachableBlocks() 459 RemovePhiOperands(phi, reachable_blocks); in RemoveUnreachableBlocks() [all …]
|
D | mem_pass.h | 155 const std::unordered_set<BasicBlock*>& reachable_blocks);
|
D | merge_return_pass.cpp | 853 utils::BitVector reachable_blocks; in HasNontrivialUnreachableBlocks() local 856 [&reachable_blocks](BasicBlock* bb) { reachable_blocks.Set(bb->id()); }); in HasNontrivialUnreachableBlocks() 859 if (reachable_blocks.Get(bb.id())) { in HasNontrivialUnreachableBlocks()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | mem_pass.cpp | 331 Instruction* phi, const std::unordered_set<BasicBlock*>& reachable_blocks) { in RemovePhiOperands() argument 353 if (reachable_blocks.find(in_block) == reachable_blocks.end()) { in RemovePhiOperands() 365 reachable_blocks.find(def_block) == reachable_blocks.end()) { in RemovePhiOperands() 416 std::unordered_set<BasicBlock*> reachable_blocks; in RemoveUnreachableBlocks() local 419 reachable_blocks.insert(func->entry().get()); in RemoveUnreachableBlocks() 424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 428 reachable_blocks.insert(successor); in RemoveUnreachableBlocks() 451 if (reachable_blocks.count(&block) == 0) { in RemoveUnreachableBlocks() 458 block.ForEachPhiInst([&reachable_blocks, this](Instruction* phi) { in RemoveUnreachableBlocks() 459 RemovePhiOperands(phi, reachable_blocks); in RemoveUnreachableBlocks() [all …]
|
D | mem_pass.h | 155 const std::unordered_set<BasicBlock*>& reachable_blocks);
|
D | merge_return_pass.cpp | 852 utils::BitVector reachable_blocks; in HasNontrivialUnreachableBlocks() local 855 [&reachable_blocks](BasicBlock* bb) { reachable_blocks.Set(bb->id()); }); in HasNontrivialUnreachableBlocks() 858 if (reachable_blocks.Get(bb.id())) { in HasNontrivialUnreachableBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | mem_pass.cpp | 331 Instruction* phi, const std::unordered_set<BasicBlock*>& reachable_blocks) { in RemovePhiOperands() argument 353 if (reachable_blocks.find(in_block) == reachable_blocks.end()) { in RemovePhiOperands() 365 reachable_blocks.find(def_block) == reachable_blocks.end()) { in RemovePhiOperands() 416 std::unordered_set<BasicBlock*> reachable_blocks; in RemoveUnreachableBlocks() local 419 reachable_blocks.insert(func->entry().get()); in RemoveUnreachableBlocks() 424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 428 reachable_blocks.insert(successor); in RemoveUnreachableBlocks() 451 if (reachable_blocks.count(&block) == 0) { in RemoveUnreachableBlocks() 458 block.ForEachPhiInst([&reachable_blocks, this](Instruction* phi) { in RemoveUnreachableBlocks() 459 RemovePhiOperands(phi, reachable_blocks); in RemoveUnreachableBlocks() [all …]
|
D | mem_pass.h | 155 const std::unordered_set<BasicBlock*>& reachable_blocks);
|
D | merge_return_pass.cpp | 852 utils::BitVector reachable_blocks; in HasNontrivialUnreachableBlocks() local 855 [&reachable_blocks](BasicBlock* bb) { reachable_blocks.Set(bb->id()); }); in HasNontrivialUnreachableBlocks() 858 if (reachable_blocks.Get(bb.id())) { in HasNontrivialUnreachableBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_propagate_instructions_down.cpp | 33 std::vector<const opt::BasicBlock*> reachable_blocks; in Apply() local 36 reachable_blocks.push_back(&block); in Apply() 40 for (const auto* block : reachable_blocks) { in Apply()
|
D | fuzzer_pass.cpp | 115 std::vector<opt::BasicBlock*> reachable_blocks; in ForEachInstructionWithInstructionDescriptor() local 119 reachable_blocks.push_back(&block); in ForEachInstructionWithInstructionDescriptor() 123 for (auto* block : reachable_blocks) { in ForEachInstructionWithInstructionDescriptor()
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_pass_propagate_instructions_down.cpp | 33 std::vector<const opt::BasicBlock*> reachable_blocks; in Apply() local 36 reachable_blocks.push_back(&block); in Apply() 40 for (const auto* block : reachable_blocks) { in Apply()
|
D | fuzzer_pass.cpp | 115 std::vector<opt::BasicBlock*> reachable_blocks; in ForEachInstructionWithInstructionDescriptor() local 119 reachable_blocks.push_back(&block); in ForEachInstructionWithInstructionDescriptor() 123 for (auto* block : reachable_blocks) { in ForEachInstructionWithInstructionDescriptor()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_pass_propagate_instructions_down.cpp | 33 std::vector<const opt::BasicBlock*> reachable_blocks; in Apply() local 36 reachable_blocks.push_back(&block); in Apply() 40 for (const auto* block : reachable_blocks) { in Apply()
|
D | fuzzer_pass.cpp | 115 std::vector<opt::BasicBlock*> reachable_blocks; in ForEachInstructionWithInstructionDescriptor() local 119 reachable_blocks.push_back(&block); in ForEachInstructionWithInstructionDescriptor() 123 for (auto* block : reachable_blocks) { in ForEachInstructionWithInstructionDescriptor()
|