Home
last modified time | relevance | path

Searched refs:SpvOp (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold.cpp45 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 …]
Dinst_bindless_check_pass.cpp93 } else if (old_image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalImage()
100 } else if (old_image_inst->opcode() == SpvOp::SpvOpImage) { in CloneOriginalImage()
107 assert(old_image_inst->opcode() == SpvOp::SpvOpCopyObject && in CloneOriginalImage()
153 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId()
154 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId()
155 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId()
156 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId()
157 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId()
158 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId()
159 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId()
[all …]
Dreflect.h27 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 IsOpLineInst(SpvOp opcode) { in IsOpLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst()
45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst()
53 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst()
57 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst()
60 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst()
Dfold_spec_constant_op_and_composite_pass.cpp68 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 …]
Dfreeze_spec_constant_value_pass.cpp26 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()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfold.cpp45 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 …]
Dinst_bindless_check_pass.cpp93 } else if (old_image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalImage()
100 } else if (old_image_inst->opcode() == SpvOp::SpvOpImage) { in CloneOriginalImage()
107 assert(old_image_inst->opcode() == SpvOp::SpvOpCopyObject && in CloneOriginalImage()
153 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId()
154 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId()
155 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId()
156 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId()
157 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId()
158 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId()
159 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId()
[all …]
Dreflect.h27 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 IsOpLineInst(SpvOp opcode) { in IsOpLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst()
45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst()
53 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst()
57 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst()
60 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst()
Dfold_spec_constant_op_and_composite_pass.cpp68 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 …]
Dfreeze_spec_constant_value_pass.cpp26 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()
/third_party/spirv-tools/source/opt/
Dfold.cpp45 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 …]
Dinst_bindless_check_pass.cpp86 } else if (old_image_inst->opcode() == SpvOp::SpvOpSampledImage) { in CloneOriginalImage()
93 } else if (old_image_inst->opcode() == SpvOp::SpvOpImage) { in CloneOriginalImage()
100 assert(old_image_inst->opcode() == SpvOp::SpvOpCopyObject && in CloneOriginalImage()
146 case SpvOp::SpvOpImageSampleImplicitLod: in GetImageId()
147 case SpvOp::SpvOpImageSampleExplicitLod: in GetImageId()
148 case SpvOp::SpvOpImageSampleDrefImplicitLod: in GetImageId()
149 case SpvOp::SpvOpImageSampleDrefExplicitLod: in GetImageId()
150 case SpvOp::SpvOpImageSampleProjImplicitLod: in GetImageId()
151 case SpvOp::SpvOpImageSampleProjExplicitLod: in GetImageId()
152 case SpvOp::SpvOpImageSampleProjDrefImplicitLod: in GetImageId()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp69 switch (SpvOp opcode = inst->opcode()) { in Process()
71 case SpvOp::SpvOpConstantTrue: in Process()
72 case SpvOp::SpvOpConstantFalse: in Process()
73 case SpvOp::SpvOpConstant: in Process()
74 case SpvOp::SpvOpConstantNull: in Process()
75 case SpvOp::SpvOpConstantComposite: in Process()
76 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 …]
Dreflect.h27 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 IsOpLineInst(SpvOp opcode) { in IsOpLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst()
45 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst()
53 inline bool IsConstantInst(SpvOp opcode) { in IsConstantInst()
57 inline bool IsCompileTimeConstantInst(SpvOp opcode) { in IsCompileTimeConstantInst()
60 inline bool IsSpecConstantInst(SpvOp opcode) { in IsSpecConstantInst()
Dfreeze_spec_constant_value_pass.cpp26 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dopcode.h32 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 …]
Dopcode.cpp67 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 …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dopcode.h32 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 …]
Dopcode.cpp67 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 …]
/third_party/spirv-tools/source/
Dopcode.h32 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 …]
Dopcode.cpp67 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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp30 uint32_t UnaryOperate(SpvOp opcode, uint32_t operand) { in UnaryOperate()
33 case SpvOp::SpvOpSNegate: in UnaryOperate()
35 case SpvOp::SpvOpNot: in UnaryOperate()
37 case SpvOp::SpvOpLogicalNot: in UnaryOperate()
48 uint32_t BinaryOperate(SpvOp opcode, uint32_t a, uint32_t b) { in BinaryOperate()
51 case SpvOp::SpvOpIAdd: in BinaryOperate()
53 case SpvOp::SpvOpISub: in BinaryOperate()
55 case SpvOp::SpvOpIMul: in BinaryOperate()
57 case SpvOp::SpvOpUDiv: in BinaryOperate()
60 case SpvOp::SpvOpSDiv: in BinaryOperate()
[all …]
Dfreeze_spec_constant_value_pass.cpp24 case SpvOp::SpvOpSpecConstant: in Process()
25 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
28 case SpvOp::SpvOpSpecConstantTrue: in Process()
29 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process()
32 case SpvOp::SpvOpSpecConstantFalse: in Process()
33 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process()
36 case SpvOp::SpvOpDecorate: in Process()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode);
46 const SpvOp opcode,
53 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode,
58 const char* spvOpcodeString(const SpvOp opcode);
62 int32_t spvOpcodeIsScalarType(const SpvOp opcode);
66 int32_t spvOpcodeIsConstant(const SpvOp opcode);
69 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode);
72 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode);
76 int32_t spvOpcodeIsComposite(const SpvOp opcode);
80 int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode);
[all …]
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake()
139 const SpvOp opcode, in spvOpcodeTableValueLookup()
156 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy()
167 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
173 const char* spvOpcodeString(const SpvOp opcode) { in spvOpcodeString()
184 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType()
195 int32_t spvOpcodeIsConstant(const SpvOp opcode) { in spvOpcodeIsConstant()
214 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) { in spvOpcodeIsConstantOrUndef()
218 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) { in spvOpcodeIsScalarSpecConstant()
229 int32_t spvOpcodeIsComposite(const SpvOp opcode) { in spvOpcodeIsComposite()
[all …]

12345678910>>...23