/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_adjust_branch_weights_test.cpp | 80 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 D | transformation_swap_conditional_branch_operands_test.cpp | 51 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 D | transformation_split_block_test.cpp | 76 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 D | val_cfg_test.cpp | 90 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 D | validate_adjacency.cpp | 83 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 D | fuzzer_pass_adjust_branch_weights.cpp | 33 // For all OpBranchConditional instructions, in Apply() 36 if (instruction->opcode() == spv::Op::OpBranchConditional && in Apply()
|
H A D | fuzzer_pass_swap_conditional_branch_operands.cpp | 42 if (inst.opcode() != spv::Op::OpBranchConditional) { in Apply()
|
H A D | transformation_duplicate_region_with_selection.cpp | 434 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 D | transformation_adjust_branch_weights.cpp | 57 // Must be an OpBranchConditional instruction. in IsApplicable() 58 if (opcode != spv::Op::OpBranchConditional) { in IsApplicable()
|
H A D | transformation_add_function.cpp | 552 // 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 D | transformation_swap_conditional_branch_operands.cpp | 41 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 D | transformation_wrap_region_in_selection.cpp | 45 // 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 D | fuzzer_pass_flatten_conditional_branches.cpp | 52 block.terminator()->opcode() == spv::Op::OpBranchConditional && in Apply()
|
H A D | transformation_add_dead_block.cpp | 145 existing_block->terminator()->SetOpcode(spv::Op::OpBranchConditional); in Apply()
|
H A D | transformation_replace_opselect_with_conditional_branch.cpp | 163 ir_context, spv::Op::OpBranchConditional, 0, 0, in Apply()
|
H A D | transformation_add_loop_to_create_int_constant_synonym.cpp | 332 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 D | simple_conditional_branch_to_branch_opportunity_finder.cpp | 32 // The terminator must be spv::Op::OpBranchConditional. in GetAvailableOpportunities() 34 if (terminator->opcode() != spv::Op::OpBranchConditional) { in GetAvailableOpportunities()
|
H A D | simple_conditional_branch_to_branch_reduction_opportunity.cpp | 35 spv::Op::OpBranchConditional && in Apply() 46 // OpBranchConditional %condition %block_id %block_id ... in Apply()
|
H A D | structured_loop_to_selection_reduction_opportunity.cpp | 134 } 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 D | conditional_branch_to_simple_conditional_branch_opportunity_finder.cpp | 39 // 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 D | SpirvShaderInstructions.cpp | 59 case spv::OpBranchConditional: in IsStatement()
|
/third_party/spirv-tools/source/opt/ |
H A D | basic_block.cpp | 119 case spv::Op::OpBranchConditional: in WhileEachSuccessorLabel() 142 case spv::Op::OpBranchConditional: in ForEachSuccessorLabel()
|
H A D | control_dependence.cpp | 49 assert((branch->opcode() == spv::Op::OpBranchConditional || in GetConditionID()
|
H A D | invocation_interlock_placement_pass.cpp | 51 case spv::Op::OpBranchConditional: in hasSingleNextBlock() 310 assert(block->tail()->opcode() == spv::Op::OpBranchConditional ||
|
/third_party/spirv-tools/tools/cfg/ |
H A D | bin_to_dot.cpp | 100 case spv::Op::OpBranchConditional: in HandleInstruction()
|