Home
last modified time | relevance | path

Searched refs:ext_opcode (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/compiler/spirv/
Dvtn_amd.c30 vtn_handle_amd_gcn_shader_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_gcn_shader_instruction() argument
34 switch ((enum GcnShaderAMD)ext_opcode) { in vtn_handle_amd_gcn_shader_instruction()
55 vtn_handle_amd_shader_ballot_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_ballot_instruction() argument
60 switch ((enum ShaderBallotAMD)ext_opcode) { in vtn_handle_amd_shader_ballot_instruction()
118 vtn_handle_amd_shader_trinary_minmax_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_trinary_minmax_instruction() argument
138 switch ((enum ShaderTrinaryMinMaxAMD)ext_opcode) { in vtn_handle_amd_shader_trinary_minmax_instruction()
180 vtn_handle_amd_shader_explicit_vertex_parameter_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_explicit_vertex_parameter_instruction() argument
184 switch ((enum ShaderExplicitVertexParameterAMD)ext_opcode) { in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
Dvtn_private.h972 bool vtn_handle_glsl450_instruction(struct vtn_builder *b, SpvOp ext_opcode,
975 bool vtn_handle_opencl_instruction(struct vtn_builder *b, SpvOp ext_opcode,
1014 bool vtn_handle_amd_gcn_shader_instruction(struct vtn_builder *b, SpvOp ext_opcode,
1017 bool vtn_handle_amd_shader_ballot_instruction(struct vtn_builder *b, SpvOp ext_opcode,
1020 bool vtn_handle_amd_shader_trinary_minmax_instruction(struct vtn_builder *b, SpvOp ext_opcode,
1024 SpvOp ext_opcode,
Dvtn_opencl.c903 vtn_handle_opencl_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_opencl_instruction() argument
906 enum OpenCLstd_Entrypoints cl_opcode = (enum OpenCLstd_Entrypoints) ext_opcode; in vtn_handle_opencl_instruction()
948 handle_instr(b, ext_opcode, w + 5, count - 5, w + 1, handle_alu); in vtn_handle_opencl_instruction()
1055 handle_instr(b, ext_opcode, w + 5, count - 5, w + 1, handle_special); in vtn_handle_opencl_instruction()
1075 handle_instr(b, ext_opcode, w + 5, count - 5, w + 1, handle_shuffle); in vtn_handle_opencl_instruction()
1078 handle_instr(b, ext_opcode, w + 5, count - 5, w + 1, handle_shuffle2); in vtn_handle_opencl_instruction()
1081 handle_instr(b, ext_opcode, w + 5, count - 5, w + 1, handle_round); in vtn_handle_opencl_instruction()
1084 handle_printf(b, ext_opcode, w + 5, count - 5, w + 1); in vtn_handle_opencl_instruction()
1090 vtn_fail("unhandled opencl opc: %u\n", ext_opcode); in vtn_handle_opencl_instruction()
Dvtn_glsl450.c625 vtn_handle_glsl450_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_glsl450_instruction() argument
628 switch ((enum GLSLstd450)ext_opcode) { in vtn_handle_glsl450_instruction()
642 handle_glsl450_interpolation(b, (enum GLSLstd450)ext_opcode, w, count); in vtn_handle_glsl450_instruction()
646 handle_glsl450_alu(b, (enum GLSLstd450)ext_opcode, w, count); in vtn_handle_glsl450_instruction()
Dspirv_to_nir.c514 vtn_handle_non_semantic_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_non_semantic_instruction() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinterp_fixup_pass.cpp50 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in ReplaceInternalInterpolate() local
64 uint32_t op2_id = (ext_opcode != GLSLstd450InterpolateAtCentroid) in ReplaceInternalInterpolate()
71 {SPV_OPERAND_TYPE_EXTENSION_INSTRUCTION_NUMBER, {ext_opcode}}); in ReplaceInternalInterpolate()
Dfolding_rules.h74 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
75 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
Dconst_folding_rules.h98 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
99 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
/third_party/spirv-tools/source/opt/
Dinterp_fixup_pass.cpp50 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in ReplaceInternalInterpolate() local
64 uint32_t op2_id = (ext_opcode != GLSLstd450InterpolateAtCentroid) in ReplaceInternalInterpolate()
71 {SPV_OPERAND_TYPE_EXTENSION_INSTRUCTION_NUMBER, {ext_opcode}}); in ReplaceInternalInterpolate()
Dfolding_rules.h74 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
75 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
Dconst_folding_rules.h98 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
99 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinterp_fixup_pass.cpp50 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in ReplaceInternalInterpolate() local
64 uint32_t op2_id = (ext_opcode != GLSLstd450InterpolateAtCentroid) in ReplaceInternalInterpolate()
71 {SPV_OPERAND_TYPE_EXTENSION_INSTRUCTION_NUMBER, {ext_opcode}}); in ReplaceInternalInterpolate()
Dfolding_rules.h74 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
75 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
Dconst_folding_rules.h98 uint32_t ext_opcode = inst->GetSingleWordInOperand(1); in GetRulesForInstruction() local
99 auto it = ext_rules_.find({ext_inst_id, ext_opcode}); in GetRulesForInstruction()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c721 cbc_ext_opcode_t ext_opcode = CBC_EXT_NOP; in parse_print_final_cbc() local
732 ext_opcode = (cbc_ext_opcode_t) byte_code_p[1]; in parse_print_final_cbc()
733 flags = cbc_ext_flags[ext_opcode]; in parse_print_final_cbc()
734 JERRY_DEBUG_MSG (" %3d : %s", (int) cbc_offset, cbc_ext_names[ext_opcode]); in parse_print_final_cbc()
738 if (ext_opcode == CBC_EXT_LINE) in parse_print_final_cbc()
781 || ext_opcode == CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_POS_BYTE) in parse_print_final_cbc()
786 || ext_opcode == CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_NEG_BYTE) in parse_print_final_cbc()
800 … : CBC_BRANCH_OFFSET_LENGTH (ext_opcode)); in parse_print_final_cbc()
1019 cbc_ext_opcode_t ext_opcode; in parser_post_processing() local
1021 ext_opcode = (cbc_ext_opcode_t) page_p->bytes[offset]; in parser_post_processing()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc289 std::string GetGlslStd450FuncName(uint32_t ext_opcode) { in GetGlslStd450FuncName() argument
290 switch (ext_opcode) { in GetGlslStd450FuncName()
4019 const auto ext_opcode = inst.GetSingleWordInOperand(1); in EmitGlslStd450ExtInst() local
4021 if (ext_opcode == GLSLstd450Ldexp) { in EmitGlslStd450ExtInst()
4040 switch (ext_opcode) { in EmitGlslStd450ExtInst()
4115 switch (ext_opcode) { in EmitGlslStd450ExtInst()
4149 const auto name = GetGlslStd450FuncName(ext_opcode); in EmitGlslStd450ExtInst()
4151 Fail() << "unhandled GLSL.std.450 instruction " << ext_opcode; in EmitGlslStd450ExtInst()