P4C
The P4 Compiler
Loading...
Searching...
No Matches
AllocAlignment Struct Reference

AllocAlignment has two maps used by tryAllocSliceList. More...

#include <allocate_phv.h>

Public Attributes

ordered_map< const PHV::AlignedCluster *, int > cluster_alignment
 a cluster_alignment maps aligned cluster to start bit location in a container.
 
ordered_map< PHV::FieldSlice, int > slice_alignment
 a slice_alignment maps field slice to start bit location in a container.
 

Detailed Description

AllocAlignment has two maps used by tryAllocSliceList.

Member Data Documentation

◆ cluster_alignment

ordered_map<const PHV::AlignedCluster *, int> AllocAlignment::cluster_alignment

a cluster_alignment maps aligned cluster to start bit location in a container.

◆ slice_alignment

ordered_map<PHV::FieldSlice, int> AllocAlignment::slice_alignment

a slice_alignment maps field slice to start bit location in a container.