HAL
merge_successor_predecessor_groupings.cpp
Go to the documentation of this file.
2 
7 
8 namespace hal
9 {
10  namespace dataflow
11  {
12  namespace merge_successor_predecessor_groupings
13  {
14  std::shared_ptr<Grouping> process(const processing::Configuration& config, const std::shared_ptr<Grouping>& state, bool delete_from_smaller)
15  {
16  auto new_state1 = group_by_successors_predecessors::process(config, state, true);
17  auto new_state2 = group_by_successors_predecessors::process(config, state, false);
18 
19  auto merged_state = merge_states::process(config, new_state1, new_state2, delete_from_smaller);
20 
21  return merged_state;
22  }
23 
24  } // namespace merge_successor_predecessor_groupings
25  } // namespace dataflow
26 } // namespace hal
std::shared_ptr< Grouping > process(const processing::Configuration &config, const std::shared_ptr< Grouping > &state, bool successors)
std::shared_ptr< Grouping > process(const processing::Configuration &config, const std::shared_ptr< const Grouping > &state1, const std::shared_ptr< const Grouping > &state2, bool delete_from_smaller)
std::shared_ptr< Grouping > process(const processing::Configuration &config, const std::shared_ptr< Grouping > &state, bool delete_from_smaller)
This file contains the struct that holds all information on the netlist abstraction used for dataflow...