|
Jlm
|
#include <TestNodes.hpp>


Classes | |
| struct | InputVar |
| A variable routed in a TestStructuralNode. More... | |
| struct | OutputVar |
| A variable routed out of a TestStructuralNode. More... | |
Static Public Member Functions | |
| static TestStructuralNode * | create (Region *parent, const size_t numSubregions) |
Private Member Functions | |
| TestStructuralNode (Region *parent, size_t numSubregions) | |
Definition at line 27 of file TestNodes.hpp.
|
overridedefaultnoexcept |
|
inlineprivate |
Definition at line 33 of file TestNodes.hpp.
| TestStructuralNode::InputVar jlm::rvsdg::TestStructuralNode::addArguments | ( | const std::shared_ptr< const Type > & | type | ) |
Add subregion arguments WITHOUT an input to a TestStructuralNode.
| type | The argument type |
Definition at line 195 of file TestNodes.cpp.
| StructuralInput & jlm::rvsdg::TestStructuralNode::addInputOnly | ( | Output & | origin | ) |
Add an input WITHOUT subregion arguments to a TestStructuralNode.
| origin | Value to be routed in. |
Definition at line 208 of file TestNodes.cpp.
| TestStructuralNode::InputVar jlm::rvsdg::TestStructuralNode::addInputWithArguments | ( | Output & | origin | ) |
Add an input WITH subregion arguments to a TestStructuralNode.
| origin | Value to be routed in. |
Definition at line 163 of file TestNodes.cpp.
| StructuralOutput & jlm::rvsdg::TestStructuralNode::addOutputOnly | ( | std::shared_ptr< const Type > | type | ) |
Add an output WITHOUT subregion results to a TestStructuralNode.
| type | The output type |
Definition at line 214 of file TestNodes.cpp.
| TestStructuralNode::OutputVar jlm::rvsdg::TestStructuralNode::addOutputWithResults | ( | const std::vector< Output * > & | origins | ) |
Add an output WITH subregion results to a TestStructuralNode.
| origins | The values to be routed out. |
Definition at line 220 of file TestNodes.cpp.
| TestStructuralNode::OutputVar jlm::rvsdg::TestStructuralNode::addResults | ( | const std::vector< Output * > & | origins | ) |
Add subregion results WITHOUT output to a TestStructuralNode.
| origins | The values to be routed out. |
Definition at line 257 of file TestNodes.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 36 of file TestNodes.cpp.
|
inlinestatic |
Definition at line 152 of file TestNodes.hpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::Node.
Definition at line 29 of file TestNodes.cpp.
| TestStructuralNode::InputVar jlm::rvsdg::TestStructuralNode::mapInput | ( | const Input & | input | ) | const |
Maps input to an InputVar
| input | Input to be mapped |
input must be an input of this node. Definition at line 119 of file TestNodes.cpp.
| TestStructuralNode::OutputVar jlm::rvsdg::TestStructuralNode::mapOutput | ( | const Output & | output | ) | const |
Maps output to an OutputVar
| output | Output to be mapped |
output must be an output of this node. Definition at line 141 of file TestNodes.cpp.
Removes the input with the given index, and any subregion arguments associated with it. All such arguments must be dead.
| index | the index of the input to remove. |
Definition at line 180 of file TestNodes.cpp.
Removes the output with the given index, and any subregion results associated with it.
| index | the index of the output to remove. |
Definition at line 242 of file TestNodes.cpp.