Home
last modified time | relevance | path

Searched refs:OpBranchConditional (Results 1 - 25 of 98) sorted by relevance

1234

/third_party/spirv-tools/test/fuzz/
H A Dtransformation_adjust_branch_weights_test.cpp80 OpBranchConditional %33 %20 %21 1 2 in TEST()
93 OpBranchConditional %103 %104 %105 in TEST()
109 // Tests OpBranchConditional instruction with weights. in TEST()
111 MakeInstructionDescriptor(33, spv::Op::OpBranchConditional, 0); in TEST()
119 MakeInstructionDescriptor(33, spv::Op::OpBranchConditional, 0); in TEST()
130 MakeInstructionDescriptor(33, spv::Op::OpBranchConditional, 0); in TEST()
137 MakeInstructionDescriptor(33, spv::Op::OpBranchConditional, 0); in TEST()
146 // Tests OpBranchConditional instruction with no weights. in TEST()
148 MakeInstructionDescriptor(21, spv::Op::OpBranchConditional, 0); in TEST()
154 // Tests non-OpBranchConditional instruction in TEST()
[all...]
H A Dtransformation_swap_conditional_branch_operands_test.cpp51 OpBranchConditional %15 %16 %21 10 20 in TEST()
90 MakeInstructionDescriptor(15, spv::Op::OpBranchConditional, 0), 25) in TEST()
94 MakeInstructionDescriptor(15, spv::Op::OpBranchConditional, 0), 26); in TEST()
114 if (inst->opcode() == spv::Op::OpBranchConditional) { in TEST()
147 OpBranchConditional %26 %21 %16 20 10 in TEST()
H A Dtransformation_split_block_test.cpp76 OpBranchConditional %18 %11 %12 in TEST()
138 MakeInstructionDescriptor(18, spv::Op::OpBranchConditional, 1), 100) in TEST()
407 OpBranchConditional %14 %15 %18 in TEST()
429 MakeInstructionDescriptor(14, spv::Op::OpBranchConditional, 0), 100) in TEST()
433 MakeInstructionDescriptor(12, spv::Op::OpBranchConditional, 0), 100) in TEST()
476 OpBranchConditional %14 %15 %18 in TEST()
671 OpBranchConditional %18 %11 %12 in TEST()
811 OpBranchConditional %7 %8 %9 in TEST()
854 OpBranchConditional %7 %8 %9 in TEST()
/third_party/spirv-tools/test/val/
H A Dval_cfg_test.cpp90 case spv::Op::OpBranchConditional: in operator std::string()
91 out << "OpBranchConditional %cond "; in operator std::string()
139 if (lhs.type_ == spv::Op::OpBranchConditional) { in operator >>()
257 OpBranchConditional %false %loop %exit in TEST_P()
271 Block loop("loop", spv::Op::OpBranchConditional); in TEST_P()
342 Block loop("loop", spv::Op::OpBranchConditional); in TEST_P()
367 Block branch("branch", spv::Op::OpBranchConditional); in TEST_P()
396 Block selection("selection", spv::Op::OpBranchConditional); in TEST_P()
431 Block loop("loop", spv::Op::OpBranchConditional); in TEST_P()
432 Block selection("selection", spv::Op::OpBranchConditional); in TEST_P()
[all...]
/third_party/spirv-tools/source/val/
H A Dvalidate_adjacency.cpp83 case spv::Op::OpBranchConditional: in ValidateAdjacency()
88 << "OpBranch or OpBranchConditional instruction. " in ValidateAdjacency()
98 case spv::Op::OpBranchConditional: in ValidateAdjacency()
104 << "OpBranchConditional or OpSwitch instruction. " in ValidateAdjacency()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_adjust_branch_weights.cpp33 // For all OpBranchConditional instructions, in Apply()
36 if (instruction->opcode() == spv::Op::OpBranchConditional && in Apply()
H A Dfuzzer_pass_swap_conditional_branch_operands.cpp42 if (inst.opcode() != spv::Op::OpBranchConditional) { in Apply()
H A Dtransformation_duplicate_region_with_selection.cpp434 case spv::Op::OpBranchConditional: in Apply()
547 ir_context, spv::Op::OpBranchConditional, 0, 0, in Apply()
589 case spv::Op::OpBranchConditional: in Apply()
600 "OpSwitch, OpBranch, OpBranchConditional, " in Apply()
609 case spv::Op::OpBranchConditional: { in Apply()
H A Dtransformation_adjust_branch_weights.cpp57 // Must be an OpBranchConditional instruction. in IsApplicable()
58 if (opcode != spv::Op::OpBranchConditional) { in IsApplicable()
H A Dtransformation_add_function.cpp552 // OpBranchConditional %c %loop_header %loop_merge in TryToAddLoopLimiters()
558 // OpBranchConditional %c %loop_merge %loop_header in TryToAddLoopLimiters()
570 // OpBranchConditional %t3 %loop_merge %loop_header in TryToAddLoopLimiters()
581 // OpBranchConditional %t4 %loop_header %loop_merge in TryToAddLoopLimiters()
592 // OpBranchConditional %t4 %loop_merge %loop_header in TryToAddLoopLimiters()
601 spv::Op::OpBranchConditional); in TryToAddLoopLimiters()
657 if (back_edge_block_terminator->opcode() == spv::Op::OpBranchConditional) { in TryToAddLoopLimiters()
679 if (back_edge_block_terminator->opcode() == spv::Op::OpBranchConditional) { in TryToAddLoopLimiters()
684 "Back-edge terminator must be OpBranch or OpBranchConditional"); in TryToAddLoopLimiters()
711 // Add the new edge, by changing OpBranch to OpBranchConditional in TryToAddLoopLimiters()
[all...]
H A Dtransformation_swap_conditional_branch_operands.cpp41 inst->opcode() == spv::Op::OpBranchConditional; in IsApplicable()
58 // There might be a merge instruction before OpBranchConditional. in Apply()
67 // OpBranchConditional. in Apply()
72 // We are swapping the labels in OpBranchConditional. This means that we must in Apply()
84 // Update OpBranchConditional condition operand. in Apply()
H A Dtransformation_wrap_region_in_selection.cpp45 // in the OpBranchConditional instruction. in IsApplicable()
62 // Change |entry_block|'s terminator to |OpBranchConditional|. in Apply()
63 new_header_block->terminator()->SetOpcode(spv::Op::OpBranchConditional); in Apply()
H A Dfuzzer_pass_flatten_conditional_branches.cpp52 block.terminator()->opcode() == spv::Op::OpBranchConditional && in Apply()
H A Dtransformation_add_dead_block.cpp145 existing_block->terminator()->SetOpcode(spv::Op::OpBranchConditional); in Apply()
H A Dtransformation_replace_opselect_with_conditional_branch.cpp163 ir_context, spv::Op::OpBranchConditional, 0, 0, in Apply()
H A Dtransformation_add_loop_to_create_int_constant_synonym.cpp332 ir_context, spv::Op::OpBranchConditional, 0, 0, in Apply()
395 instruction->opcode() == spv::Op::OpBranchConditional || in Apply()
/third_party/spirv-tools/source/reduce/
H A Dsimple_conditional_branch_to_branch_opportunity_finder.cpp32 // The terminator must be spv::Op::OpBranchConditional. in GetAvailableOpportunities()
34 if (terminator->opcode() != spv::Op::OpBranchConditional) { in GetAvailableOpportunities()
H A Dsimple_conditional_branch_to_branch_reduction_opportunity.cpp35 spv::Op::OpBranchConditional && in Apply()
46 // OpBranchConditional %condition %block_id %block_id ... in Apply()
H A Dstructured_loop_to_selection_reduction_opportunity.cpp134 } else if (terminator->opcode() == spv::Op::OpBranchConditional) { in RedirectEdge()
189 // The loop header either finishes with OpBranch or OpBranchConditional. in ChangeLoopToSelection()
191 // it into OpBranchConditional. We use "true" as the condition, and make in ChangeLoopToSelection()
203 terminator->SetOpcode(spv::Op::OpBranchConditional); in ChangeLoopToSelection()
H A Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp39 // The terminator must be spv::Op::OpBranchConditional. in GetAvailableOpportunities()
41 if (terminator->opcode() != spv::Op::OpBranchConditional) { in GetAvailableOpportunities()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderInstructions.cpp59 case spv::OpBranchConditional: in IsStatement()
/third_party/spirv-tools/source/opt/
H A Dbasic_block.cpp119 case spv::Op::OpBranchConditional: in WhileEachSuccessorLabel()
142 case spv::Op::OpBranchConditional: in ForEachSuccessorLabel()
H A Dcontrol_dependence.cpp49 assert((branch->opcode() == spv::Op::OpBranchConditional || in GetConditionID()
H A Dinvocation_interlock_placement_pass.cpp51 case spv::Op::OpBranchConditional: in hasSingleNextBlock()
310 assert(block->tail()->opcode() == spv::Op::OpBranchConditional ||
/third_party/spirv-tools/tools/cfg/
H A Dbin_to_dot.cpp100 case spv::Op::OpBranchConditional: in HandleInstruction()

Completed in 37 milliseconds

1234