19#ifndef BF_P4C_PHV_SLICING_PHV_SLICING_SPLIT_H_
20#define BF_P4C_PHV_SLICING_PHV_SLICING_SPLIT_H_
25#include "bf-p4c/phv/utils/utils.h"
26#include "lib/bitvec.h"
27#include "lib/ordered_map.h"
37using ListClusterPair = std::pair<SuperCluster::SliceList *, const RotationalCluster *>;
42std::optional<std::list<SuperCluster *>> split(
const SuperCluster *sc,
const SplitSchema &schema);
48std::optional<std::list<PHV::SuperCluster *>> split_rotational_cluster(
const PHV::SuperCluster *sc,
50 int max_aligment = 0);
55std::ostream &operator<<(std::ostream &out,
const PHV::Slicing::ListClusterPair &pair);
56std::ostream &operator<<(std::ostream &out,
const PHV::Slicing::ListClusterPair *pair);
Definition ordered_map.h:32
Definition phv/utils/utils.h:1049
The namespace encapsulating PHV-related stuff.
Definition gateway.h:32