Home
last modified time | relevance | path

Searched refs:instruction_descriptor (Results 1 – 25 of 130) sorted by relevance

123456

/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_replace_linear_algebra_instruction_test.cpp79 auto instruction_descriptor = MakeInstructionDescriptor(24, SpvOpDot, 0); in TEST() local
81 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
85 instruction_descriptor = in TEST()
88 {33, 34, 35, 36}, instruction_descriptor); in TEST()
93 instruction_descriptor = MakeInstructionDescriptor(30, SpvOpCopyObject, 0); in TEST()
95 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
99 instruction_descriptor = MakeInstructionDescriptor(31, SpvOpFAdd, 0); in TEST()
101 {33, 34, 35, 36, 37}, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(32, SpvOpFMul, 0); in TEST()
107 {33, 34, 35, 36}, instruction_descriptor); in TEST()
[all …]
Dtransformation_add_image_sample_unused_components_test.cpp75 auto instruction_descriptor = in TEST() local
78 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
82 instruction_descriptor = in TEST()
85 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
90 instruction_descriptor = in TEST()
93 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
97 instruction_descriptor = in TEST()
100 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(19, SpvOpLabel, 0); in TEST()
107 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
[all …]
Dtransformation_adjust_branch_weights_test.cpp110 auto instruction_descriptor = in TEST() local
113 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
118 instruction_descriptor = in TEST()
121 TransformationAdjustBranchWeights(instruction_descriptor, {0, 0}); in TEST()
129 instruction_descriptor = in TEST()
131 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
136 instruction_descriptor = in TEST()
138 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
147 instruction_descriptor = in TEST()
150 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
[all …]
Dtransformation_push_id_through_variable_test.cpp114 auto instruction_descriptor = in TEST() local
118 initializer_id, instruction_descriptor); in TEST()
128 instruction_descriptor = MakeInstructionDescriptor(38, SpvOpAccessChain, 0); in TEST()
131 initializer_id, instruction_descriptor); in TEST()
141 instruction_descriptor = MakeInstructionDescriptor(64, SpvOpAccessChain, 0); in TEST()
144 initializer_id, instruction_descriptor); in TEST()
155 instruction_descriptor = MakeInstructionDescriptor(27, SpvOpVariable, 0); in TEST()
158 initializer_id, instruction_descriptor); in TEST()
168 instruction_descriptor = MakeInstructionDescriptor(100, SpvOpUnreachable, 0); in TEST()
171 initializer_id, instruction_descriptor); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_linear_algebra_instruction_test.cpp79 auto instruction_descriptor = MakeInstructionDescriptor(24, SpvOpDot, 0); in TEST() local
81 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
85 instruction_descriptor = in TEST()
88 {33, 34, 35, 36}, instruction_descriptor); in TEST()
93 instruction_descriptor = MakeInstructionDescriptor(30, SpvOpCopyObject, 0); in TEST()
95 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
99 instruction_descriptor = MakeInstructionDescriptor(31, SpvOpFAdd, 0); in TEST()
101 {33, 34, 35, 36, 37}, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(32, SpvOpFMul, 0); in TEST()
107 {33, 34, 35, 36}, instruction_descriptor); in TEST()
[all …]
Dtransformation_add_image_sample_unused_components_test.cpp75 auto instruction_descriptor = in TEST() local
78 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
82 instruction_descriptor = in TEST()
85 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
90 instruction_descriptor = in TEST()
93 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
97 instruction_descriptor = in TEST()
100 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(19, SpvOpLabel, 0); in TEST()
107 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
[all …]
Dtransformation_adjust_branch_weights_test.cpp110 auto instruction_descriptor = in TEST() local
113 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
118 instruction_descriptor = in TEST()
121 TransformationAdjustBranchWeights(instruction_descriptor, {0, 0}); in TEST()
129 instruction_descriptor = in TEST()
131 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
136 instruction_descriptor = in TEST()
138 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
147 instruction_descriptor = in TEST()
150 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
[all …]
Dtransformation_push_id_through_variable_test.cpp114 auto instruction_descriptor = in TEST() local
118 initializer_id, instruction_descriptor); in TEST()
128 instruction_descriptor = MakeInstructionDescriptor(38, SpvOpAccessChain, 0); in TEST()
131 initializer_id, instruction_descriptor); in TEST()
141 instruction_descriptor = MakeInstructionDescriptor(64, SpvOpAccessChain, 0); in TEST()
144 initializer_id, instruction_descriptor); in TEST()
155 instruction_descriptor = MakeInstructionDescriptor(27, SpvOpVariable, 0); in TEST()
158 initializer_id, instruction_descriptor); in TEST()
168 instruction_descriptor = MakeInstructionDescriptor(100, SpvOpUnreachable, 0); in TEST()
171 initializer_id, instruction_descriptor); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_replace_linear_algebra_instruction_test.cpp79 auto instruction_descriptor = MakeInstructionDescriptor(24, SpvOpDot, 0); in TEST() local
81 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
85 instruction_descriptor = in TEST()
88 {33, 34, 35, 36}, instruction_descriptor); in TEST()
93 instruction_descriptor = MakeInstructionDescriptor(30, SpvOpCopyObject, 0); in TEST()
95 {33, 34, 35, 36, 37, 38}, instruction_descriptor); in TEST()
99 instruction_descriptor = MakeInstructionDescriptor(31, SpvOpFAdd, 0); in TEST()
101 {33, 34, 35, 36, 37}, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(32, SpvOpFMul, 0); in TEST()
107 {33, 34, 35, 36}, instruction_descriptor); in TEST()
[all …]
Dtransformation_add_image_sample_unused_components_test.cpp75 auto instruction_descriptor = in TEST() local
78 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
82 instruction_descriptor = in TEST()
85 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
90 instruction_descriptor = in TEST()
93 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
97 instruction_descriptor = in TEST()
100 TransformationAddImageSampleUnusedComponents(23, instruction_descriptor); in TEST()
105 instruction_descriptor = MakeInstructionDescriptor(19, SpvOpLabel, 0); in TEST()
107 TransformationAddImageSampleUnusedComponents(24, instruction_descriptor); in TEST()
[all …]
Dtransformation_adjust_branch_weights_test.cpp110 auto instruction_descriptor = in TEST() local
113 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
118 instruction_descriptor = in TEST()
121 TransformationAdjustBranchWeights(instruction_descriptor, {0, 0}); in TEST()
129 instruction_descriptor = in TEST()
131 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
136 instruction_descriptor = in TEST()
138 transformation = TransformationAdjustBranchWeights(instruction_descriptor, in TEST()
147 instruction_descriptor = in TEST()
150 TransformationAdjustBranchWeights(instruction_descriptor, {0, 1}); in TEST()
[all …]
Dtransformation_push_id_through_variable_test.cpp114 auto instruction_descriptor = in TEST() local
118 initializer_id, instruction_descriptor); in TEST()
128 instruction_descriptor = MakeInstructionDescriptor(38, SpvOpAccessChain, 0); in TEST()
131 initializer_id, instruction_descriptor); in TEST()
141 instruction_descriptor = MakeInstructionDescriptor(64, SpvOpAccessChain, 0); in TEST()
144 initializer_id, instruction_descriptor); in TEST()
155 instruction_descriptor = MakeInstructionDescriptor(27, SpvOpVariable, 0); in TEST()
158 initializer_id, instruction_descriptor); in TEST()
168 instruction_descriptor = MakeInstructionDescriptor(100, SpvOpUnreachable, 0); in TEST()
171 initializer_id, instruction_descriptor); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_swap_commutable_operands.cpp28 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationSwapCommutableOperands() argument
29 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationSwapCommutableOperands()
35 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
39 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
49 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dtransformation_toggle_access_chain_instruction.cpp30 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationToggleAccessChainInstruction() argument
31 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationToggleAccessChainInstruction()
37 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
43 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
59 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dinstruction_descriptor.cpp21 const protobufs::InstructionDescriptor& instruction_descriptor, in FindInstruction() argument
24 instruction_descriptor.base_instruction_result_id()); in FindInstruction()
29 block->id() == instruction_descriptor.base_instruction_result_id(); in FindInstruction()
34 instruction_descriptor.base_instruction_result_id()) { in FindInstruction()
44 instruction_descriptor.target_instruction_opcode()) { in FindInstruction()
45 if (num_ignored == instruction_descriptor.num_opcodes_to_ignore()) { in FindInstruction()
Dtransformation_adjust_branch_weights.cpp35 const protobufs::InstructionDescriptor& instruction_descriptor, in TransformationAdjustBranchWeights() argument
37 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationAdjustBranchWeights()
45 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
51 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
76 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dfuzzer_pass_add_vector_shuffle_instructions.cpp35 const protobufs::InstructionDescriptor& instruction_descriptor) in Apply()
38 instruction_descriptor.target_instruction_opcode() && in Apply()
60 [this, instruction_descriptor]( in Apply()
87 FindInstruction(instruction_descriptor, ir_context), in Apply()
135 instruction_descriptor, GetFuzzerContext()->GetFreshId(), in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_swap_commutable_operands.cpp29 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationSwapCommutableOperands() argument
30 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationSwapCommutableOperands()
36 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
40 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
50 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dtransformation_toggle_access_chain_instruction.cpp31 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationToggleAccessChainInstruction() argument
32 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationToggleAccessChainInstruction()
38 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
44 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
60 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dtransformation_adjust_branch_weights.cpp35 const protobufs::InstructionDescriptor& instruction_descriptor, in TransformationAdjustBranchWeights() argument
37 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationAdjustBranchWeights()
45 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
51 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
76 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dfuzzer_pass_add_vector_shuffle_instructions.cpp38 const protobufs::InstructionDescriptor& instruction_descriptor) in Apply()
41 instruction_descriptor.target_instruction_opcode() && in Apply()
63 [this, instruction_descriptor]( in Apply()
90 FindInstruction(instruction_descriptor, ir_context), in Apply()
138 instruction_descriptor, GetFuzzerContext()->GetFreshId(), in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_swap_commutable_operands.cpp29 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationSwapCommutableOperands() argument
30 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationSwapCommutableOperands()
36 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
40 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
50 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dtransformation_toggle_access_chain_instruction.cpp31 const protobufs::InstructionDescriptor& instruction_descriptor) { in TransformationToggleAccessChainInstruction() argument
32 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationToggleAccessChainInstruction()
38 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
44 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
60 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dtransformation_adjust_branch_weights.cpp35 const protobufs::InstructionDescriptor& instruction_descriptor, in TransformationAdjustBranchWeights() argument
37 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationAdjustBranchWeights()
45 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
51 message_.instruction_descriptor().target_instruction_opcode()); in IsApplicable()
76 FindInstruction(message_.instruction_descriptor(), ir_context); in Apply()
Dfuzzer_pass_add_vector_shuffle_instructions.cpp38 const protobufs::InstructionDescriptor& instruction_descriptor) in Apply()
41 instruction_descriptor.target_instruction_opcode() && in Apply()
63 [this, instruction_descriptor]( in Apply()
90 FindInstruction(instruction_descriptor, ir_context), in Apply()
138 instruction_descriptor, GetFuzzerContext()->GetFreshId(), in Apply()

123456