Home
last modified time | relevance | path

Searched refs:SpvOpBranch (Results 1 – 25 of 72) sorted by relevance

123

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dblock_merge_pass.cpp34 if (br->opcode() != SpvOpBranch) { in MergeBlocks()
72 if (succ_term_op != SpvOpBranch && in MergeBlocks()
Ddead_branch_elim_pass.cpp83 new Instruction(context(), SpvOpBranch, 0, 0, in AddBranch()
343 ebi->terminator()->opcode() != SpvOpBranch || in EraseDeadBlocks()
350 context(), SpvOpBranch, 0, 0, in EraseDeadBlocks()
525 case SpvOpBranch: in FindFirstExitFromSelectionMerge()
Dbasic_block.cpp113 case SpvOpBranch: { in ForEachSuccessorLabel()
133 case SpvOpBranch: { in ForEachSuccessorLabel()
Dworkaround1209.cpp52 new Instruction(context(), SpvOpBranch, 0, 0, in RemoveOpUnreachableInLoops()
Dreflect.h60 return opcode >= SpvOpBranch && opcode <= SpvOpUnreachable; in IsTerminatorInst()
Daggressive_dead_code_elim_pass.cpp244 new Instruction(context(), SpvOpBranch, 0, 0, in AddBranch()
295 } else if (op == SpvOpBranch) { in AddBreaksAndContinuesToWorklist()
386 case SpvOpBranch: in AggressiveDCE()
Dmerge_return_pass.cpp217 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()
631 block->tail()->SetOpcode(SpvOpBranch); in MergeReturnBlocks()
800 if (inst->opcode() != SpvOpBranch) { in HasNontrivialUnreachableBlocks()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dblock_merge_pass.cpp34 if (br->opcode() != SpvOpBranch) { in MergeBlocks()
72 if (succ_term_op != SpvOpBranch && in MergeBlocks()
Ddead_branch_elim_pass.cpp83 new Instruction(context(), SpvOpBranch, 0, 0, in AddBranch()
343 ebi->terminator()->opcode() != SpvOpBranch || in EraseDeadBlocks()
350 context(), SpvOpBranch, 0, 0, in EraseDeadBlocks()
525 case SpvOpBranch: in FindFirstExitFromSelectionMerge()
Dbasic_block.cpp113 case SpvOpBranch: { in ForEachSuccessorLabel()
133 case SpvOpBranch: { in ForEachSuccessorLabel()
Dworkaround1209.cpp52 new Instruction(context(), SpvOpBranch, 0, 0, in RemoveOpUnreachableInLoops()
Dreflect.h60 return opcode >= SpvOpBranch && opcode <= SpvOpUnreachable; in IsTerminatorInst()
Daggressive_dead_code_elim_pass.cpp244 new Instruction(context(), SpvOpBranch, 0, 0, in AddBranch()
295 } else if (op == SpvOpBranch) { in AddBreaksAndContinuesToWorklist()
386 case SpvOpBranch: in AggressiveDCE()
Dmerge_return_pass.cpp217 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()
615 block->tail()->SetOpcode(SpvOpBranch); in MergeReturnBlocks()
784 if (inst->opcode() != SpvOpBranch) { in HasNontrivialUnreachableBlocks()
/external/deqp-deps/SPIRV-Tools/test/opt/
Ddef_use_test.cpp1308 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSelectionMerge, SpvOpBranch, in TEST()
1309 SpvOpBranch, SpvOpBranch, in TEST()
1310 SpvOpBranch, SpvOpSwitch)); in TEST()
1384 Instruction branch(&context, SpvOpBranch, 0, 0, {{SPV_OPERAND_TYPE_ID, {2}}}); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddef_use_test.cpp1308 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSelectionMerge, SpvOpBranch, in TEST()
1309 SpvOpBranch, SpvOpBranch, in TEST()
1310 SpvOpBranch, SpvOpSwitch)); in TEST()
1384 Instruction branch(&context, SpvOpBranch, 0, 0, {{SPV_OPERAND_TYPE_ID, {2}}}); in TEST()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp187 case SpvOpBranch: // fall through in writeOpCode()
1741 this->writeInstruction(SpvOpBranch, end, out); in getLValue()
1746 this->writeInstruction(SpvOpBranch, end, out); in getLValue()
2276 this->writeInstruction(SpvOpBranch, end, out); in writeLogicalAnd()
2297 this->writeInstruction(SpvOpBranch, end, out); in writeLogicalOr()
2328 this->writeInstruction(SpvOpBranch, end, out); in writeTernaryExpression()
2331 this->writeInstruction(SpvOpBranch, end, out); in writeTernaryExpression()
2806 this->writeInstruction(SpvOpBranch, fBreakTarget.top(), out); in writeStatement()
2809 this->writeInstruction(SpvOpBranch, fContinueTarget.top(), out); in writeStatement()
2836 this->writeInstruction(SpvOpBranch, end, out); in writeIfStatement()
[all …]
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp188 case SpvOpBranch: // fall through in writeOpCode()
1685 this->writeInstruction(SpvOpBranch, end, out); in getLValue()
1690 this->writeInstruction(SpvOpBranch, end, out); in getLValue()
2284 this->writeInstruction(SpvOpBranch, end, out); in writeLogicalAnd()
2305 this->writeInstruction(SpvOpBranch, end, out); in writeLogicalOr()
2336 this->writeInstruction(SpvOpBranch, end, out); in writeTernaryExpression()
2339 this->writeInstruction(SpvOpBranch, end, out); in writeTernaryExpression()
2815 this->writeInstruction(SpvOpBranch, fBreakTarget.top(), out); in writeStatement()
2818 this->writeInstruction(SpvOpBranch, fContinueTarget.top(), out); in writeStatement()
2845 this->writeInstruction(SpvOpBranch, end, out); in writeIfStatement()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_adjacency.cpp72 case SpvOpBranch: in ValidateAdjacency()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_adjacency.cpp72 case SpvOpBranch: in ValidateAdjacency()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp142 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
219 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp140 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
217 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
/external/swiftshader/third_party/SPIRV-Tools/tools/cfg/
Dbin_to_dot.cpp97 case SpvOpBranch: in HandleInstruction()
/external/deqp-deps/SPIRV-Tools/tools/cfg/
Dbin_to_dot.cpp97 case SpvOpBranch: in HandleInstruction()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_cfg_test.cpp69 explicit Block(std::string label, SpvOp type = SpvOpBranch) in Block()
114 case SpvOpBranch: in operator std::string()
142 assert(lhs.type_ == SpvOpBranch); in operator >>()
889 merge_blocks.emplace_back("if_merge" + ss.str(), SpvOpBranch); in TEST_P()

123