/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | available_instructions_test.cpp | 251 return inst->opcode() == SpvOpIAdd; in TEST() 258 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 265 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 272 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST()
|
D | transformation_swap_commutable_operands_test.cpp | 121 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST() 202 instructionDescriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 225 instructionDescriptor = MakeInstructionDescriptor(11, SpvOpIAdd, 100); in TEST() 345 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST()
|
D | transformation_equation_instruction_test.cpp | 278 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 16, 16}, in TEST() 282 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 32}, in TEST() 286 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {33, 16}, in TEST() 290 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 31}, in TEST() 294 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {31, 15}, in TEST() 299 14, SpvOpIAdd, {15, 16}, return_instruction); in TEST() 419 17, SpvOpIAdd, {14, 16}, return_instruction); in TEST() 430 18, SpvOpIAdd, {16, 14}, return_instruction); in TEST() 1237 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() 1309 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() [all …]
|
D | transformation_replace_irrelevant_id_test.cpp | 86 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 135 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST()
|
/third_party/spirv-tools/test/fuzz/ |
D | available_instructions_test.cpp | 251 return inst->opcode() == SpvOpIAdd; in TEST() 258 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 265 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 272 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST()
|
D | transformation_swap_commutable_operands_test.cpp | 121 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST() 202 instructionDescriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 225 instructionDescriptor = MakeInstructionDescriptor(11, SpvOpIAdd, 100); in TEST() 345 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST()
|
D | transformation_equation_instruction_test.cpp | 278 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 16, 16}, in TEST() 282 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 32}, in TEST() 286 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {33, 16}, in TEST() 290 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 31}, in TEST() 294 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {31, 15}, in TEST() 299 14, SpvOpIAdd, {15, 16}, return_instruction); in TEST() 419 17, SpvOpIAdd, {14, 16}, return_instruction); in TEST() 430 18, SpvOpIAdd, {16, 14}, return_instruction); in TEST() 1237 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() 1309 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() [all …]
|
D | transformation_replace_irrelevant_id_test.cpp | 86 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 135 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST()
|
D | transformation_move_instruction_down_test.cpp | 98 MakeInstructionDescriptor(21, SpvOpIAdd, 0)) in TEST() 108 MakeInstructionDescriptor(10, SpvOpIAdd, 0)) in TEST() 123 MakeInstructionDescriptor(22, SpvOpIAdd, 0)); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | transformation_swap_commutable_operands_test.cpp | 121 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST() 202 instructionDescriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 225 instructionDescriptor = MakeInstructionDescriptor(11, SpvOpIAdd, 100); in TEST() 345 auto instructionDescriptor = MakeInstructionDescriptor(22, SpvOpIAdd, 0); in TEST()
|
D | available_instructions_test.cpp | 251 return inst->opcode() == SpvOpIAdd; in TEST() 258 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 265 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST() 272 ASSERT_EQ(SpvOpIAdd, available[0]->opcode()); in TEST()
|
D | transformation_equation_instruction_test.cpp | 278 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 16, 16}, in TEST() 282 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 32}, in TEST() 286 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {33, 16}, in TEST() 290 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {15, 31}, in TEST() 294 ASSERT_FALSE(TransformationEquationInstruction(14, SpvOpIAdd, {31, 15}, in TEST() 299 14, SpvOpIAdd, {15, 16}, return_instruction); in TEST() 419 17, SpvOpIAdd, {14, 16}, return_instruction); in TEST() 430 18, SpvOpIAdd, {16, 14}, return_instruction); in TEST() 1237 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() 1309 570, SpvOpIAdd, {522, 113}, return_instruction); in TEST() [all …]
|
D | transformation_replace_irrelevant_id_test.cpp | 86 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST() 135 auto instruction_24_descriptor = MakeInstructionDescriptor(24, SpvOpIAdd, 0); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_add_sub_mul_with_carrying_extended.cpp | 103 case SpvOpIAdd: in Apply() 171 case SpvOpIAdd: in IsInstructionSuitable() 204 case SpvOpIAdd: in IsInstructionSuitable()
|
D | fuzzer_pass_add_equation_instructions.cpp | 69 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpIAdd, inst_it)) { in Apply() 90 SpvOpIAdd, SpvOpISub, SpvOpLogicalNot, SpvOpSNegate, in Apply() 200 case SpvOpIAdd: in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_add_sub_mul_with_carrying_extended.cpp | 103 case SpvOpIAdd: in Apply() 171 case SpvOpIAdd: in IsInstructionSuitable() 204 case SpvOpIAdd: in IsInstructionSuitable()
|
D | fuzzer_pass_add_equation_instructions.cpp | 69 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpIAdd, inst_it)) { in Apply() 90 SpvOpIAdd, SpvOpISub, SpvOpLogicalNot, SpvOpSNegate, in Apply() 200 case SpvOpIAdd: in Apply()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_add_sub_mul_with_carrying_extended.cpp | 103 case SpvOpIAdd: in Apply() 171 case SpvOpIAdd: in IsInstructionSuitable() 204 case SpvOpIAdd: in IsInstructionSuitable()
|
D | fuzzer_pass_add_equation_instructions.cpp | 69 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpIAdd, inst_it)) { in Apply() 90 SpvOpIAdd, SpvOpISub, SpvOpLogicalNot, SpvOpSNegate, in Apply() 200 case SpvOpIAdd: in Apply()
|
/third_party/spirv-tools/test/fuzz/fact_manager/ |
D | data_synonym_and_id_equation_facts_test.cpp | 383 fact_manager.AddFactIdEquation(14, SpvOpIAdd, {15, 16}); in TEST() 442 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {14, 16}); in TEST() 447 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 14}); in TEST() 657 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {114, 16}); in TEST() 662 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 114}); in TEST()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/fact_manager/ |
D | data_synonym_and_id_equation_facts_test.cpp | 383 fact_manager.AddFactIdEquation(14, SpvOpIAdd, {15, 16}); in TEST() 442 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {14, 16}); in TEST() 447 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 14}); in TEST() 657 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {114, 16}); in TEST() 662 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 114}); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/fact_manager/ |
D | data_synonym_and_id_equation_facts_test.cpp | 383 fact_manager.AddFactIdEquation(14, SpvOpIAdd, {15, 16}); in TEST() 442 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {14, 16}); in TEST() 447 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 14}); in TEST() 657 fact_manager.AddFactIdEquation(17, SpvOpIAdd, {114, 16}); in TEST() 662 fact_manager.AddFactIdEquation(18, SpvOpIAdd, {16, 114}); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | folding_rules.cpp | 452 op_inst->opcode() == SpvOpIAdd || op_inst->opcode() == SpvOpISub) { in MergeNegateAddSubArithmetic() 458 (op_inst->opcode() == SpvOpIAdd); in MergeNegateAddSubArithmetic() 584 case SpvOpIAdd: in PerformIntegerOperation() 1007 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddNegateArithmetic() 1064 opcode = HasFloatingPoint(type) ? SpvOpFAdd : SpvOpIAdd; in MergeSubNegateArithmetic() 1088 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddAddArithmetic() 1105 other_inst->opcode() == SpvOpIAdd) { in MergeAddAddArithmetic() 1135 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddSubArithmetic() 1211 other_inst->opcode() == SpvOpIAdd) { in MergeSubAddArithmetic() 1289 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | folding_rules.cpp | 452 op_inst->opcode() == SpvOpIAdd || op_inst->opcode() == SpvOpISub) { in MergeNegateAddSubArithmetic() 458 (op_inst->opcode() == SpvOpIAdd); in MergeNegateAddSubArithmetic() 584 case SpvOpIAdd: in PerformIntegerOperation() 1007 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddNegateArithmetic() 1064 opcode = HasFloatingPoint(type) ? SpvOpFAdd : SpvOpIAdd; in MergeSubNegateArithmetic() 1088 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddAddArithmetic() 1105 other_inst->opcode() == SpvOpIAdd) { in MergeAddAddArithmetic() 1135 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddSubArithmetic() 1211 other_inst->opcode() == SpvOpIAdd) { in MergeSubAddArithmetic() 1289 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic() [all …]
|
/third_party/spirv-tools/source/opt/ |
D | folding_rules.cpp | 460 op_inst->opcode() == SpvOpIAdd || op_inst->opcode() == SpvOpISub) { in MergeNegateAddSubArithmetic() 466 (op_inst->opcode() == SpvOpIAdd); in MergeNegateAddSubArithmetic() 592 case SpvOpIAdd: in PerformIntegerOperation() 1015 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddNegateArithmetic() 1072 opcode = HasFloatingPoint(type) ? SpvOpFAdd : SpvOpIAdd; in MergeSubNegateArithmetic() 1096 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddAddArithmetic() 1113 other_inst->opcode() == SpvOpIAdd) { in MergeAddAddArithmetic() 1143 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddSubArithmetic() 1219 other_inst->opcode() == SpvOpIAdd) { in MergeSubAddArithmetic() 1297 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic() [all …]
|