|
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 845 of file region.hpp.
|
overridedefaultnoexcept |
|
inlineexplicit |
Definition at line 850 of file region.hpp.
|
inlinenoexcept |
Definition at line 909 of file region.hpp.
|
inlinenoexcept |
Definition at line 897 of file region.hpp.
|
inlinenoexcept |
Definition at line 873 of file region.hpp.
|
inlinenoexcept |
Definition at line 861 of file region.hpp.
|
inlinenoexcept |
Definition at line 885 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 903 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 891 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 855 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 867 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 879 of file region.hpp.
|
private |
Definition at line 918 of file region.hpp.
|
private |
Definition at line 917 of file region.hpp.
|
private |
Definition at line 915 of file region.hpp.
|
private |
Definition at line 919 of file region.hpp.
|
private |
Definition at line 916 of file region.hpp.