P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHV::v2::ScoreContext Class Reference

ScoreContext is the allocation context that is updated and passed down during allocation. More...

#include <utils_v2.h>

Public Member Functions

const ScAllocAlignment * alloc_alignment () const
 
const std::vector< const SuperCluster::SliceList * > * alloc_order () const
 
const ContainerGroup * cont_group () const
 
const SuperCluster * sc () const
 
const TxScoreMaker * score () const
 
const SearchConfig * search_config () const
 
int t () const
 
std::string t_tabs () const
 
ScoreContext with_alloc_alignment (const ScAllocAlignment *alignment) const
 
ScoreContext with_alloc_order (const std::vector< const SuperCluster::SliceList * > *order) const
 
ScoreContext with_cont_group (const ContainerGroup *cont_group) const
 
ScoreContext with_sc (const SuperCluster *sc) const
 
ScoreContext with_score (const TxScoreMaker *score) const
 
ScoreContext with_search_config (const SearchConfig *c) const
 
ScoreContext with_t (int t) const
 

Detailed Description

ScoreContext is the allocation context that is updated and passed down during allocation.