/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_wrap_early_terminator_in_function_test.cpp | 51 OpKill in TEST() 62 OpKill in TEST() 74 OpKill in TEST() 101 61, MakeInstructionDescriptor(8, spv::Op::OpKill, 0), 0) in TEST() 106 100, MakeInstructionDescriptor(82, spv::Op::OpKill, 0), 0) in TEST() 123 100, MakeInstructionDescriptor(62, spv::Op::OpKill, 0), 1000) in TEST() 128 100, MakeInstructionDescriptor(62, spv::Op::OpKill, 0), 61) in TEST() 133 100, MakeInstructionDescriptor(62, spv::Op::OpKill, 0), 91) in TEST() 138 100, MakeInstructionDescriptor(62, spv::Op::OpKill, 0), 81) in TEST() 141 // Bad: the OpKill bein in TEST() [all...] |
H A D | transformation_add_early_terminator_wrapper_test.cpp | 44 TransformationAddEarlyTerminatorWrapper(100, 101, spv::Op::OpKill) in TEST() 68 TransformationAddEarlyTerminatorWrapper(100, 101, spv::Op::OpKill) in TEST() 98 ASSERT_FALSE(TransformationAddEarlyTerminatorWrapper(2, 101, spv::Op::OpKill) in TEST() 100 ASSERT_FALSE(TransformationAddEarlyTerminatorWrapper(100, 4, spv::Op::OpKill) in TEST() 103 TransformationAddEarlyTerminatorWrapper(100, 100, spv::Op::OpKill) in TEST() 114 TransformationAddEarlyTerminatorWrapper(100, 101, spv::Op::OpKill); in TEST() 151 OpKill in TEST()
|
H A D | transformation_replace_branch_from_dead_block_with_exit_test.cpp | 83 TransformationReplaceBranchFromDeadBlockWithExit(4, spv::Op::OpKill, 0) in TEST() 87 TransformationReplaceBranchFromDeadBlockWithExit(200, spv::Op::OpKill, 0) in TEST() 91 TransformationReplaceBranchFromDeadBlockWithExit(21, spv::Op::OpKill, 0) in TEST() 95 TransformationReplaceBranchFromDeadBlockWithExit(8, spv::Op::OpKill, 0) in TEST() 99 TransformationReplaceBranchFromDeadBlockWithExit(10, spv::Op::OpKill, 0) in TEST() 110 TransformationReplaceBranchFromDeadBlockWithExit(20, spv::Op::OpKill, 0); in TEST() 112 TransformationReplaceBranchFromDeadBlockWithExit(16, spv::Op::OpKill, 0); in TEST() 154 OpKill in TEST() 284 // Bad: OpKill not allowed in vertex shader in TEST() 286 TransformationReplaceBranchFromDeadBlockWithExit(201, spv::Op::OpKill, in TEST() [all...] |
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | binary_writer_test.cc | 40 b.push_annot(spv::Op::OpKill, {Operand::Float(2.4f)}); in TEST_F() 54 b.push_annot(spv::Op::OpKill, {Operand::Int(2)}); in TEST_F() 66 b.push_annot(spv::Op::OpKill, {Operand::String("my_string")}); in TEST_F() 91 b.push_annot(spv::Op::OpKill, {Operand::String("mystring")}); in TEST_F() 114 Instruction i1{spv::Op::OpKill, {Operand::Int(2)}}; in TEST_F() member in tint::writer::spirv::__anon26273::spv::Op 115 Instruction i2{spv::Op::OpKill, {Operand::Int(4)}}; in TEST_F() member in tint::writer::spirv::__anon26273::spv::Op
|
/third_party/spirv-tools/source/opt/ |
H A D | wrap_opkill.cpp | 31 if ((opcode == spv::Op::OpKill) || in Process() 60 assert((inst->opcode() == spv::Op::OpKill || in ReplaceWithFunctionCall() 62 "|inst| must be an OpKill or OpTerminateInvocation instruction."); in ReplaceWithFunctionCall() 122 assert(opcode == spv::Op::OpKill || opcode == spv::Op::OpTerminateInvocation); in GetKillingFuncId() 125 (opcode == spv::Op::OpKill) ? &opkill_function_ in GetKillingFuncId() 163 // Add the OpKill to the basic block in GetKillingFuncId()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_wrap_early_terminator_in_function.cpp | 55 case spv::Op::OpKill: in IsApplicable() 157 assert((early_terminator_opcode == spv::Op::OpKill || in MaybeGetWrapperFunction()
|
H A D | fuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp | 37 // OpKill can only be used as a terminator in a function that is guaranteed in Apply() 39 // allow OpKill if every entry point in the module has the Fragment execution in Apply() 71 // Whether we can use OpKill depends on the execution model, and which of in Apply() 76 opcodes.emplace_back(spv::Op::OpKill); in Apply()
|
H A D | fuzzer_pass_merge_function_returns.cpp | 69 case spv::Op::OpKill: in Apply() 327 for (spv::Op opcode : {spv::Op::OpKill, spv::Op::OpUnreachable, in IsEarlyTerminatorWrapper()
|
H A D | transformation_add_early_terminator_wrapper.cpp | 39 assert((spv::Op(message_.opcode()) == spv::Op::OpKill || in IsApplicable() 67 // OpKill|Unreachable|TerminateInvocation in Apply()
|
H A D | transformation_replace_branch_from_dead_block_with_exit.cpp | 49 case spv::Op::OpKill: in IsApplicable() 53 // OpKill is only allowed in a fragment shader. This is a in IsApplicable() 55 // point then adding an OpKill might lead to OpKill being used in a in IsApplicable()
|
H A D | transformation_add_function.cpp | 149 // again. This is because the turning of OpKill, OpUnreachable and OpReturn in IsApplicable() 341 // - attempt to replace OpKill and OpUnreachable with return instructions in TryToMakeFunctionLivesafe() 347 case spv::Op::OpKill: in TryToMakeFunctionLivesafe() 734 assert((kill_or_unreachable_inst->opcode() == spv::Op::OpKill || in TryToTurnKillOrUnreachableIntoReturn() 736 "Precondition: instruction must be OpKill or OpUnreachable."); in TryToTurnKillOrUnreachableIntoReturn() 752 // specifically to turn OpKill and OpUnreachable instructions into in TryToTurnKillOrUnreachableIntoReturn()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderInstructions.cpp | 61 case spv::OpKill: in IsStatement()
|
H A D | SpirvShaderControlFlow.cpp | 590 // The only supported function is a single OpKill wrapped in a in EmitFunctionCall() 591 // function, as a result of the "wrap OpKill" SPIRV-Tools pass in EmitFunctionCall() 593 spv::Op wrapOpKill[] = { spv::OpLabel, spv::OpKill }; in EmitFunctionCall() 612 if(blockInsn.opcode() == spv::OpKill) in EmitFunctionCall()
|
/third_party/spirv-tools/tools/cfg/ |
H A D | bin_to_dot.cpp | 111 case spv::Op::OpKill: in HandleInstruction()
|
/third_party/glslang/SPIRV/ |
H A D | spvIR.h | 263 case OpKill: in isTerminated()
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/ |
H A D | spirv.cs | 899 OpKill = 252, enumerator
|
H A D | spirv.hpp | 894 OpKill = 252, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/ |
H A D | spirv.cs | 911 OpKill = 252, enumerator
|
H A D | spirv.hpp | 906 OpKill = 252, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/ |
H A D | spirv.cs | 916 OpKill = 252, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/ |
H A D | spirv.cs | 899 OpKill = 252, enumerator
|
H A D | spirv.hpp | 894 OpKill = 252, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/ |
H A D | spirv.cs | 911 OpKill = 252, enumerator
|
H A D | spirv.hpp | 906 OpKill = 252, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/ |
H A D | spirv.cs | 916 OpKill = 252, enumerator
|