Home
last modified time | relevance | path

Searched refs:Shrinker (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dshrinker.h30 class Shrinker {
59 Shrinker(spv_target_env target_env, MessageConsumer consumer,
68 Shrinker(const Shrinker&) = delete;
69 Shrinker(Shrinker&&) = delete;
70 Shrinker& operator=(const Shrinker&) = delete;
71 Shrinker& operator=(Shrinker&&) = delete;
73 ~Shrinker();
Dshrinker.cpp65 Shrinker::Shrinker( in Shrinker() function in spvtools::fuzz::Shrinker
83 Shrinker::~Shrinker() = default;
85 Shrinker::ShrinkerResult Shrinker::Run() { in Run()
94 return {Shrinker::ShrinkerResultStatus::kFailedToCreateSpirvToolsInterface, in Run()
102 return {Shrinker::ShrinkerResultStatus::kInitialBinaryInvalid, in Run()
298 return {Shrinker::ShrinkerResultStatus::kStepLimitReached, in Run()
302 return {Shrinker::ShrinkerResultStatus::kComplete, in Run()
307 uint32_t Shrinker::GetIdBound(const std::vector<uint32_t>& binary) const { in GetIdBound()
Dadded_function_reducer.h52 const Shrinker::InterestingnessFunction&
168 const Shrinker::InterestingnessFunction& shrinker_interestingness_function_;
Dadded_function_reducer.cpp33 const Shrinker::InterestingnessFunction& shrinker_interestingness_function, in AddedFunctionReducer()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dshrinker.h30 class Shrinker {
59 Shrinker(spv_target_env target_env, MessageConsumer consumer,
68 Shrinker(const Shrinker&) = delete;
69 Shrinker(Shrinker&&) = delete;
70 Shrinker& operator=(const Shrinker&) = delete;
71 Shrinker& operator=(Shrinker&&) = delete;
73 ~Shrinker();
Dshrinker.cpp65 Shrinker::Shrinker( in Shrinker() function in spvtools::fuzz::Shrinker
83 Shrinker::~Shrinker() = default;
85 Shrinker::ShrinkerResult Shrinker::Run() { in Run()
94 return {Shrinker::ShrinkerResultStatus::kFailedToCreateSpirvToolsInterface, in Run()
102 return {Shrinker::ShrinkerResultStatus::kInitialBinaryInvalid, in Run()
298 return {Shrinker::ShrinkerResultStatus::kStepLimitReached, in Run()
302 return {Shrinker::ShrinkerResultStatus::kComplete, in Run()
307 uint32_t Shrinker::GetIdBound(const std::vector<uint32_t>& binary) const { in GetIdBound()
Dadded_function_reducer.h52 const Shrinker::InterestingnessFunction&
168 const Shrinker::InterestingnessFunction& shrinker_interestingness_function_;
Dadded_function_reducer.cpp33 const Shrinker::InterestingnessFunction& shrinker_interestingness_function, in AddedFunctionReducer()
/third_party/spirv-tools/source/fuzz/
Dshrinker.h30 class Shrinker {
59 Shrinker(spv_target_env target_env, MessageConsumer consumer,
68 Shrinker(const Shrinker&) = delete;
69 Shrinker(Shrinker&&) = delete;
70 Shrinker& operator=(const Shrinker&) = delete;
71 Shrinker& operator=(Shrinker&&) = delete;
73 ~Shrinker();
Dshrinker.cpp65 Shrinker::Shrinker( in Shrinker() function in spvtools::fuzz::Shrinker
83 Shrinker::~Shrinker() = default;
85 Shrinker::ShrinkerResult Shrinker::Run() { in Run()
94 return {Shrinker::ShrinkerResultStatus::kFailedToCreateSpirvToolsInterface, in Run()
102 return {Shrinker::ShrinkerResultStatus::kInitialBinaryInvalid, in Run()
298 return {Shrinker::ShrinkerResultStatus::kStepLimitReached, in Run()
302 return {Shrinker::ShrinkerResultStatus::kComplete, in Run()
307 uint32_t Shrinker::GetIdBound(const std::vector<uint32_t>& binary) const { in GetIdBound()
Dadded_function_reducer.h52 const Shrinker::InterestingnessFunction&
168 const Shrinker::InterestingnessFunction& shrinker_interestingness_function_;
Dadded_function_reducer.cpp33 const Shrinker::InterestingnessFunction& shrinker_interestingness_function, in AddedFunctionReducer()
/third_party/spirv-tools/test/fuzz/
Dshrinker_test.cpp179 Shrinker::InterestingnessFunction interestingness_function = in TEST()
201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
204 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kComplete, shrinker_result.status); in TEST()
357 Shrinker::InterestingnessFunction interestingness_function = in TEST()
373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
376 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kStepLimitReached, in TEST()
Dfuzzer_shrinker_test.cpp904 Shrinker::InterestingnessFunction AsFunction() { in AsFunction()
990 const Shrinker::InterestingnessFunction& interestingness_function, in RunAndCheckShrinker()
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1001 ASSERT_TRUE(Shrinker::ShrinkerResultStatus::kComplete == in RunAndCheckShrinker()
1003 Shrinker::ShrinkerResultStatus::kStepLimitReached == in RunAndCheckShrinker()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dshrinker_test.cpp179 Shrinker::InterestingnessFunction interestingness_function = in TEST()
201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
204 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kComplete, shrinker_result.status); in TEST()
357 Shrinker::InterestingnessFunction interestingness_function = in TEST()
373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
376 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kStepLimitReached, in TEST()
Dfuzzer_shrinker_test.cpp904 Shrinker::InterestingnessFunction AsFunction() { in AsFunction()
990 const Shrinker::InterestingnessFunction& interestingness_function, in RunAndCheckShrinker()
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1001 ASSERT_TRUE(Shrinker::ShrinkerResultStatus::kComplete == in RunAndCheckShrinker()
1003 Shrinker::ShrinkerResultStatus::kStepLimitReached == in RunAndCheckShrinker()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dshrinker_test.cpp179 Shrinker::InterestingnessFunction interestingness_function = in TEST()
201 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
204 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kComplete, shrinker_result.status); in TEST()
357 Shrinker::InterestingnessFunction interestingness_function = in TEST()
373 Shrinker(env, consumer, reference_binary, no_facts, transformations, in TEST()
376 ASSERT_EQ(Shrinker::ShrinkerResultStatus::kStepLimitReached, in TEST()
Dfuzzer_shrinker_test.cpp904 Shrinker::InterestingnessFunction AsFunction() { in AsFunction()
990 const Shrinker::InterestingnessFunction& interestingness_function, in RunAndCheckShrinker()
996 Shrinker(target_env, kConsoleMessageConsumer, binary_in, initial_facts, in RunAndCheckShrinker()
1001 ASSERT_TRUE(Shrinker::ShrinkerResultStatus::kComplete == in RunAndCheckShrinker()
1003 Shrinker::ShrinkerResultStatus::kStepLimitReached == in RunAndCheckShrinker()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp537 spvtools::fuzz::Shrinker::InterestingnessFunction interestingness_function = in Shrink()
553 spvtools::fuzz::Shrinker( in Shrink()
562 return spvtools::fuzz::Shrinker::ShrinkerResultStatus::kComplete == in Shrink()
564 spvtools::fuzz::Shrinker::ShrinkerResultStatus::kStepLimitReached == in Shrink()
/third_party/spirv-tools/tools/fuzz/
Dfuzz.cpp537 spvtools::fuzz::Shrinker::InterestingnessFunction interestingness_function = in Shrink()
553 spvtools::fuzz::Shrinker( in Shrink()
562 return spvtools::fuzz::Shrinker::ShrinkerResultStatus::kComplete == in Shrink()
564 spvtools::fuzz::Shrinker::ShrinkerResultStatus::kStepLimitReached == in Shrink()
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
Dfuzz.cpp537 spvtools::fuzz::Shrinker::InterestingnessFunction interestingness_function = in Shrink()
553 spvtools::fuzz::Shrinker( in Shrink()
562 return spvtools::fuzz::Shrinker::ShrinkerResultStatus::kComplete == in Shrink()
564 spvtools::fuzz::Shrinker::ShrinkerResultStatus::kStepLimitReached == in Shrink()