#include <TestNodes.hpp>
Definition at line 27 of file TestNodes.hpp.
◆ ~TestStructuralNode()
| jlm::rvsdg::TestStructuralNode::~TestStructuralNode |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ TestStructuralNode()
| jlm::rvsdg::TestStructuralNode::TestStructuralNode |
( |
Region * |
parent, |
|
|
size_t |
numSubregions |
|
) |
| |
|
inlineprivate |
◆ addArguments()
◆ addInputOnly()
Add an input WITHOUT subregion arguments to a TestStructuralNode.
- Parameters
-
| origin | Value to be routed in. |
- Returns
- The created input variable.
Definition at line 208 of file TestNodes.cpp.
◆ addInputWithArguments()
Add an input WITH subregion arguments to a TestStructuralNode.
- Parameters
-
| origin | Value to be routed in. |
- Returns
- Description of input variable.
Definition at line 163 of file TestNodes.cpp.
◆ addOutputOnly()
| StructuralOutput & jlm::rvsdg::TestStructuralNode::addOutputOnly |
( |
std::shared_ptr< const Type > |
type | ) |
|
◆ addOutputWithResults()
Add an output WITH subregion results to a TestStructuralNode.
- Parameters
-
| origins | The values to be routed out. |
- Returns
- Description of output variable.
Definition at line 220 of file TestNodes.cpp.
◆ addResults()
Add subregion results WITHOUT output to a TestStructuralNode.
- Parameters
-
| origins | The values to be routed out. |
- Returns
- Description of output variable.
Definition at line 257 of file TestNodes.cpp.
◆ copy()
Copy a node with substitutions.
- Parameters
-
| region | Target region to create node in |
| smap | Operand substitutions |
- Returns
- Copied node
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 36 of file TestNodes.cpp.
◆ create()
◆ GetOperation()
◆ mapInput()
Maps input to an InputVar
- Parameters
-
- Returns
- The variable description corresponding to this input.
- Precondition
input must be an input of this node.
Definition at line 119 of file TestNodes.cpp.
◆ mapOutput()
Maps output to an OutputVar
- Parameters
-
- Returns
- The variable description corresponding to this output.
- Precondition
output must be an output of this node.
Definition at line 141 of file TestNodes.cpp.
◆ removeInputAndArguments()
| void jlm::rvsdg::TestStructuralNode::removeInputAndArguments |
( |
size_t |
index | ) |
|
Removes the input with the given index, and any subregion arguments associated with it. All such arguments must be dead.
- Parameters
-
| index | the index of the input to remove. |
Definition at line 180 of file TestNodes.cpp.
◆ removeOutputAndResults()
| void jlm::rvsdg::TestStructuralNode::removeOutputAndResults |
( |
size_t |
index | ) |
|
Removes the output with the given index, and any subregion results associated with it.
- Parameters
-
| index | the index of the output to remove. |
Definition at line 242 of file TestNodes.cpp.
The documentation for this class was generated from the following files: