/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | fold.cpp | 45 uint32_t InstructionFolder::UnaryOperate(SpvOp opcode, uint32_t operand) const { in UnaryOperate() 48 case SpvOp::SpvOpSNegate: { in UnaryOperate() 55 case SpvOp::SpvOpNot: in UnaryOperate() 57 case SpvOp::SpvOpLogicalNot: in UnaryOperate() 59 case SpvOp::SpvOpUConvert: in UnaryOperate() 61 case SpvOp::SpvOpSConvert: in UnaryOperate() 70 uint32_t InstructionFolder::BinaryOperate(SpvOp opcode, uint32_t a, in BinaryOperate() 74 case SpvOp::SpvOpIAdd: in BinaryOperate() 76 case SpvOp::SpvOpISub: in BinaryOperate() 78 case SpvOp::SpvOpIMul: in BinaryOperate() [all …]
|
D | inst_bindless_check_pass.cpp | 79 if (image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalReference() 87 assert(image_inst->opcode() == SpvOp::SpvOpImage && in CloneOriginalReference() 120 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId() 121 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId() 122 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId() 123 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId() 124 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId() 125 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId() 126 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId() 127 case SpvOp::SpvOpImageSampleProjDrefExplicitLod: in GetImageId() [all …]
|
D | reflect.h | 27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() 31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() 34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() 37 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() 40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() 45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst() 53 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst() 56 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst() 59 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst() 62 inline bool IsTerminatorInst(SpvOp opcode) { in IsTerminatorInst()
|
D | freeze_spec_constant_value_pass.cpp | 26 case SpvOp::SpvOpSpecConstant: in Process() 27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process() 30 case SpvOp::SpvOpSpecConstantTrue: in Process() 31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process() 34 case SpvOp::SpvOpSpecConstantFalse: in Process() 35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process() 38 case SpvOp::SpvOpDecorate: in Process()
|
D | fold_spec_constant_op_and_composite_pass.cpp | 68 switch (SpvOp opcode = inst->opcode()) { in Process() 70 case SpvOp::SpvOpConstantTrue: in Process() 71 case SpvOp::SpvOpConstantFalse: in Process() 72 case SpvOp::SpvOpConstant: in Process() 73 case SpvOp::SpvOpConstantNull: in Process() 74 case SpvOp::SpvOpConstantComposite: in Process() 75 case SpvOp::SpvOpSpecConstantComposite: { in Process() 87 if (opcode == SpvOp::SpvOpSpecConstantComposite) { in Process() 88 inst->SetOpcode(SpvOp::SpvOpConstantComposite); in Process() 102 case SpvOp::SpvOpSpecConstantOp: in Process() [all …]
|
D | unify_const_pass.cpp | 142 case SpvOp::SpvOpConstantTrue: in Process() 143 case SpvOp::SpvOpConstantFalse: in Process() 144 case SpvOp::SpvOpConstant: in Process() 145 case SpvOp::SpvOpConstantNull: in Process() 146 case SpvOp::SpvOpConstantSampler: in Process() 147 case SpvOp::SpvOpConstantComposite: in Process() 157 case SpvOp::SpvOpSpecConstantOp: in Process() 158 case SpvOp::SpvOpSpecConstantComposite: { in Process()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | fold.cpp | 45 uint32_t InstructionFolder::UnaryOperate(SpvOp opcode, uint32_t operand) const { in UnaryOperate() 48 case SpvOp::SpvOpSNegate: { in UnaryOperate() 55 case SpvOp::SpvOpNot: in UnaryOperate() 57 case SpvOp::SpvOpLogicalNot: in UnaryOperate() 59 case SpvOp::SpvOpUConvert: in UnaryOperate() 61 case SpvOp::SpvOpSConvert: in UnaryOperate() 70 uint32_t InstructionFolder::BinaryOperate(SpvOp opcode, uint32_t a, in BinaryOperate() 74 case SpvOp::SpvOpIAdd: in BinaryOperate() 76 case SpvOp::SpvOpISub: in BinaryOperate() 78 case SpvOp::SpvOpIMul: in BinaryOperate() [all …]
|
D | inst_bindless_check_pass.cpp | 79 if (image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalReference() 87 assert(image_inst->opcode() == SpvOp::SpvOpImage && in CloneOriginalReference() 120 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId() 121 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId() 122 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId() 123 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId() 124 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId() 125 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId() 126 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId() 127 case SpvOp::SpvOpImageSampleProjDrefExplicitLod: in GetImageId() [all …]
|
D | reflect.h | 27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() 31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() 34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() 37 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() 40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() 45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst() 51 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst() 54 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst() 57 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst() 60 inline bool IsTerminatorInst(SpvOp opcode) { in IsTerminatorInst()
|
D | freeze_spec_constant_value_pass.cpp | 26 case SpvOp::SpvOpSpecConstant: in Process() 27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process() 30 case SpvOp::SpvOpSpecConstantTrue: in Process() 31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process() 34 case SpvOp::SpvOpSpecConstantFalse: in Process() 35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process() 38 case SpvOp::SpvOpDecorate: in Process()
|
D | fold_spec_constant_op_and_composite_pass.cpp | 68 switch (SpvOp opcode = inst->opcode()) { in Process() 70 case SpvOp::SpvOpConstantTrue: in Process() 71 case SpvOp::SpvOpConstantFalse: in Process() 72 case SpvOp::SpvOpConstant: in Process() 73 case SpvOp::SpvOpConstantNull: in Process() 74 case SpvOp::SpvOpConstantComposite: in Process() 75 case SpvOp::SpvOpSpecConstantComposite: { in Process() 87 if (opcode == SpvOp::SpvOpSpecConstantComposite) { in Process() 88 inst->SetOpcode(SpvOp::SpvOpConstantComposite); in Process() 102 case SpvOp::SpvOpSpecConstantOp: in Process() [all …]
|
D | unify_const_pass.cpp | 142 case SpvOp::SpvOpConstantTrue: in Process() 143 case SpvOp::SpvOpConstantFalse: in Process() 144 case SpvOp::SpvOpConstant: in Process() 145 case SpvOp::SpvOpConstantNull: in Process() 146 case SpvOp::SpvOpConstantSampler: in Process() 147 case SpvOp::SpvOpConstantComposite: in Process() 157 case SpvOp::SpvOpSpecConstantOp: in Process() 158 case SpvOp::SpvOpSpecConstantComposite: { in Process()
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | fold.cpp | 45 uint32_t InstructionFolder::UnaryOperate(SpvOp opcode, uint32_t operand) const { in UnaryOperate() 48 case SpvOp::SpvOpSNegate: { in UnaryOperate() 55 case SpvOp::SpvOpNot: in UnaryOperate() 57 case SpvOp::SpvOpLogicalNot: in UnaryOperate() 59 case SpvOp::SpvOpUConvert: in UnaryOperate() 61 case SpvOp::SpvOpSConvert: in UnaryOperate() 70 uint32_t InstructionFolder::BinaryOperate(SpvOp opcode, uint32_t a, in BinaryOperate() 74 case SpvOp::SpvOpIAdd: in BinaryOperate() 76 case SpvOp::SpvOpISub: in BinaryOperate() 78 case SpvOp::SpvOpIMul: in BinaryOperate() [all …]
|
D | inst_bindless_check_pass.cpp | 79 if (image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalReference() 87 assert(image_inst->opcode() == SpvOp::SpvOpImage && in CloneOriginalReference() 120 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId() 121 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId() 122 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId() 123 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId() 124 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId() 125 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId() 126 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId() 127 case SpvOp::SpvOpImageSampleProjDrefExplicitLod: in GetImageId() [all …]
|
D | reflect.h | 27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() 31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() 34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() 37 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() 40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() 45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst() 53 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst() 56 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst() 59 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst() 62 inline bool IsTerminatorInst(SpvOp opcode) { in IsTerminatorInst()
|
D | freeze_spec_constant_value_pass.cpp | 26 case SpvOp::SpvOpSpecConstant: in Process() 27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process() 30 case SpvOp::SpvOpSpecConstantTrue: in Process() 31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process() 34 case SpvOp::SpvOpSpecConstantFalse: in Process() 35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process() 38 case SpvOp::SpvOpDecorate: in Process()
|
D | fold_spec_constant_op_and_composite_pass.cpp | 68 switch (SpvOp opcode = inst->opcode()) { in Process() 70 case SpvOp::SpvOpConstantTrue: in Process() 71 case SpvOp::SpvOpConstantFalse: in Process() 72 case SpvOp::SpvOpConstant: in Process() 73 case SpvOp::SpvOpConstantNull: in Process() 74 case SpvOp::SpvOpConstantComposite: in Process() 75 case SpvOp::SpvOpSpecConstantComposite: { in Process() 87 if (opcode == SpvOp::SpvOpSpecConstantComposite) { in Process() 88 inst->SetOpcode(SpvOp::SpvOpConstantComposite); in Process() 102 case SpvOp::SpvOpSpecConstantOp: in Process() [all …]
|
D | unify_const_pass.cpp | 142 case SpvOp::SpvOpConstantTrue: in Process() 143 case SpvOp::SpvOpConstantFalse: in Process() 144 case SpvOp::SpvOpConstant: in Process() 145 case SpvOp::SpvOpConstantNull: in Process() 146 case SpvOp::SpvOpConstantSampler: in Process() 147 case SpvOp::SpvOpConstantComposite: in Process() 157 case SpvOp::SpvOpSpecConstantOp: in Process() 158 case SpvOp::SpvOpSpecConstantComposite: { in Process()
|
D | flatten_decoration_pass.cpp | 52 case SpvOp::SpvOpDecorationGroup: in Process() 55 case SpvOp::SpvOpGroupDecorate: { in Process() 61 case SpvOp::SpvOpGroupMemberDecorate: { in Process() 80 case SpvOp::SpvOpDecorationGroup: in Process() 81 case SpvOp::SpvOpGroupDecorate: in Process() 82 case SpvOp::SpvOpGroupMemberDecorate: in Process() 85 case SpvOp::SpvOpDecorate: { in Process() 118 context(), SpvOp::SpvOpMemberDecorate, 0, 0, operands)); in Process() 149 if (debug_inst_iter->opcode() == SpvOp::SpvOpName) { in Process()
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | opcode.h | 32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode); 48 const SpvOp opcode, 55 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, 61 int32_t spvOpcodeIsScalarType(const SpvOp opcode); 65 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode); 69 int32_t spvOpcodeIsConstant(const SpvOp opcode); 72 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode); 75 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode); 79 int32_t spvOpcodeIsComposite(const SpvOp opcode); 83 int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode); [all …]
|
D | opcode.cpp | 67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() 128 const SpvOp opcode, in spvOpcodeTableValueLookup() 169 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() 180 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy() 189 spv_opcode_desc_t needle = {"", static_cast<SpvOp>(opcode), in spvOpcodeString() 207 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType() 218 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) { in spvOpcodeIsSpecConstant() 231 int32_t spvOpcodeIsConstant(const SpvOp opcode) { in spvOpcodeIsConstant() 250 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) { in spvOpcodeIsConstantOrUndef() 254 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) { in spvOpcodeIsScalarSpecConstant() [all …]
|
/external/angle/third_party/spirv-tools/src/source/ |
D | opcode.h | 32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode); 48 const SpvOp opcode, 55 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, 61 int32_t spvOpcodeIsScalarType(const SpvOp opcode); 65 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode); 69 int32_t spvOpcodeIsConstant(const SpvOp opcode); 72 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode); 75 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode); 79 int32_t spvOpcodeIsComposite(const SpvOp opcode); 83 int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode); [all …]
|
D | opcode.cpp | 67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() 128 const SpvOp opcode, in spvOpcodeTableValueLookup() 169 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() 180 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy() 189 spv_opcode_desc_t needle = {"", static_cast<SpvOp>(opcode), in spvOpcodeString() 207 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType() 218 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) { in spvOpcodeIsSpecConstant() 231 int32_t spvOpcodeIsConstant(const SpvOp opcode) { in spvOpcodeIsConstant() 250 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) { in spvOpcodeIsConstantOrUndef() 254 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) { in spvOpcodeIsScalarSpecConstant() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | opcode.h | 32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode); 48 const SpvOp opcode, 55 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, 61 int32_t spvOpcodeIsScalarType(const SpvOp opcode); 65 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode); 69 int32_t spvOpcodeIsConstant(const SpvOp opcode); 72 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode); 75 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode); 79 int32_t spvOpcodeIsComposite(const SpvOp opcode); 83 int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode); [all …]
|
D | opcode.cpp | 65 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() 126 const SpvOp opcode, in spvOpcodeTableValueLookup() 167 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() 178 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy() 187 spv_opcode_desc_t needle = {"", static_cast<SpvOp>(opcode), in spvOpcodeString() 205 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType() 216 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode) { in spvOpcodeIsSpecConstant() 229 int32_t spvOpcodeIsConstant(const SpvOp opcode) { in spvOpcodeIsConstant() 248 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) { in spvOpcodeIsConstantOrUndef() 252 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) { in spvOpcodeIsScalarSpecConstant() [all …]
|