/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | fuzz_test_util.h | 33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary, 38 bool IsEqual(spv_target_env env, const std::string& expected_text, 43 bool IsEqual(spv_target_env env, const std::string& expected_text, 48 bool IsEqual(spv_target_env env, const opt::IRContext* ir_1, 53 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& binary_1,
|
D | fuzz_test_util.cpp | 51 bool IsEqual(const spv_target_env env, in IsEqual() function 75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function 82 return IsEqual(env, expected_binary, actual_binary); in IsEqual() 85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function 89 return IsEqual(env, expected_text, actual_binary); in IsEqual() 92 bool IsEqual(const spv_target_env env, const opt::IRContext* ir_1, in IsEqual() function 98 return IsEqual(env, binary_1, binary_2); in IsEqual() 101 bool IsEqual(const spv_target_env env, const std::vector<uint32_t>& binary_1, in IsEqual() function 105 return IsEqual(env, binary_1, binary_2); in IsEqual()
|
D | transformation_propagate_instruction_up_test.cpp | 181 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 245 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 311 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 430 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 547 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 658 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 738 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 818 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 892 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_merge_blocks_test.cpp | 203 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 278 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 359 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 425 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 518 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 612 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 698 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_split_block_test.cpp | 255 ASSERT_TRUE(IsEqual(env, after_split_1, context.get())); in TEST() 306 ASSERT_TRUE(IsEqual(env, after_split_2, context.get())); in TEST() 359 ASSERT_TRUE(IsEqual(env, after_split_3, context.get())); in TEST() 486 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 615 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 789 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 862 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
|
D | transformation_propagate_instruction_down_test.cpp | 273 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 440 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 552 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 640 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 814 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 941 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1048 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1133 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_inline_function_test.cpp | 385 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 754 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 828 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1021 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1111 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST()
|
D | transformation_duplicate_region_with_selection_test.cpp | 159 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 289 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 907 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1064 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1282 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1476 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1596 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1877 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 2006 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 2137 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() [all …]
|
D | transformation_add_function_test.cpp | 293 ASSERT_TRUE(IsEqual(env, after_transformation1, context.get())); in TEST() 432 ASSERT_TRUE(IsEqual(env, after_transformation2, context.get())); in TEST() 712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 923 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 969 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 1083 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 1130 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 1441 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 1609 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() [all …]
|
D | transformation_replace_linear_algebra_instruction_test.cpp | 464 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 576 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 849 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1183 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1515 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2057 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2346 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2481 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST()
|
D | transformation_outline_function_test.cpp | 82 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 221 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 296 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 379 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 496 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 572 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 650 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 749 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1234 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1331 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all …]
|
D | transformation_flatten_conditional_branch_test.cpp | 337 ASSERT_TRUE(IsEqual(env, after_transformations, context.get())); in TEST() 642 ASSERT_TRUE(IsEqual(env, after_transformations, context.get())); in TEST() 806 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 873 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 940 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1011 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1082 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1186 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1536 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1668 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | fuzz_test_util.h | 33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary, 38 bool IsEqual(spv_target_env env, const std::string& expected_text, 43 bool IsEqual(spv_target_env env, const std::string& expected_text, 48 bool IsEqual(spv_target_env env, const opt::IRContext* ir_1, 53 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& binary_1,
|
D | fuzz_test_util.cpp | 51 bool IsEqual(const spv_target_env env, in IsEqual() function 75 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function 82 return IsEqual(env, expected_binary, actual_binary); in IsEqual() 85 bool IsEqual(const spv_target_env env, const std::string& expected_text, in IsEqual() function 89 return IsEqual(env, expected_text, actual_binary); in IsEqual() 92 bool IsEqual(const spv_target_env env, const opt::IRContext* ir_1, in IsEqual() function 98 return IsEqual(env, binary_1, binary_2); in IsEqual() 101 bool IsEqual(const spv_target_env env, const std::vector<uint32_t>& binary_1, in IsEqual() function 105 return IsEqual(env, binary_1, binary_2); in IsEqual()
|
D | transformation_propagate_instruction_up_test.cpp | 181 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 245 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 311 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 430 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 547 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 658 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 738 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 818 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 892 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_merge_blocks_test.cpp | 203 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 278 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 359 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 425 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 518 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 612 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 698 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_split_block_test.cpp | 255 ASSERT_TRUE(IsEqual(env, after_split_1, context.get())); in TEST() 306 ASSERT_TRUE(IsEqual(env, after_split_2, context.get())); in TEST() 359 ASSERT_TRUE(IsEqual(env, after_split_3, context.get())); in TEST() 486 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 615 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 789 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST() 862 ASSERT_TRUE(IsEqual(env, after_split, context.get())); in TEST()
|
D | transformation_propagate_instruction_down_test.cpp | 273 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 440 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 552 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 640 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 814 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 941 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1048 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1133 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
D | transformation_inline_function_test.cpp | 385 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 754 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 828 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1021 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1111 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST()
|
D | transformation_duplicate_region_with_selection_test.cpp | 159 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 289 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 907 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1064 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1282 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1476 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1596 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1877 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 2006 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 2137 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() [all …]
|
D | transformation_add_function_test.cpp | 293 ASSERT_TRUE(IsEqual(env, after_transformation1, context.get())); in TEST() 432 ASSERT_TRUE(IsEqual(env, after_transformation2, context.get())); in TEST() 712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 811 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 923 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 969 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 1083 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 1130 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() 1441 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST() 1609 ASSERT_TRUE(IsEqual(env, added_as_livesafe_code, context2.get())); in TEST() [all …]
|
D | transformation_replace_linear_algebra_instruction_test.cpp | 464 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 576 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 849 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1183 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 1515 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2057 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2346 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST() 2481 ASSERT_TRUE(IsEqual(env, variant_shader, context.get())); in TEST()
|
D | transformation_outline_function_test.cpp | 82 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 221 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 296 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 379 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 496 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 572 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 650 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 749 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1234 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1331 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all …]
|
D | transformation_flatten_conditional_branch_test.cpp | 337 ASSERT_TRUE(IsEqual(env, after_transformations, context.get())); in TEST() 642 ASSERT_TRUE(IsEqual(env, after_transformations, context.get())); in TEST() 806 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 873 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 940 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1011 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1082 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1186 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 1536 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() 1668 ASSERT_TRUE(IsEqual(env, expected_shader, context.get())); in TEST() [all …]
|
D | transformation_replace_branch_from_dead_block_with_exit_test.cpp | 164 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 444 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 566 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 697 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 780 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() 862 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|