/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | transformation_replace_linear_algebra_instruction_test.cpp | 79 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 …]
|
D | transformation_add_image_sample_unused_components_test.cpp | 75 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 …]
|
D | transformation_adjust_branch_weights_test.cpp | 110 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 …]
|
D | transformation_push_id_through_variable_test.cpp | 114 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/ |
D | transformation_replace_linear_algebra_instruction_test.cpp | 79 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 …]
|
D | transformation_add_image_sample_unused_components_test.cpp | 75 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 …]
|
D | transformation_adjust_branch_weights_test.cpp | 110 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 …]
|
D | transformation_push_id_through_variable_test.cpp | 114 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/ |
D | transformation_replace_linear_algebra_instruction_test.cpp | 79 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 …]
|
D | transformation_add_image_sample_unused_components_test.cpp | 75 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 …]
|
D | transformation_adjust_branch_weights_test.cpp | 110 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 …]
|
D | transformation_push_id_through_variable_test.cpp | 114 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/ |
D | transformation_swap_commutable_operands.cpp | 28 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()
|
D | transformation_toggle_access_chain_instruction.cpp | 30 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()
|
D | instruction_descriptor.cpp | 21 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()
|
D | transformation_adjust_branch_weights.cpp | 35 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()
|
D | fuzzer_pass_add_vector_shuffle_instructions.cpp | 35 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/ |
D | transformation_swap_commutable_operands.cpp | 29 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()
|
D | transformation_toggle_access_chain_instruction.cpp | 31 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()
|
D | transformation_adjust_branch_weights.cpp | 35 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()
|
D | fuzzer_pass_add_vector_shuffle_instructions.cpp | 38 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/ |
D | transformation_swap_commutable_operands.cpp | 29 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()
|
D | transformation_toggle_access_chain_instruction.cpp | 31 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()
|
D | transformation_adjust_branch_weights.cpp | 35 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()
|
D | fuzzer_pass_add_vector_shuffle_instructions.cpp | 38 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()
|