| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| H A D | reflect.h | 27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() argument 28 return (opcode >= SpvOpSourceContinued && opcode <= SpvOpSourceExtension) || in IsDebug1Inst() 29 opcode == SpvOpString; in IsDebug1Inst() 31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() argument 32 return opcode == SpvOpName || opcode == SpvOpMemberName; in IsDebug2Inst() 34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() argument 35 return opcode == SpvOpModuleProcessed; in IsDebug3Inst() 37 inline bool IsOpLineInst(SpvOp opcode) { in IsOpLineInst() argument 40 IsAnnotationInst(SpvOp opcode) IsAnnotationInst() argument 45 IsTypeInst(SpvOp opcode) IsTypeInst() argument 53 IsConstantInst(SpvOp opcode) IsConstantInst() argument 57 IsCompileTimeConstantInst(SpvOp opcode) IsCompileTimeConstantInst() argument 60 IsSpecConstantInst(SpvOp opcode) IsSpecConstantInst() argument [all...] |
| H A D | ir_loader.cpp | 42 const auto opcode = static_cast<SpvOp>(inst->opcode); in IsLineInst() local 43 if (IsOpLineInst(opcode)) return true; in IsLineInst() 44 if (opcode != SpvOpExtInst) return false; in IsLineInst() 66 const auto opcode = static_cast<SpvOp>(inst->opcode); in AddInstruction() local 67 if (opcode == SpvOpExtInst && spvExtInstIsDebugInfo(inst->ext_inst_type)) { in AddInstruction() 133 if (opcode == SpvOpFunction) { in AddInstruction() 139 } else if (opcode == SpvOpFunctionEnd) { in AddInstruction() 152 } else if (opcode in AddInstruction() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| H A D | reflect.h | 27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() argument 28 return (opcode >= SpvOpSourceContinued && opcode <= SpvOpSourceExtension) || in IsDebug1Inst() 29 opcode == SpvOpString; in IsDebug1Inst() 31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() argument 32 return opcode == SpvOpName || opcode == SpvOpMemberName; in IsDebug2Inst() 34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() argument 35 return opcode == SpvOpModuleProcessed; in IsDebug3Inst() 37 inline bool IsOpLineInst(SpvOp opcode) { in IsOpLineInst() argument 40 IsAnnotationInst(SpvOp opcode) IsAnnotationInst() argument 45 IsTypeInst(SpvOp opcode) IsTypeInst() argument 53 IsConstantInst(SpvOp opcode) IsConstantInst() argument 57 IsCompileTimeConstantInst(SpvOp opcode) IsCompileTimeConstantInst() argument 60 IsSpecConstantInst(SpvOp opcode) IsSpecConstantInst() argument [all...] |
| /third_party/node/deps/v8/src/deoptimizer/ |
| H A D | translation-array.cc | 111 auto opcode = TranslationOpcode::BUILTIN_CONTINUATION_FRAME; in BeginBuiltinContinuationFrame() local 112 Add(opcode); in BeginBuiltinContinuationFrame() 116 DCHECK_EQ(TranslationOpcodeOperandCount(opcode), 3); in BeginBuiltinContinuationFrame() 123 auto opcode = TranslationOpcode::JS_TO_WASM_BUILTIN_CONTINUATION_FRAME; in BeginJSToWasmBuiltinContinuationFrame() local 124 Add(opcode); in BeginJSToWasmBuiltinContinuationFrame() 129 DCHECK_EQ(TranslationOpcodeOperandCount(opcode), 4); in BeginJSToWasmBuiltinContinuationFrame() 135 auto opcode = TranslationOpcode::JAVA_SCRIPT_BUILTIN_CONTINUATION_FRAME; in BeginJavaScriptBuiltinContinuationFrame() local 136 Add(opcode); in BeginJavaScriptBuiltinContinuationFrame() 140 DCHECK_EQ(TranslationOpcodeOperandCount(opcode), 3); in BeginJavaScriptBuiltinContinuationFrame() 145 auto opcode in BeginJavaScriptBuiltinContinuationWithCatchFrame() local 156 auto opcode = TranslationOpcode::CONSTRUCT_STUB_FRAME; BeginConstructStubFrame() local 166 auto opcode = TranslationOpcode::ARGUMENTS_ADAPTOR_FRAME; BeginArgumentsAdaptorFrame() local 176 auto opcode = TranslationOpcode::INTERPRETED_FRAME; BeginInterpretedFrame() local 187 auto opcode = TranslationOpcode::ARGUMENTS_ELEMENTS; ArgumentsElements() local 194 auto opcode = TranslationOpcode::ARGUMENTS_LENGTH; ArgumentsLength() local 200 auto opcode = TranslationOpcode::CAPTURED_OBJECT; BeginCapturedObject() local 207 auto opcode = TranslationOpcode::DUPLICATED_OBJECT; DuplicateObject() local 214 auto opcode = TranslationOpcode::REGISTER; StoreRegister() local 220 auto opcode = TranslationOpcode::INT32_REGISTER; StoreInt32Register() local 227 auto opcode = TranslationOpcode::INT64_REGISTER; StoreInt64Register() local 234 auto opcode = TranslationOpcode::UINT32_REGISTER; StoreUint32Register() local 240 auto opcode = TranslationOpcode::BOOL_REGISTER; StoreBoolRegister() local 247 auto opcode = TranslationOpcode::FLOAT_REGISTER; StoreFloatRegister() local 253 auto opcode = TranslationOpcode::DOUBLE_REGISTER; StoreDoubleRegister() local 260 auto opcode = TranslationOpcode::STACK_SLOT; StoreStackSlot() local 267 auto opcode = TranslationOpcode::INT32_STACK_SLOT; StoreInt32StackSlot() local 274 auto opcode = TranslationOpcode::INT64_STACK_SLOT; StoreInt64StackSlot() local 281 auto opcode = TranslationOpcode::UINT32_STACK_SLOT; StoreUint32StackSlot() local 288 auto opcode = TranslationOpcode::BOOL_STACK_SLOT; StoreBoolStackSlot() local 295 auto opcode = TranslationOpcode::FLOAT_STACK_SLOT; StoreFloatStackSlot() local 302 auto opcode = TranslationOpcode::DOUBLE_STACK_SLOT; StoreDoubleStackSlot() local 309 auto opcode = TranslationOpcode::LITERAL; StoreLiteral() local 316 auto opcode = TranslationOpcode::UPDATE_FEEDBACK; AddUpdateFeedback() local [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/ |
| H A D | opcode.h | 31 // Combines word_count and opcode enumerant in single word. 32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode); 34 // Splits word into into two constituent parts: word_count and opcode. 36 uint16_t* opcode); 38 // Finds the named opcode in the given opcode table. On success, returns 44 // Finds the opcode by enumerant in the given opcode table. On success, returns 48 const SpvOp opcode, 52 // source instruction's stream/opcode/endiannes [all...] |
| H A D | opcode.cpp | 17 #include "source/opcode.h" 57 // TODO(dneto): Move this to another file. It doesn't belong with opcode 67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument 68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake() 84 // Descriptions of each opcode. Each entry describes the format of the in spvOpcodeTableGet() 85 // instruction that follows a particular opcode. in spvOpcodeTableGet() 105 // We considers the current opcode as available as long as in spvOpcodeTableNameLookup() 107 // opcode; or in spvOpcodeTableNameLookup() 108 // 2. There is at least one extension enabling this opcode. in spvOpcodeTableNameLookup() 128 const SpvOp opcode, in spvOpcodeTableValueLookup() 126 spvOpcodeTableValueLookup(spv_target_env env, const spv_opcode_table table, const SpvOp opcode, spv_opcode_desc* pEntry) spvOpcodeTableValueLookup() argument 169 spvInstructionCopy(const uint32_t* words, const SpvOp opcode, const uint16_t wordCount, const spv_endianness_t endian, spv_instruction_t* pInst) spvInstructionCopy() argument 186 spvOpcodeString(const uint32_t opcode) spvOpcodeString() argument 207 spvOpcodeIsScalarType(const SpvOp opcode) spvOpcodeIsScalarType() argument 218 spvOpcodeIsSpecConstant(const SpvOp opcode) spvOpcodeIsSpecConstant() argument 231 spvOpcodeIsConstant(const SpvOp opcode) spvOpcodeIsConstant() argument 250 spvOpcodeIsConstantOrUndef(const SpvOp opcode) spvOpcodeIsConstantOrUndef() argument 254 spvOpcodeIsScalarSpecConstant(const SpvOp opcode) spvOpcodeIsScalarSpecConstant() argument 265 spvOpcodeIsComposite(const SpvOp opcode) spvOpcodeIsComposite() argument 278 spvOpcodeReturnsLogicalVariablePointer(const SpvOp opcode) spvOpcodeReturnsLogicalVariablePointer() argument 298 spvOpcodeReturnsLogicalPointer(const SpvOp opcode) spvOpcodeReturnsLogicalPointer() argument 351 spvOpcodeIsDecoration(const SpvOp opcode) spvOpcodeIsDecoration() argument 367 spvOpcodeIsLoad(const SpvOp opcode) spvOpcodeIsLoad() argument 396 spvOpcodeIsBranch(SpvOp opcode) spvOpcodeIsBranch() argument 407 spvOpcodeIsAtomicWithLoad(const SpvOp opcode) spvOpcodeIsAtomicWithLoad() argument 434 spvOpcodeIsAtomicOp(const SpvOp opcode) spvOpcodeIsAtomicOp() argument 439 spvOpcodeIsReturn(SpvOp opcode) spvOpcodeIsReturn() argument 449 spvOpcodeIsAbort(SpvOp opcode) spvOpcodeIsAbort() argument 462 spvOpcodeIsReturnOrAbort(SpvOp opcode) spvOpcodeIsReturnOrAbort() argument 466 spvOpcodeIsBlockTerminator(SpvOp opcode) spvOpcodeIsBlockTerminator() argument 470 spvOpcodeTerminatesExecution(SpvOp opcode) spvOpcodeTerminatesExecution() argument 475 spvOpcodeIsBaseOpaqueType(SpvOp opcode) spvOpcodeIsBaseOpaqueType() argument 495 spvOpcodeIsNonUniformGroupOperation(SpvOp opcode) spvOpcodeIsNonUniformGroupOperation() argument 537 spvOpcodeIsScalarizable(SpvOp opcode) spvOpcodeIsScalarizable() argument 624 spvOpcodeIsDebug(SpvOp opcode) spvOpcodeIsDebug() argument 640 spvOpcodeIsCommutativeBinaryOperator(SpvOp opcode) spvOpcodeIsCommutativeBinaryOperator() argument 673 spvOpcodeIsLinearAlgebra(SpvOp opcode) spvOpcodeIsLinearAlgebra() argument 689 spvOpcodeIsImageSample(const SpvOp opcode) spvOpcodeIsImageSample() argument 709 spvOpcodeMemorySemanticsOperandIndices(SpvOp opcode) spvOpcodeMemorySemanticsOperandIndices() argument 742 spvOpcodeIsAccessChain(SpvOp opcode) spvOpcodeIsAccessChain() argument 754 spvOpcodeIsBit(SpvOp opcode) spvOpcodeIsBit() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
| H A D | opcode.h | 31 // Combines word_count and opcode enumerant in single word. 32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode); 34 // Splits word into into two constituent parts: word_count and opcode. 36 uint16_t* opcode); 38 // Finds the named opcode in the given opcode table. On success, returns 44 // Finds the opcode by enumerant in the given opcode table. On success, returns 48 const SpvOp opcode, 52 // source instruction's stream/opcode/endiannes [all...] |
| H A D | opcode.cpp | 17 #include "source/opcode.h" 57 // TODO(dneto): Move this to another file. It doesn't belong with opcode 67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument 68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake() 84 // Descriptions of each opcode. Each entry describes the format of the in spvOpcodeTableGet() 85 // instruction that follows a particular opcode. in spvOpcodeTableGet() 105 // We considers the current opcode as available as long as in spvOpcodeTableNameLookup() 107 // opcode; or in spvOpcodeTableNameLookup() 108 // 2. There is at least one extension enabling this opcode. in spvOpcodeTableNameLookup() 128 const SpvOp opcode, in spvOpcodeTableValueLookup() 126 spvOpcodeTableValueLookup(spv_target_env env, const spv_opcode_table table, const SpvOp opcode, spv_opcode_desc* pEntry) spvOpcodeTableValueLookup() argument 169 spvInstructionCopy(const uint32_t* words, const SpvOp opcode, const uint16_t wordCount, const spv_endianness_t endian, spv_instruction_t* pInst) spvInstructionCopy() argument 186 spvOpcodeString(const uint32_t opcode) spvOpcodeString() argument 207 spvOpcodeIsScalarType(const SpvOp opcode) spvOpcodeIsScalarType() argument 218 spvOpcodeIsSpecConstant(const SpvOp opcode) spvOpcodeIsSpecConstant() argument 231 spvOpcodeIsConstant(const SpvOp opcode) spvOpcodeIsConstant() argument 250 spvOpcodeIsConstantOrUndef(const SpvOp opcode) spvOpcodeIsConstantOrUndef() argument 254 spvOpcodeIsScalarSpecConstant(const SpvOp opcode) spvOpcodeIsScalarSpecConstant() argument 265 spvOpcodeIsComposite(const SpvOp opcode) spvOpcodeIsComposite() argument 278 spvOpcodeReturnsLogicalVariablePointer(const SpvOp opcode) spvOpcodeReturnsLogicalVariablePointer() argument 298 spvOpcodeReturnsLogicalPointer(const SpvOp opcode) spvOpcodeReturnsLogicalPointer() argument 351 spvOpcodeIsDecoration(const SpvOp opcode) spvOpcodeIsDecoration() argument 367 spvOpcodeIsLoad(const SpvOp opcode) spvOpcodeIsLoad() argument 396 spvOpcodeIsBranch(SpvOp opcode) spvOpcodeIsBranch() argument 407 spvOpcodeIsAtomicWithLoad(const SpvOp opcode) spvOpcodeIsAtomicWithLoad() argument 434 spvOpcodeIsAtomicOp(const SpvOp opcode) spvOpcodeIsAtomicOp() argument 439 spvOpcodeIsReturn(SpvOp opcode) spvOpcodeIsReturn() argument 449 spvOpcodeIsAbort(SpvOp opcode) spvOpcodeIsAbort() argument 462 spvOpcodeIsReturnOrAbort(SpvOp opcode) spvOpcodeIsReturnOrAbort() argument 466 spvOpcodeIsBlockTerminator(SpvOp opcode) spvOpcodeIsBlockTerminator() argument 470 spvOpcodeTerminatesExecution(SpvOp opcode) spvOpcodeTerminatesExecution() argument 475 spvOpcodeIsBaseOpaqueType(SpvOp opcode) spvOpcodeIsBaseOpaqueType() argument 495 spvOpcodeIsNonUniformGroupOperation(SpvOp opcode) spvOpcodeIsNonUniformGroupOperation() argument 537 spvOpcodeIsScalarizable(SpvOp opcode) spvOpcodeIsScalarizable() argument 624 spvOpcodeIsDebug(SpvOp opcode) spvOpcodeIsDebug() argument 640 spvOpcodeIsCommutativeBinaryOperator(SpvOp opcode) spvOpcodeIsCommutativeBinaryOperator() argument 673 spvOpcodeIsLinearAlgebra(SpvOp opcode) spvOpcodeIsLinearAlgebra() argument 689 spvOpcodeIsImageSample(const SpvOp opcode) spvOpcodeIsImageSample() argument 709 spvOpcodeMemorySemanticsOperandIndices(SpvOp opcode) spvOpcodeMemorySemanticsOperandIndices() argument 742 spvOpcodeIsAccessChain(SpvOp opcode) spvOpcodeIsAccessChain() argument 754 spvOpcodeIsBit(SpvOp opcode) spvOpcodeIsBit() argument [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/val/ |
| H A D | validate_atomics.cpp | 22 #include "source/opcode.h" 50 bool HasReturnType(uint32_t opcode) { in HasReturnType() argument 51 switch (opcode) { in HasReturnType() 61 bool HasOnlyFloatReturnType(uint32_t opcode) { in HasOnlyFloatReturnType() argument 62 switch (opcode) { in HasOnlyFloatReturnType() 73 bool HasOnlyIntReturnType(uint32_t opcode) { in HasOnlyIntReturnType() argument 74 switch (opcode) { in HasOnlyIntReturnType() 95 bool HasIntOrFloatReturnType(uint32_t opcode) { in HasIntOrFloatReturnType() argument 96 switch (opcode) { in HasIntOrFloatReturnType() 106 bool HasOnlyBoolReturnType(uint32_t opcode) { in HasOnlyBoolReturnType() argument 123 const SpvOp opcode = inst->opcode(); AtomicsPass() local [all...] |
| H A D | validate_arithmetics.cpp | 22 #include "source/opcode.h" 31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local 34 switch (opcode) { in ArithmeticsPass() 43 (opcode != SpvOpFMul && opcode != SpvOpFRem && opcode != SpvOpFMod); in ArithmeticsPass() 49 << spvOpcodeString(opcode); in ArithmeticsPass() 56 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass() 64 bool supportsCoopMat = (opcode in ArithmeticsPass() [all...] |
| H A D | validate_memory_semantics.cpp | 30 const SpvOp opcode = inst->opcode(); in ValidateMemorySemantics() local 38 << spvOpcodeString(opcode) in ValidateMemorySemantics() 67 << spvOpcodeString(opcode) in ValidateMemorySemantics() 85 << spvOpcodeString(opcode) in ValidateMemorySemantics() 93 << spvOpcodeString(opcode) in ValidateMemorySemantics() 101 << spvOpcodeString(opcode) in ValidateMemorySemantics() 109 << spvOpcodeString(opcode) in ValidateMemorySemantics() 114 if (!spvOpcodeIsAtomicOp(inst->opcode())) { in ValidateMemorySemantics() 124 << spvOpcodeString(opcode) in ValidateMemorySemantics() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
| H A D | validate_atomics.cpp | 22 #include "source/opcode.h" 50 bool HasReturnType(uint32_t opcode) { in HasReturnType() argument 51 switch (opcode) { in HasReturnType() 61 bool HasOnlyFloatReturnType(uint32_t opcode) { in HasOnlyFloatReturnType() argument 62 switch (opcode) { in HasOnlyFloatReturnType() 73 bool HasOnlyIntReturnType(uint32_t opcode) { in HasOnlyIntReturnType() argument 74 switch (opcode) { in HasOnlyIntReturnType() 95 bool HasIntOrFloatReturnType(uint32_t opcode) { in HasIntOrFloatReturnType() argument 96 switch (opcode) { in HasIntOrFloatReturnType() 106 bool HasOnlyBoolReturnType(uint32_t opcode) { in HasOnlyBoolReturnType() argument 123 const SpvOp opcode = inst->opcode(); AtomicsPass() local [all...] |
| H A D | validate_arithmetics.cpp | 22 #include "source/opcode.h" 31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local 34 switch (opcode) { in ArithmeticsPass() 43 (opcode != SpvOpFMul && opcode != SpvOpFRem && opcode != SpvOpFMod); in ArithmeticsPass() 49 << spvOpcodeString(opcode); in ArithmeticsPass() 56 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass() 64 bool supportsCoopMat = (opcode in ArithmeticsPass() [all...] |
| H A D | validate_memory_semantics.cpp | 30 const SpvOp opcode = inst->opcode(); in ValidateMemorySemantics() local 38 << spvOpcodeString(opcode) in ValidateMemorySemantics() 67 << spvOpcodeString(opcode) in ValidateMemorySemantics() 85 << spvOpcodeString(opcode) in ValidateMemorySemantics() 93 << spvOpcodeString(opcode) in ValidateMemorySemantics() 101 << spvOpcodeString(opcode) in ValidateMemorySemantics() 109 << spvOpcodeString(opcode) in ValidateMemorySemantics() 114 if (!spvOpcodeIsAtomicOp(inst->opcode())) { in ValidateMemorySemantics() 124 << spvOpcodeString(opcode) in ValidateMemorySemantics() [all...] |
| /third_party/spirv-tools/source/opt/ |
| H A D | reflect.h | 19 #include "source/opcode.h" 28 inline bool IsDebug1Inst(spv::Op opcode) { in IsDebug1Inst() argument 29 return (opcode >= spv::Op::OpSourceContinued && in IsDebug1Inst() 30 opcode <= spv::Op::OpSourceExtension) || in IsDebug1Inst() 31 opcode == spv::Op::OpString; in IsDebug1Inst() 33 inline bool IsDebug2Inst(spv::Op opcode) { in IsDebug2Inst() argument 34 return opcode == spv::Op::OpName || opcode == spv::Op::OpMemberName; in IsDebug2Inst() 36 inline bool IsDebug3Inst(spv::Op opcode) { in IsDebug3Inst() argument 37 return opcode in IsDebug3Inst() 39 IsOpLineInst(spv::Op opcode) IsOpLineInst() argument 42 IsAnnotationInst(spv::Op opcode) IsAnnotationInst() argument 49 IsTypeInst(spv::Op opcode) IsTypeInst() argument 53 IsConstantInst(spv::Op opcode) IsConstantInst() argument 56 IsSpecConstantInst(spv::Op opcode) IsSpecConstantInst() argument [all...] |
| /third_party/spirv-tools/source/ |
| H A D | opcode.h | 31 // Combines word_count and opcode enumerant in single word. 32 uint32_t spvOpcodeMake(uint16_t word_count, spv::Op opcode); 34 // Splits word into into two constituent parts: word_count and opcode. 36 uint16_t* opcode); 38 // Finds the named opcode in the given opcode table. On success, returns 44 // Finds the opcode by enumerant in the given opcode table. On success, returns 48 const spv::Op opcode, 52 // source instruction's stream/opcode/endiannes [all...] |
| /third_party/spirv-tools/test/val/ |
| H A D | val_ray_query_test.cpp | 116 std::string RayQueryResult(std::string opcode) { in RayQueryResult() argument 117 if (opcode.compare("OpRayQueryProceedKHR") == 0 || in RayQueryResult() 118 opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 || in RayQueryResult() 119 opcode.compare("OpRayQueryGetRayTMinKHR") == 0 || in RayQueryResult() 120 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 || in RayQueryResult() 121 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 || in RayQueryResult() 122 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 || in RayQueryResult() 123 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 || in RayQueryResult() 124 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord" in RayQueryResult() 126 opcode in RayQueryResult() 142 RayQueryResultType(std::string opcode, bool valid) RayQueryResultType() argument 183 RayQueryIntersection(std::string opcode, bool valid) RayQueryIntersection() argument 206 std::string opcode = GetParam(); TEST_P() local 209 ss << " " << opcode << " "; TEST_P() local 218 std::string opcode = GetParam(); TEST_P() local 221 ss << " " << opcode << " "; TEST_P() local 232 std::string opcode = GetParam(); TEST_P() local 237 ss << " " << opcode << " "; TEST_P() local 272 std::string opcode = GetParam(); TEST_P() local 277 ss << " " << opcode << " "; TEST_P() local [all...] |
| /third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
| H A D | ShaderParse.c | 55 #define OP_SATURATE (1 << 1) /* saturate in opcode specific control */ 56 #define OP_TEST_BOOLEAN (1 << 2) /* test boolean in opcode specific control */ 57 #define OP_DCL (1 << 3) /* custom opcode specific control */ 286 struct Shader_opcode *opcode) in Shader_parse_opcode() 298 memset(opcode, 0, sizeof *opcode); in Shader_parse_opcode() 301 opcode->type = DECODE_D3D10_SB_OPCODE_TYPE(*curr); in Shader_parse_opcode() 303 if (opcode->type == D3D10_SB_OPCODE_CUSTOMDATA) { in Shader_parse_opcode() 304 opcode->customdata._class = DECODE_D3D10_SB_CUSTOMDATA_CLASS(*curr); in Shader_parse_opcode() 307 assert(opcode in Shader_parse_opcode() 285 Shader_parse_opcode(struct Shader_parser *parser, struct Shader_opcode *opcode) Shader_parse_opcode() argument 603 Shader_opcode_free(struct Shader_opcode *opcode) Shader_opcode_free() argument [all...] |
| H A D | ShaderTGSI.c | 60 /* Opcodes which do not translate directly to a TGSI opcode, but which 1168 struct Shader_opcode *opcode, in sample_ureg_emit() 1177 if (opcode->imm_texel_offset.u || in sample_ureg_emit() 1178 opcode->imm_texel_offset.v || in sample_ureg_emit() 1179 opcode->imm_texel_offset.w) { in sample_ureg_emit() 1184 opcode->imm_texel_offset.u, in sample_ureg_emit() 1185 opcode->imm_texel_offset.v, in sample_ureg_emit() 1186 opcode->imm_texel_offset.w); in sample_ureg_emit() 1207 struct Shader_xlate *sx, struct Shader_opcode *opcode) in expand_unary_to_scalarf() 1210 struct ureg_dst dst = translate_dst_operand(sx, &opcode in expand_unary_to_scalarf() 1165 sample_ureg_emit(struct ureg_program *ureg, unsigned tgsi_opcode, unsigned num_src, struct Shader_opcode *opcode, struct ureg_dst dst, struct ureg_src *src) sample_ureg_emit() argument 1206 expand_unary_to_scalarf(struct ureg_program *ureg, unary_ureg_func func, struct Shader_xlate *sx, struct Shader_opcode *opcode) expand_unary_to_scalarf() argument 1247 struct Shader_opcode opcode; Shader_tgsi_translate() local [all...] |
| /third_party/spirv-tools/source/val/ |
| H A D | validate_atomics.cpp | 19 #include "source/opcode.h" 49 bool HasReturnType(spv::Op opcode) { in HasReturnType() argument 50 switch (opcode) { in HasReturnType() 60 bool HasOnlyFloatReturnType(spv::Op opcode) { in HasOnlyFloatReturnType() argument 61 switch (opcode) { in HasOnlyFloatReturnType() 72 bool HasOnlyIntReturnType(spv::Op opcode) { in HasOnlyIntReturnType() argument 73 switch (opcode) { in HasOnlyIntReturnType() 94 bool HasIntOrFloatReturnType(spv::Op opcode) { in HasIntOrFloatReturnType() argument 95 switch (opcode) { in HasIntOrFloatReturnType() 105 bool HasOnlyBoolReturnType(spv::Op opcode) { in HasOnlyBoolReturnType() argument 122 const spv::Op opcode = inst->opcode(); AtomicsPass() local [all...] |
| H A D | validate_conversion.cpp | 17 #include "source/opcode.h" 29 const spv::Op opcode = inst->opcode(); in ConversionPass() local 32 switch (opcode) { in ConversionPass() 39 << spvOpcodeString(opcode); in ConversionPass() 47 << spvOpcodeString(opcode); in ConversionPass() 58 << spvOpcodeString(opcode); in ConversionPass() 69 << spvOpcodeString(opcode); in ConversionPass() 77 << spvOpcodeString(opcode); in ConversionPass() 88 << spvOpcodeString(opcode); in ConversionPass() [all...] |
| H A D | validate_arithmetics.cpp | 19 #include "source/opcode.h" 29 const spv::Op opcode = inst->opcode(); in ArithmeticsPass() local 32 switch (opcode) { in ArithmeticsPass() 41 (opcode != spv::Op::OpFMul && opcode != spv::Op::OpFRem && in ArithmeticsPass() 42 opcode != spv::Op::OpFMod); in ArithmeticsPass() 46 !(opcode == spv::Op::OpFMul && in ArithmeticsPass() 51 << spvOpcodeString(opcode); in ArithmeticsPass() 61 << spvOpcodeString(opcode) << " operan in ArithmeticsPass() [all...] |
| /third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
| H A D | available_instructions_test.cpp | 179 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 180 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() 186 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 187 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST() 188 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() 189 ASSERT_EQ(SpvOpFunctionCall, available[40]->opcode()); in TEST() 190 ASSERT_EQ(SpvOpStore, available[45]->opcode()); in TEST() 196 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 197 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST() 198 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
| H A D | available_instructions_test.cpp | 179 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 180 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() 186 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 187 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST() 188 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() 189 ASSERT_EQ(SpvOpFunctionCall, available[40]->opcode()); in TEST() 190 ASSERT_EQ(SpvOpStore, available[45]->opcode()); in TEST() 196 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST() 197 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST() 198 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST() [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_info.c | 39 { .opcode = TGSI_OPCODE_ ## name, \ 43 #define OPCODE_GAP(opc) { .opcode = opc }, 54 tgsi_get_opcode_info(enum tgsi_opcode opcode) in tgsi_get_opcode_info() argument 58 ASSERT_BITFIELD_SIZE(struct tgsi_opcode_info, opcode, TGSI_OPCODE_LAST - 1); in tgsi_get_opcode_info() 66 assert(opcode_info[i].opcode == i); in tgsi_get_opcode_info() 69 if (opcode < TGSI_OPCODE_LAST) in tgsi_get_opcode_info() 70 return &opcode_info[opcode]; in tgsi_get_opcode_info() 88 tgsi_get_opcode_name(enum tgsi_opcode opcode) in tgsi_get_opcode_name() argument 90 if (opcode >= ARRAY_SIZE(opcode_names)) in tgsi_get_opcode_name() 92 return opcode_names[opcode]; in tgsi_get_opcode_name() 123 tgsi_opcode_infer_type(enum tgsi_opcode opcode) tgsi_opcode_infer_type() argument 251 tgsi_opcode_infer_src_type(enum tgsi_opcode opcode, uint src_idx) tgsi_opcode_infer_src_type() argument 336 tgsi_opcode_infer_dst_type(enum tgsi_opcode opcode, uint dst_idx) tgsi_opcode_infer_dst_type() argument [all...] |