Home
last modified time | relevance | path

Searched refs:OpKill (Results 1 - 25 of 60) sorted by relevance

123

/third_party/spirv-tools/test/fuzz/
H A Dtransformation_wrap_early_terminator_in_function_test.cpp51 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 Dtransformation_add_early_terminator_wrapper_test.cpp44 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 Dtransformation_replace_branch_from_dead_block_with_exit_test.cpp83 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 Dbinary_writer_test.cc40 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 Dwrap_opkill.cpp31 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 Dtransformation_wrap_early_terminator_in_function.cpp55 case spv::Op::OpKill: in IsApplicable()
157 assert((early_terminator_opcode == spv::Op::OpKill || in MaybeGetWrapperFunction()
H A Dfuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp37 // 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 Dfuzzer_pass_merge_function_returns.cpp69 case spv::Op::OpKill: in Apply()
327 for (spv::Op opcode : {spv::Op::OpKill, spv::Op::OpUnreachable, in IsEarlyTerminatorWrapper()
H A Dtransformation_add_early_terminator_wrapper.cpp39 assert((spv::Op(message_.opcode()) == spv::Op::OpKill || in IsApplicable()
67 // OpKill|Unreachable|TerminateInvocation in Apply()
H A Dtransformation_replace_branch_from_dead_block_with_exit.cpp49 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 Dtransformation_add_function.cpp149 // 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 DSpirvShaderInstructions.cpp61 case spv::OpKill: in IsStatement()
H A DSpirvShaderControlFlow.cpp590 // 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 Dbin_to_dot.cpp111 case spv::Op::OpKill: in HandleInstruction()
/third_party/glslang/SPIRV/
H A DspvIR.h263 case OpKill: in isTerminated()
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/
H A Dspirv.cs899 OpKill = 252, enumerator
H A Dspirv.hpp894 OpKill = 252, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/
H A Dspirv.cs911 OpKill = 252, enumerator
H A Dspirv.hpp906 OpKill = 252, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/
H A Dspirv.cs916 OpKill = 252, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
H A Dspirv.cs899 OpKill = 252, enumerator
H A Dspirv.hpp894 OpKill = 252, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
H A Dspirv.cs911 OpKill = 252, enumerator
H A Dspirv.hpp906 OpKill = 252, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/
H A Dspirv.cs916 OpKill = 252, enumerator

Completed in 41 milliseconds

123