P4C
The P4 Compiler
BMV2::CFG::Edge Class Referencefinal

Public Member Functions

 Edge (Node *node)
 
 Edge (Node *node, bool b)
 
 Edge (Node *node, cstring label)
 
Edgeclone (Node *node) const
 
void dbprint (std::ostream &out) const
 
bool getBool ()
 
NodegetNode ()
 
bool isBool () const
 
bool isUnconditional () const
 

Public Attributes

Nodeendpoint
 
cstring label
 

Protected Member Functions

 Edge (Node *node, EdgeType type, cstring label)
 

Protected Attributes

EdgeType type
 

Detailed Description

A CFG Edge; can be an in-edge or out-edge.

Member Data Documentation

◆ endpoint

Node* BMV2::CFG::Edge::endpoint

The destination node of the edge. The source node is not known by the edge