/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | replayer_test.cpp | 84 std::vector<uint32_t> binary_in; in TEST() local 87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 88 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 328 std::vector<uint32_t> binary_in; in TEST() local 331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 332 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 448 std::vector<uint32_t> binary_in; TEST() local [all...] |
H A D | fuzzer_shrinker_test.cpp | 972 // |binary_in| and |initial_facts| are a SPIR-V binary and sequence of facts to 987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, 996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, 1026 std::vector<uint32_t> binary_in; 1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1030 ASSERT_TRUE(t.Validate(binary_in)); 1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); 1084 RunAndCheckShrinker(env, binary_in, initial_facts, 1086 AlwaysInteresting().AsFunction(), binary_in, 0, 1091 env, binary_in, initial_fact [all...] |
H A D | fuzzer_replayer_test.cpp | 1646 std::vector<uint32_t> binary_in; 1649 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1650 ASSERT_TRUE(t.Validate(binary_in)); 1671 binary_in, validator_options, 1703 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | replayer_test.cpp | 84 std::vector<uint32_t> binary_in; in TEST() local 87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 88 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 328 std::vector<uint32_t> binary_in; in TEST() local 331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 332 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 448 std::vector<uint32_t> binary_in; TEST() local [all...] |
H A D | fuzzer_shrinker_test.cpp | 972 // |binary_in| and |initial_facts| are a SPIR-V binary and sequence of facts to 987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, 996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, 1026 std::vector<uint32_t> binary_in; 1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1030 ASSERT_TRUE(t.Validate(binary_in)); 1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); 1084 RunAndCheckShrinker(env, binary_in, initial_facts, 1086 AlwaysInteresting().AsFunction(), binary_in, 0, 1091 env, binary_in, initial_fact [all...] |
H A D | fuzzer_replayer_test.cpp | 1646 std::vector<uint32_t> binary_in; 1649 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1650 ASSERT_TRUE(t.Validate(binary_in)); 1671 binary_in, validator_options, 1703 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts,
|
/third_party/spirv-tools/test/fuzz/ |
H A D | replayer_test.cpp | 84 std::vector<uint32_t> binary_in; in TEST() local 87 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 88 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 102 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 188 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 266 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 284 Replayer(env, kConsoleMessageConsumer, binary_in, empty_facts, in TEST() 328 std::vector<uint32_t> binary_in; in TEST() local 331 ASSERT_TRUE(t.Assemble(kTestShader, &binary_in, kFuzzAssembleOption)); in TEST() 332 ASSERT_TRUE(t.Validate(binary_in)); in TEST() 448 std::vector<uint32_t> binary_in; TEST() local [all...] |
H A D | fuzzer_shrinker_test.cpp | 972 // |binary_in| and |initial_facts| are a SPIR-V binary and sequence of facts to 987 const spv_target_env& target_env, const std::vector<uint32_t>& binary_in, 996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, 1026 std::vector<uint32_t> binary_in; 1029 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1030 ASSERT_TRUE(t.Validate(binary_in)); 1057 env, kConsoleMessageConsumer, binary_in, validator_options, &ir_context)); 1084 RunAndCheckShrinker(env, binary_in, initial_facts, 1086 AlwaysInteresting().AsFunction(), binary_in, 0, 1091 env, binary_in, initial_fact [all...] |
H A D | fuzzer_replayer_test.cpp | 1646 std::vector<uint32_t> binary_in; 1649 ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption)); 1650 ASSERT_TRUE(t.Validate(binary_in)); 1671 binary_in, validator_options, 1703 Replayer(env, kConsoleMessageConsumer, binary_in, initial_facts,
|
/third_party/skia/third_party/externals/spirv-tools/test/reduce/ |
H A D | validation_during_reduction_test.cpp | 222 std::vector<uint32_t> binary_in; in TEST() local 225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 437 std::vector<uint32_t> binary_in; in TEST() local 440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 527 std::vector<uint32_t> binary_in; in TEST() local 530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST() 562 reducer.Run(std::vector<uint32_t>(binary_in), in TEST() [all...] |
H A D | reducer_test.cpp | 206 std::vector<uint32_t> binary_in; in TEST() local 209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 520 std::vector<uint32_t> binary_in; in TEST() local 524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 544 std::vector<uint32_t> binary_in; in TEST() local 548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 587 std::vector<uint32_t> binary_in; in TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
H A D | validation_during_reduction_test.cpp | 222 std::vector<uint32_t> binary_in; in TEST() local 225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 437 std::vector<uint32_t> binary_in; in TEST() local 440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 527 std::vector<uint32_t> binary_in; in TEST() local 530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST() 562 reducer.Run(std::vector<uint32_t>(binary_in), in TEST() [all...] |
H A D | reducer_test.cpp | 206 std::vector<uint32_t> binary_in; in TEST() local 209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 520 std::vector<uint32_t> binary_in; in TEST() local 524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 544 std::vector<uint32_t> binary_in; in TEST() local 548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 587 std::vector<uint32_t> binary_in; in TEST() local [all...] |
/third_party/spirv-tools/test/reduce/ |
H A D | validation_during_reduction_test.cpp | 222 std::vector<uint32_t> binary_in; in TEST() local 225 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 234 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 437 std::vector<uint32_t> binary_in; in TEST() local 440 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 449 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 527 std::vector<uint32_t> binary_in; in TEST() local 530 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 546 reducer.Run(std::vector<uint32_t>(binary_in), &binary_out, in TEST() 562 reducer.Run(std::vector<uint32_t>(binary_in), in TEST() [all...] |
H A D | reducer_test.cpp | 206 std::vector<uint32_t> binary_in; in TEST() local 209 ASSERT_TRUE(t.Assemble(original, &binary_in, kReduceAssembleOption)); in TEST() 217 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 520 std::vector<uint32_t> binary_in; in TEST() local 524 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 532 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 544 std::vector<uint32_t> binary_in; in TEST() local 548 t.Assemble(kShaderWithLoopsDivAndMul, &binary_in, kReduceAssembleOption)); in TEST() 556 std::move(binary_in), &binary_out, reducer_options, validator_options); in TEST() 587 std::vector<uint32_t> binary_in; in TEST() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | optimizer_test.cpp | 40 std::vector<uint32_t> binary_in; in TEST() local 42 &binary_in); in TEST() 47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST() 57 std::vector<uint32_t> binary_in; in TEST() local 59 &binary_in); in TEST() 64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
|
H A D | strip_reflect_info_test.cpp | 49 std::vector<uint32_t> binary_in; in TEST_F() local 50 tools.Assemble(before, &binary_in); in TEST_F() 53 // pass over the |binary_in| module, and place the modified module in TEST_F() 58 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | optimizer_test.cpp | 40 std::vector<uint32_t> binary_in; in TEST() local 42 &binary_in); in TEST() 47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST() 57 std::vector<uint32_t> binary_in; in TEST() local 59 &binary_in); in TEST() 64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
|
H A D | strip_reflect_info_test.cpp | 49 std::vector<uint32_t> binary_in; in TEST_F() local 50 tools.Assemble(before, &binary_in); in TEST_F() 53 // pass over the |binary_in| module, and place the modified module in TEST_F() 58 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
|
/third_party/spirv-tools/test/opt/ |
H A D | optimizer_test.cpp | 40 std::vector<uint32_t> binary_in; in TEST() local 42 &binary_in); in TEST() 47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST() 57 std::vector<uint32_t> binary_in; in TEST() local 59 &binary_in); in TEST() 64 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
|
H A D | strip_nonsemantic_info_test.cpp | 47 std::vector<uint32_t> binary_in; in TEST_F() local 48 tools.Assemble(before, &binary_in); in TEST_F() 51 // pass over the |binary_in| module, and place the modified module in TEST_F() 56 optimizer.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 470 const std::vector<uint32_t>& binary_in, in Replay() 501 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay() 514 const std::vector<uint32_t>& binary_in, in Shrink() 554 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink() 571 const std::vector<uint32_t>& binary_in, in Fuzz() 605 binary_in, validator_options, in Fuzz() 733 std::vector<uint32_t> binary_in; in main() local 734 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main() 765 target_env, validator_options, binary_in, initial_facts, in main() 771 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main() 467 Replay(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& replay_transformations_file, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Replay() argument 511 Shrink(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& shrink_transformations_file, const std::string& shrink_temp_file_prefix, const std::vector<std::string>& interestingness_command, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Shrink() argument 568 Fuzz(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& donors, spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy, FuzzingTarget fuzzing_target, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Fuzz() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/ |
H A D | fuzz.cpp | 470 const std::vector<uint32_t>& binary_in, in Replay() 501 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay() 514 const std::vector<uint32_t>& binary_in, in Shrink() 554 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink() 571 const std::vector<uint32_t>& binary_in, in Fuzz() 605 binary_in, validator_options, in Fuzz() 733 std::vector<uint32_t> binary_in; in main() local 734 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main() 765 target_env, validator_options, binary_in, initial_facts, in main() 771 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main() 467 Replay(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& replay_transformations_file, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Replay() argument 511 Shrink(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& shrink_transformations_file, const std::string& shrink_temp_file_prefix, const std::vector<std::string>& interestingness_command, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Shrink() argument 568 Fuzz(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& donors, spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy, FuzzingTarget fuzzing_target, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Fuzz() argument [all...] |
/third_party/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 464 const std::vector<uint32_t>& binary_in, in Replay() 495 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Replay() 508 const std::vector<uint32_t>& binary_in, in Shrink() 548 target_env, spvtools::utils::CLIMessageConsumer, binary_in, in Shrink() 565 const std::vector<uint32_t>& binary_in, in Fuzz() 599 binary_in, validator_options, in Fuzz() 714 std::vector<uint32_t> binary_in; in main() local 715 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main() 747 target_env, validator_options, binary_in, initial_facts, in main() 753 if (!Fuzz(target_env, fuzzer_options, validator_options, binary_in, in main() 461 Replay(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& replay_transformations_file, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Replay() argument 505 Shrink(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& shrink_transformations_file, const std::string& shrink_temp_file_prefix, const std::vector<std::string>& interestingness_command, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Shrink() argument 562 Fuzz(const spv_target_env& target_env, spv_const_fuzzer_options fuzzer_options, spv_validator_options validator_options, const std::vector<uint32_t>& binary_in, const spvtools::fuzz::protobufs::FactSequence& initial_facts, const std::string& donors, spvtools::fuzz::RepeatedPassStrategy repeated_pass_strategy, FuzzingTarget fuzzing_target, std::vector<uint32_t>* binary_out, spvtools::fuzz::protobufs::TransformationSequence* transformations_applied) Fuzz() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/tools/reduce/ |
H A D | reduce.cpp | 320 std::vector<uint32_t> binary_in; in main() local 321 if (!ReadBinaryFile<uint32_t>(in_binary_file.c_str(), &binary_in)) { in main() 330 binary_in.data(), binary_in.size()); in main() 349 const auto reduction_status = reducer.Run(std::move(binary_in), &binary_out, in main()
|