|
Jlm
|
#include <region.hpp>


Public Member Functions | |
| ~RecordingObserver () noexcept override=default | |
| RecordingObserver (const Region ®ion) | |
| void | onInputDestroy (Input *input) override |
| const std::vector< size_t > & | destroyedInputIndices () const noexcept |
| void | onNodeCreate (Node *node) override |
| const std::vector< Node::Id > & | createdNodes () const noexcept |
| void | onNodeDestroy (Node *node) override |
| const std::vector< Node::Id > & | destroyedNodes () const noexcept |
| void | onInputCreate (Input *input) override |
| const std::vector< size_t > & | createdInputIndices () const noexcept |
| void | onInputChange (Input *input, Output *, Output *) override |
| const std::vector< size_t > & | changedInputIndices () const noexcept |
Public Member Functions inherited from jlm::rvsdg::RegionObserver | |
| virtual | ~RegionObserver () noexcept |
| RegionObserver (const Region ®ion) | |
| RegionObserver (const RegionObserver &)=delete | |
| RegionObserver & | operator= (const RegionObserver &)=delete |
Private Attributes | |
| std::vector< Node::Id > | createNodes_ {} |
| std::vector< Node::Id > | destroyedNodes_ {} |
| std::vector< size_t > | createdInputIndices_ {} |
| std::vector< size_t > | changedInputIndices_ {} |
| std::vector< size_t > | destroyedInputIndices_ {} |
A region observer that records the changes to a region. This is very useful for tests.
Definition at line 891 of file region.hpp.
|
overridedefaultnoexcept |
|
inlineexplicit |
Definition at line 896 of file region.hpp.
|
inlinenoexcept |
Definition at line 955 of file region.hpp.
|
inlinenoexcept |
Definition at line 943 of file region.hpp.
|
inlinenoexcept |
Definition at line 919 of file region.hpp.
|
inlinenoexcept |
Definition at line 907 of file region.hpp.
|
inlinenoexcept |
Definition at line 931 of file region.hpp.
|
inlineoverridevirtual |
Called right after the given input gets a new origin.
| input | the input. |
| old_origin | the input's old origin. |
| new_origin | the input's new origin. |
Implements jlm::rvsdg::RegionObserver.
Definition at line 949 of file region.hpp.
|
inlineoverridevirtual |
Called after a node gets a new input, or the region gets a new result. This method is not called when creating new nodes, only modifying existing nodes.
| input | the new input |
Implements jlm::rvsdg::RegionObserver.
Definition at line 937 of file region.hpp.
|
inlineoverridevirtual |
Called right before a node input or region result is removed. This method is not called when deleting nodes, only modifying existing nodes.
| input | the input that is removed |
Implements jlm::rvsdg::RegionObserver.
Definition at line 901 of file region.hpp.
|
inlineoverridevirtual |
Called right after a node is added to the region, after the node has its inputs and output added.
| node | the node being added |
Implements jlm::rvsdg::RegionObserver.
Definition at line 913 of file region.hpp.
|
inlineoverridevirtual |
Called right before a node is removed from the region, before the node has its inputs and outputs removed.
| node | the node being removed |
Implements jlm::rvsdg::RegionObserver.
Definition at line 925 of file region.hpp.
|
private |
Definition at line 964 of file region.hpp.
|
private |
Definition at line 963 of file region.hpp.
|
private |
Definition at line 961 of file region.hpp.
|
private |
Definition at line 965 of file region.hpp.
|
private |
Definition at line 962 of file region.hpp.