Home
last modified time | relevance | path

Searched refs:OpSelectionMerge (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/spirv-tools/source/opt/
H A Dbasic_block.cpp57 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 Daggressive_dead_code_elim_pass.cpp208 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 Dif_conversion.cpp176 if (!merge || merge->opcode() != spv::Op::OpSelectionMerge) return false; in CheckBlock()
261 if ((insertion_pos)->PreviousNode()->opcode() == spv::Op::OpSelectionMerge) { in HoistInstruction()
H A Dlicm_pass.cpp129 previous_node->opcode() == spv::Op::OpSelectionMerge)) { in HoistInstruction()
H A Dloop_fission.cpp115 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 Dsimple_conditional_branch_to_branch_opportunity_finder.cpp40 block.GetMergeInst()->opcode() == spv::Op::OpSelectionMerge) { in GetAvailableOpportunities()
H A Dremove_selection_reduction_opportunity_finder.cpp57 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 Dremove_unused_instruction_reduction_opportunity_finder.cpp106 inst.opcode() == spv::Op::OpSelectionMerge || in GetAvailableOpportunities()
/third_party/spirv-tools/source/val/
H A Dconstruct.cpp167 use.first->opcode() == spv::Op::OpSelectionMerge) && in IsStructuredExit()
187 merge_inst->opcode() == spv::Op::OpSelectionMerge && in IsStructuredExit()
H A Dvalidate_adjacency.cpp94 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 Dfuzzer_pass_adjust_selection_controls.cpp37 if (merge_inst->opcode() != spv::Op::OpSelectionMerge) { in Apply()
H A Dtransformation_set_selection_control.cpp42 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 Dtransformation_split_block.cpp67 split_before->PreviousNode()->opcode() == spv::Op::OpSelectionMerge) { in IsApplicable()
H A Dtransformation_wrap_region_in_selection.cpp71 // Insert OpSelectionMerge before the terminator. in Apply()
73 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
H A Dfuzzer_pass_flatten_conditional_branches.cpp51 block.GetMergeInst()->opcode() == spv::Op::OpSelectionMerge && in Apply()
H A Dtransformation_add_dead_block.cpp135 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
H A Dtransformation_replace_opselect_with_conditional_branch.cpp137 // Add an OpSelectionMerge instruction to the predecessor block, where the in Apply()
140 ir_context, spv::Op::OpSelectionMerge, 0, 0, in Apply()
H A Dtransformation_flatten_conditional_branch.cpp51 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 Dtransformation_composite_insert_test.cpp87 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 Dtransformation_wrap_early_terminator_in_function_test.cpp48 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 Dtransformation_split_block_test.cpp406 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 Dtext_to_binary.control_flow_test.cpp40 // 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 Dbin_to_dot.cpp122 case spv::Op::OpSelectionMerge: in HandleInstruction()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dir_loader_test.cpp624 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 Dir_loader_test.cpp624 OpSelectionMerge %if_merge None in TEST()
780 OpSelectionMerge %if_merge None in TEST()
939 OpSelectionMerge %if_merge None in TEST()

Completed in 16 milliseconds

1234