P4C
The P4 Compiler
|
#include <collect_pipelines.h>
Public Member Functions | |
std::vector< Pipe >::const_iterator | begin () const |
std::vector< Pipe >::const_iterator | end () const |
PipeSet | get (const IR::BFN::TnaControl *c) const |
Set of all pipes using this control. | |
PipeSet | get (const IR::BFN::TnaDeparser *d) const |
Set of all pipes using this deparser. | |
PipeSet | get (const IR::BFN::TnaParser *p) const |
Set of all pipes using this parser. | |
Friends | |
class | CollectPipelines |
Metadata about all the pipelines in the given P4 program. Can be iterated over, or one can get a set of pipes corresponding to given control/parser/deparser.