Lines Matching refs:Reducer
37 Reducer::Reducer(spv_target_env target_env) : target_env_(target_env) {} in Reducer() function in spvtools::reduce::Reducer
39 Reducer::~Reducer() = default;
41 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer()
51 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction()
52 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction()
56 Reducer::ReductionResultStatus Reducer::Run( in Run()
74 return Reducer::ReductionResultStatus::kInitialStateInvalid; in Run()
81 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run()
84 Reducer::ReductionResultStatus result = in Run()
88 if (result == Reducer::ReductionResultStatus::kComplete) { in Run()
94 if (result == Reducer::ReductionResultStatus::kComplete) { in Run()
105 void Reducer::AddDefaultReductionPasses() { in AddDefaultReductionPasses()
140 void Reducer::AddReductionPass( in AddReductionPass()
146 void Reducer::AddCleanupReductionPass( in AddCleanupReductionPass()
152 bool Reducer::ReachedStepLimit(uint32_t current_step, in ReachedStepLimit()
157 Reducer::ReductionResultStatus Reducer::RunPasses( in RunPasses()
214 return Reducer::ReductionResultStatus::kStateInvalid; in RunPasses()
238 return Reducer::ReductionResultStatus::kReachedStepLimit; in RunPasses()
242 return Reducer::ReductionResultStatus::kComplete; in RunPasses()