|
CIRCT 24.0.0git
|
This is an edge in the FSMGraph. More...
#include <FSMGraph.h>


Public Member Functions | |
| FSMStateNode * | getCurrentState () const |
| Get the state where the transition originates from. | |
| FSMStateNode * | getNextState () const |
| Get the module which the FSM-like is instantiating. | |
| TransitionOp | getTransition () const |
| void | erase () |
| Erase this transition, removing it from the source state and the target state's use-list. | |
Private Member Functions | |
| FSMTransitionEdge (FSMStateNode *currentState, TransitionOp transition, FSMStateNode *nextState) | |
| FSMTransitionEdge (const FSMTransitionEdge &)=delete | |
Private Attributes | |
| FSMStateNode * | currentState |
| The state where this transition originates from. | |
| TransitionOp | transition |
| The transition that this is tracking. | |
| FSMStateNode * | nextState |
| The next state of this transition. | |
| FSMTransitionEdge * | nextUse = nullptr |
| Intrusive linked list for other uses. | |
| FSMTransitionEdge * | prevUse = nullptr |
Friends | |
| class | FSMGraphBase |
| class | FSMStateNode |
This is an edge in the FSMGraph.
This tracks a transition between two states.
Definition at line 91 of file FSMGraph.h.
|
inlineprivate |
Definition at line 110 of file FSMGraph.h.
References currentState, FSMStateNode, nextState, and transition.
Referenced by FSMTransitionEdge().
|
privatedelete |
References FSMTransitionEdge().
| void FSMTransitionEdge::erase | ( | ) |
Erase this transition, removing it from the source state and the target state's use-list.
Definition at line 14 of file FSMGraph.cpp.
References currentState, erase(), nextState, nextUse, and prevUse.
Referenced by erase().
|
inline |
Get the state where the transition originates from.
Definition at line 95 of file FSMGraph.h.
References currentState, and FSMStateNode.
|
inline |
Get the module which the FSM-like is instantiating.
Definition at line 98 of file FSMGraph.h.
References FSMStateNode, and nextState.
Referenced by llvm::GraphTraits< circt::fsm::FSMStateNode * >::getNextState().
|
inline |
Definition at line 100 of file FSMGraph.h.
References transition.
Referenced by circt::fsm::FSMStateNode::eraseTransitionEdge(), and llvm::DOTGraphTraits< circt::fsm::FSMGraph * >::getEdgeAttributes().
|
friend |
|
friend |
Definition at line 108 of file FSMGraph.h.
References FSMStateNode.
Referenced by FSMStateNode, FSMTransitionEdge(), getCurrentState(), and getNextState().
|
private |
The state where this transition originates from.
Definition at line 117 of file FSMGraph.h.
Referenced by erase(), FSMTransitionEdge(), and getCurrentState().
|
private |
The next state of this transition.
Definition at line 123 of file FSMGraph.h.
Referenced by erase(), FSMTransitionEdge(), and getNextState().
|
private |
Intrusive linked list for other uses.
Definition at line 126 of file FSMGraph.h.
Referenced by erase(), and circt::fsm::FSMStateNode::recordUse().
|
private |
Definition at line 127 of file FSMGraph.h.
Referenced by erase().
|
private |
The transition that this is tracking.
Definition at line 120 of file FSMGraph.h.
Referenced by FSMTransitionEdge(), and getTransition().