|
Jlm
|
#include <simple-node.hpp>


Public Member Functions | |
| ~SimpleNode () override | |
| NodeInput * | input (size_t index) const noexcept |
| NodeOutput * | output (size_t index) const noexcept |
| const SimpleOperation & | GetOperation () const noexcept override |
| Node * | copy (Region *region, const std::vector< Output * > &operands) const override |
| Node * | copy (Region *region, SubstitutionMap &smap) const override |
| Copy a node with substitutions. More... | |
| std::string | DebugString () const override |
Public Member Functions inherited from jlm::rvsdg::Node | |
| virtual | ~Node () |
| Node (Region *region) | |
| Id | GetNodeId () const noexcept |
| size_t | ninputs () const noexcept |
| NodeInput * | input (size_t index) const noexcept |
| InputIteratorRange | Inputs () noexcept |
| InputConstIteratorRange | Inputs () const noexcept |
| size_t | noutputs () const noexcept |
| NodeOutput * | output (size_t index) const noexcept |
| OutputIteratorRange | Outputs () noexcept |
| OutputConstIteratorRange | Outputs () const noexcept |
| bool | IsDead () const noexcept |
| Determines whether the node is dead. More... | |
| std::size_t | numSuccessors () const noexcept |
| size_t | RemoveInputs (const util::HashSet< size_t > &indices) |
| size_t | RemoveOutputs (const util::HashSet< size_t > &indices) |
| Graph * | graph () const noexcept |
| rvsdg::Region * | region () const noexcept |
| virtual Node * | copy (rvsdg::Region *region, const std::vector< jlm::rvsdg::Output * > &operands) const |
Static Public Member Functions | |
| static SimpleNode & | Create (Region ®ion, std::unique_ptr< Operation > operation, const std::vector< rvsdg::Output * > &operands) |
Private Member Functions | |
| SimpleNode (rvsdg::Region ®ion, std::unique_ptr< SimpleOperation > operation, const std::vector< jlm::rvsdg::Output * > &operands) | |
Private Attributes | |
| std::unique_ptr< SimpleOperation > | Operation_ |
Additional Inherited Members | |
Public Types inherited from jlm::rvsdg::Node | |
| using | Id = uint64_t |
| using | InputIteratorRange = util::IteratorRange< Input::Iterator > |
| using | InputConstIteratorRange = util::IteratorRange< Input::ConstIterator > |
| using | OutputIteratorRange = util::IteratorRange< Output::Iterator > |
| using | OutputConstIteratorRange = util::IteratorRange< Output::ConstIterator > |
| typedef util::IntrusiveListAccessor< Node, &Node::region_node_list_anchor_ > | region_node_list_accessor |
| typedef util::IntrusiveListAccessor< Node, &Node::region_top_node_list_anchor_ > | region_top_node_list_accessor |
| typedef util::IntrusiveListAccessor< Node, &Node::region_bottom_node_list_anchor_ > | region_bottom_node_list_accessor |
Protected Member Functions inherited from jlm::rvsdg::Node | |
| NodeInput * | addInput (std::unique_ptr< NodeInput > input, bool notifyRegion) |
| NodeOutput * | addOutput (std::unique_ptr< NodeOutput > output) |
Definition at line 18 of file simple-node.hpp.
|
override |
Definition at line 14 of file simple-node.cpp.
|
private |
Definition at line 19 of file simple-node.cpp.
|
override |
Definition at line 54 of file simple-node.cpp.
|
overridevirtual |
Copy a node with substitutions.
| region | Target region to create node in |
| smap | Operand substitutions |
Create a new node that is semantically equivalent to an existing node. The newly created node will use the same operands as the existing node unless there is a substitution registered for a particular operand.
The given substitution map is updated so that all outputs of the original node will be substituted by corresponding outputs of the newly created node in subsequent copy operations.
Implements jlm::rvsdg::Node.
Definition at line 60 of file simple-node.cpp.
|
inlinestatic |
Definition at line 49 of file simple-node.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Node.
Definition at line 79 of file simple-node.cpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::Node.
Definition at line 48 of file simple-node.cpp.
|
inlinenoexcept |
Definition at line 82 of file simple-node.hpp.
|
inlinenoexcept |
Definition at line 88 of file simple-node.hpp.
|
private |
Definition at line 63 of file simple-node.hpp.