/third_party/spirv-tools/source/opt/ |
H A D | basic_block.cpp | 57 if (opcode == spv::Op::OpLoopMerge || opcode == spv::Op::OpSelectionMerge) { in GetMergeInst() 72 if (opcode == spv::Op::OpLoopMerge || opcode == spv::Op::OpSelectionMerge) { in GetMergeInst() 170 if (ii->opcode() == spv::Op::OpSelectionMerge || in ForMergeAndContinueLabel() 184 } else if (merge_ii->opcode() == spv::Op::OpSelectionMerge) { in MergeBlockIdIfAny()
|
H A D | aggressive_dead_code_elim_pass.cpp | 208 assert(mergeInst->opcode() == spv::Op::OpSelectionMerge || in AddBreaksAndContinuesToWorklist() 239 hdrMerge->opcode() == spv::Op::OpSelectionMerge) { in AddBreaksAndContinuesToWorklist() 283 if (inst->opcode() == spv::Op::OpSelectionMerge || in KillDeadInstructions() 498 inst->opcode() == spv::Op::OpSelectionMerge) { in MarkBlockAsLive() 554 case spv::Op::OpSelectionMerge: in InitializeWorkList()
|
H A D | if_conversion.cpp | 176 if (!merge || merge->opcode() != spv::Op::OpSelectionMerge) return false; in CheckBlock() 261 if ((insertion_pos)->PreviousNode()->opcode() == spv::Op::OpSelectionMerge) { in HoistInstruction()
|
H A D | licm_pass.cpp | 129 previous_node->opcode() == spv::Op::OpSelectionMerge)) { in HoistInstruction()
|
H A D | loop_fission.cpp | 115 inst.opcode() == spv::Op::OpSelectionMerge || in MovableInstruction() 144 // OpSelectionMerge by adding related instructions to the seen_instructions_ in TraverseUseDef() 217 if (inst.opcode() == spv::Op::OpSelectionMerge || inst.IsBranch()) { in GroupInstructionsByUseDef()
|
/third_party/spirv-tools/source/reduce/ |
H A D | simple_conditional_branch_to_branch_opportunity_finder.cpp | 40 block.GetMergeInst()->opcode() == spv::Op::OpSelectionMerge) { in GetAvailableOpportunities()
|
H A D | remove_selection_reduction_opportunity_finder.cpp | 57 if (merge_instruction->opcode() == spv::Op::OpSelectionMerge) { in GetAvailableOpportunities() 79 // The OpSelectionMerge instruction is needed if either of the following are in CanOpSelectionMergeBeRemoved()
|
H A D | remove_unused_instruction_reduction_opportunity_finder.cpp | 106 inst.opcode() == spv::Op::OpSelectionMerge || in GetAvailableOpportunities()
|
/third_party/spirv-tools/source/val/ |
H A D | construct.cpp | 167 use.first->opcode() == spv::Op::OpSelectionMerge) && in IsStructuredExit() 187 merge_inst->opcode() == spv::Op::OpSelectionMerge && in IsStructuredExit()
|
H A D | validate_adjacency.cpp | 94 case spv::Op::OpSelectionMerge: in ValidateAdjacency() 103 << "OpSelectionMerge must immediately precede either an " in ValidateAdjacency() 105 << "OpSelectionMerge must be the second-to-last " in ValidateAdjacency()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_adjust_selection_controls.cpp | 37 if (merge_inst->opcode() != spv::Op::OpSelectionMerge) { in Apply()
|
H A D | transformation_set_selection_control.cpp | 42 return merge_inst->opcode() == spv::Op::OpSelectionMerge; in IsApplicable() 45 // Either the block did not exit, or did not end with OpSelectionMerge. in IsApplicable()
|
H A D | transformation_split_block.cpp | 67 split_before->PreviousNode()->opcode() == spv::Op::OpSelectionMerge) { in IsApplicable()
|
H A D | transformation_wrap_region_in_selection.cpp | 71 // Insert OpSelectionMerge before the terminator. in Apply() 73 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
|
H A D | fuzzer_pass_flatten_conditional_branches.cpp | 51 block.GetMergeInst()->opcode() == spv::Op::OpSelectionMerge && in Apply()
|
H A D | transformation_add_dead_block.cpp | 135 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
|
H A D | transformation_replace_opselect_with_conditional_branch.cpp | 137 // Add an OpSelectionMerge instruction to the predecessor block, where the in Apply() 140 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
|
H A D | transformation_flatten_conditional_branch.cpp | 51 header_block->GetMergeInst()->opcode() != spv::Op::OpSelectionMerge) { in IsApplicable() 440 header->GetMergeInst()->opcode() == spv::Op::OpSelectionMerge && in GetProblematicInstructionsIfConditionalCanBeFlattened() 739 // Add an OpSelectionMerge instruction to the block. in EncloseInstructionInConditional() 741 ir_context, spv::Op::OpSelectionMerge, 0, 0, in EncloseInstructionInConditional()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_composite_insert_test.cpp | 87 OpSelectionMerge %33 None in TEST() 159 // OpSelectionMerge above it. in TEST() 354 OpSelectionMerge %34 None in TEST() 460 OpSelectionMerge %34 None in TEST() 571 OpSelectionMerge %34 None in TEST() 709 OpSelectionMerge %34 None in TEST() 850 OpSelectionMerge %15 None in TEST() 874 MakeInstructionDescriptor(13, spv::Op::OpSelectionMerge, 0), 100, 9, 17, in TEST() 888 MakeInstructionDescriptor(13, spv::Op::OpSelectionMerge, 0), 101, 9, 16, in TEST() 902 MakeInstructionDescriptor(13, spv::Op::OpSelectionMerge, in TEST() [all...] |
H A D | transformation_wrap_early_terminator_in_function_test.cpp | 48 OpSelectionMerge %11 None in TEST() 112 100, MakeInstructionDescriptor(5, spv::Op::OpSelectionMerge, 0), 0) in TEST() 168 OpSelectionMerge %11 None in TEST() 267 OpSelectionMerge %11 None in TEST()
|
H A D | transformation_split_block_test.cpp | 406 OpSelectionMerge %16 None in TEST() 437 MakeInstructionDescriptor(14, spv::Op::OpSelectionMerge, 0), 100); in TEST() 475 OpSelectionMerge %16 None in TEST() 532 OpSelectionMerge %14 None in TEST() 566 MakeInstructionDescriptor(9, spv::Op::OpSelectionMerge, 0), 100); in TEST() 599 OpSelectionMerge %14 None in TEST() 810 OpSelectionMerge %9 None in TEST() 853 OpSelectionMerge %9 None in TEST()
|
/third_party/spirv-tools/test/ |
H A D | text_to_binary.control_flow_test.cpp | 40 // Test OpSelectionMerge 46 const std::string input = "OpSelectionMerge %1 " + GetParam().name(); in TEST_P() 48 Eq(MakeInstruction(spv::Op::OpSelectionMerge, in TEST_P() 64 const std::string input = "OpSelectionMerge %1 Flatten|DontFlatten"; in TEST_F() 70 Eq(MakeInstruction(spv::Op::OpSelectionMerge, {1, expected_mask}))); in TEST_F() 75 EXPECT_THAT(CompileFailure("OpSelectionMerge %1 flatten|DontFlatten"), in TEST_F()
|
/third_party/spirv-tools/tools/cfg/ |
H A D | bin_to_dot.cpp | 122 case spv::Op::OpSelectionMerge: in HandleInstruction()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | ir_loader_test.cpp | 624 OpSelectionMerge %if_merge None in TEST() 780 OpSelectionMerge %if_merge None in TEST() 939 OpSelectionMerge %if_merge None in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | ir_loader_test.cpp | 624 OpSelectionMerge %if_merge None in TEST() 780 OpSelectionMerge %if_merge None in TEST() 939 OpSelectionMerge %if_merge None in TEST()
|